RDeferralsLedgerAccounts::deferralsLedgerDim Method
Retrieves a ledger dimension account for the current posting profile.
Syntax
server public static LedgerDimensionDefaultAccount deferralsLedgerDim(
RDeferralsId _deferralsId,
RDeferralsTransType _deferralsTransType,
RDeferralsBookId _deferralsBookId,
[RDeferralsPostingProfile _deferralsPostingProfile])
Run On
Server
Parameters
- _deferralsId
Type: RDeferralsId Extended Data Type
The deferrals ID that is used to select the ledger account from the ledger setup.
- _deferralsTransType
Type: RDeferralsTransType Enumeration
The transaction type that is used to select the ledger account from the posting profile.
- _deferralsBookId
Type: RDeferralsBookId Extended Data Type
The deferrals value model.
- _deferralsPostingProfile
Type: RDeferralsPostingProfile Extended Data Type
The posting profile of the deferrals value model.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger dimension account.
Exceptions
Exception | Condition |
---|---|
Error | The posting profile isn't set up. |