CALTBD: after the calculation of the amount

Entry point CALTBD is used to take control after the calculation of an amount and during the calculation of a financial data extraction.

Context and operating mode

Call context

Entry point CALTBD is called after each calculation of an amount of the financial data extraction.

There is no transaction in progress.

There is no open log file.

Available variables and masks

Local variable DIFF has just been initialized with the amount.

Local variables MTDEB and MTCDT contain respectively the debit amount and the credit amount. The amount value that has just been calculated can be modified by assigning a new value to the DIFF variable.

Classes [F:TXM] and [F:BAL] are available.
Other tables are on line but their content is not relevant.
Other tables might be on line depending on the call context.