Share via


InventCostOnhandCache.clearCache Method [AX 2012]

Clears the cache for the item if the item is setup to include the physical value in the cost.

Syntax

public void clearCache(InventMovement _movement)

Run On

Called

Parameters

  • _movement
    Type: InventMovement Class
    The InventMovement that is processed by InventUpd_Physical or InventUpd_Financial

Remarks

If the item setup to include the physical value in the cost, then the physical value for the movement is subtracted from the cost and the cache cannot reused for another movement with the same item.

See Also

Reference

InventCostOnhandCache Class