Configure commission rules

Fashion & Management  •  Article  •  11/2/2026  • 

A Commission Rule page maps a set of criteria to a commission rate. When the worksheet calculates commission for a posted sales invoice line, it scans every active rule for the salesperson and chooses the rule whose criteria match the most fields on that line. Salesperson Code Field and Commission Code Field are mandatory; every other criteria field is optional.

The following procedure outlines how to set up commission rules:

  1. Select the Search icon Search icon, enter Commission Rules, and then choose the related link.

The Commission Rules page opens.

  1. On the action bar, select New.
  2. Enter the required information in the following fields:
FieldDescription
Salesperson CodeSpecifies the salesperson as the rule applies to. This field is mandatory.
Commission CodeSpecifies the commission rate that applies when this rule matches. This field is mandatory.
Commission2 CodeSelect the commission rate that applies to the secondary salesperson (salesperson level 2) when this rule matches — used when a sales document has a Salesperson 2 Code field value assigned. Leave blank if this rule does not need to support a secondary salesperson.
Division Code, Season Code, Customer Price Group Code, Customer Discount Group Code, Customer Type Code, Customer No., Country/Region Code, Order Type Code, Item Category Code, Style Code, Item No., Brand Code, Gender CodeSelect or enter a value to restrict this rule to that criteria. Only columns for criteria configured in Commission Criteria are shown. Leave a field blank to allow this rule to match any value for that criteria.
Attribute 1 – Attribute 20Select or enter a user-defined style attribute value to restrict this rule to that attribute. Only columns for attributes configured in Commission Criteria are shown, and the column header reflects the configured attribute caption.
From Discount %Enter the lower bound of a line discount percentage range this rule applies to. Use 0 together with a To Discount % field value of 0 for a rule that applies regardless of discount.
To Discount %Enter the upper bound of the line discount percentage range. Must be equal to or greater than the From Discount % field value.
Rule Start DateSpecifies the date from which the rule is effective.
Rule End DateSpecifies the date through which the rule is effective.
Edited ByDisplays the user account (User ID) of the person who last created or modified the commission rule.
Edited Date TimeDisplays the date and time when the commission rule was last created or modified. This timestamp is automatically captured by the system whenever a change is saved, providing an audit trail of when the rule was last updated.
Commission Rule IDA unique identifier automatically assigned to each commission rule. This ID is system-generated and cannot be edited, ensuring every rule can be reliably referenced and traced throughout the application.

Leave any optional criteria field blank to make it act as a wildcard for that attribute. A rule with a blank Item No. field, for example, matches a sales line for any item, provided with the other populated criteria to match.

Validation rules

The system validates a commission rule on save. If the entered values violate any of the rules below, the system displays an error and the record is not saved.

  • The Salesperson Code and Commission Code fields are mandatory.
  • When both are entered, the Rule Start Date field value must be on or before the Rule End Date field value.
  • When the From Discount % field value is non-zero, the To Discount % field value is mandatory and must be equal to or greater than the From Discount % field value.
  • A rule that duplicates an existing rule — the same criteria fields, an overlapping date range, and an overlapping discount range — is blocked with an error identifying the conflicting rule. Rules with non-overlapping dates or non-overlapping discount ranges are not considered duplicates. A rule with no discount range (From Discount % and To Discount % both 0) only conflicts with another no-discount-range rule for the same criteria and dates; it does not conflict with a rule that specifies a specific discount range.
  • A value cannot be entered in a criteria field that is no longer configured in Commission Criteria. If this occurs, select the Refresh action or reopen the page to update the visible columns.
  • A commission rule cannot be deleted while commission ledger entries already reference it.

Rule selection and evaluation

When more than one rule could apply to a single sales invoice line, the system uses the following logic to pick the winning rule:

1.Restrict the rules to those whose Salesperson Code matches the line, and whose date range covers the invoice date. A blank Rule Start Date or Rule End Date means no lower or upper bound.

2.Disqualify any rule that has a value entered in a criteria field where the line does not match — even if every other field matches.

3.Score each remaining rule against the invoice line for every criteria field configured in Commission Criteria. The rule that matches the highest-priority configured criteria field wins — a match on a Priority Level 1 field always outranks any number of matches on lower-priority fields.

4.When two rules tie on their highest-priority match, the rule that matches more fields overall wins (specificity tiebreaker).

5.If a From Discount % and To Discount % range is specified on a rule, the invoice line's discount percentage must fall within that range or the rule is disqualified. A rule with both values at 0 matches any discount percentage, and a rule with a discount range specified is treated as slightly more specific than an otherwise identical rule without one.

6.A rule that leaves a criteria field blank treats that field as a wildcard, matching any value. A rule with every criteria field blank acts as a catch-all and is selected only when no more specific rule matches.

7.When a sales document has a secondary salesperson (Salesperson 2 Code field value populated), the same matching process runs again for that salesperson, using the matched rule's Commission2 Code field value instead of the Commission Code field value.

8.If no rule qualifies for a salesperson (primary or secondary), the system falls back to the standard Commission % field on the Salesperson/Purchaser Card page. In this case no commission rule or commission code is recorded against the entry, but the commission rate and amount are still calculated.

The matching engine supports the 20 user-defined style attributes (Attribute 1 through Attribute 20) as criteria alongside the 13 standard fields, using the same priority and specificity rules described above. Only criteria configured in Commission Criteria participate in matching — a value left over in a rule field whose criteria has since been removed is ignored and neither matches nor disqualifies the rule.

Copy commission rules from one salesperson to others

When two salespeople have similar rule sets, you can copy rules in bulk.

The following procedure outlines how to copy commission rules:

1.Select the Search iconSearch icon, enter Commission Rules, and then choose the related link. The Commission Rules page opens.

2.On the action bar, select the Copy Rules action. The action is available only when at least one commission rule exists.

3.On the Copy Commission Rules request page, enter information in the following fields:

FieldDescription
From Salesperson CodeSelect or enter the salesperson to copy commission rules from. This field is mandatory.
To Salesperson CodeSelect or enter one or more target salespersons to copy the rules to. At least one target must be specified, and the source salesperson cannot be included as a target.
  1. Select the OK button

The copy process behaves as follows:

  • The system iterates every rule belonging to the source salesperson.
  • The system skips a rule if an identical rule already exists on the target.
  • After completion, the system displays a message with the number of rules copied and the list of target salespersons.