InterCompanyTransferInventDim::doTransferReturn Method [AX 2012]
Used when the inventory dimensions is transferred without any user action for return orders.
Syntax
client server public static void doTransferReturn(
DataAreaId _fromDataAreaId,
InventTransId _fromInventTransId,
DataAreaId _toDataAreaId,
InventTransId _toInventTransId,
InterCompanyEndpointActionPolicyTransfer _actionPolicyTransfer,
StatusReceipt _statusReceipt,
[boolean _registerReceipt,
boolean _forceTransfer])
Run On
Called
Parameters
- _fromDataAreaId
Type: DataAreaId Extended Data Type
The company from which the _fromInventTransId originates.
- _fromInventTransId
Type: InventTransId Extended Data Type
The lot ID from which the inventory dimensions are transferred.
- _toDataAreaId
Type: DataAreaId Extended Data Type
The company from which the _toInventTransId originates.
- _toInventTransId
Type: InventTransId Extended Data Type
The lot ID to which the inventory dimensions are to be transferred.
- _actionPolicyTransfer
Type: InterCompanyEndpointActionPolicyTransfer Table
The intercompany action policy record containing information about which dimensions to transfer.
- _statusReceipt
Type: StatusReceipt Enumeration
The highest Receipt to search for on the lot ID to transfer to.
- _registerReceipt
Type: boolean
Whether to use a receipt registration when transferring as part of intercompany direct delivery posting; optional.
- _forceTransfer
Type: boolean
Whether to force transfer when transferring invent dimensions automatically; optional.