Verification and Approval
Introduction
The Verification and Approval module implements the salary verification gate between payroll calculation and payment release. Approvers review pending batches, confirm unit-wise salary data, and update status through dedicated workflow screens—unlocking downstream payment steps in Payroll.
Purpose
Verification and Approval exists to:
- Present pending salary verification batches to authorized approvers
- Record approve/reject decisions with audit trail
- Coordinate with Payroll dashboard KPIs that surface verification backlog
- Enforce segregation between salary preparation and payment authorization
When to Use
Use this module when you:
- Operate a two-step payroll control (prepare → approve → pay)
- Need approvers who should not access full Payroll admin
- Must clear verification queue before
SalaryProcessPaymentStatusor bank upload
Payroll SalaryVerification prepares data; this module SalaryVerificationApproval authorizes it.
Overview / Architecture
A focused Area with dashboard plus approval controller. DAL classes under DAL/VerificationAndApproval/ interact with the same salary tables Payroll process uses.
Entry URL: /VerificationAndApproval/VerificationApprovalDashboard/Index
PageID: VerificationAndApproval
Module flag: VerificationAndApproval
Controllers
| Controller | Primary responsibility |
|---|---|
| VerificationApprovalDashboard | Approver home, pending counts |
| SalaryVerificationApproval | Approve/reject actions, batch detail |
| ManageError | Area error handling |
Payroll’s PayrollDashboardController may reference verification DAL for cross-module KPI tiles.
Views / Layout
| Asset | Role |
|---|---|
_LayoutVerificationApproval.cshtml | Verification module shell |
| Dashboard views | Pending batch summary |
| Approval views | Batch detail grids and action buttons |
Modern sidebar styling consistent with Payroll and Bills modules.
DAL
| DAL class | Role |
|---|---|
| SalaryVerification_DAL | Verification read/write, status transitions |
| BonuVerification_DAL | Bonus verification variant |
Calls use CompID, payroll period, and unit filters identical to Payroll process parameters.
Business Objects
Namespace: BO.VerificationAndApproval
| BO type | Role |
|---|---|
| SalaryVerification_BO | Batch header/lines for approval |
| BonuVerification_BO | Bonus verification payload |
Related payroll types in BO.Payroll may appear when dashboards aggregate counts.
Typical Workflow
Salary verification approval path:
Data Flow
- Payroll user runs salary verification for period/unit → rows marked pending approval.
- Approver opens VerificationApprovalDashboard →
SalaryVerification_DALlists open batches forCompID. - SalaryVerificationApproval posts decision → status update SP.
- Payroll payment controllers check approved status before disbursement.
- Rejected batches return to Payroll for correction and resubmission.
Reports
Verification focuses on workflow screens rather than standalone Crystal catalogs. Approvers typically export grid data from the browser or rely on Payroll MIS after approval completes.
Optional bonus verification follows parallel paths via BonuVerification_DAL.
Permissions
| Gate | Requirement |
|---|---|
| Module flag | dtVerifyUser.VerificationAndApproval == true |
| Session | Valid CompID |
| Segregation | Approvers should not share accounts with payroll preparers |
| Menu permissions | Approval action pages restricted in MenuMaster |
Common Issues
| Symptom | Likely cause |
|---|---|
| Empty approval queue | Verification not submitted from Payroll |
| Payment still blocked | Partial unit approval within batch |
| Duplicate batches | Re-run verification without clearing prior |
| Dashboard KPI mismatch | Cross-DAL filter period differs |
Related Pages
Important Notes
Grant VerificationAndApproval without full Payroll where possible so approvers cannot alter salary calculation inputs.
Rejected batches must be corrected in Payroll verification screens before reappearing in the approval queue.
Common Mistakes
| Mistake | Consequence |
|---|---|
| Approving before attendance finalized | Incorrect pay released |
| Same user prepares and approves | Weak audit control |
| Skipping module and using Payroll payment only | Policy bypass |
Next Steps
- Define approver roles and assign VerificationAndApproval flag.
- Run a test payroll month through verify → approve → payment.
- Document reject/resubmit procedure for site HR.