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:
333: -- API version expected by the caller
334: --p_line_location_id
335: -- ID of a Complex Work pay item.
336: --p_add_reasons_to_msg_list
337: -- (Only applies if x_price_updateable = PO_CORE_S.G_PARAMETER_NO.)
338: -- If PO_CORE_S.G_PARAMETER_NO, the API will add the reasons why price updates
339: -- are not allowed to the standard API message list. Otherwise, the API
340: -- will not add the reasons to the message list.
341: --OUT:
334: --p_line_location_id
335: -- ID of a Complex Work pay item.
336: --p_add_reasons_to_msg_list
337: -- (Only applies if x_price_updateable = PO_CORE_S.G_PARAMETER_NO.)
338: -- If PO_CORE_S.G_PARAMETER_NO, the API will add the reasons why price updates
339: -- are not allowed to the standard API message list. Otherwise, the API
340: -- will not add the reasons to the message list.
341: --OUT:
342: --x_return_status
343: -- FND_API.G_RET_STS_SUCCESS if the API completed successfully.
344: -- FND_API.G_RET_STS_ERROR if there was an error.
345: -- FND_API.G_RET_STS_UNEXP_ERROR if there was an unexpected error.
346: --x_price_updateable
347: -- PO_CORE_S.G_PARAMETER_YES if price updates are allowed on this shipment,
348: -- PO_CORE_S.G_PARAMETER_NO otherwise
349: --End of Comments
350: -------------------------------------------------------------------------------
351: PROCEDURE check_payitem_price_updateable (
344: -- FND_API.G_RET_STS_ERROR if there was an error.
345: -- FND_API.G_RET_STS_UNEXP_ERROR if there was an unexpected error.
346: --x_price_updateable
347: -- PO_CORE_S.G_PARAMETER_YES if price updates are allowed on this shipment,
348: -- PO_CORE_S.G_PARAMETER_NO otherwise
349: --End of Comments
350: -------------------------------------------------------------------------------
351: PROCEDURE check_payitem_price_updateable (
352: p_api_version IN NUMBER