DBA Data[Home] [Help]

APPS.JAI_CMN_RGM_PROCESSING_PKG dependencies on JAI_CMN_RGM_SETUP_PKG

Line 3671: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();

3667: THEN
3668: IF NVL(lv_party_has_changed,jai_constants.value_false) = jai_constants.value_true -- party has changed
3669: THEN
3670: /* generate new VAT invoice number by document sequence;
3671: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();
3672: 2. if successful, update VAT invoice number to JAI_OM_WSH_LINES_ALL, and update
3673: table JAI_RGM_INVOICE_GEN_T (vat_invoice_no => lv_vat_invoice_number
3674: , vat_inv_gen_status => 'C');
3675: */

Line 3686: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );

3682: THEN
3683: IF lv_inv_num_already_generated = jai_constants.value_false
3684: THEN
3685: IF lv_Debug = 'Y' THEN
3686: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );
3687: END IF; -- lv_Debug = 'Y'
3688: jai_cmn_rgm_setup_pkg.Gen_Invoice_number(p_regime_id => ln_regime_id
3689: , p_organization_id => mainrec.organization_id
3690: , p_location_id => mainrec.location_id

Line 3688: jai_cmn_rgm_setup_pkg.Gen_Invoice_number(p_regime_id => ln_regime_id

3684: THEN
3685: IF lv_Debug = 'Y' THEN
3686: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );
3687: END IF; -- lv_Debug = 'Y'
3688: jai_cmn_rgm_setup_pkg.Gen_Invoice_number(p_regime_id => ln_regime_id
3689: , p_organization_id => mainrec.organization_id
3690: , p_location_id => mainrec.location_id
3691: , p_date => mainrec.delivery_date
3692: , p_doc_class => lv_doc_type_class

Line 3808: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();

3804: END IF; -- lv_vat_invoice_number IS NOT NULL
3805: END IF; -- lv_party_has_changed
3806: ELSE -- single invoice number is false
3807: /* generate new VAT invoice number by document sequence;
3808: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();
3809: 2. if successful, update VAT invoice number to JAI_OM_WSH_LINES_ALL, and update
3810: table JAI_RGM_INVOICE_GEN_T (vat_invoice_no => lv_vat_invoice_number,
3811: vat_inv_gen_status => 'C');
3812: */

Line 3821: Fnd_File.PUT_LINE(Fnd_File.LOG, '+++ before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number In the Else when p_single_invoice is not Y with order type = '

3817: || This is the Else Part of the IF p_single_invoice_num = 'Y' THEN
3818: || In this comes the code that is needed for different generating vat invoice number for every delivery
3819: */
3820: IF lv_Debug = 'Y' THEN
3821: Fnd_File.PUT_LINE(Fnd_File.LOG, '+++ before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number In the Else when p_single_invoice is not Y with order type = '
3822: || ln_order_type_id || ' +++ ' );
3823:
3824: Fnd_File.PUT_LINE(Fnd_File.LOG, '0 ' || ln_regime_id || ' ' ||
3825: mainrec.organization_id || ' ' || mainrec.location_id || ' ' ||

Line 3831: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_regime_id

3827: lv_vat_invoice_number || ' ' || lv_inv_gen_process_flag || ' ' ||
3828: lv_inv_gen_process_message ) ;
3829:
3830: END IF; -- lv_Debug = 'Y'
3831: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_regime_id
3832: , p_organization_id => mainrec.organization_id
3833: , p_location_id => mainrec.location_id
3834: , p_date => mainrec.delivery_date
3835: , p_doc_class => lv_doc_type_class

Line 3842: Fnd_File.PUT_LINE(Fnd_File.LOG, ' +++ after call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number In the Else when p_single_invoice is not Y with lv_vat_invoice_number = '

3838: , p_process_flag => lv_inv_gen_process_flag
3839: , p_process_msg => lv_inv_gen_process_message
3840: );
3841: IF lv_Debug = 'Y' THEN
3842: Fnd_File.PUT_LINE(Fnd_File.LOG, ' +++ after call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number In the Else when p_single_invoice is not Y with lv_vat_invoice_number = '
3843: || lv_vat_invoice_number || '+++');
3844: Fnd_File.PUT_LINE(Fnd_File.LOG, ' +++ after call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with lv_inv_gen_process_flag = '
3845: || lv_inv_gen_process_flag || 'lv_inv_gen_process_message '|| lv_inv_gen_process_message || '+++');
3846: END IF; -- lv_Debug = 'Y'

Line 3844: Fnd_File.PUT_LINE(Fnd_File.LOG, ' +++ after call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with lv_inv_gen_process_flag = '

3840: );
3841: IF lv_Debug = 'Y' THEN
3842: Fnd_File.PUT_LINE(Fnd_File.LOG, ' +++ after call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number In the Else when p_single_invoice is not Y with lv_vat_invoice_number = '
3843: || lv_vat_invoice_number || '+++');
3844: Fnd_File.PUT_LINE(Fnd_File.LOG, ' +++ after call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with lv_inv_gen_process_flag = '
3845: || lv_inv_gen_process_flag || 'lv_inv_gen_process_message '|| lv_inv_gen_process_message || '+++');
3846: END IF; -- lv_Debug = 'Y'
3847: IF lv_inv_gen_process_flag = jai_constants.successful
3848: THEN

Line 3980: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();

3976: THEN
3977: IF NVL(lv_party_has_changed,jai_constants.value_false) = jai_constants.value_true -- party has changed
3978: THEN
3979: /* generate new VAT invoice number by document sequence;
3980: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();
3981: 2. if successful, update VAT invoice number to JAI_OM_WSH_LINES_ALL, and update
3982: table JAI_RGM_INVOICE_GEN_T (vat_invoice_no => lv_vat_invoice_number,
3983: vat_inv_gen_status => 'C');
3984: */

Line 3995: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );

3991: THEN
3992: --IF lv_inv_num_already_generated = jai_constants.value_false
3993: --THEN
3994: IF lv_Debug = 'Y' THEN
3995: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );
3996: END IF; -- lv_Debug = 'Y'
3997: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_regime_id
3998: , p_organization_id => mainrec.organization_id
3999: , p_location_id => mainrec.location_id

Line 3997: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_regime_id

3993: --THEN
3994: IF lv_Debug = 'Y' THEN
3995: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );
3996: END IF; -- lv_Debug = 'Y'
3997: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_regime_id
3998: , p_organization_id => mainrec.organization_id
3999: , p_location_id => mainrec.location_id
4000: , p_date => mainrec.delivery_date
4001: , p_doc_class => lv_doc_type_class

Line 4079: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();

4075:
4076: IF NVL(lv_order_has_changed,jai_constants.value_false) = jai_constants.value_true -- order number has changed
4077: THEN
4078: /* generate new VAT invoice number by document sequence;
4079: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();
4080: 2. if successful, update VAT invoice number to JAI_OM_WSH_LINES_ALL, and update
4081: table JAI_RGM_INVOICE_GEN_T (vat_invoice_no => lv_vat_invoice_number,
4082: vat_inv_gen_status => 'C');
4083: */

Line 4094: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );

4090: THEN
4091: --IF lv_inv_num_already_generated = jai_constants.value_false
4092: --THEN
4093: IF lv_Debug = 'Y' THEN
4094: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );
4095: END IF; -- lv_Debug = 'Y'
4096: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_regime_id
4097: , p_organization_id => mainrec.organization_id
4098: , p_location_id => mainrec.location_id

Line 4096: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_regime_id

4092: --THEN
4093: IF lv_Debug = 'Y' THEN
4094: Fnd_File.PUT_LINE(Fnd_File.LOG, ' before call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with ln_order_type_id' || ln_order_type_id || 'date ' || mainrec.delivery_date );
4095: END IF; -- lv_Debug = 'Y'
4096: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_regime_id
4097: , p_organization_id => mainrec.organization_id
4098: , p_location_id => mainrec.location_id
4099: , p_date => mainrec.delivery_date
4100: , p_doc_class => lv_doc_type_class