Topic: Manufacture BOM
I have ported my db from 2.4.6 to 2.4.18
I have a number of products are are assembled with a BOM and when I have all the items required I get the following error
<b>DATABASE ERROR :</b> The work requirements issued quantity couldn't be updated<br>error code : 1048<br>error message : Column 'unit_cost' cannot be null<br>sql that failed was : UPDATE 0_wo_requirements SET
unit_cost = (units_issued*unit_cost+0)/(units_issued+0),
units_issued = units_issued + '0'
WHERE id = '8652'<br><br><br>
I am am able to enter other work orders
in wo_requirements the highest id is 8616 and the SQL refers to 8652
strange
I am using PHP 7.4.33 and mysql 8.0