DBA Data[Home] [Help]

APPS.PO_DOCUMENT_CHECKS_GRP dependencies on STANDARD

Line 30: * PO ---> PLANNED/STANDARD

26: * Valid Document types and Document subtypes are
27: * Document Type Document Subtype
28: * REQUISITION --->
29: * RELEASE ---> SCHEDULED/BLANKET
30: * PO ---> PLANNED/STANDARD
31: * PA ---> CONTRACT/BLANKET
32: --
33: --
34: -- The following 2 parameters replace the p_document_id parameter.

Line 138: -- Standard call to check for call compatibility

134: || l_progress,'Doing Validation on passed in data');
135: END IF;
136: END IF;
137:
138: -- Standard call to check for call compatibility
139: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
140: THEN
141: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
142: END IF;

Line 205: IF p_document_subtype NOT IN ('STANDARD', 'PLANNED') THEN

201:
202: l_progress := '004';
203: --check that document_subtype matches
204: IF p_document_type = 'PO' THEN
205: IF p_document_subtype NOT IN ('STANDARD', 'PLANNED') THEN
206: FND_MESSAGE.set_name('PO', 'PO_SUB_GENERAL_ERROR');
207: FND_MESSAGE.set_token('ERROR_TEXT', 'Invalid document type for document type PO');
208: FND_MSG_PUB.Add;
209: RAISE FND_API.G_EXC_ERROR;

Line 726: * RFQ ---> STANDARD

722: * PO_PA -- check both PO and PA (bug 5054685)
723: * p_document_subtype: The subtype of the document.
724: * Valid Document types and Document subtypes
725: * Document Type Document Subtype
726: * RFQ ---> STANDARD
727: * QUOTATION ---> STANDARD
728: * REQUISITION ---> PURCHASE/INTERNAL
729: * RELEASE ---> SCHEDULED/BLANKET
730: * PO ---> PLANNED/STANDARD

Line 727: * QUOTATION ---> STANDARD

723: * p_document_subtype: The subtype of the document.
724: * Valid Document types and Document subtypes
725: * Document Type Document Subtype
726: * RFQ ---> STANDARD
727: * QUOTATION ---> STANDARD
728: * REQUISITION ---> PURCHASE/INTERNAL
729: * RELEASE ---> SCHEDULED/BLANKET
730: * PO ---> PLANNED/STANDARD
731: * PA ---> CONTRACT/BLANKET

Line 730: * PO ---> PLANNED/STANDARD

726: * RFQ ---> STANDARD
727: * QUOTATION ---> STANDARD
728: * REQUISITION ---> PURCHASE/INTERNAL
729: * RELEASE ---> SCHEDULED/BLANKET
730: * PO ---> PLANNED/STANDARD
731: * PA ---> CONTRACT/BLANKET
732: * PO_PA ---> "ALL" (PLANNED/STANDARD/CONTRACT/BLANKET) (bug 5054685)
733: * p_type_clause: The document type clause to be used in
734: * constructing where clause

Line 732: * PO_PA ---> "ALL" (PLANNED/STANDARD/CONTRACT/BLANKET) (bug 5054685)

728: * REQUISITION ---> PURCHASE/INTERNAL
729: * RELEASE ---> SCHEDULED/BLANKET
730: * PO ---> PLANNED/STANDARD
731: * PA ---> CONTRACT/BLANKET
732: * PO_PA ---> "ALL" (PLANNED/STANDARD/CONTRACT/BLANKET) (bug 5054685)
733: * p_type_clause: The document type clause to be used in
734: * constructing where clause
735: *
736: * Modifies: None

Line 769: -- Standard call to check for call compatibility

765:
766: BEGIN
767:
768: l_progress := '000';
769: -- Standard call to check for call compatibility
770: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
771: THEN
772: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
773: END IF;

Line 832: IF p_document_subtype NOT IN ('STANDARD', 'PLANNED') THEN

828: FND_MSG_PUB.Add;
829: RAISE FND_API.G_EXC_ERROR;
830: END IF;
831: ELSIF p_document_type = 'PO' THEN
832: IF p_document_subtype NOT IN ('STANDARD', 'PLANNED') THEN
833: FND_MESSAGE.set_name('PO', 'PO_SEC_GENERAL_ERROR');
834: FND_MESSAGE.set_token('ERROR_TEXT', 'Invalid Document Subtype');
835: FND_MSG_PUB.Add;
836: RAISE FND_API.G_EXC_ERROR;

Line 1111: --Standard call to check for call compatibility

1107: l_progress VARCHAR2(3) := '000';
1108:
1109: BEGIN
1110:
1111: --Standard call to check for call compatibility
1112: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) THEN
1113: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1114: END IF;
1115:

Line 1215: --Standard call to check for call compatibility

1211: l_progress VARCHAR2(3) := '000';
1212:
1213: BEGIN
1214:
1215: --Standard call to check for call compatibility
1216: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) THEN
1217: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1218: END IF;
1219:

Line 1260: -- Checks whether price updates are allowed on this Standard PO line.

1256: -------------------------------------------------------------------------------
1257: --Start of Comments
1258: --Name: check_std_po_price_updateable
1259: --Function:
1260: -- Checks whether price updates are allowed on this Standard PO line.
1261: --Pre-reqs:
1262: -- N/A
1263: --Modifies:
1264: -- standard API message list

Line 1264: -- standard API message list

1260: -- Checks whether price updates are allowed on this Standard PO line.
1261: --Pre-reqs:
1262: -- N/A
1263: --Modifies:
1264: -- standard API message list
1265: --Locks:
1266: -- None.
1267: --Parameters:
1268: --IN:

Line 1272: -- ID of a Standard PO line

1268: --IN:
1269: --p_api_version
1270: -- API version expected by the caller
1271: --p_po_line_id
1272: -- ID of a Standard PO line
1273: --p_from_price_break
1274: -- PO_CORE_S.G_PARAMETER_YES means that the price update is coming from a
1275: -- price break;
1276: -- PO_CORE_S.G_PARAMETER_NO means that the price update is coming from the user.

Line 1280: -- are not allowed to the standard API message list; otherwise, the API will not

1276: -- PO_CORE_S.G_PARAMETER_NO means that the price update is coming from the user.
1277: --p_add_reasons_to_msg_list
1278: -- (Only applies if x_price_updateable = PO_CORE_S.G_PARAMETER_NO.)
1279: -- If PO_CORE_S.G_PARAMETER_YES, the API will add the reasons why price updates
1280: -- are not allowed to the standard API message list; otherwise, the API will not
1281: -- add the reasons to the message list.
1282: --OUT:
1283: --x_return_status
1284: -- FND_API.G_RET_STS_SUCCESS if the API completed successfully.

Line 1326: -- Standard API initialization:

1322: IF g_debug_stmt THEN
1323: PO_DEBUG.debug_begin(l_log_head);
1324: END IF;
1325:
1326: -- Standard API initialization:
1327: IF NOT FND_API.compatible_api_call (
1328: p_current_version_number => l_api_version,
1329: p_caller_version_number => p_api_version,
1330: p_api_name => l_api_name,

Line 1371: p_doc_subtype => 'STANDARD');

1367:
1368: -- Bug 3565522 : get the archive mode
1369: l_archive_mode_std_po := PO_DOCUMENT_ARCHIVE_PVT.get_archive_mode(
1370: p_doc_type => 'PO',
1371: p_doc_subtype => 'STANDARD');
1372:
1373: l_current_org_id := PO_GA_PVT.get_current_org;
1374:
1375: ----------------------------------------------------------------------------

Line 1434: -- Check: For a standard PO referencing a GA, do not allow line price

1430: END IF;
1431: END IF; -- if retro mode is all_releases
1432:
1433: ----------------------------------------------------------------------------
1434: -- Check: For a standard PO referencing a GA, do not allow line price
1435: -- changes (except those from price breaks) if the GA line has
1436: -- Allow Price Override set to No.
1437: ----------------------------------------------------------------------------
1438: l_progress := '030';

Line 1536: -- standard API message list

1532: -- Checks whether price updates are allowed on this release shipment.
1533: --Pre-reqs:
1534: -- N/A
1535: --Modifies:
1536: -- standard API message list
1537: --Locks:
1538: -- None.
1539: --Parameters:
1540: --IN:

Line 1552: -- are not allowed to the standard API message list; otherwise, the API will not

1548: -- PO_CORE_S.G_PARAMETER_NO means that the price update is coming from the user.
1549: --p_add_reasons_to_msg_list
1550: -- (Only applies if x_price_updateable = PO_CORE_S.G_PARAMETER_NO.)
1551: -- If PO_CORE_S.G_PARAMETER_YES, the API will add the reasons why price updates
1552: -- are not allowed to the standard API message list; otherwise, the API will not
1553: -- add the reasons to the message list.
1554: --OUT:
1555: --x_return_status
1556: -- FND_API.G_RET_STS_SUCCESS if the API completed successfully.

Line 1596: -- Standard API initialization:

1592: IF g_debug_stmt THEN
1593: PO_DEBUG.debug_begin(l_log_head);
1594: END IF;
1595:
1596: -- Standard API initialization:
1597: IF NOT FND_API.compatible_api_call (
1598: p_current_version_number => l_api_version,
1599: p_caller_version_number => p_api_version,
1600: p_api_name => l_api_name,

Line 2051: * PO ---> PLANNED/STANDARD

2047: * Valid Document types and Document subtypes are
2048: * Document Type Document Subtype
2049: * REQUISITION --->
2050: * RELEASE ---> SCHEDULED/BLANKET
2051: * PO ---> PLANNED/STANDARD
2052: * PA ---> CONTRACT/BLANKET
2053: --
2054: --
2055: -- The following 2 parameters replace the p_document_id parameter.

Line 2187: --'QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT';

2183: END;
2184:
2185:
2186: --If there is a source document and the source document type is one of
2187: --'QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT';
2188: --Then we need to do the copydoc submission check first and generate online report 1.
2189: IF (p_from_header_id IS NOT NULL AND
2190: p_from_type_lookup_code in ('QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT')) THEN --
2191: PO_COPYDOC_SUB.SUBMISSION_CHECK_COPYDOC(

Line 2190: p_from_type_lookup_code in ('QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT')) THEN --

2186: --If there is a source document and the source document type is one of
2187: --'QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT';
2188: --Then we need to do the copydoc submission check first and generate online report 1.
2189: IF (p_from_header_id IS NOT NULL AND
2190: p_from_type_lookup_code in ('QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT')) THEN --
2191: PO_COPYDOC_SUB.SUBMISSION_CHECK_COPYDOC(
2192: x_po_header_id => p_po_header_id
2193: ,x_online_report_id => p_online_report_id
2194: ,x_sob_id => p_sob_id