Task #18636
openTask #18634: Sprint Planning for 25/08/2025 - 05/09/2025
Volume availability check not raising an alert when container reaches full capacity.
0%
Description
The system allows adding HBLs exceeding container capacity under a single container reference in LCL shipments.
When working with LCL shipments, users can add multiple HBLs under a single container reference (e.g., 20FT with 30 m³ capacity). The system currently does not validate the container’s maximum volume. As a result, it is possible to add HBLs whose combined total volume exceeds the container’s actual capacity (e.g., 78 m³ under a 30 m³ container).
Environment: Staging V1.1.7
Steps to Reproduce¶
-
Go to Shipment Cost → Create an Import shipment with multiple 20FT containers (30 m³ each).
{width="749" height="283"} -
Go to File Reference (MACCS25SFI09154), Add a container
{width="252" height="316"} -
Then add multiple HBLs under this container whose total volume exceeds 30 m³.
-
Example: 7 HBLs with a total volume = 78 m³ against a container capacity of 30 m³.
{width="889" height="189"}
-
The system should alert the user on creation and saving of HBLs once container capacity (30 m³) is reached. Flag an error or warning.
The system should validate total HBL volume against container capacity.
The user should receive an error/warning when attempting to exceed container volume.
The container reference cannot be saved if over-allocation occurs.
Note that same should be applied to Export Shipment - LCL also.
GitLab Sync Log
[{"id": "30085", "author": "Avisham", "hours": 3.0, "created": "2025-09-03T07:09:46.117Z", "log_date": "2025-09-02", "comment": "Imported from GitLab by @Avisham on 2025-09-03T07:09:46.117Z: 3h-(3.0)h spend at: 2025-09-02", "status": "active", "deleted_by": "", "redmine_entry_id": 10248}]