DBA Data[Home] [Help]

APPS.JAI_AP_OI_PROCESSING_PKG dependencies on JAI_CONSTANTS

Line 202: pv_return_code := jai_constants.successful;

198: p_tax_line_tbl => l_tax_line_tbl,
199: pv_rematch => lv_match_type,
200: pn_shipment_hdr_id => ln_shipment_header_id,
201: pn_shipment_line_id => ln_shipment_line_id);
202: pv_return_code := jai_constants.successful;
203: EXCEPTION
204: WHEN OTHERS THEN
205: Pv_return_code := jai_constants.unexpected_error;
206: Pv_return_message := 'Encountered an error in JAI_AP_OI_PROCESSING_PKG.pre_data_for_ap_line ' ||

Line 205: Pv_return_code := jai_constants.unexpected_error;

201: pn_shipment_line_id => ln_shipment_line_id);
202: pv_return_code := jai_constants.successful;
203: EXCEPTION
204: WHEN OTHERS THEN
205: Pv_return_code := jai_constants.unexpected_error;
206: Pv_return_message := 'Encountered an error in JAI_AP_OI_PROCESSING_PKG.pre_data_for_ap_line ' ||
207: 'SQLERRM : ' || substr(sqlerrm,1,1800);
208: fnd_file.put_line(fnd_file.log,Pv_return_message);
209:

Line 229: if pv_action = jai_constants.inserting and pr_rec.source = 'INDIA TDS' then /* 'TDS' then --Ramanand for bug#4388958 */

225: lb_result BOOLEAN := FALSE ;
226: BEGIN
227:
228: /* Update invoice Ids in TDS tables for TDS invoices */
229: if pv_action = jai_constants.inserting and pr_rec.source = 'INDIA TDS' then /* 'TDS' then --Ramanand for bug#4388958 */
230:
231: --jai_ap_tds_generation_pkg.populate_tds_invoice_id
232: jai_ap_dtc_generation_pkg.populate_tds_invoice_id --Update to call new DTC generation package. bug#16778906 2013/05/09
233: (

Line 243: pv_return_code := jai_constants.expected_error ;

239: p_process_message => lv_process_message
240: );
241:
242: if nvl(lv_process_flag, 'N') = 'E' then
243: pv_return_code := jai_constants.expected_error ;
244: pv_return_message := 'Error - Encountered an error in JAI_AP_OI_PROCESSING_PKG.PROCESS_INVOICE : ' || lv_process_message ;
245: fnd_file.put_line(fnd_file.log,Pv_return_message);
246: RETURN;
247: end if;

Line 252: if pv_action = jai_constants.inserting and pr_rec.source = 'INDIA TAX INVOICE' then /* 'RECEIPT' then --Ramanand for bug#4388958 */

248:
249: end if; /* Update invoice Ids in TDS tables for TDS invoices */
250:
251: /* Update invoice Ids in Third Party tables for Third Party invoices */
252: if pv_action = jai_constants.inserting and pr_rec.source = 'INDIA TAX INVOICE' then /* 'RECEIPT' then --Ramanand for bug#4388958 */
253:
254: jai_rcv_third_party_pkg.populate_tp_invoice_id
255: (
256: p_invoice_id => pr_rec.invoice_id,

Line 263: if nvl(lv_process_flag, 'N') = jai_constants.unexpected_error then

259: p_vendor_site_id => pr_rec.vendor_site_id,
260: p_process_flag => lv_process_flag,
261: p_process_message => lv_process_message
262: );
263: if nvl(lv_process_flag, 'N') = jai_constants.unexpected_error then
264: pv_return_code := jai_constants.expected_error;
265: pv_return_message :='Error - Encountered an error in JAI_AP_OI_PROCESSING_PKG.PROCESS_INVOICE : ' || lv_process_message ;
266: fnd_file.put_line(fnd_file.log,Pv_return_message);
267: return ;

Line 264: pv_return_code := jai_constants.expected_error;

260: p_process_flag => lv_process_flag,
261: p_process_message => lv_process_message
262: );
263: if nvl(lv_process_flag, 'N') = jai_constants.unexpected_error then
264: pv_return_code := jai_constants.expected_error;
265: pv_return_message :='Error - Encountered an error in JAI_AP_OI_PROCESSING_PKG.PROCESS_INVOICE : ' || lv_process_message ;
266: fnd_file.put_line(fnd_file.log,Pv_return_message);
267: return ;
268: end if;

Line 286: Pv_return_code := jai_constants.unexpected_error;

282: END IF;
283:
284: EXCEPTION
285: WHEN OTHERS THEN
286: Pv_return_code := jai_constants.unexpected_error;
287: Pv_return_message := 'Encountered an error in JAI_AP_OI_PROCESSING_PKG.PROCESS_INVOICE ' ||
288: 'SQLERRM : ' || substr(sqlerrm,1,1800);
289: fnd_file.put_line(fnd_file.log,Pv_return_message);
290: END PROCESS_INVOICE;