Results for “pay_in_allowance_name_v”

26 results




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

Overview

PAY_IN_ALLOWANCE_NAME_V is an APPS-owned database view within the Oracle E-Business Suite Payroll (PAY) product. It exposes the names of India-specific payroll allowance definitions, drawing its content from the flexfield-based user table infrastructure that underpins legislative payroll configuration. Unlike transactional payroll views that return computed earnings or deduction amounts, this view is a configuration/lookup construct: it returns a single column, ALLOWANCE_NAME, representing the range-or-name values defined for the India "IN_ALLOWANCES" user table. It is primarily consumed by forms, concurrent programs, and integration logic that need to present or validate a list of available allowances to end users for a given session and business group.

The view is significant because it filters by legislation (IN) and by business group context using the PER_BUSINESS_GROUP_ID profile option, while also restricting rows to the effective date of the current user session. This makes it session-sensitive and multi-tenant aware, returning only allowances relevant to the operating business group and point-in-time configuration.

Underlying Base Objects

The view is defined over five referenced objects, all resolved through the APPS schema. PAY_USER_TABLES is the parent definition of the user-defined table (here, IN_ALLOWANCES), keyed by USER_TABLE_ID and constrained by LEGISLATION_CODE = 'IN'. PAY_USER_COLUMNS holds the columns belonging to that user table and links via USER_TABLE_ID and USER_COLUMN_ID. PAY_USER_ROWS_F stores the effective-dated row (allowance) definitions, joining on USER_TABLE_ID and USER_ROW_ID. PAY_USER_COLUMN_INSTANCES_F stores the effective-dated intersection of column values against rows, joined on USER_COLUMN_ID and USER_ROW_ID. FND_SESSIONS supplies the current effective date, and the FND_PROFILE package supplies the PER_BUSINESS_GROUP_ID value. Notably, entries are retained when either the row or instance is India-specific or matches the current business group, allowing both seeded India rows and business-group-specific rows to appear.

Key Columns

The view projects a single documented column:

  • ALLOWANCE_NAME — sourced from PAY_USER_ROWS_F.ROW_LOW_RANGE_OR_NAME. It represents the lower range value or descriptive name of an allowance row defined for the IN_ALLOWANCES user table. Because the join enforces C.USER_COLUMN_NAME = 'CATEGORY', the rows returned correspond to the CATEGORY column definition, meaning the view effectively enumerates allowance categories available under India payroll.

Although only one column is exposed, the underlying joins rely on identifiers such as USER_TABLE_ID, USER_COLUMN_ID, USER_ROW_ID, and effective-date pairs (EFFECTIVE_START_DATE / EFFECTIVE_END_DATE) that govern which rows qualify.

Common Use Cases and Queries

Typical uses include populating allowance list-of-values (LOVs) in payroll setup forms, validating allowance names during element or input value configuration, and feeding downstream integrations that require a session- and business-group-scoped list of India allowances. Because the view depends on FND_SESSIONS and USERENV('SESSIONID'), it is designed for use inside a Forms or concurrent session rather than ad-hoc standalone SQL without a session context.

A representative query is:

  • SELECT allowance_name FROM apps.pay_in_allowance_name_v ORDER BY allowance_name;
  • SELECT allowance_name FROM apps.pay_in_allowance_name_v WHERE UPPER(allowance_name) LIKE 'HRA%';

Users should note that results are constrained by the current business group (PER_BUSINESS_GROUP_ID) and the active session effective date, so the returned set may differ between operating units and across dates.