TaxSettlement_IN.calcAndPost Method [AX 2012]
Calculates and posts the service tax vouchers. Also creates the related vouchers during the FreeTextInvoice correction and attaches to the payment line which was originally done for to the FTI which was later corrected and linked to the corrected invoice.
Original payment is delinked from the original FTI.
Syntax
public TaxAmount calcAndPost(
LedgerPostingController _ledgerPostingController,
DimensionDefault _dimensionDefault,
[CustTrans _parentCustTrans])
Run On
Server
Parameters
- _ledgerPostingController
Type: LedgerPostingController Class
The ledger posting controller to use for ledger posting.
- _dimensionDefault
Type: DimensionDefault Extended Data Type
The default dimensions.
- _parentCustTrans
Type: CustTrans Table
The parent payment custTrans record used by corrected free text invoice for Corrected FTI settlement.
Return Value
Type: TaxAmount Extended Data Type
calculated tax value.