Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('tbl_resetsalarydata_id_seq'::regclass) |
|
|
Primary key |
||||
| employeeid | varchar | 500 | null |
|
|
FK: public.tbl_employee.employeeid |
|||||
| month | int8 | 19 | null |
|
|
The payroll month (1-12) for which this salary data snapshot was taken. |
|||||
| year | int8 | 19 | null |
|
|
The payroll year for which this salary data snapshot was taken. |
|||||
| grosssalary | numeric | 0 | null |
|
|
The total calculated Gross Salary (Earnings) for the employee in this snapshot. |
|||||
| deduction | numeric | 0 | null |
|
|
The total calculated Deductions for the employee in this snapshot. |
|||||
| netsalary | numeric | 0 | null |
|
|
The calculated Net Salary (Gross - Deductions) for the employee in this snapshot. |
|||||
| holdsalaryamount | numeric | 0 | null |
|
|
The amount of salary that was put on hold for the employee in this snapshot (if any). |
|||||
| salaryelemets | text | 2147483647 | √ | null |
|
|
JSON string containing the detailed breakdown and values of all individual employee salary elements (e.g., Basic, HRA, Conveyance, statutory deductions). |
||||
| remarks | varchar | 50 | √ | null |
|
|
A note explaining the reason for creating this salary data reset record (e.g., “Pre-recalculation backup”, “Rollback checkpoint”). |
||||
| createdby | varchar | 50 | √ | null |
|
|
|||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 50 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
|||||
| company_contribution_elements | varchar | 2147483647 | √ | null |
|
|
JSON string containing the detailed breakdown and values of all company-side contribution elements (e.g., Employer PF, ESI, Gratuity). |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_resetsalarydata_pk_tbl_resetsalarydata | Primary key | Asc | id |


