RAssetLedgerAccounts::assetOffsetLedgerDimension Method
Returns the offset ledger dimension account for the current posting profile.
Syntax
server public static LedgerDimensionDefaultAccount assetOffsetLedgerDimension(
RAssetId _assetId,
RAssetTransType _assetTransType,
RAssetStandardId _assetStandardId,
[RAssetPostingProfile _assetPostingProfile])
Run On
Server
Parameters
- _assetId
Type: RAssetId Extended Data Type
The asset ID that is used to select the ledger account from the ledger setup.
- _assetTransType
Type: RAssetTransType Enumeration
The transaction type that is used to select the ledger 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. |