Skip to main content

Asset Assignment

Assignment is an administrative service mutation, separate from employee self-service request submission. An asset is eligible only in Available, Approved, or Returned. At least one user or labor reference is required. The service records assignment time, optional return-due date and notes, sets Issued, and changes New condition to Good.

Status enforcement prevents a second active assignment on the same aggregate. It does not verify that the referenced employee exists, is active, belongs to a department, or is eligible. It also does not create a separate assignment entity or acknowledgement. Workflow-managed requests cannot be assigned directly; a terminal workflow approval approves and issues to the original requester.

Every successful issue adds assignment history, audit and timeline rows and emits AssetAssigned; notification recipient resolution remains the notification integration's concern. No handover signature or document is mandatory.

Source References

  • microservices/src/asset-service/Domain/Asset/Asset.cs
  • microservices/src/asset-service/Application/Commands/AssetCommands.cs
  • UI/salary-ui/apps/client-hrms-portal/src/pages/hr/HrOperationsPage.tsx