Task #19810
openTask #19803: Sprint Planning for 27/04/2026 - 11/05/2026
MAWB – Add "VALIDATED" Status to Control Standard Invoice Generation
6%
Description
Scope:
Air Freight Module – Invoicing
Description:
Enhance the MAWB status workflow by introducing a new status named VALIDATED. Standard invoice generation should only be permitted once the MAWB file has been updated to this status.
The client requires an additional control step before final invoice generation to ensure all operational and billing data have been reviewed, completed, and approved. This will help reduce premature or incorrect invoice issuance.
Functional Requirements:
- Add a new MAWB status: VALIDATED.
- All system validations must pass before the status can be updated to VALIDATED, including:
- Mandatory field validations
- Field/business rule validations
- Include the new status within the existing MAWB status workflow.
- Restrict Standard invoice generation unless MAWB status = VALIDATED.
- If status is not VALIDATED, the system must block invoice generation and display an appropriate validation message.
- User must have the relevant permission rights to update the status to VALIDATED.
- Invoice generation in Draft or Proforma status should remain allowed, based on the existing process.
Acceptance Criteria:
- VALIDATED status is available in the MAWB status list.
- User can update the MAWB file to VALIDATED subject to user permissions.
- System prevents update to VALIDATED if mandatory or field validations fail.
- Standard Invoice can only be generated when status = VALIDATED.
- System blocks Standard Invoice generation for any other status.
- Draft or Proforma invoice generation remains available.
- Clear validation/error message is displayed when blocked.
- Existing MAWB workflow remains functional.
GitLab Sync Log
[{"id": "44053", "author": "Nihaal Ramfoll", "hours": 1.0, "created": "2026-05-11T09:42:14.352Z", "log_date": "2026-05-03", "comment": "Imported from GitLab by @Nihaal Ramfoll on 2026-05-11T09:42:14.352Z: 1h-(1.0)h spend at: 2026-05-03", "status": "active", "deleted_by": "", "redmine_entry_id": 13519}]