Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| rclearanceid | bigserial | 19 | √ | nextval('tbl_resignationclearance_rclearanceid_seq'::regclass) |
|
|
Primary key |
||||
| rcheaderid | int8 | 19 | √ | null |
|
|
FK: public.tbl_ResignationClearanceHead.id |
||||
| departmentid | int8 | 19 | √ | null |
|
|
FK: public.tbl_DepartmentOfCompany.id |
||||
| rcstatus | varchar | 20 | √ | '''Pending'''::character varying |
|
|
The status of this specific departmental clearance task. |
||||
| rcdiscriptions | varchar | 300 | √ | null |
|
|
Detailed description or instructions for the required clearance task. |
||||
| rccreatedate | timestamp | 29,6 | √ | null |
|
|
The date the clearance task was created/assigned. |
||||
| rcapprowby | varchar | 50 | √ | null |
|
|
Employee ID of the user who performed the action (approval/rejection) on this task. |
||||
| departmentidnew | bool | 1 | √ | false |
|
|
|||||
| dptemphead | varchar | 50 | √ | null |
|
|
Employee ID of the designated Department Head/POC initially responsible for this clearance task. |
||||
| hrstatus | varchar | 50 | √ | null |
|
|
A separate status flag, likely used by the HR/Separation team to track the administrative closure of this task. |
||||
| attachment | varchar | 2000 | √ | null |
|
|
|||||
| deptclearancesetupid | int8 | 19 | √ | null |
|
|
FK: ID of the master setup for the type of clearance required. |
||||
| pocname | varchar | 2147483647 | √ | null |
|
|
The name of the specific Point of Contact (POC) or administrator who is currently handling this clearance task. |
||||
| createdby | varchar | 50 | √ | null |
|
|
|||||
| createddate | timestamp | 29,6 | √ | null |
|
|
|||||
| modifiedby | varchar | 50 | √ | null |
|
|
|||||
| modifieddate | timestamp | 29,6 | √ | null |
|
|
|||||
| deptclearancesetupname | varchar | 50 | √ | null |
|
|
The name of the master clearance setup template used. |
||||
| approvedby | varchar | 50 | √ | null |
|
|
The final Employee ID of the person who ultimately approved/signed off on this clearance task. |
||||
| approveddate | date | 13 | √ | null |
|
|
The date the clearance task was formally approved or finalized. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| tbl_resignationclearance_pk_tbl_resignationclearance | Primary key | Asc | rclearanceid |



