DF#QCADOOMES-1728 Fixed problem with order state and basic production counting.
DF#QCADOOMES-1726,QCADOOMES-1727 Fixed problem with basic production counting.