DBA Data[Home] [Help]

APPS.JAI_CMN_GST_INV_GEN_PKG dependencies on JAI_CMN_RGM_SETUP_PKG

Line 413: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();

409: THEN
410: IF NVL(lv_party_has_changed,jai_constants.value_false) = jai_constants.value_true -- party has changed
411: THEN
412: /* generate new GST invoice number by document sequence;
413: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();
414: 2. if successful, update GST invoice number to JAI_OM_WSH_LINES_ALL, and update
415: table JAI_RGM_GST_INVOICE_GEN_T (vat_invoice_no => lv_vat_invoice_number
416: , vat_inv_gen_status => 'C');
417: */

Line 428: 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 );

424: THEN
425: IF lv_inv_num_already_generated = jai_constants.value_false
426: THEN
427: IF lv_Debug = 'Y' THEN
428: 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 );
429: END IF; -- lv_Debug = 'Y'
430: jai_cmn_rgm_setup_pkg.Gen_Invoice_number(p_regime_id => ln_cgst_regime_id
431: , p_organization_id => mainrec.organization_id
432: , p_location_id => mainrec.location_id

Line 430: jai_cmn_rgm_setup_pkg.Gen_Invoice_number(p_regime_id => ln_cgst_regime_id

426: THEN
427: IF lv_Debug = 'Y' THEN
428: 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 );
429: END IF; -- lv_Debug = 'Y'
430: jai_cmn_rgm_setup_pkg.Gen_Invoice_number(p_regime_id => ln_cgst_regime_id
431: , p_organization_id => mainrec.organization_id
432: , p_location_id => mainrec.location_id
433: , p_date => mainrec.delivery_date
434: , p_doc_class => lv_doc_type_class

Line 552: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();

548: END IF; -- lv_invoice_number IS NOT NULL
549: END IF; -- lv_party_has_changed
550: ELSE -- single invoice number is false
551: /* generate new GST invoice number by document sequence;
552: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();
553: 2. if successful, update GST invoice number to JAI_OM_WSH_LINES_ALL, and update
554: table JAI_RGM_GST_INVOICE_GEN_T (vat_invoice_no => lv_vat_invoice_number,
555: vat_inv_gen_status => 'C');
556: */

Line 565: 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 = '

561: || This is the Else Part of the IF p_single_invoice_num = 'Y' THEN
562: || In this comes the code that is needed for different generating GST invoice number for every delivery
563: */
564: IF lv_Debug = 'Y' THEN
565: 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 = '
566: || ln_order_type_id || ' +++ ' );
567:
568:
569: END IF; -- lv_Debug = 'Y'

Line 570: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_cgst_regime_id

566: || ln_order_type_id || ' +++ ' );
567:
568:
569: END IF; -- lv_Debug = 'Y'
570: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_cgst_regime_id
571: , p_organization_id => mainrec.organization_id
572: , p_location_id => mainrec.location_id
573: , p_date => mainrec.delivery_date
574: , p_doc_class => lv_doc_type_class

Line 581: 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_invoice_number = '

577: , p_process_flag => lv_inv_gen_process_flag
578: , p_process_msg => lv_inv_gen_process_message
579: );
580: IF lv_Debug = 'Y' THEN
581: 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_invoice_number = '
582: || lv_invoice_number || '+++');
583: Fnd_File.PUT_LINE(Fnd_File.LOG, ' +++ after call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with lv_inv_gen_process_flag = '
584: || lv_inv_gen_process_flag || 'lv_inv_gen_process_message '|| lv_inv_gen_process_message || '+++');
585: END IF; -- lv_Debug = 'Y'

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

579: );
580: IF lv_Debug = 'Y' THEN
581: 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_invoice_number = '
582: || lv_invoice_number || '+++');
583: Fnd_File.PUT_LINE(Fnd_File.LOG, ' +++ after call to jai_cmn_rgm_setup_pkg.Gen_Invoice_number with lv_inv_gen_process_flag = '
584: || lv_inv_gen_process_flag || 'lv_inv_gen_process_message '|| lv_inv_gen_process_message || '+++');
585: END IF; -- lv_Debug = 'Y'
586: IF lv_inv_gen_process_flag = jai_constants.successful
587: THEN

Line 661: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();

657: THEN
658: IF NVL(lv_party_has_changed,jai_constants.value_false) = jai_constants.value_true -- party has changed
659: THEN
660: /* generate new GST invoice number by document sequence;
661: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();
662: 2. if successful, update GST invoice number to JAI_OM_WSH_LINES_ALL, and update
663: table JAI_RGM_GST_INVOICE_GEN_T (vat_invoice_no => lv_invoice_number,
664: vat_inv_gen_status => 'C');
665: */

Line 676: 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 );

672: THEN
673: --IF lv_inv_num_already_generated = jai_constants.value_false
674: --THEN
675: IF lv_Debug = 'Y' THEN
676: 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 );
677: END IF; -- lv_Debug = 'Y'
678: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_cgst_regime_id
679: , p_organization_id => mainrec.organization_id
680: , p_location_id => mainrec.location_id

Line 678: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_cgst_regime_id

674: --THEN
675: IF lv_Debug = 'Y' THEN
676: 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 );
677: END IF; -- lv_Debug = 'Y'
678: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_cgst_regime_id
679: , p_organization_id => mainrec.organization_id
680: , p_location_id => mainrec.location_id
681: , p_date => mainrec.delivery_date
682: , p_doc_class => lv_doc_type_class

Line 761: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();

757:
758: IF NVL(lv_order_has_changed,jai_constants.value_false) = jai_constants.value_true -- order number has changed
759: THEN
760: /* generate new GST invoice number by document sequence;
761: 1. jai_cmn_rgm_setup_pkg.Gen_Invoice_number();
762: 2. if successful, update GST invoice number to JAI_OM_WSH_LINES_ALL, and update
763: table JAI_RGM_GST_INVOICE_GEN_T (vat_invoice_no => lv_vat_invoice_number,
764: vat_inv_gen_status => 'C');
765: */

Line 776: 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 );

772: THEN
773: --IF lv_inv_num_already_generated = jai_constants.value_false
774: --THEN
775: IF lv_Debug = 'Y' THEN
776: 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 );
777: END IF; -- lv_Debug = 'Y'
778: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_cgst_regime_id
779: , p_organization_id => mainrec.organization_id
780: , p_location_id => mainrec.location_id

Line 778: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_cgst_regime_id

774: --THEN
775: IF lv_Debug = 'Y' THEN
776: 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 );
777: END IF; -- lv_Debug = 'Y'
778: jai_cmn_rgm_setup_pkg.Gen_Invoice_number( p_regime_id => ln_cgst_regime_id
779: , p_organization_id => mainrec.organization_id
780: , p_location_id => mainrec.location_id
781: , p_date => mainrec.delivery_date
782: , p_doc_class => lv_doc_type_class