- Added a new endpoint `/work-instruction/bom-base-qty` to retrieve base quantities for items based on their codes. - Introduced the `getBomBaseQtyMap` function in the `workInstructionController` to handle the logic for fetching base quantities. - Updated the frontend to call the new API and integrate base quantity mapping into the work instruction registration process. - Enhanced the work instruction page to calculate batch counts and split quantities based on the retrieved base quantities. (TASK:ERP-020)
6.2 KiB
6.2 KiB