SalesPurchLine.modifyWMSLocation Method
Modifies an InventDim record with WMS values.
Syntax
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.
Remarks
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.