368: SELECT ap_batches_s.nextval
369: INTO X_tmp_batch_id
370: FROM dual;
371:
372: -- Bug 4723269 : Populate org_id in ap_batches_all
373:
374: X_progress := '040';
375: INSERT INTO ap_batches_all
376: ( batch_id,
371:
372: -- Bug 4723269 : Populate org_id in ap_batches_all
373:
374: X_progress := '040';
375: INSERT INTO ap_batches_all
376: ( batch_id,
377: batch_name,
378: batch_date,
379: invoice_currency_code,
435: * control total originally. These need to be popluated
436: * to be the same as the actual count and actual total.
437: */
438:
439: -- Bug 4723269 : Changed ap_batches to ap_batches_all
440:
441: UPDATE ap_batches_all
442: SET actual_invoice_count = X_invoice_count,
443: actual_invoice_total = X_invoice_total,
437: */
438:
439: -- Bug 4723269 : Changed ap_batches to ap_batches_all
440:
441: UPDATE ap_batches_all
442: SET actual_invoice_count = X_invoice_count,
443: actual_invoice_total = X_invoice_total,
444: control_invoice_count = X_invoice_count,
445: control_invoice_total = X_invoice_total,