Maintaining Transaction Account Rules
Transaction account rules affect how trades and assets are handled during systematic resolution. These rules can: use complex criteria to flag items as No Sales, Pass-Through, or Exclude; apply transaction account labels
to items; change items' transaction code and suffix; and change the firm
/office
/rep
aliases assigned to items. See Transaction Account Rules for more about these rules and their role
in trade and asset handling for SalesConnect.
- Tips for Building a Transaction Account Rule Set
- Adding a Transaction Account Rule
- Changing Transaction Account Rules
- Deleting a Transaction Account Rule
Tips for Building a Transaction Account Rule Set
As you define transaction account rules, keep in mind these tips about how these rules are evaluated at processing time:
- For rules with Rule Type set to Standard, all criteria specified in the Definition section are joined with the logical operator AND; that is, the only records selected will be those that meet ALL of the specified criteria.
-
All transaction account rules are either Inclusion or Exclusion rules (as set in Inclusion or Exclusion). If possible, define broad Inclusion rules that are sequenced to run first; Exclusion rules are designed to allow you to remove subsets of records selected by an Inclusion rule, so that they are not acted upon as the Inclusion rule indicates. For instance, you might define an Inclusion rule that selects all incoming trades with the firm/office trading ID
set "15/033" and with trade class "Sale" to change the trade class to "Sale Cancel". If however, you also wanted to ensure that incoming trades with the firm/office trading ID set "15/033" and with trade class "Sale" AND with rep trading IDs between "042" and "182" are not changed to "Sale Cancel", you could use an Exclusionrule to achieve this. An Exclusion rule must:
- Select records previously selected for a specific action or set of actions by an Inclusion rule
- Contain the same action as the Inclusion rule in its definition—in effect you are indicating that this subset should be excluded from this specific action that would otherwise be performed.
- Rules are evaluated at processing time in descending order by Sequence Number order. That means that any Exclusion rule should be set to a lower Sequence Number than the Inclusion rule that it qualifies.
Adding a Transaction Account Rule
- Using the Data Operations persona
, select Rule Definitions from the Resolution menu. Or, select in the universal menu, and then select Rule Definitions under Feeds.
-
Check to see if an appropriate rule already exists. You can use the displayed Transaction Account Rule Definition Search page to filter the listed entries as needed, using either a new or saved search.
- When ready to add a rule, select Add Transaction Account Rule Definition.
-
On the displayed Add Transaction Account Rule Definition page, complete details for this rule.
- In the Description field, type brief text describing the purpose of the rule.
- In the Inclusion or Exclusion field in the Definition section, select Inclusion or Exclusion. Inclusion rules generally act on all records meeting the criteria you will define. If you need to exclude some records from an action defined in an Inclusion rule that runs first, define an Exclusion rule that uses an Action that exactly matches the one for that Inclusion rule; an Exclusion rule cancels the effect of an earlier Inclusion rule on a subset of records.
- Select Transaction, Account, or both in the Definition section, to set whether the rule applies to transactions, accounts, or both.
-
In the Action section, select the action to apply to records affected by the rule:
- In the Action Type field, select the type of action you want. If you choose Label, you can apply a transaction account label to selected records, but you must first have defined the label you want to use. See Define a label in the Transaction Account Label list (part of Maintaining Resolution Lists) for instructions.
- Complete the additional fields that are displayed once you have picked an action type.
-
Create a standard or complex rule: Standard rules use simple criteria from the Definition Types list, while Complex rules use criteria defined with a query
tool. Some users may only create standard rules.
- When you have finished creating the rule, select Save. Each time that the entire ruleset changes (new rules are added, existing ones are changed or deleted), the entire ruleset must be compiled. You'll be alerted what that process completes.
History is maintained for changes to transaction account rule definitions; see Reviewing Maintenance History for details for accessing it.
Changing Transaction Account Rules
- Using the Data Operations persona, select Rule Definitions from the Resolution menu. Or, select in the universal menu, and then select Rule Definitions under Feeds.
-
Search for the rule you want to change, using the displayed Transaction Account Rule Definition Search page and either a new or saved search.
- In the search results table, you can change the order of processing for any listed rule: Select to move a rule up one value in the sequence or to move it one value down. Or you can select to display a dialog you can use to assign a new sequence number for that rule.
-
To change other details for a listed rule:
- Select the link for the rule you want to change. The Edit Transaction Account Rule Definition page for it is shown.
-
If necessary, change which records will be affected by the rule's application.
- For a standard rule, you can change the included Definition Types and the values set for them as needed. If you want to remove existing types, we recommend first removing any value set for the type, and then de-selecting the box for it. If you select additional types, be sure to set values appropriately.
-
For a complex rule, you can select a displayed Edit Query button to begin changing the selection query for the rule.
-
On the displayed popup, change criteria as needed. You can add criteria based on object/property combinations or on object subqueries.
- Select Add Criteria in the Filter Criteria Editor. A new item containing a set of controls appears in the Criteria Editor.
- In the first field, select a listed business object/property or a subquery item.
- Complete the other Filter Criteria Editor fields in the item to define this criterion.
- Repeat the steps above until you have added all needed criteria to your query.
- When you have finished with the query, select OK on the popup.
-
- To change the action for this rule, use fields in the Actions section.
-
Change values in other fields as needed.
Tips
- Description is brief text describing the purpose of the rule
- Remember that Inclusion rules generally act on all records meeting the criteria set for the rule, while an Exclusion rule includes an Action that exactly matches the one for an Inclusion rule run earlier than it, and cancels the effect of that earlier Inclusion rule on a subset of records.
- Select Transaction, Account, or both in the Definition section, to set whether the rule applies to transactions, accounts, or both.
- When you have finished changing the rule, select Save. Each time that the entire ruleset changes (new rules are added, existing ones are changed or deleted), the entire ruleset must be compiled. You'll be alerted what that process completes.
History is maintained for changes to transaction account rule definitions; see Reviewing Maintenance History for details for accessing it.
Deleting a Transaction Account Rule
- Using the Data Operations persona, select Rule Definitions from the Resolution menu. Or, select in the universal menu, and then select Rule Definitions under Feeds.
-
Search for the rule or rules you want to delete, using the displayed Transaction Account Rule Definition Search page and either a new or saved search.
- In the search results table, use the checkboxes to select the rule or rules you want to delete, and then select Delete. You may be asked to confirm this. Each time that the entire ruleset changes (new rules are added, existing ones are changed or deleted), the entire ruleset must be compiled. You'll be alerted what that process completes.
History is maintained for changes to transaction account rule definitions; see Reviewing Maintenance History for details for accessing it.