SalesLineType.modifyWMSLocation Method [AX 2012]
Modifies an InventDim record by using Warehouse Management System (WMS) values.
Syntax
public void modifyWMSLocation(InventDim _inventDim, boolean _resetWMSLocationId)
Run On
Called
Parameters
- _inventDim
Type: InventDim Table
The InventDim record to modify.
- _resetWMSLocationId
Type: boolean
A Boolean value that determines whether to reset the wMSLocationId field, even if the LocationId field is unchanged.
Remarks
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.