WMSOrderTransType_Output.switchReservationWithExisting Method [AX 2012]
Switches reservations between two specified WMSOrderTrans records.
Syntax
protected void switchReservationWithExisting(
InventDim _inventDimNew,
InventDim _inventDimOld,
InventMovement _inventMovement,
WMSOrderTrans _existingReservation)
Run On
Called
Parameters
- _inventDimNew
Type: InventDim Table
The new inventory dimensions that are assigned to the current transaction.
- _inventDimOld
Type: InventDim Table
The inventory dimensions that were originally assigned to the current transaction.
- _inventMovement
Type: InventMovement Class
The inventory movement that is related to the current transaction.
- _existingReservation
Type: WMSOrderTrans Table
The WMSOrderTrans record that represents the other transaction in the switch.