Search Results po_complex_work_pvt
Overview
APPS.PO_COMPLEX_WORK_PVT is a private PL/SQL package body in the Oracle Purchasing module of Oracle E-Business Suite, valid in both release 12.1.1 and 12.2.2. The "PVT" suffix denotes a private API classification within the Oracle EBS coding convention: the package encapsulates internal business logic that is invoked by other Purchasing packages rather than being published directly to external integrators. Its functional domain is complex work and financing payment styles on purchasing documents. Complex work and financing arrangements are used when a procurement transaction spans multiple payment phases or involves a third-party financier, requiring Oracle Purchasing to determine whether a document, its style, or its payment items qualify for that special handling.
The package provides the determination logic that drives defaulting and validation behavior in the Purchasing forms and in the underlying document creation APIs. Because it is a private package, callers are expected to be Oracle-owned Purchasing code, not custom client code.
Key Procedures and Functions
The documented package exposes ten procedures and functions in total. The named entries fall into three functional groups.
- IS_COMPLEX_WORK_STYLE and IS_COMPLEX_WORK_PO — boolean-style checks that determine whether a given document style, or a specific purchase order, is classified as complex work.
- IS_FINANCING_PAYMENT_STYLE and IS_FINANCING_PO — parallel checks that determine whether a payment style, or a specific purchase order, is governed by financing payment terms.
- GET_PAYMENT_STYLE_SETTINGS — retrieves the configuration attributes defined for a payment style, allowing the calling program to obtain the settings that govern payment behavior on the document.
- GET_DEFAULT_PAYITEM_INFO and GET_ADVANCE_AMOUNT — defaulting and derivation routines. GET_DEFAULT_PAYITEM_INFO supplies default payment item information for a document line or shipment, while GET_ADVANCE_AMOUNT derives the advance or prepayment amount associated with the financing or complex work arrangement.
The remaining procedures perform supporting internal work within the same domain and are invoked by the functions listed above and by sibling Purchasing packages.
Tables Accessed
Dependency metadata shows the package references the following objects through APPS synonyms:
- PO_DOC_STYLE_HEADERS and PO_DOC_STYLE_GRP — document style definitions; the package reads these to resolve style attributes and determine whether a style is a complex work or financing style.
- PO_HEADERS and PO_HEADERS_ALL — the base purchasing document headers; used by the IS_*_PO checks to evaluate the header-level style and financing attributes of a specific order.
- PO_LINE_LOCATIONS_ALL and PO_LINE_LOCATIONS_ARCHIVE_ALL — shipment and distribution schedule data including the archive variant; used when resolving payment item defaults and advance amounts at the schedule level.
- PO_STYLE_ENABLED_PAY_ITEMS — the mapping that identifies which payment items are enabled for a given style; consumed by the payment defaulting routines.
- PO_LOG, PLITBLM, and STANDARD — used for debug logging, PL/SQL table and string utilities, and the standard Oracle EBS error-handling and message framework respectively.
Usage Notes
PO_COMPLEX_WORK_PVT is not referenced by any database object in the reporting schema, meaning it is not a dependency of other stored objects captured in that metadata; it is, however, referenced by roughly twenty-five other packages at runtime, confirming its role as a shared internal utility. It is typically invoked indirectly — from the Purchasing forms when a user selects a document style or enters a payment schedule, and from the document creation and update APIs during defaulting and validation. Because of the PVT classification, customizations should not call these routines directly; the supported extension points are the public Purchasing APIs and the underlying style and payment item setups. Any modification to the package must be performed with respect to the documented dependencies on PO_HEADERS_ALL and the line location tables, since the determination logic depends on current header and schedule state.
-
PACKAGE BODY: APPS.PO_COMPLEX_WORK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COMPLEX_WORK_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_COMPLEX_WORK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COMPLEX_WORK_PVT, status:VALID,
-
PACKAGE: APPS.PO_COMPLEX_WORK_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_COMPLEX_WORK_PVT, status:VALID,
-
PACKAGE: APPS.PO_COMPLEX_WORK_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_COMPLEX_WORK_PVT, status:VALID,
-
PACKAGE: APPS.PO_COMPLEX_WORK_PVT
12.1.1
-
PACKAGE BODY: APPS.PO_COMPLEX_WORK_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COMPLEX_WORK_GRP, status:VALID,
-
PACKAGE BODY: APPS.PO_COMPLEX_WORK_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COMPLEX_WORK_GRP, status:VALID,
-
PACKAGE: APPS.PO_COMPLEX_WORK_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_COMPLEX_WORK_GRP, status:VALID,
-
PACKAGE BODY: APPS.POS_TOTALS_PO_SV
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POS_TOTALS_PO_SV, status:VALID,
-
PACKAGE: APPS.PO_COMPLEX_WORK_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_COMPLEX_WORK_GRP, status:VALID,
-
PACKAGE: APPS.PO_COMPLEX_WORK_PVT
12.2.2
-
PACKAGE BODY: APPS.POS_TOTALS_PO_SV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POS_TOTALS_PO_SV, status:VALID,
-
PACKAGE BODY: APPS.PO_DOCUMENT_TOTALS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_TOTALS_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_DOCUMENT_TOTALS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_TOTALS_PVT, status:VALID,
-
PACKAGE: APPS.PO_DOC_STYLE_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_DOC_STYLE_GRP, status:VALID,
-
PACKAGE BODY: APPS.PO_DISTRIBUTIONS_SV
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DISTRIBUTIONS_SV, status:VALID,
-
PACKAGE: APPS.PO_DOC_STYLE_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_DOC_STYLE_GRP, status:VALID,
-
VIEW: APPS.PO_STYLE_ENABLED_PAY_ITEMS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_STYLE_ENABLED_PAY_ITEMS, object_name:PO_STYLE_ENABLED_PAY_ITEMS, status:VALID,
-
VIEW: APPS.PO_STYLE_ENABLED_PAY_ITEMS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_STYLE_ENABLED_PAY_ITEMS, object_name:PO_STYLE_ENABLED_PAY_ITEMS, status:VALID,
-
PACKAGE BODY: APPS.PO_VAL_SHIPMENTS2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_VAL_SHIPMENTS2, status:VALID,
-
PACKAGE BODY: APPS.PO_DISTRIBUTIONS_SV
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DISTRIBUTIONS_SV, status:VALID,
-
PACKAGE BODY: APPS.PO_CHORD_WF6
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_CHORD_WF6, status:VALID,
-
PACKAGE BODY: APPS.PO_CHORD_WF6
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_CHORD_WF6, status:VALID,
-
SYNONYM: APPS.PO_DOC_STYLE_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DOC_STYLE_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.POS_SCO_TOLERANCE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POS_SCO_TOLERANCE_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_AUTO_HEADER_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_AUTO_HEADER_PROCESS_PVT, status:VALID,
-
PACKAGE BODY: APPS.POS_SCO_TOLERANCE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POS_SCO_TOLERANCE_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_CONTROL_ACTION_VALIDATIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_CONTROL_ACTION_VALIDATIONS, status:VALID,
-
PACKAGE BODY: APPS.PO_OTM_INTEGRATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_OTM_INTEGRATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_OTM_INTEGRATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_OTM_INTEGRATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.PORCPTWF
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PORCPTWF, status:VALID,
-
PACKAGE BODY: APPS.PO_DOCUMENT_CHECKS_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_CHECKS_GRP, status:VALID,
-
PACKAGE BODY: APPS.PO_DOCUMENT_CHECKS_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_CHECKS_GRP, status:VALID,
-
PACKAGE BODY: APPS.PO_PDOI_PREPROC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_PDOI_PREPROC_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_VAL_LINES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_VAL_LINES, status:VALID,
-
PACKAGE BODY: APPS.PO_ENCUMBRANCE_PREPROCESSING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_ENCUMBRANCE_PREPROCESSING, status:VALID,
-
SYNONYM: APPS.PO_LINE_LOCATIONS_ARCHIVE_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_LOCATIONS_ARCHIVE_ALL, status:VALID,
-
PACKAGE BODY: APPS.PO_COPYDOC_SUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COPYDOC_SUB, status:VALID,
-
PACKAGE BODY: APPS.PO_COPYDOC_SUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COPYDOC_SUB, status:VALID,
-
PACKAGE BODY: APPS.PO_ENCUMBRANCE_PREPROCESSING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_ENCUMBRANCE_PREPROCESSING, status:VALID,
-
PACKAGE BODY: APPS.PO_DOCUMENT_CANCEL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_CANCEL_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_CHG_REQUEST_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_CHG_REQUEST_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_CHG_REQUEST_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_CHG_REQUEST_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_AUTO_LINE_LOC_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_AUTO_LINE_LOC_PROCESS_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_RCO_VALIDATION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_RCO_VALIDATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_COPYDOC_S1
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COPYDOC_S1, status:VALID,
-
SYNONYM: APPS.PO_LINE_LOCATIONS_ARCHIVE_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LINE_LOCATIONS_ARCHIVE_ALL, status:VALID,
-
PACKAGE BODY: APPS.PO_DOCUMENT_CONTROL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOCUMENT_CONTROL_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_RCO_VALIDATION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_RCO_VALIDATION_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_COPYDOC_S1
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_COPYDOC_S1, status:VALID,