This project provides an enhanced logic for creating packages on the Shipment screen in Acumatica, specifically addressing scenarios where Master Boxes are required.
By default, Acumatica does not support packing smaller boxes into larger ones (Master Boxes). This customization enables precise package distribution based on Weight, Volume, or a combination of both.
- Overrides the default CreateShipment method to allow custom package allocation.
- Removes default "Auto" packages created by Acumatica.
- Implements custom logic for package distribution based on Weight, Volume, or both.
- Dynamically selects the best-suited package size to optimize shipments.
-
Overriding CreateShipment
- The
CreateShipment
method is overridden using[PXOverride]
. - Before executing the default logic, all necessary package modifications are applied.
- The
-
Deleting Default Auto Packages
- Acumatica assigns packages automatically; these need to be removed for manual control.
-
Applying Custom Packaging Logic
- The logic loops through shipment lines and assigns items to packages.
- A method like
CreatePackagesByWeight
ensures items are packed optimally.
-
Handling Weight and Volume Constraints
- The system calculates the best packaging approach considering weight and volume.
- If items exceed the current package capacity, a new suitable box is selected.
For a detailed explanation, visit our blog:
Overriding Logic for Creating Packages for Shipment Screen
If you're facing similar challenges with Acumatica’s default logic or need tailored solutions, we can help!
Leave us a request here:
Contact Us