Sales Commission Rules

The commission formulas used by the Process button in Sales Commission. Each rule has a category (Product, Transaction, or Receivable) and a formula using variables the app provides.

When To Use This Form

Fields To Watch

Field What to watch
Description, Display Name Internal name and the name shown on the commission document.
Category Product: computed per product line sold (commission per item/brand/group). Transaction: per invoice (percentage of turnover, target bonus). Receivable: based on collection (commission follows payment).
Formula JavaScript code returning the commission value; uses the variables available for that category (turnover, profit, target, quantity, price, payment, etc.).
Available Variables, Available Functions Helper lists for composing the formula - pick one to insert its name.

How Rules Are Applied

Common Problems

Menu Location