DBA Data[Home] [Help]

APPS.PO_PDOI_MAINPROC_PVT dependencies on STANDARD

Line 131: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN

127:
128: d_position := 40;
129:
130: IF (PO_PDOI_PARAMS.g_request.document_type =
131: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
132: process_distributions;
133: END IF;
134:
135: d_position := 50;

Line 496: -- must be Standard PO

492: -- the records in the interface table will be divided into four sets
493: -- according to their header and line level actions:
494: -- First set: all the lines with header action equal to 'ORIGINAL'or
495: -- 'REPLACE'; If header action is 'UPDATE', the document
496: -- must be Standard PO
497: -- Second Set: Header level action is 'UPDATE' and document type is
498: -- 'BLANKET' or 'QUOTATION'; And line level action is 'ADD'
499: -- Third Set: Header level action is 'UPDATE' and document type is
500: -- 'BLANKET' or 'QUOTATION'; And line level action is 'SYNC'

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

529: END IF;
530:
531: PO_TIMING_UTL.start_time(PO_PDOI_CONSTANTS.g_T_LINE_PROCESS);
532:
533: -- reject lines with existing line_num when updating standard PO
534: IF (PO_PDOI_PARAMS.g_request.document_type =
535: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
536: PO_PDOI_LINE_PROCESS_PVT.reject_dup_lines_for_spo;
537: END IF;

Line 535: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN

531: PO_TIMING_UTL.start_time(PO_PDOI_CONSTANTS.g_T_LINE_PROCESS);
532:
533: -- reject lines with existing line_num when updating standard PO
534: IF (PO_PDOI_PARAMS.g_request.document_type =
535: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
536: PO_PDOI_LINE_PROCESS_PVT.reject_dup_lines_for_spo;
537: END IF;
538:
539: -- reject lines with invalid line level action.

Line 624: -- must be Standard PO

620: --Name: process_lines_add
621: --Function: This procedure will deal with two kinds of data set:
622: -- First set: all the lines with header action equal to 'ORIGINAL'or
623: -- 'REPLACE'; If header action is 'UPDATE', the document
624: -- must be Standard PO
625: -- Second Set: Header level action is 'UPDATE' and document type is
626: -- 'BLANKET' or 'QUOTATION'; And line level action is 'ADD'
627: -- The two data set share similiar processing logic except for the data
628: -- to be processed. There is also an extra matching logic for First Set.

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

1784: d_position := 30;
1785:
1786: -- check whether provided shipment_num is unqiue across interface,
1787: -- draft and txn tables.
1788: -- logic is performed for Standard PO only
1789: IF (PO_PDOI_PARAMS.g_request.document_type =
1790: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
1791: PO_PDOI_MAINPROC_UTL_PVT.check_shipment_num_unique
1792: (

Line 1790: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN

1786: -- check whether provided shipment_num is unqiue across interface,
1787: -- draft and txn tables.
1788: -- logic is performed for Standard PO only
1789: IF (PO_PDOI_PARAMS.g_request.document_type =
1790: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
1791: PO_PDOI_MAINPROC_UTL_PVT.check_shipment_num_unique
1792: (
1793: p_po_line_id_tbl => l_line_locs.ln_po_line_id_tbl,
1794: p_draft_id_tbl => l_line_locs.draft_id_tbl,

Line 1938: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN

1934: END IF;
1935:
1936: -- line location post processing
1937: IF (PO_PDOI_PARAMS.g_request.document_type =
1938: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
1939: d_position := 130;
1940:
1941: -- update amount or quantity value on po_lines_draft_all based
1942: -- on the values on shipment for Standard PO.

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

1938: PO_PDOI_CONSTANTS.g_DOC_TYPE_STANDARD) THEN
1939: d_position := 130;
1940:
1941: -- update amount or quantity value on po_lines_draft_all based
1942: -- on the values on shipment for Standard PO.
1943: PO_PDOI_LINE_LOC_PROCESS_PVT.update_amount_quantity_on_line
1944: (
1945: p_po_line_id_tbl => l_processed_line_id_tbl,
1946: p_draft_id_tbl => l_processed_draft_id_tbl