Canonical documentation for the Assets subsystem — how PaidHR tracks company property (laptops, phones, SIM cards, software licenses, tools) from a catalog, through allocation to employees, to release back into the pool, with per-item status.

Assets is a compact, self-contained module: admin-driven allocation + a read-only employee/manager view. It is not built on the generic Requests engine — there is no asset-request approval workflow; admins assign directly.

Source of truth: written from the actual code — AssetService.cs (1,069 lines), AdminAssetsService.cs (681), Employee/AssetsService.cs (68), the Asset/EmployeeAsset entity graph, and ~30 frontend components — then verified against the live product with Playwright ("Pade Demo" tenant, 2026-07-20; screenshots). The two items still unconfirmed are marked ⚠️ VERIFY.

Start with the surface-map.md.


The documents

Doc Audience What it answers Status
surface-map.md Everyone Complete inventory + coverage ✅ Done 2026-07-20
business.md PMs, QA, Support, IT/Ops What Assets is — catalog, allocation, status, retirement ✅ Done 2026-07-20
technical.md Engineers, DBAs How it's built — entity graph, assign/release, two status axes ✅ Done 2026-07-20
configuration.md Admins, IT/Ops Asset types, add-asset, assignment forms field-by-field ✅ Done 2026-07-20
glossary.md Everyone Data dictionary — entities, statuses, terms ✅ Done 2026-07-20
api-reference.md FE + integration engineers The 25-endpoint surface ✅ Done 2026-07-20
user-journey.md PMs, UX, Support Journeys — new-hire kit, offboarding, license pool ✅ Done 2026-07-20
how-to.md Admins, IT/Ops Task guides — add, assign, release, retire ✅ Done 2026-07-20
knowledge-base.md End users FAQ — "what do I have?", returns, lost items ✅ Done 2026-07-20
runbook.md On-call / Ops Stuck allocations, over-assignment, orphaned assets ✅ Done 2026-07-20
onboarding.md New engineers Ramp into AssetService ✅ Done 2026-07-20
rfds/ Engineers Design decisions (allocation join, auto-release gap, multi-assign) ✅ Done 2026-07-20 (3 records)

Legend: ✅ done/verified · ⚠️ VERIFY (needs live-product confirmation)


The one-paragraph model

An Asset is a trackable item that belongs to a Company, categorised by AssetType → AssetSubType and carrying its own AssetStatus (Active/Inactive) plus commission/decommission dates. Assigning it to a person creates an EmployeeAsset — the allocation join — with its own allocation status (Assigned/Released), an assignment date, and optional time-box (interval + period + auto-release date). One asset can be multiply assignable up to MaxAssignment (a license seat pool) or single-assignment (a specific laptop). Admins run the whole lifecycle from the sidebar's OTHER → Assets group (Overview = the catalog, Assignments = the allocations); employees and managers get a read-only view of what's assigned to them / their team.


Known gaps (read before relying on these)

  1. Auto-release is not automated. AutoReleaseDate is stored on an allocation but no background job was found that releases assets when the date passes. Release is a manual admin action (Release_Asset / Release_Assets). See RFD-002.
  2. Assignment-interval guard checks the wrong field — AssignmentIntervalId is parsed only when assignment_period is non-empty (not assignment_interval_id). Documented in technical §Gotchas. Likely a latent bug, not fixed by this doc pass.

Verification log

2026-07-20 — Initial code-derived pass

Method: inventory + claims from core-backend-service source and web-app/src. Verified: service line counts (AssetService 1,069, AdminAssetsService 681), endpoint counts (Admin/Assets 24, Employee/Assets 1), the entity graph (Asset, EmployeeAsset, AssetType/SubType, AssetStatus, EmployeeAssetStatus + 3 Views), status constants (AssetStatuParams Active/Inactive, EmployeeAssetStatuParams Assigned/Released), multi-assign fields, and the 5 can_*_assets permissions.

2026-07-20 — Live frontend pass (Playwright)