Adding new Transaction rules

About this task

To add new transaction rules that will be used by a cash drawer for new transactions, add them to the XML file for that branch.
The following is an example of the transaction rules defined in the branch001.xml file (see the Sample configuration XML file):
<!-- A deposit transaction definition, which contains some totaling rules.-->
<com.ibm.btt.bc.cm.rule.TransactionRule id="depositTxn"
		txnCode="DEPOSIT">
		<list Injection="totalRules">
			<ref refId="depositRule" />
			<ref refId="cashInRule" />
		</list>
</com.ibm.btt.bc.cm.rule.TransactionRule>
<!-- A totaling rule definition, which has the action type that would perform and the target total that would have an impact.-->
<com.ibm.btt.bc.cm.rule.TotalingRule id="cashInRule"
		action="INCREMENT" targetTotal="CASH_IN">
	</com.ibm.btt.bc.cm.rule.TotalingRule>

	<com.ibm.btt.bc.cm.rule.TotalingRule id="depositRule"
		action="INCREMENT" targetTotal="DEPOSIT">	</com.ibm.btt.bc.cm.rule.TotalingRule>