AxInventJournalTrans.setQty Method [AX 2012]
Sets the Qty field according to the JournalType field.
Syntax
protected void setQty()
Run On
Called
Remarks
If the JournalType field is the InventJournalType::Count enumeration value, this method determines whether the InventOnHand field is set or not set. If the InventOnHand field is set, the Qty value is calculated based on the InventOnHand field and the Counted field.
If the JournalType field is InventJournalType::Transfer or InventJournalType::LossProfit, then this method determines whether the ItemId field is set. If ItemId is set, the Qty value is fetched from the InventTableModule for the corresponding ItemId value.