Task #19494
openShipment Cost _ Automatic Allocation of Charges per HAWB for Air Shipments
80%
Description
The freight forwarder wants that the system to automatically allocate costs and sales values to each House Air Waybill (HAWB) based on different charge calculation methods,
so that they can ensure accurate billing, avoid manual calculation errors, and maintain consistency across all shipments under the same File Reference.
Acceptance Criteria / Scenarios
- Per HAWB (House Airway Bill)
· Given a charge is selected as “Per HBL”
· And the cost for Documentation Fee is MUR 1000 and the ‘sales’ is MUR 1100
· When the system processes the File Reference
· Then the sales value of MUR 1100 is displayed automatically on each HAWB present under that File Reference
- Split per HBL (Equal Split)
· Given a charge is selected as “Split per HBL”
· And the total cost for CCS Fee is MUR 3250
· And the File Reference has 10 HAWBs
· When the system processes the File Reference
· Then each HAWB should display MUR 325 as the allocated cost
Note: This method is used when no profit is implied
- Per Volume
· Given a charge is selected as “Per Volume”
· And the cost is MUR 1500 and sales is MUR 800 per volume unit
· And the client shipment has 3 MC (volume)
· When the system processes the File Reference
· Then the amount displayed for each HAWB is MUR 800 × 3 = MUR 2400
- Per Kgs
· Given a charge is selected as “Per Kgs”
· And the cost is MUR 2500 and sales is MUR 900 per Kg
· And the client shipment has 4 Kgs
· When the system processes the File Reference
· Then the amount displayed for each HAWB is MUR 900 × 4 = MUR 3600
GitLab Sync Log
[{"id": "39988", "author": "Fatimah Schaik Hossen", "hours": 7.0, "created": "2026-03-09T05:02:53.305Z", "log_date": "2026-03-05", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-03-09T05:02:53.305Z: 7h-(7.0)h spend at: 2026-03-05", "status": "active", "deleted_by": "", "redmine_entry_id": 12557}, {"id": "40112", "author": "Fatimah Schaik Hossen", "hours": 5.75, "created": "2026-03-10T12:03:29.583Z", "log_date": "2026-03-10", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-03-10T12:03:29.583Z: 5h 45m-(5.75)h spend at: 2026-03-10", "status": "active", "deleted_by": "", "redmine_entry_id": 12582}, {"id": "40111", "author": "Fatimah Schaik Hossen", "hours": 7.0, "created": "2026-03-10T12:02:58.571Z", "log_date": "2026-03-08", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-03-10T12:02:58.571Z: 7h-(7.0)h spend at: 2026-03-08", "status": "active", "deleted_by": "", "redmine_entry_id": 12583}, {"id": "40162", "author": "Fatimah Schaik Hossen", "hours": 1.0, "created": "2026-03-11T12:00:03.725Z", "log_date": "2026-03-11", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-03-11T12:00:03.725Z: 1h-(1.0)h spend at: 2026-03-11", "status": "deleted", "deleted_by": "", "redmine_entry_id": 12602}, {"id": "40158", "author": "Fatimah Schaik Hossen", "hours": 3.0, "created": "2026-03-11T11:58:46.940Z", "log_date": "2026-03-11", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-03-11T11:58:46.940Z: 3h-(3.0)h spend at: 2026-03-11", "status": "deleted", "deleted_by": "", "redmine_entry_id": 12603}, {"id": "40559", "author": "Fatimah Schaik Hossen", "hours": 4.0, "created": "2026-03-18T10:34:25.569Z", "log_date": "2026-03-18", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-03-18T10:34:25.569Z: 4h-(4.0)h spend at: 2026-03-18", "status": "active", "deleted_by": "", "redmine_entry_id": 12685}, {"id": "44670", "author": "Fatimah Schaik Hossen", "hours": 2.0, "created": "2026-05-18T11:22:23.398Z", "log_date": "2026-05-18", "comment": "Imported from GitLab by @Fatimah Schaik Hossen on 2026-05-18T11:22:23.398Z: 2h-(2.0)h spend at: 2026-05-18", "status": "active", "deleted_by": "", "redmine_entry_id": 13649}]