AssetDocumentLedgerAccounts_JP::findAssetLedgerDimension Method
Retrieves the ledger dimension that is used to post a transaction that has a fixed asset offset.
Syntax
client server public static LedgerDimensionDefaultAccount findAssetLedgerDimension(
AssetId _assetId,
AssetBookId _assetBookId,
AssetDocumentTransType_JP _assetTransType,
[boolean _returnledgerDimension,
AssetPostingProfile _assetPostingProfile])
Run On
Called
Parameters
- _assetId
Type: AssetId Extended Data Type
The fixed asset.
- _assetBookId
Type: AssetBookId Extended Data Type
The asset book of the fixed asset.
- _assetTransType
Type: AssetDocumentTransType_JP Enumeration
The transaction type of the fixed asset document.
- _returnledgerDimension
Type: boolean
A Boolean value that indicates whether to post the transaction to the LedgerDimension table or the OffsetLedgerDimension table; optional.
- _assetPostingProfile
Type: AssetPostingProfile Extended Data Type
The posting profile to use; optional.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
The LedgerDimension or OffsetLedgerDimension table to which to post the transaction.