Share via


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.

Syntax

public void modifyWMSLocation(InventDim _inventDim, boolean _resetWMSLocationId)

Run On

Called

Parameters

  • _resetWMSLocationId
    Type: boolean
    A Boolean value that determines whether to reset the wMSLocationId field even if the LocationId field is unchanged.

Remarks

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.

See Also

Reference

PurchLineType_ReturnItem Class