Search Results work_state_code
Overview
APPS.HR_ADP_WORKERS_COMP_V is a public Oracle E-Business Suite view owned by the APPS schema and registered in FND Design Data as PER.HR_ADP_WORKERS_COMP_V. It is classified as a public view intended for custom reporting and related data extraction requirements. In practice this view consolidates workers compensation attributes for employees, exposing the workers compensation code (WORKERS_COMP_CODE) alongside the employee's job, organization, assignment, and payroll context. The object is documented as VALID in both Oracle EBS 12.1.1 and 12.2.2 metadata. Because it is a view rather than a table, it carries no storage of its own; all values are derived at query time from its underlying base objects, so results always reflect the current state of the source data. The view is typically leveraged when an organization needs to report or interface workers compensation classification data associated with ADP (Automatic Data Processing) payroll integration, mapping internal Oracle HR assignment records to ADP company codes, GRE (Government Reporting Entity) identifiers, and state-level workers compensation codes.
Underlying Base Objects
The view is defined over a documented set of base objects spanning HR and Payroll:
HR_ADP(package) — encapsulates ADP-specific derivation logic.HR_ADP_EMP_REF_V(view) — employee reference data.HR_ALL_ORGANIZATION_UNITS,HR_LOCATIONS_ALL,PER_JOBS— organizational, location, and job definitions.PER_ALL_PEOPLE_F,PER_ALL_ASSIGNMENTS_F— person and assignment datetracked records.PAY_JOB_WC_CODE_USAGES— the mapping between jobs and workers compensation codes.PAY_PAYROLLS_X,PER_TIME_PERIOD_TYPES— payroll and pay frequency information.HR_GENERAL,HR_SECURITY— general utility and security (row-level filtering) packages.HR_SOFT_CODING_KEYFLEX— descriptive flexfield / key flexfield definitions.
The inclusion of HR_SECURITY is significant: the view respects Oracle HR security profiles, so a query returns only the assignments and employees the querying responsibility is permitted to see.
Key Columns
PERSON_ID,EMPLOYEE_NUMBER— identify the employee.ASSIGNMENT_ID,ASSIGNMENT_NUMBER,ASSIGNMENT_SEQUENCE,PRIMARY_FLAG— assignment context;PRIMARY_FLAGis Y/N indicating the primary assignment.WORKERS_COMP_CODE(VARCHAR2 60) — the workers compensation classification code, the primary attribute of interest.WORK_STATE_CODE(VARCHAR2 120) — the state abbreviation, e.g., CA.JOB_NAME(VARCHAR2 700) — the associated job.COMPANY_CODE_EQUIVALENT,GRE_NAME,GRE_ID— ADP company code and Government Reporting Entity identifiers used for ADP integration.ORGANIZATION_ID,BUSINESS_GROUP_ID— HR organization and business group.PAY_FREQUENCY— payroll frequency.GREATEST_LAST_UPDATE_DATE— the most recent significant change date for the returned employee data, useful for incremental extraction.
Common Use Cases and Queries
Typical scenarios include validating workers compensation code assignment per employee, preparing ADP payroll extracts, and auditing state and job-to-code mappings. The GREATEST_LAST_UPDATE_DATE column supports delta-based reporting.
Retrieve workers compensation codes for a specific employee:
SELECT employee_number, job_name, workers_comp_code, work_state_code FROM apps.hr_adp_workers_comp_v WHERE employee_number = '10023';
List primary assignments by state:
SELECT employee_number, work_state_code, workers_comp_code, primary_flag FROM apps.hr_adp_workers_comp_v WHERE primary_flag = 'Y' ORDER BY work_state_code;
Incremental extraction using the change date:
SELECT person_id, assignment_id, workers_comp_code, work_state_code, greatest_last_update_date FROM apps.hr_adp_workers_comp_v WHERE greatest_last_update_date >= SYSDATE - 1;
-
VIEW: APPS.HR_ADP_WORKERS_COMP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ADP_WORKERS_COMP_V, object_name:HR_ADP_WORKERS_COMP_V, status:VALID,
-
VIEW: APPS.HR_ADP_WORKERS_COMP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ADP_WORKERS_COMP_V, object_name:HR_ADP_WORKERS_COMP_V, status:VALID,
-
VIEW: HR.GHR_CPDF_TEMP#
12.2.2
-
View: HR_ADP_WORKERS_COMP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ADP_WORKERS_COMP_V, object_name:HR_ADP_WORKERS_COMP_V, status:VALID, product: PER - Human Resources , description: ADP payroll interface view , implementation_dba_data: APPS.HR_ADP_WORKERS_COMP_V ,
-
View: HR_ADP_WORKERS_COMP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ADP_WORKERS_COMP_V, object_name:HR_ADP_WORKERS_COMP_V, status:VALID, product: PER - Human Resources , description: ADP payroll interface view , implementation_dba_data: APPS.HR_ADP_WORKERS_COMP_V ,
-
VIEW: APPS.HR_ADP_WORK_STATE_TAX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ADP_WORK_STATE_TAX_V, object_name:HR_ADP_WORK_STATE_TAX_V, status:VALID,
-
VIEW: APPS.HR_ADP_WORK_STATE_TAX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ADP_WORK_STATE_TAX_V, object_name:HR_ADP_WORK_STATE_TAX_V, status:VALID,
-
VIEW: HR.GHR_CPDF_TEMP#
12.2.2
owner:HR, object_type:VIEW, object_name:GHR_CPDF_TEMP#, status:VALID,
-
View: HR_ADP_WORK_STATE_TAX_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ADP_WORK_STATE_TAX_V, object_name:HR_ADP_WORK_STATE_TAX_V, status:VALID, product: PER - Human Resources , description: ADP payroll interface view , implementation_dba_data: APPS.HR_ADP_WORK_STATE_TAX_V ,
-
View: HR_ADP_WORK_STATE_TAX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_ADP_WORK_STATE_TAX_V, object_name:HR_ADP_WORK_STATE_TAX_V, status:VALID, product: PER - Human Resources , description: ADP payroll interface view , implementation_dba_data: APPS.HR_ADP_WORK_STATE_TAX_V ,
-
TABLE: HR.GHR_CPDF_TEMP
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:GHR.GHR_CPDF_TEMP, object_name:GHR_CPDF_TEMP, status:VALID,
-
TABLE: HR.GHR_CPDF_TEMP
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:GHR.GHR_CPDF_TEMP, object_name:GHR_CPDF_TEMP, status:VALID,
-
VIEW: APPS.HR_ADP_WORK_STATE_TAX_V
12.2.2
-
VIEW: APPS.HR_ADP_WORK_STATE_TAX_V
12.1.1
-
APPS.GHR_CPDF_EHRIS SQL Statements
12.1.1
-
APPS.GHR_CPDF_EHRIS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.GHR_CPDF_EHRIS
12.1.1
-
PACKAGE BODY: APPS.GHR_CPDF_EHRIS
12.2.2
-
eTRM - GHR Tables and Views
12.1.1
description: Routing List members detail ,
-
eTRM - GHR Tables and Views
12.2.2
description: Routing List members detail ,
-
eTRM - PER Tables and Views
12.2.2
description: Table to store NQF Training info for a person ,
-
eTRM - PER Tables and Views
12.1.1
description: Table to store NQF Training info for a person ,