270:
271: Solution:-
272: The check that, for service type of taxes ccid should be picked up from regime tax setup has been impletemented.
273: Called the procedure jai_ar_rgm_processing_pkg.get_regime_info is being called for regime setup validation.
274: Aslo called the function jai_cmn_rgm_recording_pkg.get_account to get the ccid in such cases.
275:
276: Dependency introduced as a part of this bug:-
277: This file should be released on top of Bug 4146708.
278:
282: VAT Regime setup. This is being done as a part of the VAT enhancement
283:
284: Solution:-
285: The check that, for taxes belonging to the VAT regime, ccid should be picked up from VAT regime setup has been impletemented.
286: The account info is fetched using the function jai_cmn_rgm_recording_pkg.get_account.
287:
288: Dependency introduced as a part of this bug:-
289: This file should be released on top of Bug 4245089.
290: Datamodel changes for VAT
586: **********************************************************************************************************/
587:
588: /*
589: || Get the code combination id from the Organization/Regime Registration setup
590: || by calling the function jai_cmn_rgm_recording_pkg.get_account
591: */
592:
593: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
594: p_regime_id => ln_regime_id ,
589: || Get the code combination id from the Organization/Regime Registration setup
590: || by calling the function jai_cmn_rgm_recording_pkg.get_account
591: */
592:
593: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
594: p_regime_id => ln_regime_id ,
595: p_organization_type => jai_constants.service_tax_orgn_type ,
596: p_organization_id => v_organization_id ,
597: p_location_id => v_location_id ,
599: p_account_name => jai_constants.liability_interim
600: );
601: IF v_ccid IS NULL THEN
602: /*
603: || Code Combination id has been returned as null from the function jai_cmn_rgm_recording_pkg.get_account
604: || This is an error condition and the current processing has to be stopped
605: */
606: /* raise_application_error (-20130,'Invalid Code combination ,please check the Service Tax - Tax Accounting Setup');
607: */ pv_return_code := jai_constants.expected_error ; pv_return_message := 'Invalid Code combination ,please check the Service Tax - Tax Accounting Setup' ; return ;
663:
664: END IF;
665: /*********************************************************************************************************
666: || Get the code combination id from the Organization/Regime Registration setup
667: || by calling the function jai_cmn_rgm_recording_pkg.get_account
668: *********************************************************************************************************/
669:
670: -- 25/05/2007 by sacsethi for bug 6072461
671: -- Previously Organziation id was going wrong and location id was wrong
670: -- 25/05/2007 by sacsethi for bug 6072461
671: -- Previously Organziation id was going wrong and location id was wrong
672:
673:
674: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
675: p_regime_id => ln_regime_id ,
676: p_organization_type => jai_constants.orgn_type_io ,
677: p_organization_id => v_organization_id ,
678: p_location_id => v_location_id ,
680: p_account_name => jai_constants.liability_interim
681: );
682: IF v_ccid IS NULL THEN
683: /**********************************************************************************************************
684: || Code Combination id has been returned as null from the function jai_cmn_rgm_recording_pkg.get_account
685: || This is an error condition and the current processing has to be stopped
686: **********************************************************************************************************/
687: /* raise_application_error (-20130,'Invalid Code combination ,please check the VAT Tax - Tax Accounting Setup'); */
688: pv_return_code := jai_constants.expected_error ;
708: || by calling the function jai_rgm_trx_recording_pkg.get_account
709: *********************************************************************************************************/
710:
711:
712: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
713: p_regime_id => ln_regime_id ,
714: p_organization_type => jai_constants.orgn_type_io ,
715: p_organization_id => v_organization_id ,
716: p_location_id => v_location_id ,
1062:
1063: Solution:-
1064: The check that, for service type of taxes ccid should be picked up from regime tax setup has been impletemented.
1065: Called the procedure jai_ar_rgm_processing_pkg.get_regime_info is being called for regime setup validation.
1066: Aslo called the function jai_cmn_rgm_recording_pkg.get_account to get the ccid in such cases.
1067:
1068: Dependency introduced as a part of this bug:-
1069: This file should be released on top of Bug 4146708.
1070:
1074: VAT Regime setup. This is being done as a part of the VAT enhancement
1075:
1076: Solution:-
1077: The check that, for taxes belonging to the VAT regime, ccid should be picked up from VAT regime setup has been impletemented.
1078: The account info is fetched using the function jai_cmn_rgm_recording_pkg.get_account.
1079:
1080:
1081: Dependency introduced as a part of this bug:-
1082: This file should be released on top of Bug 4245089.
1400: ################################################################################################################*/
1401:
1402: /*
1403: || Get the code combination id from the Organization/Regime Registration setup
1404: || by calling the function jai_cmn_rgm_recording_pkg.get_account
1405: */
1406:
1407: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
1408: p_regime_id => ln_regime_id ,
1403: || Get the code combination id from the Organization/Regime Registration setup
1404: || by calling the function jai_cmn_rgm_recording_pkg.get_account
1405: */
1406:
1407: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
1408: p_regime_id => ln_regime_id ,
1409: p_organization_type => jai_constants.service_tax_orgn_type ,
1410: p_organization_id => v_organization_id ,
1411: p_location_id => v_location_id ,
1414: );
1415:
1416: IF v_ccid IS NULL THEN
1417: /*
1418: || Code Combination id has been returned as null from the function jai_cmn_rgm_recording_pkg.get_account
1419: || This is an error condition and the current processing has to be stopped
1420: */
1421: /* raise_application_error (-20130,'Invalid Code combination, please check the Service Tax - Tax Accounting Setup'); */
1422: pv_return_code := jai_constants.expected_error ; pv_return_message := 'Invalid Code combination,please check the Service Tax - Tax Accounting Setup' ; return ;
1491: ################################################################################################################*/
1492:
1493: /*
1494: || Get the code combination id from the Organization/Regime Registration setup
1495: || by calling the function jai_cmn_rgm_recording_pkg.get_account
1496: */
1497:
1498: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
1499: p_regime_id => ln_regime_id ,
1494: || Get the code combination id from the Organization/Regime Registration setup
1495: || by calling the function jai_cmn_rgm_recording_pkg.get_account
1496: */
1497:
1498: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
1499: p_regime_id => ln_regime_id ,
1500: p_organization_type => jai_constants.orgn_type_io ,
1501: p_organization_id => v_organization_id ,
1502: p_location_id => v_location_id ,
1504: p_account_name => jai_constants.liability_interim
1505: );
1506: IF v_ccid IS NULL THEN
1507: /*
1508: || Code Combination id has been returned as null from the function jai_cmn_rgm_recording_pkg.get_account
1509: || This is an error condition and the current processing has to be stopped
1510: */
1511: /* raise_application_error (-20130,'Invalid Code combination ,please check the VAT Tax - Tax Accounting Setup'); */
1512: pv_return_code := jai_constants.expected_error ; pv_return_message := 'Invalid Code combination ,please check the VAT Tax - Tax Accounting Setup' ; return ;
1531: || by calling the function jai_rgm_trx_recording_pkg.get_account
1532: *********************************************************************************************************/
1533:
1534:
1535: v_ccid := jai_cmn_rgm_recording_pkg.get_account (
1536: p_regime_id => ln_regime_id ,
1537: p_organization_type => jai_constants.orgn_type_io ,
1538: p_organization_id => v_organization_id ,
1539: p_location_id => v_location_id ,