-
Type:
Story
-
Resolution: Unresolved
-
Priority:
Low
-
Affects Version/s: None
-
None
User Role: Super Admin; Inventory Super Admin (National Admin)
Requirement: Load the full StopTB item list into Item Master under Serviceline = Inventory in one Excel upload. This is a one-time activity.
Expected Behaviour:
- The template has headers, mandatory columns marked *, dropdown lists, and one Medical and one Non-Medical sample row. Columns follow Item Master. Serviceline is fixed to Inventory.
- State is mandatory (a state name or ALL). ALL is saved as "All States".
- Upload accepts .xlsx, max 5,000 rows and 10 MB.
- The system validates every row and shows valid, error and duplicate counts.
- An error file (original rows plus "Error Reason") can be downloaded.
- On confirm, nothing saves if any row fails. If all rows pass, the system saves and shows a summary.
- The upload and file are recorded in the audit log.
- Headers and column order must match the template. Dropdown values must match existing masters (case-insensitive). Existing Item Codes are rejected as duplicates. The upload adds new items only.
- Strength and Composition are mandatory for Medical and blank for Non-Medical. UOM and Manufacturer are mandatory for all.
Acceptance Criteria:
- The template can be downloaded with the content listed above.
- A file over 5,000 rows or 10 MB is not accepted.
- Valid, error and duplicate counts are shown after validation.
- The error file can be downloaded.
- If any row fails, nothing is saved.
- Existing Item Codes are rejected as duplicates.
- State = ALL is saved as "All States".
- Other roles cannot bulk upload.
- The upload appears in the audit log.
BRD Reference: AMRIT Inventory Management – BRD v1.0, section 2.2.J
Open Questions:
- OQ-19: terms differ (Item Category "Consumables" vs Item Type "Non-Medical" vs Item Type "Medical"). Confirm the mapping.
- OQ-22: the BRD refers to "Item Master (2.2.A)", which is not on the page.