Results for “calc_per_ptd_date”
8 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
HR_GBBAL is an Oracle EBS HRMS package (owner APPS) that encapsulates the calculation engine for payroll balances and balance dimensions. Although the object name suggests a Great Britain localization, the package is a generic global balances library invoked primarily by the Oracle Payroll balance calculation routines. It resolves effective date spans, dimension reset dates and "start director" style assignment milestones, and computes period-to-date, quarter-to-date, year-to-date and statistical balances for an assignment or assignment action. The underlying source header (pygbbal.pkh, version 120.2.12000000.1, dated January 2007) confirms it is a delivered, non-shipped (noship) support package rather than a public API.
Key Procedures and Functions
The package exposes 59 documented procedures and functions. The principal entries include:
- SPAN_START / SPAN_END — Return the opening and closing dates of a balance span for a given input date, frequency and start day/month pattern.
- DIMENSION_RESET_DATE — Returns the latest reset date for a named balance dimension, given a user date and business group.
- START_DIRECTOR — Determines the start date for a director or equivalent milestone from an assignment, start and end date.
- BALANCE — Returns the value of a defined balance for an assignment action and effective date.
- CALC_PER_PTD, CALC_PER_PTD_ACTION, CALC_PER_PTD_DATE — Compute period-to-date balances at action, assignment or date granularity.
- CALC_ASG_PROC_YTD, CALC_ASG_PROC_YTD_ACTION, CALC_ASG_PROC_YTD_DATE — Year-to-date calculations for processing assignments.
- CALC_ASG_QTD, CALC_ASG_QTD_ACTION, CALC_ASG_QTD_DATE — Quarter-to-date balance calculations.
- CALC_ASG_YTD, CALC_ASG_YTD_ACTION, CALC_ASG_YTD_DATE — Assignment-level year-to-date calculations.
- CALC_ASG_STAT_YTD, CALC_ASG_STAT_YTD_ACTION — Statistical year-to-date balance calculations.
- CALC_ALL_BALANCES — Driver routine that evaluates all balances for an assignment context.
Tables Accessed
The package reads and writes payroll balance metadata and results through APPS synonyms, including:
- PAY_DEFINED_BALANCES, PAY_BALANCE_TYPES, PAY_BALANCE_DIMENSIONS, PAY_BALANCE_DIMENSIONS_S, PAY_BALANCE_FEEDS_F — Define what balances exist, how they are dimensioned and how feeds roll up.
- PAY_ASSIGNMENT_ACTIONS, PAY_ASSIGNMENT_LATEST_BALANCES, PAY_ACTION_CONTEXTS, PAY_BALANCE_CONTEXT_VALUES — Source and target of calculated balance values by assignment action and context.
- FF_CONTEXTS, FF_ROUTES, FF_ROUTES_S, FF_ROUTE_CONTEXT_USAGES, FF_ROUTE_PARAMETERS, FF_ROUTE_PARAMETERS_S — FastFormula routing and context metadata used to resolve which formulas contribute to a balance.
Usage Notes
HR_GBBAL is not a customer-facing API and is not intended for direct invocation from forms, concurrent programs or custom code. It is called internally by the payroll balance calculation engine and by approximately 30 other PL/SQL packages that orchestrate balance processing during payroll runs, QuickPay, balance initialization, rollback and year-end retropay. Customizations should never call the package directly; the supported extension points remain the balance definition, feed and FastFormula configuration screens, which this package reads through its FF_ and PAY_ metadata tables.
-
PACKAGE: APPS.HR_GBBAL 12.1.1
-
PACKAGE BODY: APPS.HR_GBBAL 12.1.1
-
PACKAGE: APPS.HR_GBBAL 12.2.2
-
PACKAGE BODY: APPS.HR_GBBAL 12.2.2
-
PACKAGE: APPS.HR_GBBAL 12.1.1
-
PACKAGE: APPS.HR_GBBAL 12.2.2
-
PACKAGE BODY: APPS.HR_GBBAL 12.1.1
-
PACKAGE BODY: APPS.HR_GBBAL 12.2.2