Search Results mtl_employees_current_view
Overview
MTL_EMPLOYEES_CURRENT_VIEW is an APPS-owned Inventory (INV) view that presents the set of employees who are currently assigned to a given organization. Its definition resolves current, primary employee assignments by joining person, assignment, person type, and organization data, and restricting rows to those whose person and assignment effective date ranges encompass the system date. Because it reflects only assignments that are active "today," the view is well suited to point-in-time reporting rather than historical analysis.
The view is commonly consumed by Oracle Inventory and related modules as a lookup source for personnel associated with a warehouse, subinventory, or business group. Report developers and integrators use it wherever a validated list of active employees is required, for example when populating LOVs, attributing transaction activity to a person, or resolving an employee's default accounting flexfield. The view exposes the employee's default code combination, which is the attribute most often sought by users searching for default_code_combination_id.
Underlying Base Objects
The documented base objects referenced by MTL_EMPLOYEES_CURRENT_VIEW include PER_PEOPLE_X, PER_ASSIGNMENTS_X, PER_PERSON_TYPES, and HR_ORGANIZATION_UNITS. Supporting packages and views also participate through column derivation and security, namely HR_GENERAL, HR_PERSON_NAME, HR_SECURITY, and the PER_PERSON_TYPES synonym.
- PER_PEOPLE_X — supplies person-level attributes such as person_id, employee_number, full_name, and the descriptive attributes (ATTRIBUTE1–20).
- PER_ASSIGNMENTS_X — supplies assignment-level attributes including assignment_id, location_id, supervisor_id, set_of_books_id, and the default code combination.
- PER_PERSON_TYPES — used to derive the system person type for employee classification.
- HR_ORGANIZATION_UNITS — provides the business group / organization context used in the join.
- HR_SECURITY — enforces organizational security so that only authorized employees are visible.
- HR_GENERAL and HR_PERSON_NAME — resolve derived values such as formatted names.
Joins are conditioned on person-to-assignment matching, business group equivalence, a primary assignment flag of 'Y', assignment type 'E' (employee), and the SYSDATE effective-date tests on both person and assignment.
Key Columns
The view projects a broad set of columns, several of which are frequently referenced in reporting and integration logic.
- ORGANIZATION_ID — the organization context for the current assignment.
- BUSINESS_GROUP_ID — the business group the employee belongs to.
- ASSIGNMENT_ORGANIZATION_ID — the organization of the assignment record.
- EMPLOYEE_ID / ASSIGNMENT_ID — primary keys for the person and their current assignment.
- EMPLOYEE_NUM — the employee number; the view requires this to be non-null.
- FULL_NAME, FIRST_NAME, MIDDLE_NAME, LAST_NAME — name elements, with FULL_NAME commonly used for display.
- SUPERVISOR_ID — the employee's supervisor assignment reference.
- SET_OF_BOOKS_ID — the ledger associated with the assignment.
- DEFAULT_CODE_COMBINATION_ID — the default accounting flexfield combination for the employee, exposed as A.DEFAULT_CODE_COMB_ID in the view text.
- LOCATION_ID, EMAIL_ADDRESS — contact and location details.
- INACTIVE_DATE / EFFECTIVE_END_DATE — effective dating for the current assignment.
Common Use Cases and Queries
Typical scenarios include listing active employees in an organization, retrieving an employee's default accounting combination, and joining employee data to inventory transactions or requisitions. Because the view already enforces effective-date logic and primary assignment filtering, queries remain concise.
To retrieve employees for a specific organization:
SELECT employee_num, full_name, supervisor_id FROM mtl_employees_current_view WHERE organization_id = :org_id;
To obtain the default code combination for a given employee:
SELECT employee_id, default_code_combination_id FROM mtl_employees_current_view WHERE employee_num = :emp_number;
To join to accounting definitions for description reporting:
SELECT e.full_name, gcc.concatenated_segments FROM mtl_employees_current_view e, gl_code_combinations_kfv gcc WHERE e.default_code_combination_id = gcc.code_combination_id AND e.organization_id = :org_id;
-
View: MTL_EMPLOYEES_CURRENT_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EMPLOYEES_CURRENT_VIEW, object_name:MTL_EMPLOYEES_CURRENT_VIEW, status:VALID, product: INV - Inventory , description: View of employees currently assigned to a given organization , implementation_dba_data: APPS.MTL_EMPLOYEES_CURRENT_VIEW ,
-
View: MTL_EMPLOYEES_CURRENT_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EMPLOYEES_CURRENT_VIEW, object_name:MTL_EMPLOYEES_CURRENT_VIEW, status:VALID, product: INV - Inventory , description: View of employees currently assigned to a given organization , implementation_dba_data: APPS.MTL_EMPLOYEES_CURRENT_VIEW ,
-
PACKAGE BODY: APPS.ENG_ENGRCNDR_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ENG_ENGRCNDR_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.ENG_ENGRCNDR_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ENG_ENGRCNDR_XMLP_PKG, status:VALID,
-
APPS.QA_SOLUTION_CAR_PKG SQL Statements
12.1.1
-
APPS.QA_SOLUTION_CAR_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.MTL_CCEOI_VAR_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:MTL_CCEOI_VAR_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_LOV_SERVICE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_LOV_SERVICE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PP_RESRC_ASSIGN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PP_RESRC_ASSIGN_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_WIP_JOB_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_WIP_JOB_PVT, status:VALID,
-
PACKAGE BODY: APPS.WIP_WS_TIME_ENTRY
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WIP_WS_TIME_ENTRY, status:VALID,
-
PACKAGE: APPS.MTL_CCEOI_VAR_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:MTL_CCEOI_VAR_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_PHY_INV_LOVS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_PHY_INV_LOVS, status:VALID,
-
PACKAGE BODY: APPS.AHL_WIP_JOB_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_WIP_JOB_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_WO_LOGIN_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_WO_LOGIN_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_RESOURCE_TRANX_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_RESOURCE_TRANX_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PP_RESRC_ASSIGN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PP_RESRC_ASSIGN_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_LOV_SERVICE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_LOV_SERVICE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_WO_LOGIN_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_WO_LOGIN_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.MTL_CCEOI_PROCESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MTL_CCEOI_PROCESS_PVT, status:VALID,
-
APPS.AHL_PRD_WO_LOGIN_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AHL_PRD_RESOURCE_TRANX_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_RESOURCE_TRANX_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_WO_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_WO_PUB, status:VALID,
-
PACKAGE BODY: APPS.AHL_COMPLETIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_COMPLETIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_CYC_LOVS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CYC_LOVS, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_WO_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_WO_PUB, status:VALID,
-
PACKAGE BODY: APPS.AHL_PRD_WORKORDER_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_WORKORDER_PVT, status:VALID,
-
PACKAGE BODY: APPS.CSD_HV_WIP_JOB_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSD_HV_WIP_JOB_PVT, status:VALID,
-
APPS.AHL_PRD_WO_LOGIN_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AHL_COMPLETIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_COMPLETIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.INV_CYC_LOVS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:INV_CYC_LOVS, status:VALID,
-
APPS.AHL_PRD_RESOURCE_TRANX_PVT SQL Statements
12.2.2
-
APPS.AHL_PRD_RESOURCE_TRANX_PVT SQL Statements
12.1.1
-
APPS.ENG_ENGRCNDR_XMLP_PKG SQL Statements
12.1.1
-
APPS.ENG_ENGRCNDR_XMLP_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AHL_PRD_WORKORDER_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_WORKORDER_PVT, status:VALID,
-
PACKAGE BODY: APPS.WIP_WIPSUEMP_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.WIP_WIPSUEMP_XMLP_PKG
12.1.1
-
VIEW: APPS.MTL_EMPLOYEES_CURRENT_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EMPLOYEES_CURRENT_VIEW, object_name:MTL_EMPLOYEES_CURRENT_VIEW, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.INV_VALIDATE SQL Statements
12.1.1
-
APPS.INV_VALIDATE SQL Statements
12.2.2
-
VIEW: APPS.MTL_EMPLOYEES_CURRENT_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_EMPLOYEES_CURRENT_VIEW, object_name:MTL_EMPLOYEES_CURRENT_VIEW, status:VALID,
-
VIEW: APPS.PER_ASSIGNMENTS_X
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ASSIGNMENTS_X, object_name:PER_ASSIGNMENTS_X, status:VALID,
-
VIEW: APPS.PER_ASSIGNMENTS_X
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.PER_ASSIGNMENTS_X, object_name:PER_ASSIGNMENTS_X, status:VALID,
-
APPS.INV_PHY_INV_LOVS SQL Statements
12.1.1
-
PACKAGE: APPS.HR_PERSON_NAME
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_PERSON_NAME, status:VALID,