175: --
176: -- bug#4893261- need to seed ZX_OFFSET_RATE_NOT_FOUND
177: --
178: IF p_return_status = FND_API.G_RET_STS_ERROR THEN
179: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.application_id :=
180: p_offset_tax_line_rec.application_id;
181: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.entity_code :=
182: p_offset_tax_line_rec.entity_code;
183: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.event_class_code :=
177: --
178: IF p_return_status = FND_API.G_RET_STS_ERROR THEN
179: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.application_id :=
180: p_offset_tax_line_rec.application_id;
181: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.entity_code :=
182: p_offset_tax_line_rec.entity_code;
183: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.event_class_code :=
184: p_offset_tax_line_rec.event_class_code;
185: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_id :=
179: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.application_id :=
180: p_offset_tax_line_rec.application_id;
181: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.entity_code :=
182: p_offset_tax_line_rec.entity_code;
183: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.event_class_code :=
184: p_offset_tax_line_rec.event_class_code;
185: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_id :=
186: p_offset_tax_line_rec.trx_id;
187: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_line_id :=
181: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.entity_code :=
182: p_offset_tax_line_rec.entity_code;
183: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.event_class_code :=
184: p_offset_tax_line_rec.event_class_code;
185: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_id :=
186: p_offset_tax_line_rec.trx_id;
187: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_line_id :=
188: p_offset_tax_line_rec.trx_line_id;
189: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_level_type :=
183: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.event_class_code :=
184: p_offset_tax_line_rec.event_class_code;
185: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_id :=
186: p_offset_tax_line_rec.trx_id;
187: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_line_id :=
188: p_offset_tax_line_rec.trx_line_id;
189: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_level_type :=
190: p_offset_tax_line_rec.trx_level_type;
191: FND_MESSAGE.SET_NAME('ZX','ZX_OFFSET_RATE_NOT_FOUND');
185: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_id :=
186: p_offset_tax_line_rec.trx_id;
187: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_line_id :=
188: p_offset_tax_line_rec.trx_line_id;
189: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec.trx_level_type :=
190: p_offset_tax_line_rec.trx_level_type;
191: FND_MESSAGE.SET_NAME('ZX','ZX_OFFSET_RATE_NOT_FOUND');
192: FND_MESSAGE.SET_TOKEN('TAX_REGIME', l_offset_tax_regime_code);
193: FND_MESSAGE.SET_TOKEN('TAX',l_offset_tax);
193: FND_MESSAGE.SET_TOKEN('TAX',l_offset_tax);
194: FND_MESSAGE.SET_TOKEN('TAX_STATUS',l_offset_tax_status_code);
195: FND_MESSAGE.SET_TOKEN('TAX_RATE_CODE', l_offset_tax_rate_code);
196: ZX_API_PUB.add_msg(
197: ZX_TDS_CALC_SERVICES_PUB_PKG.g_msg_context_info_rec);
198:
199: END IF;
200: RETURN;
201: END IF;