Search Results po_copydoc_sub
Overview
APPS.PO_COPYDOC_SUB is a subordinate PL/SQL package in the Oracle E-Business Suite Purchasing module, classified in the E-Business Suite Technical Reference Manual (ETRM) as an OTHER API. The name reflects its role: a "sub" or helper package that supports the document copy ("Copy Doc") capability in Purchasing. When a user copies an existing purchase order or purchase agreement to create a new document, the application must validate that the source document is eligible for copying, resolve the correct operating unit and inventory context for the copied document, and populate derived attributes. PO_COPYDOC_SUB encapsulates the submission-time validation logic that governs these checks. The package header carries the directive AUTHID CURRENT_USER, indicating that it executes with the privileges of the invoker rather than the definer, so callers must themselves possess the necessary object privileges. The version string in the header dates the source to 2008 and identifies it as a non-shipped (noship) internal unit, consistent with its status as an internal helper rather than a published public API.
Key Procedures and Functions
The ETRM documents a single procedure for this package: SUBMISSION_CHECK_COPYDOC. Its purpose is to perform validation at the point a copy-document request is submitted. Based on the documented parameters, the procedure receives the source purchase order header identifier, a context value for the online report or concurrent request, the set of books identifier, and the inventory organization identifier. It uses these inputs to confirm that the requested copy operation is valid for the specified header within the given financial and inventory context. No parameter list is reproduced here; readers should consult the package specification for exact signatures. No functions are documented for this package.
Tables Accessed
The package reads from a broad set of Purchasing, financials, inventory, and reference tables through APPS synonyms. PO_HEADERS supplies the source document being validated. FINANCIALS_SYSTEM_PARAMETERS and FINANCIALS_SYSTEM_PARAMS_ALL provide operating unit and set-of-books defaults used to validate the supplied SOB and inventory organization. GL_CODE_COMBINATIONS supports validation of accounting flexfield combinations referenced by the document. Inventory-related reads include MTL_SYSTEM_ITEMS, MTL_ITEM_CATEGORIES, MTL_CATEGORIES_KFV, MTL_CATEGORY_SET_VALID_CATS, MTL_SECONDARY_INVENTORIES, and MTL_ITEM_SUB_INVENTORIES, which are used to confirm item, category, and subinventory validity for the copied lines. BOM_STANDARD_OPERATIONS is accessed for outside-processing or service-related line validation. Organizational and location data come from HR_ALL_ORGANIZATION_UNITS_TL, HR_LOCATIONS_ALL, and HZ_LOCATIONS, while PA_PROJECTS_ALL supports project-referenced purchasing validation.
Usage Notes
PO_COPYDOC_SUB is invoked indirectly rather than as a standalone public API. It is called by one other package in the application, which supplies the header identifier and financial context during the copy-document flow. In a typical EBS 12.1.1 or 12.2.2 environment, a user initiates a copy from the Purchasing forms or from a concurrent program, and the calling package delegates submission-check logic to SUBMISSION_CHECK_COPYDOC. Because the package uses AUTHID CURRENT_USER, custom code that calls it must run under a schema with appropriate grants on the referenced tables. Customizations should avoid modifying this internal package directly; instead, the supported extension points are the calling APIs and form personalizations. Administrators troubleshooting copy failures should examine the validation conditions enforced here, particularly those relating to the set of books, inventory organization, and item or category eligibility of the source document.
-
PACKAGE: APPS.PO_COPYDOC_SUB
12.2.2
-
PACKAGE: APPS.PO_COPYDOC_SUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_COPYDOC_SUB, status:VALID,
-
PACKAGE: APPS.PO_COPYDOC_SUB
12.1.1
-
PACKAGE: APPS.PO_COPYDOC_SUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_COPYDOC_SUB, 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: APPS.PO_PROJECT_DETAILS_SV
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_PROJECT_DETAILS_SV, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_SV4
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_HEADERS_SV4, status:VALID,
-
PACKAGE: APPS.PO_HEADERS_SV4
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_HEADERS_SV4, status:VALID,
-
PACKAGE: APPS.PO_PROJECT_DETAILS_SV
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_PROJECT_DETAILS_SV, status:VALID,
-
PACKAGE: APPS.PO_SHARED_PROC_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_SHARED_PROC_PVT, status:VALID,
-
PACKAGE: APPS.PO_COPYDOC_S1
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_COPYDOC_S1, status:VALID,
-
PACKAGE: APPS.PO_ITEMS_SV2
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_ITEMS_SV2, status:VALID,
-
PACKAGE: APPS.PO_SETUP_S1
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_SETUP_S1, status:VALID,
-
PACKAGE: APPS.PO_COPYDOC_S1
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_COPYDOC_S1, status:VALID,
-
PACKAGE: APPS.PO_SHARED_PROC_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_SHARED_PROC_PVT, status:VALID,
-
PACKAGE: APPS.PO_SETUP_S1
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_SETUP_S1, status:VALID,
-
PACKAGE: APPS.PO_ITEMS_SV2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_ITEMS_SV2, status:VALID,
-
SYNONYM: APPS.PO_SESSION_GT_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_SESSION_GT_S, status:VALID,
-
VIEW: APPS.WIP_OSP_LINES_VAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_OSP_LINES_VAL_V, object_name:WIP_OSP_LINES_VAL_V, status:VALID,
-
VIEW: APPS.MTL_ITEM_REVISIONS_ORG_VAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_REVISIONS_ORG_VAL_V, object_name:MTL_ITEM_REVISIONS_ORG_VAL_V, status:VALID,
-
VIEW: APPS.HR_BILLING_LOCATIONS_PO_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_BILLING_LOCATIONS_PO_V, object_name:HR_BILLING_LOCATIONS_PO_V, status:VALID,
-
VIEW: APPS.AP_TERMS_VAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_TERMS_VAL_V, object_name:AP_TERMS_VAL_V, status:VALID,
-
SYNONYM: APPS.PO_SESSION_GT_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_SESSION_GT_S, status:VALID,
-
PACKAGE: APPS.PA_TRANSACTIONS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_TRANSACTIONS_PUB, status:VALID,
-
VIEW: APPS.HR_BILLING_LOCATIONS_PO_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_BILLING_LOCATIONS_PO_V, object_name:HR_BILLING_LOCATIONS_PO_V, status:VALID,
-
VIEW: APPS.AP_TERMS_VAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_TERMS_VAL_V, object_name:AP_TERMS_VAL_V, status:VALID,
-
VIEW: APPS.WIP_OSP_LINES_VAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_OSP_LINES_VAL_V, object_name:WIP_OSP_LINES_VAL_V, status:VALID,
-
VIEW: APPS.MTL_ITEM_REVISIONS_ORG_VAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ITEM_REVISIONS_ORG_VAL_V, object_name:MTL_ITEM_REVISIONS_ORG_VAL_V, status:VALID,
-
PACKAGE: APPS.PO_COMPLEX_WORK_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PO_COMPLEX_WORK_PVT, status:VALID,
-
VIEW: APPS.WIP_OSP_OPERATIONS_VAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_OSP_OPERATIONS_VAL_V, object_name:WIP_OSP_OPERATIONS_VAL_V, status:VALID,
-
VIEW: APPS.WIP_OSP_OPERATIONS_VAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_OSP_OPERATIONS_VAL_V, object_name:WIP_OSP_OPERATIONS_VAL_V, 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,
-
SYNONYM: APPS.PO_AGENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_AGENTS, 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,
-
SYNONYM: APPS.PO_AGENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_AGENTS, status:VALID,
-
VIEW: APPS.WIP_OSP_JOBS_VAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_OSP_JOBS_VAL_V, object_name:WIP_OSP_JOBS_VAL_V, status:VALID,
-
VIEW: APPS.WIP_OSP_JOBS_VAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_OSP_JOBS_VAL_V, object_name:WIP_OSP_JOBS_VAL_V, status:VALID,
-
PACKAGE: APPS.PO_COMPLEX_WORK_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PO_COMPLEX_WORK_PVT, status:VALID,
-
VIEW: APPS.WIP_OSP_RESOURCES_VAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_OSP_RESOURCES_VAL_V, object_name:WIP_OSP_RESOURCES_VAL_V, status:VALID,
-
SYNONYM: APPS.PO_ONLINE_REPORT_TEXT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_ONLINE_REPORT_TEXT, status:VALID,
-
SYNONYM: APPS.PO_ONLINE_REPORT_TEXT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_ONLINE_REPORT_TEXT, status:VALID,
-
PACKAGE: APPS.PA_TRANSACTIONS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_TRANSACTIONS_PUB, status:VALID,
-
SYNONYM: APPS.PO_GA_ORG_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_GA_ORG_ASSIGNMENTS, status:VALID,
-
VIEW: APPS.PO_SHIP_TO_LOC_ORG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SHIP_TO_LOC_ORG_V, object_name:PO_SHIP_TO_LOC_ORG_V, status:VALID,
-
VIEW: APPS.WIP_OSP_RESOURCES_VAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:WIP.WIP_OSP_RESOURCES_VAL_V, object_name:WIP_OSP_RESOURCES_VAL_V, status:VALID,
-
SYNONYM: APPS.PO_GA_ORG_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_GA_ORG_ASSIGNMENTS, status:VALID,
-
VIEW: APPS.PA_EXPENDITURE_TYPES_EXPEND_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_EXPENDITURE_TYPES_EXPEND_V, object_name:PA_EXPENDITURE_TYPES_EXPEND_V, status:VALID,
-
VIEW: APPS.PO_SHIP_TO_LOC_ORG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SHIP_TO_LOC_ORG_V, object_name:PO_SHIP_TO_LOC_ORG_V, status:VALID,
-
VIEW: APPS.PO_BUYERS_VAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_BUYERS_VAL_V, object_name:PO_BUYERS_VAL_V, status:VALID,