DBA Data[Home] [Help]

APPS.JAI_CMN_RGM_VAT_ACCNT_PKG dependencies on JAI_CMN_RGM_RECORDING_PKG

Line 93: The procedure jai_cmn_rgm_recording_pkg.insert_vat_repository_entry has been called

89: procedure process_order_invoice to process non-shippable lines.
90: Version 120.11.12010000.3
91:
92: 9. 2010/04/14 Bo Li For bug9305067
93: The procedure jai_cmn_rgm_recording_pkg.insert_vat_repository_entry has been called
94: in the package JAI_CMN_VAT_ACCNT_PKG. Because of the change of the jai_cmn_rgm_recording_pkg.insert_vat_repository_entry,
95: the package JAI_CMN_VAT_ACCNT_PKG should be modified.
96: The attribute column of JAI_RGM_TRX_RECORDS are also used. To follow the development standard, they should be
97: replaced by new columns with new meaningful ones

Line 94: in the package JAI_CMN_VAT_ACCNT_PKG. Because of the change of the jai_cmn_rgm_recording_pkg.insert_vat_repository_entry,

90: Version 120.11.12010000.3
91:
92: 9. 2010/04/14 Bo Li For bug9305067
93: The procedure jai_cmn_rgm_recording_pkg.insert_vat_repository_entry has been called
94: in the package JAI_CMN_VAT_ACCNT_PKG. Because of the change of the jai_cmn_rgm_recording_pkg.insert_vat_repository_entry,
95: the package JAI_CMN_VAT_ACCNT_PKG should be modified.
96: The attribute column of JAI_RGM_TRX_RECORDS are also used. To follow the development standard, they should be
97: replaced by new columns with new meaningful ones
98:

Line 681: ln_recov_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

677: /*******************************
678: ||Get the code combination id
679: ||for the "RECOVERY ACCOUNT"
680: *******************************/
681: ln_recov_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
682: p_regime_id => p_regime_id ,
683: p_organization_type => jai_constants.orgn_type_io ,
684: p_organization_id => p_organization_id ,
685: p_location_id => p_location_id ,

Line 694: ln_expense_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

690: /*******************************
691: || Get the code combination id
692: || for the "EXPENSE ACCOUNT"
693: *******************************/
694: ln_expense_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
695: p_regime_id => p_regime_id ,
696: p_organization_type => jai_constants.orgn_type_io ,
697: p_organization_id => p_organization_id ,
698: p_location_id => p_location_id ,

Line 722: ln_liab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

718: /*******************************
719: ||Get the code combination id
720: ||for the "LIABILITY ACCOUNT"
721: *******************************/
722: ln_liab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
723: p_regime_id => p_regime_id ,
724: p_organization_type => jai_constants.orgn_type_io ,
725: p_organization_id => p_organization_id ,
726: p_location_id => p_location_id ,

Line 735: ln_intliab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

731: /*******************************
732: || Get the code combination id
733: || for the "INTERIM LIABILITY ACCOUNT"
734: *******************************/
735: ln_intliab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
736: p_regime_id => p_regime_id ,
737: p_organization_type => jai_constants.orgn_type_io ,
738: p_organization_id => p_organization_id ,
739: p_location_id => p_location_id ,

Line 800: record_debug_messages ('11 Before call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');

796: ||', p_attribute2 i.e order_line_id -> ' || rec_cur_get_deliveries.order_line_id
797: ||', p_attribute_context -> ' || jai_constants.contxt_delivery
798: );
799:
800: record_debug_messages ('11 Before call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');
801:
802:
803: if jai_pa_billing_pkg.gv_debug then
804: jai_cmn_utils_pkg.print_log ( jai_pa_billing_pkg.file, '6 rgm_om_ar_vat_accnt_pkg.process_order_invoice. Bef jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');

Line 804: jai_cmn_utils_pkg.print_log ( jai_pa_billing_pkg.file, '6 rgm_om_ar_vat_accnt_pkg.process_order_invoice. Bef jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');

800: record_debug_messages ('11 Before call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');
801:
802:
803: if jai_pa_billing_pkg.gv_debug then
804: jai_cmn_utils_pkg.print_log ( jai_pa_billing_pkg.file, '6 rgm_om_ar_vat_accnt_pkg.process_order_invoice. Bef jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');
805: end if;
806:
807: jai_cmn_rgm_recording_pkg.insert_vat_repository_entry (
808: pn_repository_id => ln_repository_id ,

Line 807: jai_cmn_rgm_recording_pkg.insert_vat_repository_entry (

803: if jai_pa_billing_pkg.gv_debug then
804: jai_cmn_utils_pkg.print_log ( jai_pa_billing_pkg.file, '6 rgm_om_ar_vat_accnt_pkg.process_order_invoice. Bef jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');
805: end if;
806:
807: jai_cmn_rgm_recording_pkg.insert_vat_repository_entry (
808: pn_repository_id => ln_repository_id ,
809: pn_regime_id => p_regime_id ,
810: pv_tax_type => rec_cur_get_deliveries.tax_type ,
811: pv_organization_type => jai_constants.orgn_type_io ,

Line 868: record_debug_messages(' 12 Error in call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry - lv_process_flag '||lv_process_flag

864: ||1. Delivery processing should be terminated,Rollback the insert and exit Loop
865: ||2. Set out variables p_process_flag and p_process_message accordingly
866: ||3. Return from the procedure
867: */
868: record_debug_messages(' 12 Error in call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry - lv_process_flag '||lv_process_flag
869: ||', lv_process_message' || lv_process_message
870: ||', Delivery id - ' || rec_cur_get_deliveries.delivery_id
871: ||', Delivery_details_id -> '|| rec_cur_get_deliveries.delivery_detail_id
872: -- added by Allen Yang for bug 9485355 (12.1.3 non-shippable Enhancement), begin

Line 884: record_debug_messages ('13 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry and ');

880: p_process_message := lv_process_message ;
881: return;
882: END IF;
883:
884: record_debug_messages ('13 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry and ');
885:
886: IF rec_cur_get_deliveries.vat_exemption_flag = 'N' THEN
887: record_debug_messages ('13.1 before call to jai_cmn_rgm_recording_pkg.do_vat_accounting');
888:

Line 887: record_debug_messages ('13.1 before call to jai_cmn_rgm_recording_pkg.do_vat_accounting');

883:
884: record_debug_messages ('13 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry and ');
885:
886: IF rec_cur_get_deliveries.vat_exemption_flag = 'N' THEN
887: record_debug_messages ('13.1 before call to jai_cmn_rgm_recording_pkg.do_vat_accounting');
888:
889:
890: record_debug_messages ('14 Processing the delivery,parameters are delivery_id -> ' || rec_cur_get_deliveries.delivery_id
891: ||', source_document_type_id i.e delivery_detail_id -> ' || rec_cur_get_deliveries.delivery_detail_id

Line 915: jai_cmn_utils_pkg.print_log ( jai_pa_billing_pkg.file, '9 rgm_om_ar_vat_accnt_pkg.process_order_invoice. Before callto jai_cmn_rgm_recording_pkg.do_vat_accounting.');

911: );
912:
913:
914: if jai_pa_billing_pkg.gv_debug then
915: jai_cmn_utils_pkg.print_log ( jai_pa_billing_pkg.file, '9 rgm_om_ar_vat_accnt_pkg.process_order_invoice. Before callto jai_cmn_rgm_recording_pkg.do_vat_accounting.');
916: end if;
917:
918: jai_cmn_rgm_recording_pkg.do_vat_accounting (
919: pn_regime_id => p_regime_id ,

Line 918: jai_cmn_rgm_recording_pkg.do_vat_accounting (

914: if jai_pa_billing_pkg.gv_debug then
915: jai_cmn_utils_pkg.print_log ( jai_pa_billing_pkg.file, '9 rgm_om_ar_vat_accnt_pkg.process_order_invoice. Before callto jai_cmn_rgm_recording_pkg.do_vat_accounting.');
916: end if;
917:
918: jai_cmn_rgm_recording_pkg.do_vat_accounting (
919: pn_regime_id => p_regime_id ,
920: pn_repository_id => ln_repository_id ,
921: pv_organization_type => jai_constants.orgn_type_io ,
922: pn_organization_id => p_organization_id ,

Line 964: record_debug_messages(' 15 Error in call to jai_cmn_rgm_recording_pkg.do_vat_accounting - lv_process_flag '||lv_process_flag

960: ||1. Delivery processing should be terminated,Rollback the insert and exit Loop
961: ||2. Set out variables p_process_flag and p_process_message accordingly
962: ||3. Return from the procedure
963: */
964: record_debug_messages(' 15 Error in call to jai_cmn_rgm_recording_pkg.do_vat_accounting - lv_process_flag '||lv_process_flag
965: ||', lv_process_message' || lv_process_message
966: ||', Delivery id - ' || rec_cur_get_deliveries.delivery_id
967: ||', Delivery_details_id -> '|| rec_cur_get_deliveries.delivery_detail_id
968: ||', Tax_amount -> ' || rec_cur_get_deliveries.func_tax_amount

Line 977: record_debug_messages ('16 Returned from jai_cmn_rgm_recording_pkg.do_vat_accounting');

973: p_process_message := lv_process_message ;
974: return;
975: END IF;
976:
977: record_debug_messages ('16 Returned from jai_cmn_rgm_recording_pkg.do_vat_accounting');
978: END IF; /* End IF of Vat Exemption Flag*/
979:
980: END LOOP;
981:

Line 1015: ln_recov_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

1011: /*******************************
1012: ||Get the code combination id
1013: ||for the "RECOVERY ACCOUNT"
1014: *******************************/
1015: ln_recov_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
1016: p_regime_id => p_regime_id ,
1017: p_organization_type => jai_constants.orgn_type_io ,
1018: p_organization_id => p_organization_id ,
1019: p_location_id => p_location_id ,

Line 1027: ln_expense_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

1023: /*******************************
1024: || Get the code combination id
1025: || for the "EXPENSE ACCOUNT"
1026: *******************************/
1027: ln_expense_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
1028: p_regime_id => p_regime_id ,
1029: p_organization_type => jai_constants.orgn_type_io ,
1030: p_organization_id => p_organization_id ,
1031: p_location_id => p_location_id ,

Line 1053: ln_liab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

1049: /*******************************
1050: ||Get the code combination id
1051: ||for the "LIABILITY ACCOUNT"
1052: *******************************/
1053: ln_liab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
1054: p_regime_id => p_regime_id ,
1055: p_organization_type => jai_constants.orgn_type_io ,
1056: p_organization_id => p_organization_id ,
1057: p_location_id => p_location_id ,

Line 1065: ln_intliab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

1061: /*******************************
1062: || Get the code combination id
1063: || for the "INTERIM LIABILITY ACCOUNT"
1064: *******************************/
1065: ln_intliab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
1066: p_regime_id => p_regime_id ,
1067: p_organization_type => jai_constants.orgn_type_io ,
1068: p_organization_id => p_organization_id ,
1069: p_location_id => p_location_id ,

Line 1107: record_debug_messages ('11 Before call to jai_cmn_rgm_recording_pkg.insert_repository_entry');

1103: ||', p_attribute1 i.e delivery_id -> ' || rec_cur_get_mtl_txns.transaction_header_id
1104: ||', p_attribute2 i.e order_line_id -> ' || null
1105: ||', p_attribute_context -> ' || jai_constants.contxt_delivery
1106: );
1107: record_debug_messages ('11 Before call to jai_cmn_rgm_recording_pkg.insert_repository_entry');
1108: jai_cmn_rgm_recording_pkg.insert_vat_repository_entry (
1109: pn_repository_id => ln_repository_id ,
1110: pn_regime_id => p_regime_id ,
1111: pv_tax_type => rec_cur_get_mtl_txns.tax_type ,

Line 1108: jai_cmn_rgm_recording_pkg.insert_vat_repository_entry (

1104: ||', p_attribute2 i.e order_line_id -> ' || null
1105: ||', p_attribute_context -> ' || jai_constants.contxt_delivery
1106: );
1107: record_debug_messages ('11 Before call to jai_cmn_rgm_recording_pkg.insert_repository_entry');
1108: jai_cmn_rgm_recording_pkg.insert_vat_repository_entry (
1109: pn_repository_id => ln_repository_id ,
1110: pn_regime_id => p_regime_id ,
1111: pv_tax_type => rec_cur_get_mtl_txns.tax_type ,
1112: pv_organization_type => jai_constants.orgn_type_io ,

Line 1155: record_debug_messages(' 12 Error in call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry - lv_process_flag '||lv_process_flag

1151: ||1. Delivery processing should be terminated,Rollback the insert and exit Loop
1152: ||2. Set out variables p_process_flag and p_process_message accordingly
1153: ||3. Return from the procedure
1154: */
1155: record_debug_messages(' 12 Error in call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry - lv_process_flag '||lv_process_flag
1156: ||', lv_process_message' || lv_process_message
1157: ||', Delivery id - ' ||rec_cur_get_mtl_txns.transaction_header_id
1158: ||', Delivery_details_id -> '|| rec_cur_get_mtl_txns.transaction_temp_id
1159: ||', Tax_amount -> ' || rec_cur_get_mtl_txns.tax_amt

Line 1167: record_debug_messages ('13 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry and ');

1163: p_process_flag := lv_process_flag ;
1164: p_process_message := lv_process_message ;
1165: return;
1166: END IF;
1167: record_debug_messages ('13 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry and ');
1168: record_debug_messages ('13.1 before call to jai_cmn_rgm_recording_pkg.do_vat_accounting');
1169: record_debug_messages ('14 Processing the delivery,parameters are delivery_id -> ' || rec_cur_get_mtl_txns.transaction_header_id
1170: ||', source_document_type_id i.e delivery_detail_id -> ' || rec_cur_get_mtl_txns.transaction_temp_id
1171: ||', rec_cur_get_deliveries.tax_type -> ' || rec_cur_get_mtl_txns.tax_type

Line 1168: record_debug_messages ('13.1 before call to jai_cmn_rgm_recording_pkg.do_vat_accounting');

1164: p_process_message := lv_process_message ;
1165: return;
1166: END IF;
1167: record_debug_messages ('13 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry and ');
1168: record_debug_messages ('13.1 before call to jai_cmn_rgm_recording_pkg.do_vat_accounting');
1169: record_debug_messages ('14 Processing the delivery,parameters are delivery_id -> ' || rec_cur_get_mtl_txns.transaction_header_id
1170: ||', source_document_type_id i.e delivery_detail_id -> ' || rec_cur_get_mtl_txns.transaction_temp_id
1171: ||', rec_cur_get_deliveries.tax_type -> ' || rec_cur_get_mtl_txns.tax_type
1172: ||', p_organization_id -> ' || p_organization_id

Line 1191: jai_cmn_rgm_recording_pkg.do_vat_accounting (

1187: ||', p_attribute_context -> ' || jai_constants.contxt_delivery
1188: );
1189: /*commented by vasavi*/
1190: /*
1191: jai_cmn_rgm_recording_pkg.do_vat_accounting (
1192: pn_regime_id => p_regime_id ,
1193: pn_repository_id => ln_repository_id ,
1194: pv_organization_type => jai_constants.orgn_type_io ,
1195: pn_organization_id => p_organization_id ,

Line 1216: record_debug_messages(' 15 Error in call to jai_cmn_rgm_recording_pkg.do_vat_accounting - lv_process_flag '||lv_process_flag

1212: );
1213: IF lv_process_flag = jai_constants.expected_error OR
1214: lv_process_flag = jai_constants.unexpected_error
1215: THEN
1216: record_debug_messages(' 15 Error in call to jai_cmn_rgm_recording_pkg.do_vat_accounting - lv_process_flag '||lv_process_flag
1217: ||', lv_process_message' || lv_process_message
1218: ||', Delivery id - ' || rec_cur_get_mtl_txns.transaction_header_id
1219: ||', Delivery_details_id -> '|| rec_cur_get_mtl_txns.transaction_temp_id
1220: ||', Tax_amount -> ' || rec_cur_get_mtl_txns.tax_amt

Line 1228: record_debug_messages ('16 Returned from jai_cmn_rgm_recording_pkg.do_vat_accounting');

1224: p_process_flag := lv_process_flag ;
1225: p_process_message := lv_process_message ;
1226: return;
1227: END IF;
1228: record_debug_messages ('16 Returned from jai_cmn_rgm_recording_pkg.do_vat_accounting');
1229: --END IF;
1230: */
1231: end if;---ln_rgm_cnt if
1232: END LOOP;

Line 1274: ln_recov_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

1270: /*******************************
1271: ||Get the code combination id
1272: ||for the "RECOVERY ACCOUNT"
1273: *******************************/
1274: ln_recov_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
1275: p_regime_id => p_regime_id ,
1276: p_organization_type => jai_constants.orgn_type_io ,
1277: p_organization_id => p_organization_id ,
1278: p_location_id => p_location_id ,

Line 1287: ln_expense_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

1283: /*******************************
1284: || Get the code combination id
1285: || for the "EXPENSE ACCOUNT"
1286: *******************************/
1287: ln_expense_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
1288: p_regime_id => p_regime_id ,
1289: p_organization_type => jai_constants.orgn_type_io ,
1290: p_organization_id => p_organization_id ,
1291: p_location_id => p_location_id ,

Line 1310: ln_liab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

1306: /*******************************
1307: ||Get the code combination id
1308: ||for the "LIABILITY ACCOUNT"
1309: *******************************/
1310: ln_liab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
1311: p_regime_id => p_regime_id ,
1312: p_organization_type => jai_constants.orgn_type_io ,
1313: p_organization_id => p_organization_id ,
1314: p_location_id => p_location_id ,

Line 1323: ln_intliab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(

1319: /*******************************
1320: || Get the code combination id
1321: || for the "INTERIM LIABILITY ACCOUNT"
1322: *******************************/
1323: ln_intliab_acct_ccid := jai_cmn_rgm_recording_pkg.get_account(
1324: p_regime_id => p_regime_id ,
1325: p_organization_type => jai_constants.orgn_type_io ,
1326: p_organization_id => p_organization_id ,
1327: p_location_id => p_location_id ,

Line 1427: record_debug_messages ('22 Before call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');

1423: ||', p_attribute_context -> ' || jai_constants.contxt_manual_ar
1424: );
1425:
1426:
1427: record_debug_messages ('22 Before call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');
1428:
1429: --Added by Xiao for Open Interface ER bug#11683927 on 10-Feb-2011, begin
1430: ----------------------------------------------------------------------------------------
1431: --For 'External' event, VAT repository do not need to be updated.

Line 1449: jai_cmn_rgm_recording_pkg.insert_vat_repository_entry (

1445: --VAT repository should be updated.
1446: ----------------------------------------------------------------------------------------
1447: --Added by Xiao for Open Interface ER bug#11683927 on 10-Feb-2011, end
1448:
1449: jai_cmn_rgm_recording_pkg.insert_vat_repository_entry (
1450: pn_repository_id => ln_repository_id ,
1451: pn_regime_id => p_regime_id ,
1452: pv_tax_type => rec_cur_get_man_ar_inv_taxes.tax_type ,
1453: pv_organization_type => jai_constants.orgn_type_io ,

Line 1501: record_debug_messages(' 23 Error in call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry - lv_process_flag '||lv_process_flag

1497: ||1. Delivery processing should be terminated,Rollback the insert and exit Loop
1498: ||2. Set out variables p_process_flag and p_process_message accordingly
1499: ||3. Return from the procedure
1500: */
1501: record_debug_messages(' 23 Error in call to jai_cmn_rgm_recording_pkg.insert_vat_repository_entry - lv_process_flag '||lv_process_flag
1502: ||', lv_process_message' || lv_process_message
1503: ||', customer_trx_id - ' || p_customer_trx_id
1504: ||', customer_trx_line_id -> ' || rec_cur_get_man_ar_inv_taxes.customer_trx_line_id
1505: ||', link_to_cust_trx_line_id -> ' || rec_cur_get_man_ar_inv_taxes.link_to_cust_trx_line_id

Line 1515: record_debug_messages (' 24 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');

1511: p_process_message := lv_process_message ;
1512: return;
1513: END IF;
1514:
1515: record_debug_messages (' 24 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');
1516: END IF;--Added by Xiao for Open Interface ER bug#11683927 on 10-Feb-2011.
1517: IF rec_cur_get_man_ar_inv_taxes.vat_exemption_flag = 'N' THEN
1518:
1519: record_debug_messages ('25 Parameters passed to jai_cmn_rgm_recording_pkg.do_vat_accounting, customer_trx_id -> ' || p_customer_trx_id

Line 1519: record_debug_messages ('25 Parameters passed to jai_cmn_rgm_recording_pkg.do_vat_accounting, customer_trx_id -> ' || p_customer_trx_id

1515: record_debug_messages (' 24 Returned from jai_cmn_rgm_recording_pkg.insert_vat_repository_entry');
1516: END IF;--Added by Xiao for Open Interface ER bug#11683927 on 10-Feb-2011.
1517: IF rec_cur_get_man_ar_inv_taxes.vat_exemption_flag = 'N' THEN
1518:
1519: record_debug_messages ('25 Parameters passed to jai_cmn_rgm_recording_pkg.do_vat_accounting, customer_trx_id -> ' || p_customer_trx_id
1520: ||', line.customer_trx_line_id -> ' || rec_cur_get_man_ar_inv_taxes.link_to_cust_trx_line_id
1521: ||', source_document_type_id tax.customer_trx_line_id -> ' || rec_cur_get_man_ar_inv_taxes.customer_trx_line_id
1522: ||', rec_cur_get_man_ar_inv_taxes.tax_type -> ' || rec_cur_get_man_ar_inv_taxes.tax_type
1523: ||', p_organization_id -> ' || p_organization_id

Line 1547: jai_cmn_rgm_recording_pkg.do_vat_accounting (

1543: ln_external_flag > 0 THEN --Add by Xiao for bug#11936390.
1544: -- For 'External' event, inclusive/exclusive tax will not generate accounting in gl interface.
1545: NULL;
1546: ELSE
1547: jai_cmn_rgm_recording_pkg.do_vat_accounting (
1548: pn_regime_id => p_regime_id ,
1549: pn_repository_id => ln_repository_id ,
1550: pv_organization_type => jai_constants.orgn_type_io ,
1551: pn_organization_id => p_organization_id ,

Line 1580: record_debug_messages(' 26 Error in call to jai_cmn_rgm_recording_pkg.do_vat_accounting - lv_process_flag '||lv_process_flag

1576: ||1. Delivery processing should be terminated,Rollback the insert and exit Loop
1577: ||2. Set out variables p_process_flag and p_process_message accordingly
1578: ||3. Return from the procedure
1579: */
1580: record_debug_messages(' 26 Error in call to jai_cmn_rgm_recording_pkg.do_vat_accounting - lv_process_flag '||lv_process_flag
1581: ||', lv_process_message' || lv_process_message
1582: ||', customer_trx_id - ' || p_customer_trx_id
1583: ||', customer_trx_line_id -> ' || rec_cur_get_man_ar_inv_taxes.customer_trx_line_id
1584: ||', link_to_cust_trx_line_id -> ' || rec_cur_get_man_ar_inv_taxes.link_to_cust_trx_line_id

Line 1595: record_debug_messages ('27 Returned from jai_cmn_rgm_recording_pkg.do_vat_accounting');

1591: return;
1592: END IF;
1593: END IF; --Add by Xiao for bug#11936390.
1594:
1595: record_debug_messages ('27 Returned from jai_cmn_rgm_recording_pkg.do_vat_accounting');
1596: END IF; /* ENd if OF VAT Exemption = 'N'*/
1597:
1598: END LOOP;
1599: