SalesPurchLine.modifyWMSLocation Method [AX 2012]

Modifies an InventDim record with WMS values.

public void modifyWMSLocation(
    InventDim _inventDim, 
    InventDirection _defaultInventDirection, 
    InventDirection _positiveInventDirection, 
    boolean _resetWMSLocationId)

Run On

Called

Parameters

_inventDim
Type: InventDim Table
The InventDim record to modify.
_defaultInventDirection
Type: InventDirection Enumeration
Indicates whether it is per default an issue or a receipt transaction.
_positiveInventDirection
Type: InventDirection Enumeration
Indicates whether it is an issue or a receipt transaction for a positive quantity ordered amount.
_resetWMSLocationId
Type: boolean
A Boolean value that specifies whether the wMSLocationId field will be reset, even if the LocationId field is unchanged.

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

Community Additions

ADD
Show: