Integration with Manufacturing Essentials
The Manufacturing Batch Size Extension is designed to work in harmony with the Manufacturing Essentials App, leveraging an indirect dependency architecture through the Integration Layer module of the Tools extension. This ensures consistent and accurate batch production management while accommodating advanced manufacturing features such as Co/By Products.
Adding Production Order Lines
The Manufacturing Batch Size extension prohibits manual addition of lines to the Batch Production Order. However, lines added programmatically (via actions or custom code) are supported to enable features like Co/By Products.
Bath Quantity Validation for Co/By Products
The following validations ensure that Batch Quantities are consistently applied across the Production Order when Co/By Products are included:
- When the Production Order Header is marked as Batch Production Order, the Batch Quantity for all Co/By Products in the Production BOM must match the Batch Quantity of the Main Item.
- Upon refreshing the Production Order, the Batch Quantity value is inherited from the Production Order Header into all Production Order Lines.
- If the Batch Quantities differ between the Main Item and Co/By Products, the following error will appear during Production Order refresh: “Batch Quantity from Production BOM is different between Production Order Lines. Number of Batches cannot be calculated.”
Validation for Co/By Products without Batch Size BOM:
- If a Co/By Product does not have a Production BOM or has a Production BOM with Batch Size BOM = False and is added via the Add Co/By Product action, the quantity on the line is editable, and the user can populate this field with any value.
- If a Co/By Product without a Production BOM or with Batch Size BOM = False is added via the Refresh Production Order (configured as a Co-product on the Main Item card), the quantity on the line is editable and defaults to: Quantity Per (from Co/By Product table) × Quantity from the Main Item line.
Journals and Inventory Documents
The system applies the following rules to ensure accurate journal and inventory management for Co/By Products:
When posting the Output Journal, Production Journal (with Entry Type = Output), or Inventory Put-away (with Source Document = Prod. Output), the system checks if an existing ledger entry exists for the given Production Order No/Production Order Line/Item No with Entry Type = Output.
- If a ledger entry exists and the Lot No being posted matches the existing Lot No, the output movement is allowed.
- If the Lot No differs, the system displays the following error: “Lot No %1 already exists for Production Order %2, Item No %3. A Batch Production Order can only produce one Lot.”
- If the Co/By Product has a Production BOM with Batch Size BOM = No, no validation is required for journals and inventory documents.