SalesPackingSlipJournalPostProj.updateUnderconsumption Method [AX 2012]
Creates inventory transactions when item requirement under-consumes their production order items.
Syntax
protected void updateUnderconsumption(SalesLine _salesLine)
Run On
Server
Parameters
- _salesLine
Type: SalesLine Table
The item requirement that under-consumes its production order items.
Remarks
The method will handle the scenario when an item requirement under-consumes its production order items.
Two inventory transactions will be created. The first inventory transaction will consume the under-consumed production order items.
The second inventory transaction will post an income to project. Both inventory transactions are returned marked against each other.