Commissions on sales documents
Every sales document carries the commission data of the sale: who sold, which team and territory, and whether the document takes part in the calculation at all. Quotes, orders, invoices, credit memos and return orders behave the same way.
Before you start: the salesperson, the team and the rates must exist.
Turn the commissions of a sales order on or off
- Open the sales order and the Commissions group on the header.
- Check Salesperson Code, Sales Team Code and Sales Territory Code.
- Fill Manual Commission % or Manual Commiss. Amount when the sale earns a rate of its own.
- Tick Salespeople Locked when the salespeople of the document must not be changed any more.
- On the lines, tick Exclude from Commission for a line that earns nothing, and Exclude from Sales Stat for a line that should not count in the statistics.
- Tick Ignore Hdr. Salespeople on a line when the line's own salesperson should replace the one of the header.

Example: the order of 48,750.00 carries JR on the header. The freight line is ticked Exclude from Commission, so the commission of 3,656.25 is calculated on the goods alone.
What happens: the flags are read when the document is posted. A locked document keeps the salespeople it has.
See whether a posted invoice made commission
- Open the posted sales invoice.
- Read Sales Stats Created on the header — it says whether the statistics of the document were written.
- Read Has Commission on the lines — it says whether the line produced commission at all.
- Compare the posted lines with the commission entries of the salesperson.
Example: the posted invoice of 48,750.00 shows Sales Stats Created ticked and Has Commission on the line of item 1000, so the entry of 3,656.25 exists for JR.
What happens: a posted document is never recalculated by itself. Correcting it means updating the commissions of posted invoices, which writes a new entry rather than changing the old one.
If something goes wrong
- The salespeople of a document cannot be changed. The message The salespeople of this document are locked. means Salespeople Locked is ticked. Untick it before you change a salesperson.
- A line earns nothing. Exclude from Commission is ticked, or the line's item is excluded by the filter of the rate. Read the Rate Filter Lines FB fact box of the rate.
- The commission is calculated on the wrong amount. The rate uses Profit Margin as its base while the company expects Sales Amount. Check Base Amount Calc. Type on the rate line.
