-
Type:
Story
-
Resolution: Unresolved
-
Priority:
Low
-
Affects Version/s: None
-
None
User Role: Inventory Super Admin; State Admin; District Admin; Block / TU Admin
Requirement: Admins register users for their level and below in Employee Master (single or bulk), then map them in Work Location Mapping.
Expected Behaviour:
- Fields: Serviceline (Inventory, mandatory), Role (mandatory, decides which location fields are needed), State (mandatory for State level and below), District (mandatory for District level and below), Block / TU (mandatory for Block and TU roles), Store (auto-filled, read-only).
- Mapping is blocked if the location has no active store.
- A user can work in StopTB and Inventory through two mapping rows.
- On staff transfer, the admin inactivates the old mapping and creates a new one. History is kept.
Acceptance Criteria:
- A mapping saves only with the location fields required by the chosen role.
- Store fills automatically and cannot be edited.
- Mapping is blocked for a location with no active store.
- An admin can map users only at their own level and below, within their own states.
- Inactivating the old mapping keeps its history.
- One user can hold a StopTB row and an Inventory row.
BRD Reference: AMRIT Inventory Management – BRD v1.0, sections 2.2.H, 2.2.K (Rules)
Open Questions: None identified from the available BRD.