DBA Data[Home] [Help]

APPS.PO_PDOI_MAINPROC_PVT dependencies on STANDARD

Line 116: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN

112:
113: d_position := 40;
114:
115: IF (PO_PDOI_PARAMS.g_request.document_type =
116: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
117: process_distributions;
118: END IF;
119:
120: d_position := 50;

Line 376: -- must be Standard PO

372: -- the records in the interface table will be divided into four sets
373: -- according to their header and line level actions:
374: -- First set: all the lines with header action equal to 'ORIGINAL'or
375: -- 'REPLACE'; If header action is 'UPDATE', the document
376: -- must be Standard PO
377: -- Second Set: Header level action is 'UPDATE' and document type is
378: -- 'BLANKET' or 'QUOTATION'; And line level action is 'ADD'
379: -- Third Set: Header level action is 'UPDATE' and document type is
380: -- 'BLANKET' or 'QUOTATION'; And line level action is 'SYNC'

Line 413: -- reject lines with existing line_num when updating standard PO

409: END IF;
410:
411: PO_TIMING_UTL.start_time(PO_PDOI_CONSTANTS.g_T_LINE_PROCESS);
412:
413: -- reject lines with existing line_num when updating standard PO
414: IF (PO_PDOI_PARAMS.g_request.document_type =
415: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
416: PO_PDOI_LINE_PROCESS_PVT.reject_dup_lines_for_spo;
417: END IF;

Line 415: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN

411: PO_TIMING_UTL.start_time(PO_PDOI_CONSTANTS.g_T_LINE_PROCESS);
412:
413: -- reject lines with existing line_num when updating standard PO
414: IF (PO_PDOI_PARAMS.g_request.document_type =
415: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
416: PO_PDOI_LINE_PROCESS_PVT.reject_dup_lines_for_spo;
417: END IF;
418:
419: -- reject lines with invalid line level action.

Line 491: -- must be Standard PO

487: --Name: process_lines_add
488: --Function: This procedure will deal with two kinds of data set:
489: -- First set: all the lines with header action equal to 'ORIGINAL'or
490: -- 'REPLACE'; If header action is 'UPDATE', the document
491: -- must be Standard PO
492: -- Second Set: Header level action is 'UPDATE' and document type is
493: -- 'BLANKET' or 'QUOTATION'; And line level action is 'ADD'
494: -- The two data set share similiar processing logic except for the data
495: -- to be processed. There is also an extra matching logic for First Set.

Line 1625: -- logic is performed for Standard PO only

1621: d_position := 30;
1622:
1623: -- check whether provided shipment_num is unqiue across interface,
1624: -- draft and txn tables.
1625: -- logic is performed for Standard PO only
1626: IF (PO_PDOI_PARAMS.g_request.document_type =
1627: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
1628: PO_PDOI_MAINPROC_UTL_PVT.check_shipment_num_unique
1629: (

Line 1627: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN

1623: -- check whether provided shipment_num is unqiue across interface,
1624: -- draft and txn tables.
1625: -- logic is performed for Standard PO only
1626: IF (PO_PDOI_PARAMS.g_request.document_type =
1627: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
1628: PO_PDOI_MAINPROC_UTL_PVT.check_shipment_num_unique
1629: (
1630: p_po_line_id_tbl => l_line_locs.ln_po_line_id_tbl,
1631: p_draft_id_tbl => l_line_locs.draft_id_tbl,

Line 1775: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN

1771: END IF;
1772:
1773: -- line location post processing
1774: IF (PO_PDOI_PARAMS.g_request.document_type =
1775: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
1776: d_position := 130;
1777:
1778: -- update amount or quantity value on po_lines_draft_all based
1779: -- on the values on shipment for Standard PO.

Line 1779: -- on the values on shipment for Standard PO.

1775: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
1776: d_position := 130;
1777:
1778: -- update amount or quantity value on po_lines_draft_all based
1779: -- on the values on shipment for Standard PO.
1780: PO_PDOI_LINE_LOC_PROCESS_PVT.update_amount_quantity_on_line
1781: (
1782: p_po_line_id_tbl => l_processed_line_id_tbl,
1783: p_draft_id_tbl => l_processed_draft_id_tbl