Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the offset ledger account for the default account.
Syntax
server private static LedgerDimensionAccount getOffsetLedgerDimForLedgerTypeServer(
LedgerDimensionDefaultAccount _defaultLedgerDimension,
CompanyId _offsetCompany,
LedgerJournalTrans _ledgerJournalTrans)
Run On
Server
Parameters
- _defaultLedgerDimension
Type: LedgerDimensionDefaultAccount Extended Data Type
The default account.
- _offsetCompany
Type: CompanyId Extended Data Type
The company ID of the default account.
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The LedgerJournalTrans record.
Return Value
Type: LedgerDimensionAccount Extended Data Type
The ledger account.
Remarks
This method mirrors the getOffsetLedgerDimForLedgerTypeServer method but is guaranteed to run on the server.