Tuesday, November 26, 2024
1 change · 17.0
Resolved issues and error corrections
This update fixes an issue where the Cost Analysis report inaccurately reflected manufactured quantities and unit costs. The change ensures the report correctly calculates costs based on the actual quantity of products manufactured, improving the accuracy of cost reporting.
Original PR description
## Issue: - The Cost Analysis report does not accurately reflect the quantity manufactured of a product or the correct cost per unit. ## Steps to reproduce: - Create a manufactured product and two components with costs and on hand quantities. - Confirm a manufacturing order for the product. - Adjust the manufactured quantity of the manufactured product. - Notice that the cost analysis report does not reflect the correct quantity manufactured or the correct cost per unit. ## Solution: - Updated the calculation of `mo_qty` to sum the 'quantity' field instead of `product_qty`. opw-4118237