23:
24: -- Document types:
25: g_document_type_REQUISITION CONSTANT
26: PO_DOCUMENT_TYPES.document_type_code%TYPE
27: := PO_CORE_S.g_doc_type_REQUISITION
28: ;
29: g_document_type_PO CONSTANT
30: PO_DOCUMENT_TYPES.document_type_code%TYPE
31: := PO_CORE_S.g_doc_type_PO
27: := PO_CORE_S.g_doc_type_REQUISITION
28: ;
29: g_document_type_PO CONSTANT
30: PO_DOCUMENT_TYPES.document_type_code%TYPE
31: := PO_CORE_S.g_doc_type_PO
32: ;
33: g_document_type_PA CONSTANT
34: PO_DOCUMENT_TYPES.document_type_code%TYPE
35: := PO_CORE_S.g_doc_type_PA
31: := PO_CORE_S.g_doc_type_PO
32: ;
33: g_document_type_PA CONSTANT
34: PO_DOCUMENT_TYPES.document_type_code%TYPE
35: := PO_CORE_S.g_doc_type_PA
36: ;
37: g_document_type_RELEASE CONSTANT
38: PO_DOCUMENT_TYPES.document_type_code%TYPE
39: := PO_CORE_S.g_doc_type_RELEASE
35: := PO_CORE_S.g_doc_type_PA
36: ;
37: g_document_type_RELEASE CONSTANT
38: PO_DOCUMENT_TYPES.document_type_code%TYPE
39: := PO_CORE_S.g_doc_type_RELEASE
40: ;
41:
42: -- Document levels:
43: g_document_level_HEADER CONSTANT
41:
42: -- Document levels:
43: g_document_level_HEADER CONSTANT
44: VARCHAR2(25)
45: := PO_CORE_S.g_doc_level_HEADER
46: ;
47: g_document_level_LINE CONSTANT
48: VARCHAR2(25)
49: := PO_CORE_S.g_doc_level_LINE
45: := PO_CORE_S.g_doc_level_HEADER
46: ;
47: g_document_level_LINE CONSTANT
48: VARCHAR2(25)
49: := PO_CORE_S.g_doc_level_LINE
50: ;
51: g_document_level_SHIPMENT CONSTANT
52: VARCHAR2(25)
53: := PO_CORE_S.g_doc_level_SHIPMENT
49: := PO_CORE_S.g_doc_level_LINE
50: ;
51: g_document_level_SHIPMENT CONSTANT
52: VARCHAR2(25)
53: := PO_CORE_S.g_doc_level_SHIPMENT
54: ;
55: g_document_level_DISTRIBUTION CONSTANT
56: VARCHAR2(25)
57: := PO_CORE_S.g_doc_level_DISTRIBUTION
53: := PO_CORE_S.g_doc_level_SHIPMENT
54: ;
55: g_document_level_DISTRIBUTION CONSTANT
56: VARCHAR2(25)
57: := PO_CORE_S.g_doc_level_DISTRIBUTION
58: ;
59:
60:
61:
337: -- API version expected by the caller
338: --p_line_location_id
339: -- ID of a Complex Work pay item.
340: --p_add_reasons_to_msg_list
341: -- (Only applies if x_price_updateable = PO_CORE_S.G_PARAMETER_NO.)
342: -- If PO_CORE_S.G_PARAMETER_NO, the API will add the reasons why price updates
343: -- are not allowed to the standard API message list. Otherwise, the API
344: -- will not add the reasons to the message list.
345: --OUT:
338: --p_line_location_id
339: -- ID of a Complex Work pay item.
340: --p_add_reasons_to_msg_list
341: -- (Only applies if x_price_updateable = PO_CORE_S.G_PARAMETER_NO.)
342: -- If PO_CORE_S.G_PARAMETER_NO, the API will add the reasons why price updates
343: -- are not allowed to the standard API message list. Otherwise, the API
344: -- will not add the reasons to the message list.
345: --OUT:
346: --x_return_status
347: -- FND_API.G_RET_STS_SUCCESS if the API completed successfully.
348: -- FND_API.G_RET_STS_ERROR if there was an error.
349: -- FND_API.G_RET_STS_UNEXP_ERROR if there was an unexpected error.
350: --x_price_updateable
351: -- PO_CORE_S.G_PARAMETER_YES if price updates are allowed on this shipment,
352: -- PO_CORE_S.G_PARAMETER_NO otherwise
353: --End of Comments
354: -------------------------------------------------------------------------------
355: PROCEDURE check_payitem_price_updateable (
348: -- FND_API.G_RET_STS_ERROR if there was an error.
349: -- FND_API.G_RET_STS_UNEXP_ERROR if there was an unexpected error.
350: --x_price_updateable
351: -- PO_CORE_S.G_PARAMETER_YES if price updates are allowed on this shipment,
352: -- PO_CORE_S.G_PARAMETER_NO otherwise
353: --End of Comments
354: -------------------------------------------------------------------------------
355: PROCEDURE check_payitem_price_updateable (
356: p_api_version IN NUMBER