Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fnfheaderid | bigserial | 19 | √ | nextval('tbl_fndfheader_fnfheaderid_seq'::regclass) |
|
|
Primary key |
|||||||||||||
| employeeid | varchar | 20 | √ | null |
|
|
FK: public.tbl_employee.employeeid |
|||||||||||||
| fnfyear | int4 | 10 | √ | null |
|
|
The payroll year for which the FnF settlement is being processed. |
|||||||||||||
| fnfmonth | int4 | 10 | √ | null |
|
|
The payroll month for which the FnF settlement is being processed (1-12). |
|||||||||||||
| fnfattendance | numeric | 0 | √ | '0'::numeric |
|
|
The number of days considered as attendance/worked days in the final payroll month for the FnF calculation. |
|||||||||||||
| fnfdate | timestamp | 29,6 | √ | null |
|
|
The date on which the FnF calculation record was generated/finalized. |
|||||||||||||
| fnfgross | numeric | 0 | √ | '0'::numeric |
|
|
The total calculated Gross Pay amount for the partial month/period of the FnF settlement. |
|||||||||||||
| processby | varchar | 50 | √ | null |
|
|
The user or system ID that processed/finalized the FnF calculation. |
|||||||||||||
| leavingdate | timestamp | 29,6 | √ | null |
|
|
The employee’s actual last working day (used as the cutoff for calculations). |
|||||||||||||
| fnfstatus | varchar | 50 | √ | null |
|
|
The overall status of the FnF calculation. |
|||||||||||||
| component1 | varchar | 50 | √ | null |
|
|
A generic String field for custom/legacy FnF data storage. |
|||||||||||||
| component2 | varchar | 50 | √ | null |
|
|
A generic String field for custom/legacy FnF data storage. |
|||||||||||||
| component3 | varchar | 50 | √ | null |
|
|
A generic String field for custom/legacy FnF data storage. |
|||||||||||||
| createddate | timestamp | 29,6 | √ | null |
|
|
||||||||||||||
| createdby | varchar | 100 | √ | null |
|
|
||||||||||||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
||||||||||||||
| modifiedby | varchar | 100 | √ | null |
|
|
||||||||||||||
| fnfrecover | varchar | 100 | √ | null |
|
|
Configuration setting: Specifies how the notice period shortfall should be handled/recovered. Expected values are RECOVER,WAIVE_OFF,PARTIAL_WAIVE_OFF,PAYMENT,ADJUSTMENT_AGAINST_LEAVE |
|||||||||||||
| leaveencashmentformula | varchar | 100 | √ | null |
|
|
The specific payroll formula used to calculate the Leave Encashment amount. |
|||||||||||||
| encashableleaves | numeric | 0 | √ | null |
|
|
The final number of leave days eligible for encashment. |
|||||||||||||
| noticeperiodshortfalldays | numeric | 0 | √ | null |
|
|
The final calculated number of days the employee was short of the required notice period. |
|||||||||||||
| shortfallformula | varchar | 100 | √ | null |
|
|
The specific payroll formula used to calculate the Notice Period Shortfall recovery amount. . |
|||||||||||||
| leaveencashmentactualamount | numeric | 0 | √ | null |
|
|
The raw calculated amount for Leave Encashment based on the formula. |
|||||||||||||
| leaveencashmentfinalamount | numeric | 0 | √ | null |
|
|
The final, rounded, or adjusted amount of Leave Encashment to be paid. |
|||||||||||||
| shortfallactualamount | numeric | 0 | √ | null |
|
|
The raw calculated amount for Notice Period Shortfall recovery. |
|||||||||||||
| shortfallfinalamount | numeric | 0 | √ | null |
|
|
The final, rounded, or adjusted amount for Notice Period Shortfall recovery. |
|||||||||||||
| leaveencashmentactualpayeffect | varchar | 100 | √ | null |
|
|
Indicates how the |
|||||||||||||
| leaveencashmentfinalpayeffect | varchar | 100 | √ | null |
|
|
Indicates how the |
|||||||||||||
| shortfallactualpayeffect | varchar | 100 | √ | null |
|
|
Indicates how the |
|||||||||||||
| shortfallfinalpayeffect | varchar | 100 | √ | null |
|
|
Indicates how the |
|||||||||||||
| fnf_effected_data | text | 2147483647 | √ | null |
|
|
JSON data string storing which payroll components and transaction IDs were processed/impacted by the FnF calculation. |
|||||||||||||
| leave_encashment_recovery_data | text | 2147483647 | √ | null |
|
|
JSON data string containing the detailed breakdown of all leave encashment and recovery line items. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_fndfheader_pk_tbl_fndfheader | Primary key | Asc | fnfheaderid |


