To reviewAX 2012

Recalculate on-hand (InventSum) for an item

Rebuild the InventSum records of one item from its inventory transactions with InventSumRecalcItem.

Written for AX 2012; check InventSumRecalcItem and the supported on-hand consistency check on D365FO.

First written
Re-read
Versions
AX 2012

When the on-hand of an item no longer matches its inventory transactions, the InventSum records can be recalculated from the transactions. In AX 2012 one class did it for a single item.

The original note

InventSumRecalcItem InventSumRecalcItem;
;
InventSumRecalcItem = new InventSumRecalcItem("ITEM001", true);
InventSumRecalcItem.updatenow();

References

  • No Microsoft Learn page was found for InventSumRecalcItem.