DBA Data[Home] [Help]

APPS.PO_DOCUMENT_ARCHIVE_GRP dependencies on STANDARD

Line 20: * PO : For Standard/Planned

16: * should match the l_api_version defined in the
17: * procedure (expected value : 1.0)
18: * p_document_id: The id of the document that needs to be archived.
19: * p_document_type: The type of the document to archive
20: * PO : For Standard/Planned
21: * PA : For Blanket/Contract
22: * RELEASE : Release
23: * p_document_subtype: The subtype of the document.
24: * Valid Document types and Document subtypes are

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

23: * p_document_subtype: The subtype of the document.
24: * Valid Document types and Document subtypes are
25: * Document Type Document Subtype
26: * RELEASE ---> SCHEDULED/BLANKET
27: * PO ---> PLANNED/STANDARD
28: * PA ---> CONTRACT/BLANKET
29: *
30: * Modifies: Arcives the document. Inserts an copy of the document in the
31: * archive tables

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

60: x_msg_count := 0;
61: x_msg_data := NULL;
62:
63: l_progress := '000';
64: -- Standard call to check for call compatibility
65: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
66: THEN
67: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
68: END IF;

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

103: FND_MSG_PUB.Add;
104: RAISE FND_API.G_EXC_ERROR;
105: END IF;
106: ELSIF p_document_type = 'PO' THEN
107: IF p_document_subtype NOT IN ('STANDARD', 'PLANNED') THEN
108: FND_MESSAGE.set_name('PO', 'PO_ARC_GENERAL_ERROR');
109: FND_MESSAGE.set_token('ERROR_TEXT', 'Invalid PO document subtype');
110: FND_MSG_PUB.Add;
111: RAISE FND_API.G_EXC_ERROR;

Line 241: -- Standard call to get message count and if count is 1,

237: x_msg_data => x_msg_data);
238: END IF; /*p_process = l_when_to_archive*/
239:
240: l_progress := '100';
241: -- Standard call to get message count and if count is 1,
242: -- get message info.
243: FND_MSG_PUB.Count_And_Get
244: (p_count => x_msg_count,
245: p_data => x_msg_data