Project:
View Revisions: Issue #19792 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0019792: Not possible to validate a work effort because an error | ||
Revision | 2012-02-16 16:42 by VictorVillar | ||
Description | If exists any register in global use tab in the work effor, and the standars has been created by the production run with a 'completed quantity' = 0, an error message: "division by zero" appears. Because when the PL "ma_workeffort_validate" checks if there is a Global use with the function "ma_globaluse_distribute", and the error happens in the next statement: wpp.MOVEMENTQTY*pp.PRODUCTIONQTY, 0) /v_Total and v_Total is the SUM(wpp.MOVEMENTQTY*pp.PRODUCTIONQTY), if this sum is 0, then there is a division by zero If the user has introduced the completed qty = 0 in the production run, the process does not know how many qty spreads to all the production runs executed. |
||
Revision | 2012-02-16 13:53 by VictorVillar | ||
Description | f exists any register in global use tab in the work effor, and the standars has been created by the production run with a 'completed quantity' = 0, an error message: "division by zero" appears. Because when the PL "ma_workeffort_validate" checks if there is a Global use with the function "ma_globaluse_distribute", and the error happens in the next statement: wpp.MOVEMENTQTY*pp.PRODUCTIONQTY, 0) /v_Total and v_Total is the SUM(wpp.MOVEMENTQTY*pp.PRODUCTIONQTY), if this sum is 0, then there is a division by zero |
Copyright © 2000 - 2009 MantisBT Group |