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