Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| inactiveid | serial | 10 | √ | nextval('tbl_inactiveemployee_inactiveid_seq'::regclass) |
|
|
Primary key |
||||
| employeeid | varchar | 500 | null |
|
|
FK: public.tbl_employee.employeeid |
|||||
| inactivefor | varchar | 500 | √ | null |
|
|
The reason or category for the inactivation (e.g., RESIGNATION, TERMINATION, RETIREMENT). |
||||
| employeestatus | varchar | 50 | √ | null |
|
|
The official employment status to be set after approval (e.g., INACTIVE, ACTIVE). |
||||
| requestrelievingdate | timestamp | 29,6 | √ | null |
|
|
The requested or proposed date on which the employee’s status should become inactive. |
||||
| reperson1status | varchar | 50 | √ | null |
|
|
The status of the request after review by the first approving manager. |
||||
| reperson2status | varchar | 50 | √ | null |
|
|
The status of the request after review by the second approving manager. |
||||
| reperson1name | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid (via name/ID lookup) |
||||
| reperson2name | varchar | 50 | √ | null |
|
|
FK: public.tbl_employee.employeeid (via name/ID lookup) |
||||
| finalstatus | varchar | 50 | √ | null |
|
|
The conclusive status of the entire inactivation request workflow. |
||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| createdby | varchar | 30 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 30 | √ | null |
|
|
|||||
| rejectreason | varchar | 500 | √ | null |
|
|
The reason provided if the inactivation request was formally rejected by any approver. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_inactiveemployee_pk__tbl_inac__e8155ba0fba8c261 | Primary key | Asc | inactiveid |



