DBA Data[Home] [Help]

APPS.JAI_AP_TDS_CANCELLATION_PKG dependencies on FND_FILE

Line 315: Fnd_File.put_line(Fnd_File.LOG, '**** Start of procedure jai_ap_tds_cancellation_pkg.process_invoice ****');

311:
312: --ld_accounting_date := sysdate; --commented by Harshita for Bug#5131075(5193852)
313:
314: lv_codepath := jai_general_pkg.plot_codepath(1, lv_codepath, 'jai_ap_tds_cancellation_pkg.process_invoice', 'START'); /* 1 */
315: Fnd_File.put_line(Fnd_File.LOG, '**** Start of procedure jai_ap_tds_cancellation_pkg.process_invoice ****');
316:
317: /* Check if Invoice was created after the tds clean up patch */
318: jai_ap_tds_tax_defaultation.check_old_transaction
319: (

Line 327: Fnd_File.put_line(Fnd_File.LOG, '**** Transaction before application of TDS clean up Calling procedure ****');

323:
324: if nvl(lv_new_transaction, 'N') = 'N' then
325: /* Invoice was created before application of TDS clean up, need to call the old procedure */
326: lv_codepath := jai_general_pkg.plot_codepath(1.0, lv_codepath); /* 1.0 */
327: Fnd_File.put_line(Fnd_File.LOG, '**** Transaction before application of TDS clean up Calling procedure ****');
328: Fnd_File.put_line(Fnd_File.LOG, ' Invoking OLD procedure jai_ap_tds_old_pkg.cancel_invoice');
329:
330: jai_ap_tds_old_pkg.cancel_invoice
331: (

Line 328: Fnd_File.put_line(Fnd_File.LOG, ' Invoking OLD procedure jai_ap_tds_old_pkg.cancel_invoice');

324: if nvl(lv_new_transaction, 'N') = 'N' then
325: /* Invoice was created before application of TDS clean up, need to call the old procedure */
326: lv_codepath := jai_general_pkg.plot_codepath(1.0, lv_codepath); /* 1.0 */
327: Fnd_File.put_line(Fnd_File.LOG, '**** Transaction before application of TDS clean up Calling procedure ****');
328: Fnd_File.put_line(Fnd_File.LOG, ' Invoking OLD procedure jai_ap_tds_old_pkg.cancel_invoice');
329:
330: jai_ap_tds_old_pkg.cancel_invoice
331: (
332: errbuf => errbuf,

Line 357: Fnd_File.put_line(Fnd_File.LOG, ' Inside Loop');

353: /* Get all the TDS invoices that were generated at the time of the INVOICE VALIDATE */
354: for cur_rec in c_jai_ap_tds_thhold_trxs(p_invoice_id)
355: --Bug 7312295 - Removed INVOICE_VALIDATE event from c_jai_ap_tds_thhold_trxs. Modified the cursor to include Validate and Surcharge
356: loop
357: Fnd_File.put_line(Fnd_File.LOG, ' Inside Loop');
358: --Start Added by Sanjikum for Bug#5131075(4718907)
359: jai_ap_tds_generation_pkg.get_tds_threshold_slab(
360: p_prepay_distribution_id => NULL,
361: p_threshold_grp_id => cur_rec.threshold_grp_id,

Line 440: Fnd_File.put_line(Fnd_File.LOG, ' cur_rec.invoice_to_tds_authority_id ' ||cur_rec.invoice_to_tds_authority_id);

436: * Derivced the accounting_date of the original distribution
437: * as this value is also getting passed for Threshold adjustments if the
438: * TDS invoice is already paid/cancelled.
439: */
440: Fnd_File.put_line(Fnd_File.LOG, ' cur_rec.invoice_to_tds_authority_id ' ||cur_rec.invoice_to_tds_authority_id);
441: OPEN get_dist_gl_date(cur_rec.invoice_to_tds_authority_id);
442: FETCH get_dist_gl_date INTO ld_accounting_date;
443: CLOSE get_dist_gl_date;
444:

Line 536: fnd_file.put_line(FND_FILE.LOG, ' Org id ' || r_ap_invoices_all.org_id);

532: */
533:
534: /*Added set_policy_context call to implement MOAC - Bug 8475540*/
535:
536: fnd_file.put_line(FND_FILE.LOG, ' Org id ' || r_ap_invoices_all.org_id);
537: mo_global.set_policy_context('S', r_ap_invoices_all.org_id);
538:
539: lb_return_value :=
540: ap_cancel_pkg.ap_cancel_single_invoice

Line 707: fnd_file.put_line(FND_FILE.LOG, ' Org id ' || r_ap_invoices_all.org_id);

703: */
704:
705: /*Added set_policy_context call to implement MOAC - Bug 8475540*/
706:
707: fnd_file.put_line(FND_FILE.LOG, ' Org id ' || r_ap_invoices_all.org_id);
708: mo_global.set_policy_context('S', r_ap_invoices_all.org_id);
709:
710: lb_return_value :=
711: ap_cancel_pkg.ap_cancel_single_invoice

Line 1141: Fnd_File.put_line(Fnd_File.LOG, lv_codepath);

1137:
1138: << exit_from_procedure >>
1139:
1140: lv_codepath := jai_general_pkg.plot_codepath(100, lv_codepath, null, 'END'); /* 100 */
1141: Fnd_File.put_line(Fnd_File.LOG, lv_codepath);
1142: Fnd_File.put_line(Fnd_File.LOG, '**** END of procedure jai_ap_tds_cancellation_pkg.process_invoice ****');
1143:
1144: errbuf := lv_codepath;
1145:

Line 1142: Fnd_File.put_line(Fnd_File.LOG, '**** END of procedure jai_ap_tds_cancellation_pkg.process_invoice ****');

1138: << exit_from_procedure >>
1139:
1140: lv_codepath := jai_general_pkg.plot_codepath(100, lv_codepath, null, 'END'); /* 100 */
1141: Fnd_File.put_line(Fnd_File.LOG, lv_codepath);
1142: Fnd_File.put_line(Fnd_File.LOG, '**** END of procedure jai_ap_tds_cancellation_pkg.process_invoice ****');
1143:
1144: errbuf := lv_codepath;
1145:
1146: if lv_process_flag = 'E' then

Line 1154: Fnd_File.put_line(Fnd_File.LOG, 'Err:process_invoice :' || sqlerrm);

1150:
1151: exception
1152: when others then
1153: errbuf := 'jai_ap_tds_cancellation_pkg.process_invoice :' || sqlerrm;
1154: Fnd_File.put_line(Fnd_File.LOG, 'Err:process_invoice :' || sqlerrm);
1155: raise_application_error(-20013, errbuf);
1156: return;
1157: end process_invoice;
1158: