InterCompanyTransferInventDim.transfer Method [AX 2012]
Transfers inventory dimensions from one lot ID to another.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
protected boolean transfer(
DataAreaId _fromDataAreaId,
InventTransId _fromInventTransId,
DataAreaId _toDataAreaId,
InventTransId _toInventTransId,
InterCompanyEndpointActionPolicyTransfer _actionPolicyTransfer,
StatusIssue _statusIssue,
[Num _documentNum,
boolean _registerReceipt,
boolean _forceTransfer,
boolean _overDelivery,
StatusReceipt _statusReceipt])
Microsoft Dynamics AX 2012 R2 (SYS)
protected boolean transfer(
DataAreaId _fromDataAreaId,
InventTransId _fromInventTransId,
DataAreaId _toDataAreaId,
InventTransId _toInventTransId,
InterCompanyEndpointActionPolicyTransfer _actionPolicyTransfer,
StatusIssue _statusIssue,
[Num _documentNum,
boolean _registerReceipt,
boolean _forceTransfer,
boolean _overDelivery,
StatusReceipt _statusReceipt])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
protected boolean transfer(
DataAreaId _fromDataAreaId,
InventTransId _fromInventTransId,
DataAreaId _toDataAreaId,
InventTransId _toInventTransId,
InterCompanyEndpointActionPolicyTransfer _actionPolicyTransfer,
StatusIssue _statusIssue,
[Num _documentNum,
boolean _registerReceipt,
boolean _forceTransfer,
boolean _overDelivery])
Microsoft Dynamics AX 2012 (FPK)
protected boolean transfer(
DataAreaId _fromDataAreaId,
InventTransId _fromInventTransId,
DataAreaId _toDataAreaId,
InventTransId _toInventTransId,
InterCompanyEndpointActionPolicyTransfer _actionPolicyTransfer,
StatusIssue _statusIssue,
[Num _documentNum,
boolean _registerReceipt,
boolean _forceTransfer,
boolean _overDelivery])
Microsoft Dynamics AX 2012 (SYS)
protected boolean transfer(
DataAreaId _fromDataAreaId,
InventTransId _fromInventTransId,
DataAreaId _toDataAreaId,
InventTransId _toInventTransId,
InterCompanyEndpointActionPolicyTransfer _actionPolicyTransfer,
StatusIssue _statusIssue,
[Num _documentNum,
boolean _registerReceipt,
boolean _forceTransfer,
boolean _overDelivery])
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.
- _statusIssue
Type: StatusIssue Enumeration
The highest issue status to search for on the lot ID to transfer to.
- _documentNum
Type: Num Extended Data Type
The document number used when transferring a specific document (packing slip number or invoice number); optional.
- _registerReceipt
Type: boolean
The receipt registration used when transferring as part of intercompany direct delivery posting; optional.
- _forceTransfer
Type: boolean
The forced transfer used when transferring invent dimensions automatically; optional.
- _overDelivery
Type: boolean
A Boolean value determining whether over delivery is allowed when fetching the InventTrans records; optional.
- _statusReceipt
Type: StatusReceipt Enumeration
The lowest receipt status to search for on the lot ID to transfer to; optional.
Return Value
Type: boolean
true if inventory dimensions actually were transferred; otherwise, false.