RAssetLedgerAccounts::assetOffsetLedgerDimensionForGroup Method
Returns the offset dimension account for the current posting profile and asset group.
Syntax
server public static LedgerDimensionDefaultAccount assetOffsetLedgerDimensionForGroup(
RAssetGroupId _assetGroupId,
RAssetTransType _assetTransType,
RAssetStandardId _assetStandardId,
[RAssetPostingProfile _assetPostingProfile])
Run On
Server
Parameters
- _assetGroupId
Type: RAssetGroupId Extended Data Type
The asset group that is used for asset group depreciation.
- _assetTransType
Type: RAssetTransType Enumeration
The transaction type that is used to select the offset account from the posting profile.
- _assetStandardId
Type: RAssetStandardId Extended Data Type
The asset value model.
- _assetPostingProfile
Type: RAssetPostingProfile Extended Data Type
The posting profile of the asset value model.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
The offset ledger dimension account.
Exceptions
Exception | Condition |
---|---|
Error | The posting profile is not set up. |