DF#QCADOOCLS-1718 fix problem with production records for each operation and auto closing order