Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| lentitlmentid | serial | 10 | √ | nextval('tbl_leaveentitlment_lentitlmentid_seq'::regclass) |
|
|
Primary key |
||||
| employeeid | varchar | 20 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
||||
| employeename | varchar | 60 | √ | null |
|
|
|||||
| leyear | int4 | 10 | √ | null |
|
|
Calendar year for the adjustment effective period |
||||
| lemonth | int4 | 10 | √ | null |
|
|
Calendar month for the adjustment effective period |
||||
| entitlmentdate | timestamp | 29,6 | √ | null |
|
|
Exact timestamp when manual adjustment was performed |
||||
| entitlmentleave | numeric | 0 | √ | '0'::numeric |
|
|
Manual adjustment amount (positive or negative) |
||||
| lediscription | varchar | 200 | √ | null |
|
|
|||||
| entitlmentstatus | varchar | 10 | √ | null |
|
|
Processing status of the manual adjustment |
||||
| leavemasterid | int4 | 10 | √ | null |
|
|
|||||
| leavecode | varchar | 50 | √ | null |
|
|
Leave type name for display and reporting |
||||
| approwperson | varchar | 60 | √ | null |
|
|
AUDIT FIELD - System populated |
||||
| leavecodeid | int8 | 19 | √ | null |
|
|
FK: public.tbl_leavecodemaster.leavecodeid |
||||
| isimported | bool | 1 | null |
|
|
Flag indicating Excel import origin of this record |
|||||
| createdby | varchar | 50 | √ | null |
|
|
|||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 50 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
|||||
| importedbalance | numeric | 0 | √ | null |
|
|
Target total balance imported from Excel file |
||||
| existingbalance | numeric | 0 | √ | null |
|
|
Employee’s leave balance BEFORE this manual adjustment |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_leaveentitlment_pk_tbl_leaveentitlment | Primary key | Asc | lentitlmentid |


