AssetTransfer.insertTransferHistory Method [AX 2012]
Inserts a record in the AssetTransferHistory table.
Syntax
protected void insertTransferHistory(
AssetId _assetId,
AssetBookId _bookId,
DimensionDefault _toDimension,
TransferDate _transferDate,
TransferComment _transferComment,
Voucher _voucher)
Run On
Server
Parameters
- _assetId
Type: AssetId Extended Data Type
The AssetId value of the asset that is transferred.
- _bookId
Type: AssetBookId Extended Data Type
The BookId value of the value model that is transferred.
- _toDimension
Type: DimensionDefault Extended Data Type
The new dimension to which the asset is transferred.
- _transferDate
Type: TransferDate Extended Data Type
The date in which the asset is transferred.
- _transferComment
Type: TransferComment Extended Data Type
The transfer comments.
- _voucher
Type: Voucher Extended Data Type
The voucher that is used in the transfer.