SalesLineType_ProjectReturnItem.modifyWMSLocation Method [AX 2012]

Modifies an InventDim record that has WMS values with a default direction of receipt.

public void modifyWMSLocation(InventDim _inventDim, boolean _resetWMSLocationId)

Run On



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

When the warehouse on a sales order line is changed the location is updated with default WMS values for items where the attached dimension group has the location set to active.