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 139: -- Standard call to check for call compatibility

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

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

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

Line 736: * RFQ ---> STANDARD

732: * PO_PA -- check both PO and PA (bug 5054685)
733: * p_document_subtype: The subtype of the document.
734: * Valid Document types and Document subtypes
735: * Document Type Document Subtype
736: * RFQ ---> STANDARD
737: * QUOTATION ---> STANDARD
738: * REQUISITION ---> PURCHASE/INTERNAL
739: * RELEASE ---> SCHEDULED/BLANKET
740: * PO ---> PLANNED/STANDARD

Line 737: * QUOTATION ---> STANDARD

733: * p_document_subtype: The subtype of the document.
734: * Valid Document types and Document subtypes
735: * Document Type Document Subtype
736: * RFQ ---> STANDARD
737: * QUOTATION ---> STANDARD
738: * REQUISITION ---> PURCHASE/INTERNAL
739: * RELEASE ---> SCHEDULED/BLANKET
740: * PO ---> PLANNED/STANDARD
741: * PA ---> CONTRACT/BLANKET

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

736: * RFQ ---> STANDARD
737: * QUOTATION ---> STANDARD
738: * REQUISITION ---> PURCHASE/INTERNAL
739: * RELEASE ---> SCHEDULED/BLANKET
740: * PO ---> PLANNED/STANDARD
741: * PA ---> CONTRACT/BLANKET
742: * PO_PA ---> "ALL" (PLANNED/STANDARD/CONTRACT/BLANKET) (bug 5054685)
743: * p_type_clause: The document type clause to be used in
744: * constructing where clause

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

738: * REQUISITION ---> PURCHASE/INTERNAL
739: * RELEASE ---> SCHEDULED/BLANKET
740: * PO ---> PLANNED/STANDARD
741: * PA ---> CONTRACT/BLANKET
742: * PO_PA ---> "ALL" (PLANNED/STANDARD/CONTRACT/BLANKET) (bug 5054685)
743: * p_type_clause: The document type clause to be used in
744: * constructing where clause
745: *
746: * Modifies: None

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

775:
776: BEGIN
777:
778: l_progress := '000';
779: -- Standard call to check for call compatibility
780: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
781: THEN
782: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
783: END IF;

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

838: FND_MSG_PUB.Add;
839: RAISE FND_API.G_EXC_ERROR;
840: END IF;
841: ELSIF p_document_type = 'PO' THEN
842: IF p_document_subtype NOT IN ('STANDARD', 'PLANNED') THEN
843: FND_MESSAGE.set_name('PO', 'PO_SEC_GENERAL_ERROR');
844: FND_MESSAGE.set_token('ERROR_TEXT', 'Invalid Document Subtype');
845: FND_MSG_PUB.Add;
846: RAISE FND_API.G_EXC_ERROR;

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

1117: l_progress VARCHAR2(3) := '000';
1118:
1119: BEGIN
1120:
1121: --Standard call to check for call compatibility
1122: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) THEN
1123: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1124: END IF;
1125:

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

1221: l_progress VARCHAR2(3) := '000';
1222:
1223: BEGIN
1224:
1225: --Standard call to check for call compatibility
1226: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME) THEN
1227: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1228: END IF;
1229:

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

1266: -------------------------------------------------------------------------------
1267: --Start of Comments
1268: --Name: check_std_po_price_updateable
1269: --Function:
1270: -- Checks whether price updates are allowed on this Standard PO line.
1271: --Pre-reqs:
1272: -- N/A
1273: --Modifies:
1274: -- standard API message list

Line 1274: -- standard API message list

1270: -- Checks whether price updates are allowed on this Standard PO line.
1271: --Pre-reqs:
1272: -- N/A
1273: --Modifies:
1274: -- standard API message list
1275: --Locks:
1276: -- None.
1277: --Parameters:
1278: --IN:

Line 1282: -- ID of a Standard PO line

1278: --IN:
1279: --p_api_version
1280: -- API version expected by the caller
1281: --p_po_line_id
1282: -- ID of a Standard PO line
1283: --p_from_price_break
1284: -- PO_CORE_S.G_PARAMETER_YES means that the price update is coming from a
1285: -- price break;
1286: -- PO_CORE_S.G_PARAMETER_NO means that the price update is coming from the user.

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

1286: -- PO_CORE_S.G_PARAMETER_NO means that the price update is coming from the user.
1287: --p_add_reasons_to_msg_list
1288: -- (Only applies if x_price_updateable = PO_CORE_S.G_PARAMETER_NO.)
1289: -- If PO_CORE_S.G_PARAMETER_YES, the API will add the reasons why price updates
1290: -- are not allowed to the standard API message list; otherwise, the API will not
1291: -- add the reasons to the message list.
1292: --OUT:
1293: --x_return_status
1294: -- FND_API.G_RET_STS_SUCCESS if the API completed successfully.

Line 1336: -- Standard API initialization:

1332: IF g_debug_stmt THEN
1333: PO_DEBUG.debug_begin(l_log_head);
1334: END IF;
1335:
1336: -- Standard API initialization:
1337: IF NOT FND_API.compatible_api_call (
1338: p_current_version_number => l_api_version,
1339: p_caller_version_number => p_api_version,
1340: p_api_name => l_api_name,

Line 1381: p_doc_subtype => 'STANDARD');

1377:
1378: -- Bug 3565522 : get the archive mode
1379: l_archive_mode_std_po := PO_DOCUMENT_ARCHIVE_PVT.get_archive_mode(
1380: p_doc_type => 'PO',
1381: p_doc_subtype => 'STANDARD');
1382:
1383: l_current_org_id := PO_GA_PVT.get_current_org;
1384:
1385: ----------------------------------------------------------------------------

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

1440: END IF;
1441: END IF; -- if retro mode is all_releases
1442:
1443: ----------------------------------------------------------------------------
1444: -- Check: For a standard PO referencing a GA, do not allow line price
1445: -- changes (except those from price breaks) if the GA line has
1446: -- Allow Price Override set to No.
1447: ----------------------------------------------------------------------------
1448: l_progress := '030';

Line 1546: -- standard API message list

1542: -- Checks whether price updates are allowed on this release shipment.
1543: --Pre-reqs:
1544: -- N/A
1545: --Modifies:
1546: -- standard API message list
1547: --Locks:
1548: -- None.
1549: --Parameters:
1550: --IN:

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

1558: -- PO_CORE_S.G_PARAMETER_NO means that the price update is coming from the user.
1559: --p_add_reasons_to_msg_list
1560: -- (Only applies if x_price_updateable = PO_CORE_S.G_PARAMETER_NO.)
1561: -- If PO_CORE_S.G_PARAMETER_YES, the API will add the reasons why price updates
1562: -- are not allowed to the standard API message list; otherwise, the API will not
1563: -- add the reasons to the message list.
1564: --OUT:
1565: --x_return_status
1566: -- FND_API.G_RET_STS_SUCCESS if the API completed successfully.

Line 1606: -- Standard API initialization:

1602: IF g_debug_stmt THEN
1603: PO_DEBUG.debug_begin(l_log_head);
1604: END IF;
1605:
1606: -- Standard API initialization:
1607: IF NOT FND_API.compatible_api_call (
1608: p_current_version_number => l_api_version,
1609: p_caller_version_number => p_api_version,
1610: p_api_name => l_api_name,

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

2057: * Valid Document types and Document subtypes are
2058: * Document Type Document Subtype
2059: * REQUISITION --->
2060: * RELEASE ---> SCHEDULED/BLANKET
2061: * PO ---> PLANNED/STANDARD
2062: * PA ---> CONTRACT/BLANKET
2063: --
2064: --
2065: -- The following 2 parameters replace the p_document_id parameter.

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

2194: END;
2195:
2196:
2197: --If there is a source document and the source document type is one of
2198: --'QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT';
2199: --Then we need to do the copydoc submission check first and generate online report 1.
2200: IF (p_from_header_id IS NOT NULL AND
2201: p_from_type_lookup_code in ('QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT')) THEN --
2202: PO_COPYDOC_SUB.SUBMISSION_CHECK_COPYDOC(

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

2197: --If there is a source document and the source document type is one of
2198: --'QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT';
2199: --Then we need to do the copydoc submission check first and generate online report 1.
2200: IF (p_from_header_id IS NOT NULL AND
2201: p_from_type_lookup_code in ('QUOTATION', 'STANDARD', 'PLANNED', 'BLANKET', 'CONTRACT')) THEN --
2202: PO_COPYDOC_SUB.SUBMISSION_CHECK_COPYDOC(
2203: x_po_header_id => p_po_header_id
2204: ,x_online_report_id => p_online_report_id
2205: ,x_sob_id => p_sob_id