Search Results pa_utils4
Overview
PA_UTILS4 is a utility package body owned by APPS in the Oracle E-Business Suite Projects (PA) module. It provides a shared library of helper routines that support assignment derivation, work type resolution, billing and costing eligibility checks, and transaction existence verification for project-related processing. The package is classified under the "OTHER" API category, indicating it is an internal utility rather than a formally published public interface. Its header version ($Header: PAXGUT4B.pls 120.10.12010000.3) confirms it as a delivered Oracle file maintained through standard patchship cycles, with the most recent recorded change dated 2010.
The business purpose of PA_UTILS4 is to centralize logic that would otherwise be duplicated across project transaction, billing, and costing flows. Routines such as GET_WORK_ASSIGNMENT and GET_WORK_TYPE_ID resolve the relationship between a person, project, task, and transaction date, returning an assignment identifier and derived work type. Other routines answer binary eligibility questions — whether a work type is billable, whether an expenditure work type is enabled, or whether contract commitment transactions exist. Because the package is referenced by 76 other packages, it functions as a low-level dependency in the Projects application stack, and changes to it carry broad impact across the module.
A note on the source excerpt: the visible code for print_msg and CheckCCTxnsExists shows that message logging is suppressed (the debug calls are commented out and the body performs null), while CheckCCTxnsExists uses a hierarchical CONNECT BY query against IGC_CC_ACCT_LINES and PA_PROJECTS_ALL to determine whether contract commitment transactions exist for a project or, more narrowly, for a task and its descendants. The exception handlers return 'N' on NO_DATA_FOUND and re-raise other errors.
Key Procedures and Functions
The documented interface comprises 28 procedures and functions. Grouped by purpose:
- Assignment and work type derivation: GET_WORK_ASSIGNMENT, GET_WORK_TYPE_ID, GET_WORK_TYPE_NAME, GET_ASSIGNMENT_NAME, and GET_ASSIGNMENT_ID resolve the assignment and work type applicable to a person, project, task, and transaction date. Where more than one assignment exists, or none exists, the assignment identifier is returned as zero and the name as null.
- Billing and revenue eligibility: GET_TP_AMT_TYPE_CODE, IS_WORKTYPE_BILLABLE_ENABLED, GET_TRXN_WORK_BILLABILTY, GETORIG_EIBILLABILITY_SST, and GETORIG_EIBILL_HOLD determine whether a transaction is billable via the standard billing path and report the originating billability status and hold flag.
- Costing and configuration checks: IS_EXP_WORK_TYPE_ENABLED, ISUSEDINCOSTING, CHECKTOENABLEBDGTCTRL, and CHECK_TXN_EXISTS test whether expenditure work types are enabled, whether an entity is used in costing, whether budget control should be enabled, and whether transactions exist.
- Organizational and ledger lookups: GET_ORG_ID, GETORGBUSINESSGRPID, GET_PRIMARY_SOB, and GET_IMP_VALUES return organization identifiers, the business group, the primary set of books, and implementation parameter values.
- Generic utilities: GETNUMERICSTRING formats numeric values as strings, and CHECK_CC_TXNEXISTS is the documented counterpart to the CheckCCTxnsExists routine shown in the source.
Tables Accessed
PA_UTILS4 reads from a set of Projects, financial, and human resources tables through APPS synonyms:
- Project foundation: PA_PROJECTS_ALL, PA_PROJECT_ASSIGNMENTS, PA_ORG_LABOR_SCH_RULE, PA_IMPLEMENTATIONS, and PA_IMPLEMENTATIONS_ALL supply project, assignment, labor schedule, and implementation context.
- Transactions and commitments: IGC_CC_ACCT_LINES holds contract commitment accounting lines checked by CheckCCTxnsExists; PA_EXPENDITURE_ITEMS_ALL, PA_EXPENDITURE_TYPES, and PA_COMPENSATION_DETAILS_ALL support costing and work type evaluation.
- Financial and procurement: AP_CHECKS, AP_INVOICE_PAYMENTS, GL_LEDGERS, and MTL_SYSTEM_ITEMS_KFV provide payment, ledger, and item information.
- Organizations and resources: HR_ALL_ORGANIZATION_UNITS and BOM_RESOURCES validate organizational and resource references.
Usage Notes
Because PA_UTILS4 is referenced by 76 other packages, it is normally invoked indirectly rather than called by end users. Typical call paths include Project Transactions, Expenditure Billing, and Costing concurrent programs, and the OAF or Forms-based pages that validate assignment, work type, and billability data as transactions are entered or processed. Attribute validation logic may call GET_WORK_ASSIGNMENT or GET_WORK_TYPE_ID to default the correct assignment for a timecard or expenditure line.
Custom development should treat these routines as internal utilities: they carry an "OTHER" classification rather than a supported public API designation, and the documented signatures should be verified against the target release before use. In Oracle EBS 12.1.1 and 12.2.2, the package resides in the APPS schema, so custom code should reference it as APPS.PA_UTILS4 with appropriate execution privileges. The debug logging via print_msg is disabled in the delivered source, so diagnostic output must be obtained through other means.
-
PACKAGE BODY: APPS.PA_UTILS4
12.2.2
-
APPS.PA_UTILS4 SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PA_UTILS4
12.1.1
-
APPS.PA_UTILS4 SQL Statements
12.2.2
-
VIEW: APPS.PA_TASKS_EXPEND_V
12.1.1
-
VIEW: APPS.PA_TASKS_EXPEND_V
12.2.2
-
PACKAGE BODY: APPS.PA_UTILS4
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_UTILS4, status:VALID,
-
PACKAGE BODY: APPS.PA_UTILS4
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_UTILS4, status:VALID,
-
PACKAGE: APPS.PA_UTILS4
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_UTILS4, status:VALID,
-
VIEW: APPS.PA_EXPENDITURE_ITEMS_ONLINE_V
12.2.2
-
VIEW: APPS.PA_EXPEND_ITEMS_ADJUST2_V
12.1.1
-
VIEW: APPS.PA_EXPENDITURE_ITEMS_ONLINE_V
12.1.1
-
PACKAGE: APPS.PA_UTILS4
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_UTILS4, status:VALID,
-
View: PA_TASKS_EXPEND_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_TASKS_EXPEND_V, object_name:PA_TASKS_EXPEND_V, status:VALID, product: PA - Projects , description: View of the tasks for a given project to which you can charge expenditures , implementation_dba_data: APPS.PA_TASKS_EXPEND_V ,
-
View: PA_TASKS_EXPEND_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_TASKS_EXPEND_V, object_name:PA_TASKS_EXPEND_V, status:VALID, product: PA - Projects , description: View of the tasks for a given project to which you can charge expenditures , implementation_dba_data: APPS.PA_TASKS_EXPEND_V ,
-
VIEW: APPS.PA_EXPENDITURE_ITEMS_V
12.1.1
-
VIEW: APPS.PA_EXPEND_ITEMS_ADJUST2_V
12.2.2
-
VIEW: APPS.PA_EXPENDITURE_ITEMS_V
12.2.2
-
PACKAGE BODY: APPS.PA_EXPENDITURE_INQUIRY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXPENDITURE_INQUIRY, status:VALID,
-
View: PA_EXPEND_ITEMS_ADJUST2_MRC_V
12.1.1
product: PA - Projects , implementation_dba_data: Not implemented in this database ,
-
View: PA_EXPEND_ITEMS_ADJUST2_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_EXPEND_ITEMS_ADJUST2_V, object_name:PA_EXPEND_ITEMS_ADJUST2_V, status:VALID, product: PA - Projects , description: 11i Only , implementation_dba_data: APPS.PA_EXPEND_ITEMS_ADJUST2_V ,
-
PACKAGE BODY: APPS.PA_EXPENDITURE_INQUIRY
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_EXPENDITURE_INQUIRY, status:VALID,
-
View: PA_EXPEND_ITEMS_ADJUST2_MRC_V
12.2.2
product: PA - Projects , implementation_dba_data: Not implemented in this database ,
-
View: PA_EXPENDITURE_ITEMS_ONLINE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_EXPENDITURE_ITEMS_ONLINE_V, object_name:PA_EXPENDITURE_ITEMS_ONLINE_V, status:VALID, product: PA - Projects , description: This view shows all expenditure items , implementation_dba_data: APPS.PA_EXPENDITURE_ITEMS_ONLINE_V ,
-
SYNONYM: APPS.PA_COMPENSATION_DETAILS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_COMPENSATION_DETAILS_ALL, status:VALID,
-
APPS.PA_EXPENDITURE_INQUIRY SQL Statements
12.1.1
-
SYNONYM: APPS.PA_ORG_LABOR_SCH_RULE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_ORG_LABOR_SCH_RULE, status:VALID,
-
View: PA_EXPEND_ITEMS_ADJUST2_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_EXPEND_ITEMS_ADJUST2_V, object_name:PA_EXPEND_ITEMS_ADJUST2_V, status:VALID, product: PA - Projects , description: 11i Only , implementation_dba_data: APPS.PA_EXPEND_ITEMS_ADJUST2_V ,
-
SYNONYM: APPS.PA_COMPENSATION_DETAILS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_COMPENSATION_DETAILS_ALL, status:VALID,
-
APPS.PA_EXPENDITURE_INQUIRY SQL Statements
12.2.2
-
PACKAGE: APPS.PA_PROJ_TSK_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_PROJ_TSK_UTILS, status:VALID,
-
PACKAGE: APPS.PA_PROJ_TSK_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_PROJ_TSK_UTILS, status:VALID,
-
SYNONYM: APPS.PA_WORK_TYPES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_WORK_TYPES_TL, 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_ORG_LABOR_SCH_RULE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_ORG_LABOR_SCH_RULE, status:VALID,
-
SYNONYM: APPS.PA_WORK_TYPES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_WORK_TYPES_TL, status:VALID,
-
PACKAGE BODY: APPS.PA_CALC_OVERTIME
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CALC_OVERTIME, status:VALID,
-
PACKAGE BODY: APPS.PA_CALC_OVERTIME
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CALC_OVERTIME, status:VALID,
-
PACKAGE BODY: APPS.PATC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PATC, status:VALID,
-
SYNONYM: APPS.PA_WORK_TYPES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_WORK_TYPES_B, status:VALID,
-
PACKAGE BODY: APPS.PA_TRANSACTIONS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_TRANSACTIONS, status:VALID,
-
View: PA_EXPENDITURE_ITEMS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_EXPENDITURE_ITEMS_V, object_name:PA_EXPENDITURE_ITEMS_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_EXPENDITURE_ITEMS_V ,
-
PACKAGE BODY: APPS.PA_TRANSACTIONS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_TRANSACTIONS, status:VALID,
-
VIEW: APPS.PA_PROJECT_TASKS_AP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.PA_PROJECT_TASKS_AP_V, object_name:PA_PROJECT_TASKS_AP_V, status:VALID,
-
PACKAGE: APPS.GMS_INSTALL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMS_INSTALL, status:VALID,
-
PACKAGE: APPS.PA_OTC_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_OTC_API, status:VALID,
-
PACKAGE: APPS.PA_ASSIGNMENT_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_ASSIGNMENT_UTILS, status:VALID,
-
PACKAGE BODY: APPS.PA_CAP_INT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_CAP_INT_PVT, status:VALID,
-
PACKAGE BODY: APPS.PATC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PATC, status:VALID,
-
PACKAGE: APPS.PA_OTC_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_OTC_API, status:VALID,