The HR Management System is a specialized application within your Sales 360 platform, designed to centralize employee data, track time, manage absences, and process payroll.
| Component | Sales 360 Mapping | Purpose |
| User Authentication | Standard User Object | Employee login and access to the platform. |
| Employee Details | Custom Object: Employee | Stores all personal, professional, and salary data. |
| Attendance | Custom Object: Attendance | Tracks check-in/check-out for payroll calculation. |
| Leave Management | Custom Object: Leave Request | Manages application, approval, and balance tracking. |
| Payroll | Custom Object: Payroll Record | Stores generated monthly payslips and calculations. |
| Access Control | Profiles / Permission Sets | Defines the three primary user roles: Admin, HR, and Employee. |
Access to the HR system is controlled by the user's assigned Permission Set or Profile.
| HR Role | Access Dashboard | Key Permissions |
| Admin | HR Admin Dashboard (Full View) | Full CRUD (Create, Read, Update, Delete) access to all Custom Objects, including Settings and User Role updates. |
| HR | HR Management Dashboard (Operational View) | Full CRUD access on Employee, Attendance, Leave, and Payroll objects. No access to system Settings or Admin Role management. |
| Employee | Employee Self-Service Portal | Read-Only access to own Employee record and Payslips. CRUD access on their own Attendance and Leave Request records. Automatically redirected upon login. |
This is the central workspace for managing the workforce.
View List: Navigate to the Employee Custom Object tab.
Create New Employee:
Click New.
Fill out the required Personal Details and Professional Details fields (e.g., Department, Designation).
Enter Salary Details (Basic Salary, Allowances, Deductions).
The system automatically links the new Employee Record to an existing platform User or can trigger a Flow to create a new User.
Manage Status (Admin Only): Use the User Management screen to Activate/Deactivate a linked platform User record to control their login access.
Navigate to the Leave Request tab. Use the default list view: "Pending Leaves."
Open a Pending Leave Request record.
Review the details: Employee Name, Leave Type (Sick/Casual/Annual), Start/End Date, and Total Days.
Check the Employee Balance (a calculated field on the Employee Object).
Update the Leave Status field:
Select Approved or Rejected.
Automation: Setting the status to Approved triggers a Process Builder/Flow to automatically deduct the Total Days from the employee's calculated Leave Balance.
Navigate to the Attendance tab to view the list of all daily check-in/check-out records.
Filter by Date or Employee to review records.
Correcting a Record: Open the specific Attendance record and modify the Check-in Time or Check-out Time as needed (e.g., for an employee who forgot to clock out).
Navigate to the Payroll Record tab and click Generate Payroll.
Input: Select the Payroll Month and Payroll Year.
Execution (Triggered Flow): Clicking Generate runs a powerful Flow/Apex Trigger that executes the following logic for all active Employee records:
Data Aggregation: Retrieves total Present Days by querying the Attendance records for the selected month.
Calculation: Computes Net Salary using the formula:
Record Creation: Creates a new, locked Payroll Record for each employee, storing the detailed calculation, Net Salary, and linking it to the Employee record.
HR View: HR users can open any Payroll Record to view the Payslip Details and export the payslip.
Employees access their personal data and actions through a dedicated portal component or a custom home page.
Attendance:
Click the Check-in button to create a new Attendance record with the current time.
Click the Check-out button to update the existing open Attendance record with the current time.
Apply for Leave:
Click New Leave Request.
Select Leave Type, Dates, and enter a Reason.
The system displays the remaining Leave Balance before submission.
Submission: A new Leave Request record is created with a status of Pending, notifying the HR/Admin team.
View Payslips: Access the list of Payroll Records linked to their own Employee record. They can view the detailed Payslip PDF or component.