Share via


TaxWithholdCalculation_IN.calculateAmount Method [AX 2012]

Gets the formula for the withholdtax calculation as string with amounts and delimiters replaced.

Syntax

public str calculateAmount(
    str _formula, 
    real _amount, 
    str _chargeName, 
   [str _openingDelimiter, 
    str _closingDelimiter])

Run On

Server

Parameters

  • _formula
    Type: str
    String parameter for the formula for withhold tax calculation.
  • _amount
    Type: real
    TaxWithhold Amount for given taxWithhold Code.
  • _chargeName
    Type: str
    Specific taxWithhold Code.
  • _openingDelimiter
    Type: str
    String parameter for opening delimiter in the formula.
  • _closingDelimiter
    Type: str
    String parameter for closing delimiter in the formula.

Return Value

Type: str
the formula for the withholdtax calculation as string with amounts and delimiters replaced.

See Also

Reference

TaxWithholdCalculation_IN Class