Share via


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

  • _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.

See Also

Reference

TaxSettlement_IN Class