CALVACBPR: Choose tax rule

Use this entry point to choose a tax rule according to a customized algorithm.

Context and operating mode

Available variables

REGIME - The tax rule

Transaction

There is no database transaction in progress.

Log file

Depending on the context, a log file may or may not be open.

Detailed description

The entry point is called right at the beginning of the INIT_REGIME routine. Setting the REGIME variable to a desired tax rule stops the standard process and the desired tax rule is used instead.