Share via


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

  • _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.

See Also

InterCompanyTransferInventDim Class

InterCompanyTransferInventDim::doTransfer Method