This issue seems to be a bug. What if a production run is created to produce 2 but only 1 is declared while the other was returned as material. Shouldn't the quantity produced be 1 and not 2 after the task is complete?
Currently if the sum of a production run task declarations is is not
used to determine the quantity produced of the task when completed.
Instead the task quantity produced is updated to the quantity to
produced minus the declared rejected quantities. So rejected quantity
be declared in order for a task's quantity produced to be less than it's
quantity to produce.
- Should Production run task quantity produced be based on ... Christian Carlow
