AssetTransfer Class [AX 2012]
The AssetTransfer class is used to transfer fixed assets from one dimension set to another, to store the asset transfer history, to update the default dimensions of the value model, and to make journal entries.
Syntax
class AssetTransfer
Run On
Server
Methods
Method | Description | |
---|---|---|
addLedgerVoucherTransObjects | ||
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
createDepreciationTransactions | Creates depreciation transactions for the asset transfer according to business needs. | |
createLedgerDimension | Creates a ledger dimension from the old default dimension and main account. | |
createMiscTransactions | Creates miscellaneous transfer transactions according to the business needs. | |
createTransactions | Creates transaction lines and posts to general ledger. | |
createTransferHistory | Creates a new record in the AssetTmpAssetTransferHistory table when an asset is transferred from one dimension to another. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
filterAssetBooks | Filters out unwanted value models based on the business need. | |
getAssetTransferHistory | Gets all the AssetTransferHistory records for the fixed assets. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
insertAssetTrans | Inserts a record in the AssetTrans table. | |
insertTransferHistory | Inserts a record in the AssetTransferHistory table. | |
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
setUpTransferData | Prepares the asset transfer data by executing the AOT query for transfer from dimension and transfer to dimension. | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
transferAsset | Transfers all the assets that exist in the RecordSortedList object to the new dimension value and inserts history in the AssetTransferHistory table and updates the AssetBook table with the new dimension value. | |
updateDefaultDimension | Updates the DefaultDimension field of the specified value model. | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::construct | Initializes a new instance of the AssetTransfer class. | |
::getFromAndToDimensions | Gets all the selected AssetTransferHistory records for the fixed assets. |
Top
Inheritance Hierarchy
Object Class
AssetTransfer Class
AssetTransferBalancing Class