π§Ύ Overview
This view provides attribute-level values related to employee absence and leave entitlements, enabling structured DataMart-level analysis across both transactional absence events and annual entitlement summaries.
π Description
The Employee Item Codes Absence
view translates raw absence and entitlement data into attribute-coded rows that support dimensional modelling. Each row identifies:
- The employee via a JSON
OBJECT_SEQ
- The absence or entitlement event via a JSON
ITEM_SEQ
- The type of item (e.g.
ABSENCE
,LeaveEntitlement
) - The attribute name and code value
- A JSON metadata field offering additional context
ποΈ Source Tables
ifs.DIM_EMPLOYEE_OL
ifs.QFACT_ABSENCE_DETAILS_OL$
ifs.QFACT_BMT_ABSENCE_SUMMARY_IAS$
π¦ Output Structure
Column | Description |
---|---|
OBJECT_SEQ | Unique employee identifier in JSON format |
ITEM_SEQ | Unique absence or entitlement item identifier in JSON format |
ITEM_TYPE | Type of the item (e.g. ABSENCE , LeaveEntitlement ) |
ATTRIBUTE | Attribute name (e.g. TYPE_ID , ABSENCE_TYPE ) |
CODE_VALUE | Attribute value (code ID) |
VALUE_METADATA | JSON-formatted metadata describing the code |
π Join & Matching Logic
- Employees are extracted from
ifs.DIM_EMPLOYEE_OL
- Absence details (from
QFACT_ABSENCE_DETAILS_OL$
) and leave entitlement records (fromQFACT_BMT_ABSENCE_SUMMARY_IAS$
) are cross-applied into attribute-level rows - All rows are joined back to employees using a constructed
OBJECT_SEQ
JSON key