Salesperson assignment rules and sales territories
Two things decide who the salesperson of a document is before any commission is calculated: the salesperson of the shipping address, and the salesperson rules. A rule can also fill in the sales team and the territory of a line, so a region can earn without anyone naming a person.
Before you start: Ship-to Salesperson Enabled must be set in the setup if the shipping address should decide, and the salespeople, teams and territories must exist.
Create a salesperson rule
- Choose the search icon, enter Salesperson Rules, and open the page.
- Choose New and fill Salesperson Code and, when the whole team should earn, Sales Team Code.
- Set Filter Type. All assigns the salesperson to the document header; Item, Item Category Code, Commission Group, Resource, GL Account or Item Charge works line by line.
- Fill Filter No. with the record the rule names — a rule without a filter is refused.
- Set Customer Type and Customer No., and Ship-to Code and Sales Territory Code when the rule covers one address or one region.
- Set Weight when several rules can hit the same line.
- Tick Additionals Only when the rule should only add additional salespeople and never replace the main one.
- Apply the rule to documents that are already open with the update action of the page.
Example: Meridian writes a rule for LP with the filter type Item Category Code and the filter SERVICES, so every service line of a document earns for LP whatever the salesperson of the header is.
What happens: the rule is applied to new documents as they are created, and to open documents when the update action runs. Posted documents keep the salesperson they were posted with.
Give a ship-to address its own salesperson
- Open Commissions Setup and turn on Ship-to Salesperson Enabled.
- Open the customer's Ship-to Addresses and select the address.
- Fill Salesperson Code, Sales Team Code and Sales Territory Code for that address.
- Open the list Salespeople by Ship-to Address to check every address of the customer in one place.
- Post a sales order for that address and read the salesperson on the header.
Example: Adatum Corporation delivers to a plant in the north, whose address carries JR and the territory NORTH. An order delivered to the plant earns for JR, even when the bill-to address belongs to another buyer.
What happens: the sell-to customer's salesperson wins over the bill-to customer's. An address with its own salesperson wins over both, and a header rule only fills in when nobody else was found.
If something goes wrong
- The rule is refused. The message Add at least one filter to the salesperson rule. means a rule needs the record it filters on. Fill Filter No., or choose All when the rule is meant for the header.
- A rule assigns nobody. The message A rule that only adds additional salespeople cannot assign a salesperson. means Additionals Only is ticked. Untick it, or write a second rule for the main salesperson.
- The address rule does not fire. Ship-to Salesperson Enabled is off in the setup, or the address has no salesperson. Turn the switch on and fill the address.
