tbl_resignationmaster

-1 rows


Description

Module: Resignation Clearance
Purpose: Stores all records for employee-initiated resignation requests.
Data: Captures the employee’s original request details, proposed relieving dates, manager/HR approvals, and the final separation status.
Process Usage:
- Initiated by the employee via ESS.
- Moves through a multi-level approval workflow (Rep1, Rep2, HR).
- Triggers related processes like Department Clearance and Exit Interview.
Key Points:
- Central source of truth for an employee’s separation and clearance status.
- Highly sensitive data, critical for full and final settlement calculations.
Business Impact: Manages the entire employee off-boarding lifecycle, ensuring compliance with notice periods and internal clearance protocols.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
resignationid bigserial 19 nextval('tbl_resignationmaster_resignationid_seq'::regclass)
tbl_resignationclearancehead.resignationid Implied Constraint R

Primary key
Format: Long (auto-increment)
Used as: Unique identifier for a specific resignation request.

employeeid varchar 20 null
tbl_employee_previous_pf.employeeid Implied Constraint R

FK: public.tbl_employee.employeeid
Meaning: The identifier of the employee who submitted the resignation request.
Usage: Links the request to the employee’s master data.

businessunit varchar 50 null

The employee’s Business Unit at the time of resignation.
Format: String
Dependency: Stores the employee’s company ID.

specificationtype varchar 50 null

Java Field: requestType
Meaning: The type of separation request (e.g., Resignation, Retirement, Termination, End of contract).
Usage: Categorizes the separation event.

regignationreason varchar 500 null

The detailed reason provided by the employee for their resignation.
Format: String (Large text)
Business: Used for analyzing employee turnover.

resignationdate timestamp 29,6 null

The date the employee submitted the resignation request.
Usage: Marks the start of the notice period calculation.

requestrelievingdate timestamp 29,6 null

The requested last working date as proposed by the employee.
Usage: Used in conjunction with noticePeriod to calculate compliance.

mailingaddresssameas varchar 300 null

Indicates which existing address the employee prefers for final communication (e.g., Permanent, Current).
Format: String (e.g., “Permanent Address”)

nextemployer varchar 50 null
noticeperiod int4 10 null

The standard contractual notice period for the employee in days (e.g., 30, 60, 90).
Format: Integer (days)

endofnoticeperiod varchar 50 null
descriptionofreason varchar 200 null
otheraddress varchar 200 null

Java Field: address
Meaning: Any alternative/new address provided by the employee for communication.

personalemailid varchar 50 null

The personal email address provided by the employee for post-employment contact.

resignationletter varchar 2000 null

Stores the file path or content of the attached formal resignation letter.

status bool 1 false
actualrelievingdate timestamp 29,6 null

The final, approved last working date for the employee.
Usage: Determined by the HR/Manager after considering business needs and notice period compliance.

currentdate timestamp 29,6 null

The creation date of the request row (system timestamp).
Note: This column is marked as updatable = false in the model.

specificationstatus varchar 25 '''Pending'''::character varying

Java Field: finalStatus
Meaning: The final, overall status of the resignation request.
Values: e.g., “Approved”, “Rejected”, “Cancelled”, “Revoked/Pull Back”

descriptions varchar 500 null

Java Field: cancelReason
Meaning: The reason provided if the request was cancelled, rejected, or revoked.

shortfallperiod int4 10 null

The difference in days between the contractual notice period and the employee’s requested notice period.
Logic: Calculated as (noticePeriod - actual notice given).

component1 varchar 50 null
component2 varchar 50 null

Java Field: rep1Status
Meaning: The action taken by the First Level Approver (Rep1).
Values: e.g., “Approved”, “Rejected”, “Pending”, “Relieving Date Proposed”

component3 varchar 50 null

Java Field: rep2Status
Meaning: The action taken by the Second Level Approver (Rep2).
Values: e.g., “Approved”, “Rejected”, “Revoked/Pull Back”

component4 varchar 500 null

A legacy or custom field, potentially used for an additional approval level or data point.

component5 varchar 500 null

Java Field: attachment
Meaning: Stores the file path or ID for a supplementary document/attachment related to the request.

relrep1date timestamp 29,6 null

The relieving date proposed by the First Level Approver (Rep1).

relrep2date timestamp 29,6 null

The relieving date proposed by the Second Level Approver (Rep2).

shortfallrep1 int4 10 null

The calculated shortfall in days based on the relieving date proposed by Rep1.

shortfallrep2 int4 10 null

The calculated shortfall in days based on the relieving date proposed by Rep2.

rep1mainstatus varchar 50 null

The main status of Rep1’s approval stage (e.g., “Pending”, “Completed”).

rep2mainstatus varchar 50 null

The main status of Rep2’s approval stage (e.g., “Pending”, “Approved”, “Revoked/Pull Back”).

hrmainstatus varchar 50 null

The main status of the HR approval stage (e.g., “Pending”, “Approved”, “Revoked/Pull Back”).

rep1substatus varchar 50 null

The sub-status/reason for the action taken by Rep1 (e.g., “Approved with shortfall”, “Rejected for business reasons”).

rep2substatus varchar 50 null

The sub-status/reason for the action taken by Rep2.

hrsubstatus varchar 50 null

The sub-status/reason for the action taken by HR.

rep1days int4 10 null

The number of days taken by Rep1 to process the request.

rep2days int4 10 null

The number of days taken by Rep2 to process the request.

hrdays int4 10 null

The number of days taken by HR to process the request.

createdby varchar 50 null
createddate timestamp 29,6 null
modifiedby varchar 50 null
modifieddate timestamp 29,6 null
clearancestatus varchar 50 null

The overall status of the Department Clearance process.
Values: e.g., “Pending Initiation”, “In Progress”, “Completed”, “Overdue”

clearanceinitiatedate timestamp 29,6 null

The date the Department Clearance process was formally started.

exitinterviewstatus varchar 50 null

The status of the Exit Interview process.
Values: e.g., "Not Initiated ", “Initiated”, “Not Required”, “Completed”

exitinterviewinitiatedate timestamp 29,6 null

The date the Exit Interview process was formally initiated.

statusbyrep1 varchar 50 null

The specific status set by the First Level Approver (Rep1).
Values: e.g., “Approve”, “Reject”, “Revoked/Pull Back”

statusdaterep1 timestamp 29,6 null

The timestamp when the First Level Approver (Rep1) processed the request.

statusbyrep2 varchar 50 null

The specific status set by the Second Level Approver (Rep2).

statusdaterep2 timestamp 29,6 null

The timestamp when the Second Level Approver (Rep2) processed the request.

statusbyhr varchar 50 null

The specific status set by the HR Approver.

statusdatehr timestamp 29,6 null

The timestamp when the HR Approver processed the request.

revokedpullbackreason varchar 500 null

The reason provided by the employee or administrator for pulling back/revoking a submitted request.

separationworkflowsetupname varchar 50 null

The name of the workflow setup used for this specific resignation (e.g., “Manager-HR-Final”).
Usage: Defines the number of approvers and required clearances.

approvalrejectionrequired bool 1 null

Configuration flag: Indicates if formal approval/rejection is mandatory for this workflow.

departmentclearancerequired bool 1 null

Configuration flag: Indicates if the multi-department No-Dues Clearance process is required.

departmentclearanceinitiation varchar 50 null

Defines when the clearance process should be initiated (e.g., “On Submission”, “After HR Approval”, “X Days Before Relieving”).

departmentclearanceinitiationnoofdays numeric 18,2 null

The number of days used for the clearance initiation logic.

departmentclearancewhentoinitiation varchar 50 null

Detailed rule specifying the timing for triggering department clearance (e.g., relative to ActualRelievingDate).

exitinterviewrequired bool 1 null

Configuration flag: Indicates if an exit interview is mandatory for this resignation.

ageinyears numeric 18,2 null

Employee’s age in years at the time of the request (likely derived from DOB).

notifybeforenoofdays numeric 18,2 null

The number of days before the relieving date to send notifications/reminders.

departmentclearanceschedulerdate date 13 null

The date a scheduled job is/was set to initiate the department clearance.

isschedulerexecuted bool 1 false

Boolean flag: Indicates if the workflow initiation scheduler has been run for this record.

relhrdate timestamp 29,6 null

The relieving date approved by the HR department (often the final date).

deleted_data text 2147483647 null

Flag or JSON to store soft-deleted data or history details for auditing purposes.

Indexes

Constraint Name Type Sort Column(s)
tbl_resignationmaster_pk_tbl_resignationmaster Primary key Asc resignationid

Relationships