project QadFinancials > class PGTM > method RecalculateTaxAvataxCommit
Description
Recalculates the tax using the existing Tax Parameters and setting the commit flag to true
Parameters
Internal usage
QadFinancials
program code (program1/pgtm.p)
assign vhIn = dataset tTaxParametersExtended:handle
vhOut = ?
vhInOut = dataset tTaxDetailDataExt:handle.
Create Dataset vhOut in widget-pool "non-persistent".
vhOut:name = "PGTM".
<M-87 run CallService
(input '' (icProgramName),
input 'CalculateTax':U (icMethodName),
input vhIn by-reference (izInput),
input-output vhInOut by-reference (bzInputOutput),
input-output vhOut by-reference (bzOutput),
input ? (icAsyncHandler),
output viFcReturnSuper (oiReturnStatus)) in PGTM>
if viFcReturnSuper <> 0 then
assign oiReturnStatus = viFcReturnSuper.
if oiReturnStatus = -98 then
assign oiReturnStatus = 0.
delete object vhOut.