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.
Posts to the ledger using either the subledger or the legacy method of posting.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
private void postToLedger(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
CurrencyExchangeHelper _exchangeRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[SubledgerJournalAccountEntry _subledgerJournalAccountEntry,
RefTableId _sourceTableID,
RefRecId _sourceRecID])
Microsoft Dynamics AX 2012 R2 (SYS)
private void postToLedger(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
CurrencyExchangeHelper _exchangeRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[SubledgerJournalAccountEntry _subledgerJournalAccountEntry,
RefTableId _sourceTableID,
RefRecId _sourceRecID])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
private void postToLedger(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
CurrencyExchangeHelper _exchangeRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[SubledgerJournalAccountEntry _subledgerJournalAccountEntry])
Microsoft Dynamics AX 2012 (FPK)
private void postToLedger(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
CurrencyExchangeHelper _exchangeRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[SubledgerJournalAccountEntry _subledgerJournalAccountEntry])
Microsoft Dynamics AX 2012 (SYS)
private void postToLedger(
LedgerPostingController _ledgerPostingController,
TaxTrans _taxTrans,
CurrencyExchangeHelper _exchangeRateHelper,
LedgerDimensionAccount _ledgerDimension,
LedgerDimensionAccount _operationLedgerDimension,
LedgerDimensionAccount _taxOffsetUseTaxLedgerDimension,
[SubledgerJournalAccountEntry _subledgerJournalAccountEntry])
Run On
Server
Parameters
- _ledgerPostingController
Type: LedgerPostingController Class
The ledger posting controller to use for ledger posting.
- _taxTrans
Type: TaxTrans Table
The transaction line being posted.
- _exchangeRateHelper
Type: CurrencyExchangeHelper Class
The CurrencyExchHelper instance for the TaxTrans record being posted.
- _ledgerDimension
Type: LedgerDimensionAccount Extended Data Type
The LedgerDimensionAccount data type that represents the tax amount.
- _operationLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
The LedgerDimensionAccount data type that represents the transaction line amount.
- _taxOffsetUseTaxLedgerDimension
Type: LedgerDimensionAccount Extended Data Type
The LedgerDimensionAccount data type that represents the use tax payable amount.
- _subledgerJournalAccountEntry
Type: SubledgerJournalAccountEntry Table
The SubLedgerJournalAccountEntry record being posted; optional.
- _sourceTableID
Type: RefTableId Extended Data Type
- _sourceRecID
Type: RefRecId Extended Data Type