Business Date

This option is only relevant to operations of a process class.

It allows you to specify that one field of the operation parameters be treated as the Business Date Field for the operation. This means that the value of this parameter to the operation becomes the Business Date for the duration of the transaction. The Business Date is the Date or DateTime which gets returned by the following methods:

The main purpose of this feature is to give greater flexibility when running batch programs for which processing dates are significant. Consider the example where a report generating program is run at the end of each day to count all payments issued that day. The payment records are obtained by reading all records whose issue date equals curam.util.transaction.TransactionInfo. getBusinessDate(). This program will process a different set of records depending on the day on which it is run.

Now consider what would happen if you needed to re-generate the report from 10 days ago.

Without theBusiness Date feature you would have to do the following:

However if your batch program parameters include aBusiness Date field you need only do the following: