Skip to main content

Asset Inventory

Inventory behavior​

The direct read model supports a tenant-scoped list and a detail view. List filters cover valid status text, exact asset type, assigned user reference, and labor reference. Results are ordered newest first and capped at 1,000; there is no page number, cursor, total count, arbitrary search, or caller-controlled sorting. Detail includes assignment history and document references.

Records expose code, type, name, serial number, assignee references, assigned date, return-due date, condition, status, notes, workflow link state, timestamps, history, and documents. Location, department, maintenance record, warranty, vendor, purchase, and cost are absent.

The compatibility HR Operations table supports screen-level display and actions. Its import/export toolbar and bulk import are Transitional UI behavior; no dedicated domain bulk command, validation report, rollback, or canonical export endpoint was verified. The operations dashboard consumes direct inventory when available and otherwise workspace data.

Current limitations​

Invalid status filters are silently ignored, type filtering is exact, list size is capped rather than paginated, and no assets-by-category/location/employee export report exists.

Source References​

  • microservices/src/asset-service/Application/Queries/AssetQueries.cs
  • microservices/src/asset-service/Api/AssetEndpoints.cs
  • UI/salary-ui/apps/client-hrms-portal/src/pages/hr/HrOperationsPage.tsx