LedgerJournalTrans.getOffsetLedgerDimensionForProposal Method
Gets the offset ledger account for the default account for a proposal.
Syntax
public LedgerDimensionAccount getOffsetLedgerDimensionForProposal(
LedgerDimensionDefaultAccount _defaultLedgerDimension,
LedgerJournalAC _accountNumber,
LedgerJournalACType _accountType,
[AssetBookIdPurchSalesInvent _assetBookId])
Run On
Called
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; optional.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ledger account.
Remarks
Proposals are never intercompany. The primary and offset companies are the same, and these also match the company on the journal header. The company is assumed to be the current company.This method combines the default account together with the pertinent default dimensions to create a ledger account.