Search Results pa_work_type_upgrade
Overview
PA_WORK_TYPE_UPGRADE is an Oracle Applications (APPS) schema PL/SQL package within the Oracle E-Business Suite Projects (PA) module. Its status is documented as VALID in both Oracle EBS 12.1.1 and 12.2.2. The package serves as a data migration and upgrade utility rather than as a runtime business API. Its central purpose is to populate and reconcile work type assignments on existing project transactions and related cost, expenditure, and distribution records during an upgrade or patch cycle.
Work types classify the nature of labor and non-labor transactions within Oracle Projects, and their correct attribution is essential for burdening, costing, invoicing, and reporting. When a new work type structure is introduced, or when existing transaction tables lack a valid work type reference, the upgrade package is responsible for deriving the appropriate value and writing it back to the affected records. The ETRM classifies the package as API classification OTHER, confirming that it is not a public, supported integration interface and is intended for internal, controlled execution.
Key Procedures and Functions
The documented metadata identifies a single entry point:
- UPGRADE_WT_MAIN — The main driver procedure of the package. It orchestrates the work type upgrade process, coordinating the identification of transactions requiring a work type assignment, the derivation or lookup of the correct value, and the propagation of that value to the target transaction and distribution tables. As the primary and only documented routine, it encapsulates the package's upgrade logic and is the procedure invoked by the calling concurrent program or patch driver.
No parameter lists are documented in the ETRM metadata, and none should be assumed.
Tables Accessed
The package references a broad set of APPS synonyms spanning Projects, Payables, Purchasing, and Inventory. The documented tables and their likely roles are:
- PA_PROJECTS_ALL, PA_PROJECT_TYPES_ALL — Supply the project and project type context used to determine valid work type defaults.
- PA_TASKS — Provides task-level detail for deriving work type where assignment is task-dependent.
- PA_EXPENDITURES_ALL, PA_EXPENDITURE_ITEMS_ALL — The core Projects expenditure records that receive corrected work type attribution.
- PA_COST_DISTRIBUTION_LINES_ALL, PA_CC_DIST_LINES_ALL — Cost and cross-charge distribution lines updated to remain consistent with the corrected expenditures.
- PA_DRAFT_INVOICE_DETAILS_ALL — Draft invoice detail lines requiring aligned work type values.
- PA_WORK_TYPES_B — The base work type definition table, read to validate and resolve the work type identifier.
- PA_TXN_UPGRADE_TEMP — The temporary staging table used to hold records identified for upgrade and the resolved work type values before final application.
- AP_INVOICES_ALL, AP_INVOICE_DISTRIBUTIONS_ALL — Payables invoice and distribution data reconciled for non-labor transactions originating in Payables.
- PO_DISTRIBUTIONS_ALL — Purchasing distribution records corresponding to non-labor commitments and costs.
- MTL_MATERIAL_TRANSACTIONS, MTL_SYSTEM_ITEMS — Inventory transaction and item data supporting the derivation of work type for material-related expenditures.
Usage Notes
PA_WORK_TYPE_UPGRADE is an internal upgrade utility. It is typically invoked by Oracle-supplied patch drivers or concurrent programs during the application of a Projects patch or release upgrade, and it is referenced by zero other packages, confirming it sits at the outer edge of the dependency chain rather than within it. It is not designed to be called from Oracle Forms or from customer-written integration code. Because the package reads and writes high-volume costing and distribution tables, execution should be restricted to the controlled upgrade window, preceded by a validated backup and followed by the standard data verification steps for Projects transactions. Custom implementations should not invoke UPGRADE_WT_MAIN directly; any need to regenerate work type values should be routed through supported Oracle Projects processes and Oracle Support guidance.
-
PACKAGE: APPS.PA_WORK_TYPE_UPGRADE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_WORK_TYPE_UPGRADE, status:VALID,
-
PACKAGE BODY: APPS.PA_WORK_TYPE_UPGRADE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_WORK_TYPE_UPGRADE, status:VALID,
-
PACKAGE BODY: APPS.PA_WORK_TYPE_UPGRADE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_WORK_TYPE_UPGRADE, status:VALID,
-
PACKAGE: APPS.PA_WORK_TYPE_UPGRADE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_WORK_TYPE_UPGRADE, status:VALID,
-
PACKAGE: APPS.PA_WORK_TYPE_UPGRADE
12.2.2
-
SYNONYM: APPS.PA_TXN_UPGRADE_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_TXN_UPGRADE_TEMP, status:VALID,
-
PACKAGE: APPS.PA_WORK_TYPE_UPGRADE
12.1.1
-
SYNONYM: APPS.PA_TXN_UPGRADE_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_TXN_UPGRADE_TEMP, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICE_DETAILS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICE_DETAILS_ALL, status:VALID,
-
PACKAGE: APPS.PA_UOM
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_UOM, status:VALID,
-
PACKAGE: APPS.PA_UOM
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_UOM, status:VALID,
-
SYNONYM: APPS.PA_WORK_TYPES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_WORK_TYPES_B, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICE_DETAILS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICE_DETAILS_ALL, status:VALID,
-
SYNONYM: APPS.PA_WORK_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_WORK_TYPES_B, status:VALID,
-
SYNONYM: APPS.PA_CC_DIST_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_CC_DIST_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PA_CC_DIST_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_CC_DIST_LINES_ALL, status:VALID,
-
SYNONYM: APPS.WIP_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:WIP_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURES_ALL, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURES_ALL, status:VALID,
-
SYNONYM: APPS.WIP_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.PA_COST_DISTRIBUTION_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_COST_DISTRIBUTION_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PA_COST_DISTRIBUTION_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_COST_DISTRIBUTION_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PA_PROJECT_TYPES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECT_TYPES_ALL, status:VALID,
-
SYNONYM: APPS.PA_PROJECT_TYPES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECT_TYPES_ALL, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURE_ITEMS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURE_ITEMS_ALL, status:VALID,
-
SYNONYM: APPS.PA_EXPENDITURE_ITEMS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EXPENDITURE_ITEMS_ALL, status:VALID,
-
SYNONYM: PUBLIC.DBMS_LOCK
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS_ALL, status:VALID,
-
SYNONYM: PUBLIC.DBMS_LOCK
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DBMS_LOCK, status:VALID,
-
PACKAGE: APPS.PA_PLSQL_DATATYPES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_PLSQL_DATATYPES, status:VALID,
-
PACKAGE: APPS.PA_PLSQL_DATATYPES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_PLSQL_DATATYPES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.PA_WORK_TYPE_UPGRADE dependencies on PA_WORK_TYPE_UPGRADE
12.1.1
-
APPS.PA_WORK_TYPE_UPGRADE dependencies on PA_WORK_TYPE_UPGRADE
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS_ALL, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_ALL, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_ALL, status:VALID,
-
SYNONYM: APPS.MTL_MATERIAL_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_ALL, status:VALID,
-
SYNONYM: APPS.RCV_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RCV_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.MTL_MATERIAL_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.RCV_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RCV_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS_ALL, status:VALID,
-
SYNONYM: APPS.PA_TASKS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_TASKS, status:VALID,
-
PACKAGE BODY: APPS.PA_WORK_TYPE_UPGRADE
12.1.1
-
SYNONYM: APPS.PO_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PA_TASKS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_TASKS, status:VALID,