RAssetReport.mainAccountNum Method [AX 2012]
Retrieves the main account for the selected asset transaction type.
Syntax
protected MainAccountNum mainAccountNum([TransDate _transDate, RAssetTransType _transType])
Run On
Called
Parameters
- _transDate
Type: TransDate Extended Data Type
The transaction date for which to select the asset posting profile.
- _transType
Type: RAssetTransType Enumeration
The operation type of the asset.
Return Value
Type: MainAccountNum Extended Data Type
The main account number for the asset.