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.
This method is the main entry point to execute transaction specific logic and to post to TaxTrans and to post tax amounts to the Ledger.
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
public TaxAmount updateAndPost(LedgerPostingController _ledgerPostingController, [SelectableDataArea _companyToPost])
Microsoft Dynamics AX 2012 R2 (SYS)
public TaxAmount updateAndPost(LedgerPostingController _ledgerPostingController)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public TaxAmount updateAndPost(LedgerPostingController _ledgerPostingController)
Microsoft Dynamics AX 2012 (FPK)
public TaxAmount updateAndPost(LedgerPostingController _ledgerPostingController)
Microsoft Dynamics AX 2012 (SYS)
public TaxAmount updateAndPost(LedgerPostingController _ledgerPostingController)
Run On
Server
Parameters
- _ledgerPostingController
Type: LedgerPostingController Class
The ledger posting controller to use for ledger posting.
- _companyToPost
Type: SelectableDataArea Extended Data Type
The company to post; optional.
Return Value
Type: TaxAmount Extended Data Type
The total tax amount.