Process work request
The Transaction Server scheduler must be configured to notify Amount Keying when batches are available to process. When configuring the scheduler event, the user specifies the state, or states, a batch must be in for it to be processed by Amount Keying. When a batch reaches the specified states, Transaction Server sends a rekey out of balance message to the WebSphere® MQ queue on which Amount Keying is configured to listen.
The scheduler causes Amount Keying to be notified of each batch that is repaired and reviewed. Amount Keying checks to see if there is any out of balance work associated with the batch. If there is, the out of balance work is loaded into the database tables used by Amount Keying.
If there is no out of balance work associated with the batch, Amount Keying places the batch in the keyed state. If the batch does not contain any rejected transactions, the batch is also placed in the balanced state. If there are rejected transactions, the sample scheduler sends the batch to AutoAdjust for additional processing.
Sample scheduler XML
Configure a PresentmentStateChange event in the Transaction Server to send a RekeyOutOfBalance message to Amount Keying. For more information about configuring the Transaction Server scheduler, see Events and communication with external applications.
<EVENT>
<NAME>Amount Keying for out of balance work</NAME>
<TYPE>PresentmentStateChange</TYPE>
<TYPE>PresentmentColumnChange</TYPE>
<TYPE>PresentmentGroupColumnChange</TYPE>
<EXEC>
com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentStatesEventHandler
</EXEC>
<PARAMETER name="workType">Rekey</PARAMETER>
<PARAMETER name="msgType">RekeyOutOfBalance</PARAMETER>
<PARAMETER name="presStates#" include="DUPLICATEDETECT">
DUP_REVIEWED,REVIEWED,REPAIRED
</PARAMETER>
<PARAMETER name="presStates#" include="!DUPLICATEDETECT">
REVIEWED,REPAIRED
</PARAMETER>
<PARAMETER name="group.condition">ACCEPTED</PARAMETER>
<PARAMETER name="condition">ACCEPTED</PARAMETER>
<PARAMETER name="group.sourceId">2</PARAMETER>
<PARAMETER name="presLevel">INB</PARAMETER>
<PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
<PARAMETERREF>sendToAmountKeying</PARAMETERREF>
</EVENT>