PurchLineType_ReturnItem.modifyWMSLocation Method [AX 2012]

Modifies an InventDim record that has WMS values with a default direction of issue because this is a return item.

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.

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

Community Additions

ADD
Show: