Share via


AssetTransfer.insertAssetTrans Method [AX 2012]

Inserts a record in the AssetTrans table.

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 void insertAssetTrans(
            AssetId _assetId, 
            AssetBookId _bookId, 
            AssetGroupId _assetGroup, 
            Voucher _voucher, 
            TransDate _transferDate, 
           [TransferComment _transferComment])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected void insertAssetTrans(
            AssetId _assetId, 
            AssetBookId _bookId, 
            AssetGroupId _assetGroup, 
            Voucher _voucher, 
            TransDate _transferDate)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected void insertAssetTrans(
            AssetId _assetId, 
            AssetBookId _bookId, 
            AssetGroupId _assetGroup, 
            Voucher _voucher, 
            TransDate _transferDate)

  Microsoft Dynamics AX 2012 (FPK)
          protected void insertAssetTrans(
            AssetId _assetId, 
            AssetBookId _bookId, 
            AssetGroupId _assetGroup, 
            Voucher _voucher, 
            TransDate _transferDate)

  Microsoft Dynamics AX 2012 (SYS)
          protected void insertAssetTrans(
            AssetId _assetId, 
            AssetBookId _bookId, 
            AssetGroupId _assetGroup, 
            Voucher _voucher, 
            TransDate _transferDate)

Run On

Server

Parameters

See Also

Reference

AssetTransfer Class