Results for “psb_constraint_formulas”

47 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PSB_CONSTRAINT_FORMULAS is a table within the Public Sector Budgeting (PSB) product family of Oracle E-Business Suite. As indicated by the ETRM documentation, this table stores constraint formula definitions — the step-based rules that govern how budget constraint checks are evaluated in public sector budgeting workflows. Each row represents one step of a constraint formula, combining a constraint reference, a budget year type, optional account segment criteria, arithmetic operators, and an amount or element value.

The ETRM metadata notes that PSB is marked Obsolete and that the table is not implemented in the current database. It remains documented for reference purposes in EBS 12.1.1 and 12.2.2, meaning it is primarily encountered in legacy environments and migration analyses rather than in active implementations.

From a Data Vault modeling perspective, the heuristic classification mined from the foreign-key structure is link. This suggests the table functions less as a standalone master entity and more as an associative construct connecting constraints, budget year types, pay elements, and pay element options. Modelers designing a Data Vault representation would treat CONSTRAINT_FORMULA_ID as a link-style key, with the referenced entities serving as hubs.

Key Information Stored

The documented schema contains 64 columns. The most important are summarized below:

Common Use Cases and Queries

Because the table is obsolete, use cases center on migration, archival reporting, and validation of legacy budget constraint configurations. A typical query retrieves all steps for a given constraint in evaluation order:

  • Listing formula steps by constraint: SELECT constraint_formula_id, step_number, balance_type, prefix_operator, amount, postfix_operator FROM psb_constraint_formulas WHERE constraint_id = :p_constraint_id ORDER BY step_number;
  • Filtering by budget year type: join to PSB_BUDGET_YEAR_TYPES on BUDGET_YEAR_TYPE_ID to report which year classifications a constraint applies to.
  • Identifying payroll-driven steps: query rows where PAY_ELEMENT_ID or PAY_ELEMENT_OPTION_ID is not null to isolate element-based constraint logic.
  • Temporal validation: constrain on EFFECTIVE_START_DATE and EFFECTIVE_END_DATE to reconstruct the formula in force at a historical point in time.
  • Segment-level reporting: use CONCATENATED_SEGMENTS or individual SEGMENTn columns to group constraint steps by account range.

Related Objects

The documented foreign keys anchor PSB_CONSTRAINT_FORMULAS to several parent tables, and the following relationships are most significant:

  • PSB_ENTITY — Referenced via CONSTRAINT_ID; the parent constraint definition owning the formula.
  • PSB_BUDGET_YEAR_TYPES — Referenced via BUDGET_YEAR_TYPE_ID; scopes formula applicability by year type.
  • PSB_PAY_ELEMENTS — Referenced via PAY_ELEMENT_ID; source of payroll-driven amounts.
  • PSB_PAY_ELEMENT_OPTIONS — Referenced via PAY_ELEMENT_OPTION_ID; refines element-based values.
  • PSB_CONSTRAINT_FORMULAS_PK1 — Primary key constraint enforcing CONSTRAINT_FORMULA_ID uniqueness.
  • PSB_CONSTRAINT_FORMULAS_U1 — Unique index on CONSTRAINT_FORMULA_ID, the documented business-key candidate.

Together these objects form the constraint-definition layer of Public Sector Budgeting, with PSB_CONSTRAINT_FORMULAS acting as the associative link between constraint, budget year type, and payroll element entities.