AutoAdjust item chargeback user exit
The AutoAdjust item chargeback user exit is used to either create new or modify existing items for a batch (ICL) as it is being adjusted. The user exit is called each time at least one adjustment is made for an incoming batch (ICL).
If the Transaction Server scheduler is configured to send both the non-conforming transaction (NCI) adjustment and item amount difference (IAD) adjustment actions at the same time, AutoAdjust performs both the NCI and IAD adjustment checks. It then calls the user exit once, passing it all of the items that were adjusted because they were either NCI or IAD adjustments. The user exit can modify the item that has been adjusted and return new items that are to be inserted into the batch (ICL).
When calling Business Rules has been enabled, the items that are modified or created by this user exit are passed to Business Rules for validation and decoration. If calling Business Rules has not been enabled, a simple validation is performed on the MICR fields in the new and updated items. If any of the items fail validation, the user exit is called again, which allows the MICR values to be changed by the user exit. This process repeats up to five times, until all of the items pass validation or until the user exit informs AutoAdjust to not call it again.
When new items are to be inserted into the database, the user exit should ensure that all of the necessary MICR fields and any other required fields are set. If item sequence numbers (ISNs) are not already allocated for the batch (ICL) that the items are being inserted into, the ISN fields are left blank. If item sequence numbers have been allocated for the batch (ICL) when the new items are inserted, AutoAdjust assigns a unique ISN for each new item using a sequence ID of 0. A device number of 0 is used in the ISN when the user exit does not set the device number.
To enable this user exit, the User Exit field on the AutoAdjust general
properties page must contain the fully qualified package and class name of the user exit.