Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| emonthlyleaveid | bigserial | 19 | √ | nextval('tbl_monthlyleaves_emonthlyleaveid_seq'::regclass) |
|
|
Primary key |
|
| employeeid | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|
| mlyear | int4 | 10 | √ | null |
|
|
Calendar year for the monthly period |
|
| mlmonth | int4 | 10 | √ | null |
|
|
Calendar month for the tracking period |
|
| leavemasterid | int8 | 19 | √ | null |
|
|
UNUSED FIELD - No Active Functionality |
|
| leavecode | varchar | 50 | √ | null |
|
|
Leave type being tracked |
|
| provisionalleave | numeric | 0 | √ | '0'::numeric |
|
|
New leave allocation for the current month |
|
| tempprovisionalleave | numeric | 0 | √ | '0'::numeric |
|
|
Opening balance carried forward from previous period |
|
| appliedleave | numeric | 0 | √ | '0'::numeric |
|
|
Leaves utilized through approved applications in the month |
|
| remainingleave | numeric | 0 | √ | '0'::numeric |
|
|
||
| mlentitlment | numeric | 0 | √ | '0'::numeric |
|
|
||
| totalleave | numeric | 0 | √ | '0'::numeric |
|
|
UNUSED FIELD - Reserved for Future |
|
| monthlyentitlment | numeric | 0 | √ | null |
|
|
UNUSED FIELD - Reserved for Future |
|
| remarks | varchar | 2147483647 | √ | null |
|
|
||
| manualentitlement | numeric | 0 | √ | null |
|
|
Manual adjustments made by HR administrators |
|
| encashed | numeric | 0 | √ | null |
|
|
Leaves converted to monetary payment during year-end |
|
| lapsed | numeric | 0 | √ | null |
|
|
Leaves expired during year-end processing |
|
| encashedtenure | numeric | 0 | √ | null |
|
|
Tenure-based leaves converted to payment |
|
| lapsedtenure | numeric | 0 | √ | null |
|
|
Tenure-based leaves expired |
|
| lapsedonexpiry | numeric | 0 | √ | null |
|
|
Leaves expired due to carry forward expiry dates |
|
| createdby | varchar | 50 | √ | null |
|
|
||
| createddate | timestamp | 29,6 | √ | null |
|
|
||
| modifiedby | varchar | 50 | √ | null |
|
|
||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_monthlyleaves_pk_tbl_monthlyleaves | Primary key | Asc | emonthlyleaveid |
| ix_tbl_monthlyleaves_employeeid_mlyear_mlmonth | Performance | Asc/Asc/Asc | employeeid + mlyear + mlmonth |
