Task #19406
openMCL - Generate Invoice for Multiple HBLs Under a Master BL
0%
Description
In the invoice screen, MCL has requested that they should be able to search for a specific Master Bill of Lading (MBL).
Once selected, the system must display all associated House Bills of Lading (HBLs) under that MBL.
The user can then select one, multiple, or all HBLs and generate an invoice in Draft, Proforma, or Standard format, bank, etc.
Acceptance Criteria
Scenario 1: Search by Master BL
Given the user is on the invoice screen
When the user searches for and selects a Master BL
Then the system must list all HBLs associated with the selected Master BL.
Scenario 2: Select HBLs
Given HBLs are displayed for the selected Master BL
When the user selects one, multiple, or all HBLs
Then the system must enable the invoice generation action.
Scenario 3: Generate Invoice Type
Given one or more HBLs are selected
When the user chooses to generate an invoice
And selects the invoice type as Draft, Proforma, or Standard
Then the system must generate the invoice based on the selected HBLs
And reflect the correct invoice status according to the selected type.
Scenario 4: Validation
Given no HBL is selected
When the user attempts to generate an invoice
Then the system must prevent the action
And display a validation message prompting the user to select at least one HBL.
GitLab Sync Log
[]