# TransactionBusinessRulePacket & Transaction Cosmetics |

Every new Transaction automatically overrides and attaches the TransactionCosmetics and TransactionBusinessRulePacket Business Rule. You do not need to manually override and attach these Business Rules. These two rules will have been copied from the existing Global Rules. They are mandatory for the Transaction to process and cannot be deleted from the Transaction; however, the information may be edited.

TransactionCosmetics Business Rule controls the icon, button and reverse icon for the associated Transaction. You can also set amount values from the Transaction to displayed on the Activity Screen. A list of available graphics can be found in the Images and Icons section of the Technical Manual.

TransactionBusinessRulePacket Business Rule controls the order in which the rules attached to the Transaction are processed. All rules attached to a Transaction must be listed in the TransactionBusinessRulePacket in order to be processed. Exceptions to this are Rules that do not require processing for the Rule to be invoked. The Rules Palette automatically updates the TransactionBusinessRulePacket with the rules you attach. Please see the Attached Rules section for steps on attaching rules. You may need to re-arrange the order in which the rules are listed because it directly correlates with the processing order.

In the TransactionBusinessRulePacket business rule, attached rules must be listed with the exact name of the rule as the value of the <Rule> tag. The <Rule> tag is a sub-element of the <TransactionBusinessRulePacket> tag.

Example XML for TransactionCosmetics

Steps to Edit the Attached Business Rules

1. Edit the attached TransactionCosmetics XML file to change the graphics and display Amount Values. You can locate a list of available graphics in the Images and Icons section of the Technical Manual. In the TransactionCosmetics Business Rule graphic files must be listed with their exact file name as the value of the <Icon>, <Button> and <Reverse> sub-element tags. These tags must be in-between a start and end <TransactionCosmetics> tag.

Example XML for TransactionCosmetics

2. Use the General, Fields, Math, Debug, Assignment, Spawn, Events, Allocations and/or XML Source sections for information on how to configure.

3. Override and attach needed business rules to the Transaction. See the Attached Rules section for steps on attaching rules. Review the TransactionBusinessRulePacket Business Rule’s XML file to make sure the attached rules are listed in the proper processing order.