LedgerJournalTrans::getOffsetLedgerDimForProposalServer Method
Gets the offset ledger account for the default account for a proposal.
Syntax
server private static LedgerDimensionAccount getOffsetLedgerDimForProposalServer(
LedgerDimensionDefaultAccount _defaultLedgerDimension,
LedgerJournalAC _accountNumber,
LedgerJournalACType _accountType,
AssetBookIdPurchSalesInvent _assetBookId,
LedgerJournalTable _ledgerJournalTable)
Run On
Server
Parameters
- _defaultLedgerDimension
Type: LedgerDimensionDefaultAccount Extended Data Type
The default account.
- _accountNumber
Type: LedgerJournalAC Extended Data Type
The account number of the entity.
- _accountType
Type: LedgerJournalACType Enumeration
The account type of the entity.
- _assetBookId
Type: AssetBookIdPurchSalesInvent Extended Data Type
The asset book ID.
- _ledgerJournalTable
Type: LedgerJournalTable Table
The header for the transaction.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ledger account.
Remarks
This method mirrors the getOffsetLedgerDimensionForProposal method but is guaranteed to run on the server.