DBA Data[Home] [Help]

APPS.JAI_AP_DTC_CANCELLATION_PKG dependencies on JAI_AP_DTC_GENERATION_PKG

Line 345: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,

341: -- ln_threshold_slab_id_before := NULL;
342: -- ln_threshold_slab_id_after := NULL;
343:
344: --get slab before cancel
345: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,
346: p_invoice_id => p_invoice_id,
347: p_threshold_grp_id => cur_rec.threshold_grp_id,
348: p_threshold_hdr_id => cur_rec.threshold_hdr_id,
349: p_threshold_slab_id => ln_threshold_slab_id,

Line 375: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,

371: --amount after cancel
372: ln_effective_inv_amt_after := ln_effective_invoice_amt -
373: cur_rec.taxable_amount;
374: --get slab after cancel
375: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,
376: p_invoice_id => p_invoice_id,
377: p_threshold_grp_id => cur_rec.threshold_grp_id,
378: p_threshold_hdr_id => cur_rec.threshold_hdr_id,
379: p_effective_invoice_amt => ln_effective_inv_amt_after,

Line 770: jai_ap_dtc_generation_pkg.generate_dtc_invoices(pn_invoice_id => p_invoice_id,

766: FETCH c_get_section_type INTO lv_section_type;
767: CLOSE c_get_section_type;
768: -- Added by ChongLei for DTC Bug#13768894 end on 20120222
769:
770: jai_ap_dtc_generation_pkg.generate_dtc_invoices(pn_invoice_id => p_invoice_id,
771: pv_invoice_num_to_vendor_can => r_ap_invoices_all.invoice_num,
772: pn_taxable_amount => cur_rec.taxable_amount,
773: pn_tax_amount => cur_rec.tax_amount,
774: pn_tax_category_id => cur_rec.tax_category_id,

Line 812: jai_ap_dtc_generation_pkg.maintain_thhold_grps(p_threshold_grp_id => ln_threshold_grp_id,

808: /* Control comes here when either the credit memo for the tds authority is cancelled or a
809: compensating standard invoice has been made */
810:
811: ln_threshold_grp_id := cur_rec.threshold_grp_id;
812: jai_ap_dtc_generation_pkg.maintain_thhold_grps(p_threshold_grp_id => ln_threshold_grp_id,
813: p_trx_tax_paid => (-1 *
814: cur_rec.tax_amount),
815: p_tds_event => 'INVOICE CANCEL',
816: p_invoice_id => p_invoice_id,

Line 829: jai_ap_dtc_generation_pkg.maintain_thhold_grps(p_threshold_grp_id => ln_threshold_grp_id,

825: /* Update threshold for the cancel invoice amount */
826:
827: ln_threshold_grp_id := cur_rec.threshold_grp_id; /*added by rchandan for bug#5131075(4947469)*/
828:
829: jai_ap_dtc_generation_pkg.maintain_thhold_grps(p_threshold_grp_id => ln_threshold_grp_id,
830: --p_trx_invoice_cancel_amount => cur_rec.taxable_amount, -- Comments by Jia for FP Bug#7312295
831: p_trx_invoice_cancel_amount => ln_taxable_amt, -- Modified by Jia for FP Bug#7312295
832: p_tds_event => 'INVOICE CANCEL',
833: p_invoice_id => p_invoice_id,

Line 889: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,

885: sysdate,
886: fnd_global.login_id);
887:
888: --Added by Sanjikum for Bug#5131075(4718907)
889: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,
890: p_invoice_id => p_invoice_id,
891: p_threshold_grp_id => cur_rec.threshold_grp_id,
892: p_threshold_hdr_id => cur_rec.threshold_hdr_id,
893: p_threshold_slab_id => ln_after_threshold_slab_id,

Line 915: jai_ap_dtc_generation_pkg.process_threshold_rollback(p_invoice_id => p_invoice_id,

911: FETCH c_ap_invoices_all
912: into r_ap_invoices_all;
913: CLOSE c_ap_invoices_all;
914:
915: jai_ap_dtc_generation_pkg.process_threshold_rollback(p_invoice_id => p_invoice_id,
916: p_before_threshold_type => lv_threshold_type,
917: p_after_threshold_type => lv_after_threshold_type,
918: p_before_threshold_slab_id => ln_threshold_slab_id,
919: p_after_threshold_slab_id => ln_after_threshold_slab_id,

Line 1051: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,

1047: FETCH c_get_trx_invoice_amount INTO ln_trx_invoice_amount;
1048: CLOSE c_get_trx_invoice_amount;
1049:
1050: --Get the current Threshold Slab
1051: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,
1052: p_invoice_id => p_invoice_id,
1053: p_threshold_grp_id => cur_rec.threshold_grp_id,
1054: p_threshold_hdr_id => ln_temp_threshold_hdr_id,
1055: p_threshold_slab_id => ln_threshold_slab_id,

Line 1068: jai_ap_dtc_generation_pkg.maintain_thhold_grps(p_threshold_grp_id => ln_threshold_grp_id,

1064:
1065: --Update the Threshold Group with the Invoice Amount fetched in the above step.
1066: lv_codepath := jai_general_pkg.plot_codepath(26, lv_codepath); /* 26 */
1067: ln_threshold_grp_id := cur_rec.threshold_grp_id;
1068: jai_ap_dtc_generation_pkg.maintain_thhold_grps(p_threshold_grp_id => ln_threshold_grp_id,
1069: p_trx_invoice_cancel_amount => ln_trx_invoice_amount,
1070: p_tds_event => 'INVOICE CANCEL',
1071: p_invoice_id => p_invoice_id,
1072: p_threshold_grp_audit_id => ln_threshold_grp_audit_id,

Line 1132: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,

1128: sysdate,
1129: fnd_global.login_id);
1130: lv_codepath := jai_general_pkg.plot_codepath(27, lv_codepath); /* 27 */
1131:
1132: jai_ap_dtc_generation_pkg.get_tds_threshold_slab(p_prepay_distribution_id => NULL,
1133: p_invoice_id => p_invoice_id,
1134: p_threshold_grp_id => cur_rec.threshold_grp_id,
1135: p_threshold_hdr_id => ln_temp_threshold_hdr_id,
1136: p_threshold_slab_id => ln_after_threshold_slab_id,

Line 1153: jai_ap_dtc_generation_pkg.process_threshold_rollback(p_invoice_id => p_invoice_id,

1149: FETCH c_ap_invoices_all
1150: into r_ap_invoices_all;
1151: CLOSE c_ap_invoices_all;
1152:
1153: jai_ap_dtc_generation_pkg.process_threshold_rollback(p_invoice_id => p_invoice_id,
1154: p_before_threshold_type => lv_threshold_type,
1155: p_after_threshold_type => lv_after_threshold_type,
1156: p_before_threshold_slab_id => ln_threshold_slab_id,
1157: p_after_threshold_slab_id => ln_after_threshold_slab_id,