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
- _assetId
Type: AssetId Extended Data Type
An AssetId value.
- _bookId
Type: AssetBookId Extended Data Type
An AssetBookId value.
- _assetGroup
Type: AssetGroupId Extended Data Type
An AssetGroupId value.
- _voucher
Type: Voucher Extended Data Type
The voucher that is posted in a sub ledger journal lines.
- _transferDate
Type: TransDate Extended Data Type
The transfer date of an asset.
- _transferComment
Type: TransferComment Extended Data Type