SalesLineType.modifyWMSLocation Method [AX 2012]

Modifies an InventDim record by using Warehouse Management System (WMS) values.

public void modifyWMSLocation(InventDim _inventDim, boolean _resetWMSLocationId)

Run On



Type: InventDim Table
The InventDim record to modify.
Type: boolean
A Boolean value that determines whether to reset the wMSLocationId field, even if the LocationId field is unchanged.

When the warehouse on a sales order line is changed, the location is updated with the default WMS values for items that have an attached dimension group by using the location that is set to active.