DBA Data[Home] [Help]

APPS.PO_DOCUMENT_ARCHIVE_PVT dependencies on STANDARD

Line 1353: -- PO : For Standard/Planned

1349: --p_document_id
1350: -- The id of the document that needs to be archived.
1351: --p_document_type
1352: -- The type of the document to archive
1353: -- PO : For Standard/Planned
1354: -- PA : For Blanket/Contract
1355: -- RELEASE : Release
1356: --p_revision_num
1357: -- The revision of the document that needs to be archived.

Line 1878: -- PO : For Standard/Planned

1874: --p_document_id
1875: -- The id of the document that needs to be archived.
1876: --p_document_type
1877: -- The type of the document to archive
1878: -- PO : For Standard/Planned
1879: -- PA : For Blanket/Contract
1880: -- RELEASE : Release
1881: --p_revision_num
1882: -- The revision of the document that needs to be archived.

Line 2756: -- PO : For Standard/Planned

2752: --p_document_id
2753: -- The id of the document that needs to be archived.
2754: --p_document_type
2755: -- The type of the document to archive
2756: -- PO : For Standard/Planned
2757: -- PA : For Blanket/Contract
2758: -- RELEASE : Release
2759: --p_document_subtype
2760: -- The subtype of the document.

Line 2764: -- PO ---> PLANNED/STANDARD

2760: -- The subtype of the document.
2761: -- Valid Document types and Document subtypes are
2762: -- Document Type Document Subtype
2763: -- RELEASE ---> SCHEDULED/BLANKET
2764: -- PO ---> PLANNED/STANDARD
2765: -- PA ---> CONTRACT/BLANKET
2766: --OUT:
2767: --x_return_status
2768: -- FND_API.G_RET_STS_SUCCESS if API succeeds

Line 2787: * When STANDARD or PLANNED

2783: * Check if the current revision is already archived.
2784: * Case entity.document_type is
2785: * When PO
2786: * Case entity.document_subtype is
2787: * When STANDARD or PLANNED
2788: * archive PO_HEADERS
2789: * when modified archive PO_LINES, PO_LINE_LOCATIONS,
2790: * PO_PRICE_DIFFERENTIALS and PO_DISTRIBUTIONS.
2791: * End Case

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

2826: l_ga_flag PO_HEADERS_ALL.global_agreement_flag%TYPE;
2827:
2828: BEGIN
2829:
2830: -- Standard call to check for call compatibility
2831: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
2832: THEN
2833: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
2834: END IF;

Line 2850: --Standard Start API savepoint

2846: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
2847: 'Set SavePoint');
2848: END IF;
2849:
2850: --Standard Start API savepoint
2851: SAVEPOINT PO_ARCHIVE_SP;
2852:
2853: l_progress := '020';
2854: IF (p_document_type = 'PO') THEN

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

3091: archive_distributions(p_document_id, p_document_type, l_revision_num);
3092: END IF; /*IF (l_return_status = 'Y')*/
3093: END IF; /*IF (p_document_type = 'PO')*/
3094:
3095: -- Standard call to get message count and if count is 1,
3096: -- get message info.
3097: FND_MSG_PUB.Count_And_Get
3098: (p_count => x_msg_count,
3099: p_data => x_msg_data

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

3115: FND_LOG.string(FND_LOG.level_unexpected, l_module,
3116: 'EXCEPTION: '||sqlerrm);
3117: END IF;
3118: END IF;
3119: -- Standard call to get message count and if count is 1,
3120: -- get message info.
3121: FND_MSG_PUB.Count_And_Get
3122: (p_count => x_msg_count,
3123: p_data => x_msg_data

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

3130: FND_LOG.string(FND_LOG.level_unexpected, l_module,
3131: 'EXCEPTION: '||sqlerrm);
3132: END IF;
3133: END IF;
3134: -- Standard call to get message count and if count is 1,
3135: -- get message info.
3136: FND_MSG_PUB.Count_And_Get
3137: (p_count => x_msg_count,
3138: p_data => x_msg_data

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

3145: FND_LOG.string(FND_LOG.level_unexpected, l_module,
3146: 'EXCEPTION: '||sqlerrm);
3147: END IF;
3148: END IF;
3149: -- Standard call to get message count and if count is 1,
3150: -- get message info.
3151: FND_MSG_PUB.Count_And_Get
3152: (p_count => x_msg_count,
3153: p_data => x_msg_data

Line 3339: -- sub type of the document to be checked - RELEASE or STANDARD

3335: --IN:
3336: --p_doc_type
3337: -- type of the document to be checked - PO or BLANKET
3338: --p_doc_subtype
3339: -- sub type of the document to be checked - RELEASE or STANDARD
3340: --Return
3341: -- Archive mode - APPROVE or PRINT
3342: --Testing:
3343: -- None.

Line 3357: -- SQL What: Get archive mode for Standard PO, Release

3353: l_archive_mode PO_DOCUMENT_TYPES.archive_external_revision_code%TYPE;
3354:
3355: BEGIN
3356:
3357: -- SQL What: Get archive mode for Standard PO, Release
3358: -- SQL Why : To Determine when the document is approved
3359:
3360: SELECT nvl(archive_external_revision_code,'PRINT')
3361: INTO l_archive_mode