Search Results pay_us_states_pk
Overview
The HR.PAY_US_STATES table is a core reference data object within Oracle E-Business Suite 12.1.1 and 12.2.2, specifically for the US Payroll module. Its primary function is to maintain the authoritative list of U.S. states, territories, and their associated identifiers. This table is critical for validating U.S. addresses and, more importantly, for tax jurisdiction identification when used in conjunction with the VERTEX tax integration module. Its status as a seed data table, residing in the APPS_TS_SEED tablespace, indicates it is populated and maintained by Oracle as part of the application's foundational data set, and it is only relevant if the US Payroll product is installed.
Key Information Stored
The table is structured with three key columns, each serving a distinct purpose in the payroll and tax ecosystem. The STATE_CODE is the primary key column, storing the geocode used by the VERTEX tax engine to uniquely identify a state for tax calculation purposes. The STATE_ABBREV column holds the standard two-letter postal abbreviation (e.g., 'CA' for California) and is enforced as unique via the PAY_US_STATES_UK2 index, which was the specific object referenced in the user's search. Finally, the STATE_NAME column stores the full textual name of the state or territory. The mandatory nature of these columns underscores their essential role in ensuring data integrity for downstream payroll and tax processes.
Common Use Cases and Queries
The primary use case for PAY_US_STATES is as a validation and lookup source for any functionality requiring a U.S. state. This includes employee address validation, the setup of state-level tax rules, and the processing of payroll calculations that depend on state jurisdictions. A standard query to retrieve the complete state list, as indicated in the ETRM, is foundational for many reports and integrations:
SELECT STATE_CODE, STATE_ABBREV, STATE_NAME FROM HR.PAY_US_STATES;
In practice, this table is frequently joined in queries related to employee taxation. For example, to list employees alongside their state of residence for tax reporting, one would join from a person or assignment table to PAY_US_STATES on the state code or abbreviation. Its unique constraint on STATE_ABBREV (UK2) is particularly important for application logic that uses the postal abbreviation as a key identifier in user interfaces or data imports.
Related Objects
As a seed data table, PAY_US_STATES is referenced by numerous other payroll objects, primarily as a foreign key constraint to ensure referential integrity. Key dependent tables, as documented, include:
- PAY_US_COUNTIES: Links counties to their parent state.
- PAY_US_EMP_STATE_TAX_RULES_F: Stores employee-specific state tax rule overrides, linked via STATE_CODE.
- PAY_US_EMP_FED_TAX_RULES_F: References the state for State Unemployment Insurance (SUI) via the SUI_STATE_CODE.
- PAY_US_EMP_CITY_TAX_RULES_F and PAY_US_EMP_COUNTY_TAX_RULES_F: Both link city and county tax rules to the governing state.
This network of foreign key relationships highlights the table's central role in maintaining a consistent and valid hierarchy for all U.S. sub-national tax jurisdictions within the system.
-
TABLE: HR.PAY_US_STATES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_US_STATES, object_name:PAY_US_STATES, status:VALID,
-
Table: PAY_US_STATES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_US_STATES, object_name:PAY_US_STATES, status:VALID, product: PAY - Payroll , description: US states and their VERTEX geocodes, used to validate US addresses. , implementation_dba_data: HR.PAY_US_STATES ,
-
Table: PAY_US_STATES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_US_STATES, object_name:PAY_US_STATES, status:VALID, product: PAY - Payroll , description: US states and their VERTEX geocodes, used to validate US addresses. , implementation_dba_data: HR.PAY_US_STATES ,
-
INDEX: HR.PAY_US_STATES_PK
12.1.1
owner:HR, object_type:INDEX, object_name:PAY_US_STATES_PK, status:VALID,
-
INDEX: HR.PAY_US_STATES_PK
12.2.2
owner:HR, object_type:INDEX, object_name:PAY_US_STATES_PK, status:VALID,
-
TABLE: HR.PAY_US_STATES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PAY.PAY_US_STATES, object_name:PAY_US_STATES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PAY Tables and Views
12.2.2
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PAY Tables and Views
12.1.1
description: Temporary table used to hold invalid location addresses. ,
-
eTRM - PAY Tables and Views
12.2.2
description: Temporary table used to hold invalid location addresses. ,