<aside> 🔁 Synced from GitHub #9921c4a41c3a. Edit in the paidhr-system-docs repository, not here: changes made in Notion are overwritten.

</aside>

Requisitions

Status: Live

💡 In plain words

A requisition is an employee asking the company for something, such as equipment, a training budget, a refund or extra staff.

Each company creates its own requisition types with their own rules: is there money involved, how much, are dates or attachments needed. The request goes through approval, then someone provides the thing. Money requests can be paid in the next payroll.

A company-wide request form, where HR decides which forms exist and what they ask for.

Who's involved: the employee (asks), approvers, and whoever fulfils it (IT, finance, HR).

In one paragraph

A requisition is an employee asking the company for something: equipment, a training budget, a reimbursement, a vehicle for a period, extra staff. Unlike the older request types, requisitions are company-defined: HR creates requisition types with their own rules (is money involved, minimum and maximum amounts, does it need dates or an attachment, may it have several items). Requisitions go through their own approval chain, which can differ per type. Once approved they are fulfilled by whoever provides the thing. Money-type requisitions can be paid out through payroll as a payable.

Key ideas

Term Meaning
Requisition type Code, name, description and rules: monetary mode (1 not allowed · 2 optional · 3 required), minimum/maximum amount and quantity, needed-by date, time period with minimum/maximum duration, attachment required, multiple items, "other" option, employee-enabled, sort order
Type option Predefined choices inside a type ("Laptop", "Monitor")
Payroll payout IsPayrollPayoutEligible with a payable type: the approved amount is paid in the next payroll
Requisition Title, business justification, department, office, duty location, shift plan, currency, requested amount, dates, items, attachments, comments
Item Option or free text, quantity, unit and total amount

Statuses

Requisition Fulfilment Payout
1 Draft · 2 Pending approval · 3 Returned · 4 Approved · 5 Declined · 6 Cancelled · 7 Fulfilled · 8 Closed 1 Not started · 2 Fulfilled · 3 Closed 1 Not applicable · 2 Not paid · 3 Pending payroll approval · 4 Paid · 5 Failed

Lifecycle

stateDiagram-v2
  [*] --> Draft
  Draft --> PendingApproval: submit
  PendingApproval --> Returned: returned for changes
  Returned --> PendingApproval: resubmit (SubmissionVersion + 1)
  PendingApproval --> Approved: last approver
  PendingApproval --> Declined
  Draft --> Cancelled
  PendingApproval --> Cancelled
  Approved --> Fulfilled: fulfiller marks done
  Fulfilled --> Closed
  Approved --> Closed

Money out: for payout-eligible types, approval creates a payroll change using the type's payable type and rate. The requisition's payout status follows that change: pending payroll approval, then paid once the payroll is processed.

Approval chain: workflow 11, Requisitions, with scope type 7 (Requisition type) so each type can have its own approvers. Department, workplace, duty location and shift plan on the requisition can also select a chain. When several chains could apply, the requisition type's chain is tried first, then the department's, then the workplace's, then the company-wide one. Each step names either a person (the manager or head of department) or a role; a role step is matched to the role by name (fnGetRoleIdFromRoleName). An approver may act when they are the named person, when they hold the step's role, or as a main admin.

Who is told: when a requisition is submitted or a step is approved, the people who must act next are emailed — the named person, or every active holder of the step's role — provided the company has approval notifications switched on. When the last step approves, the requester is told. A declined or failed review sends nothing. (RequisitionNotificationService.)

API

Who Routes
HR setup Admin/Requisition_Setup: Types, Types/{key}, Types/{key}/Activation, Types/{typeKey}/Options, Options/{key}/Activation
Approvers Admin/Requisition_Approvals: {key}, {key}/Review
Fulfillers Admin/Requisition_Fulfillment: Drafts, {key}/Submit, {key}/Attachments, {key}/Fulfill, {key}/Close, Types/{typeKey}/PayableRate
Payroll Admin/Requisition_Payroll_Changes/{key}
Employees Employee/Requisitions: types, drafts, {key}/submit, {key}/cancel, {key}/comments, {key}/attachments

Where it appears

Web admin pages/dashboard/people/requests/requisitions; employee requests area; approver screens.

Connects to