556:
557: -----------------------------------------------------------------
558: debug_info := 'Step 1. Generate a Group Id(Invoice Gateway Batch';
559: -----------------------------------------------------------------
560: -- Although we are using the ap_batches_s to generate
561: -- the Invoice_gateway_batch name, it has no relationship
562: -- with the Invoice Batch_name(used if the batch control options
563: IF p_resubmit_flag <> 'Y' THEN
564: SELECT ap_batches_s.nextval
560: -- Although we are using the ap_batches_s to generate
561: -- the Invoice_gateway_batch name, it has no relationship
562: -- with the Invoice Batch_name(used if the batch control options
563: IF p_resubmit_flag <> 'Y' THEN
564: SELECT ap_batches_s.nextval
565: INTO l_batch_id
566: FROM sys.dual;
567: END IF;
568: --Gateway Batch