Add auto generate lot flag to Attribute Set. When check, lot is auto generated for MR, Production and Physical Inventory.
Fix production costing and posting - when costing level is batch, perform roll up instead of variance calculation.
Fix reversal of production and -ve production.
Fix posting of Shipment, Production and Inventory transaction - when costing level is batch and there's no ASI at Line ( Attribute Set > Exclude - M_InOutLine and Sales Transaction=Y, Production Line and Inventory Line), cost should derived from *LineMA ( Product + ASI ).
Support batch level standard cost adjustment for product with zero on hand ( new product ).
Always disallow negative on hand for Product with Instance Attribute.
Fix Material Policy - Sort by DateMPolicy+ASI_ID instead of just DateMPolicy