Rebuild of the Leaves & Absences module, driven by the GACN requirements plus a verified defect study of the current system.
| Doc | Audience | Contents |
|---|---|---|
| brd.md | Product, implementation, GACN | Scope split, user journeys, numbered functional requirements, cross-cutting business rules, traceability matrix, decisions taken |
| engineering-plan.md | Backend + frontend engineers | Defect inventory with [file:line](file:line), data model, service boundaries, API surface, stored-procedure work, migration, sequencing, risks |
Baseline: core-backend-service origin/staging, web-app working tree, dev stored-procedure dump of 14 Aug 2026 (437 procedures), and a live read/write test on the dev tenant. Line references drift — re-verify against origin/staging per phase.
spReviewEmployeeRequest, spDeleteEmployeeRequest, spUpdateEmployeeLeaveBalance). Never conclude a leave behaviour is missing from the C# alone — check ../../pade_stored_procedures.md.StatusId > IAPPROVED) appears at seven sites covering every request type.| Question | Decision |
|---|---|
| Is submitted-but-unapproved leave "spent"? | Yes — commit at submission, as today. No reserved/consumed split. |
| Half-days required? | No. Requests stay whole-day; monthly accrual rounds cumulatively instead. |
| Escalation / delegation? | No. Out of scope for V2, recorded as a known limitation. |
| Planning cycle ownership | HR opens one company-wide cycle a year; divisions coordinate inside it. |
| Overlap threshold | Headcount, per department, company default; override permission-gated with mandatory reason. |
| INT truncation of balances on decline/delete | By design. Closed, do not re-raise. |