How to Configure Commission Run in iDempiere

Manage and process sales commission runs in iDempiere. Review calculated commission amounts and generate AP invoices for commission payments from the Commission Run window.

Introduction

The Commission Run window in iDempiere records the result of a completed commission calculation for a specific period. It captures the total commission earned by a sales agent or partner based on predefined rules set up in the Commission definition.

In retail operations, this window is used by finance and sales teams to review monthly or periodic commission amounts before triggering payment. For example, the Chennai Store uses it to process monthly sales commissions for agents across product lines. Once reviewed, the Commission Run drives the creation of an Accounts Payable invoice through the Create Invoice process, connecting commission calculations directly to vendor payments and financial reporting.

Business Rules

  • A Commission Run must have a commission amount greater than zero before an AP invoice can be created.
  • Each Commission Run maps to one Commission definition and generates a single supplier invoice.
  • The Processed flag is set automatically after the Create Invoice process completes — preventing duplicate invoices.
  • Commission amounts are calculated in the base currency of the organization (INR for Chennai Store).
  • The Commission Amount tab shows line-level details, including Converted Amount, Actual Quantity, and Commission Amount.
  • The Commission Detail sub-tab links each line to specific sales transactions (Sales Order Line / Invoice Line).
  • A commission recipient (Business Partner) must exist before the invoice creation process can run.

Prerequisites

The following must be configured before using the Commission Run window:

  • Commission definition set up with applicable rules, recipients, and charge/product.
  • Business Partner (commission recipient / sales agent) created and active.
  • Organization configured — e.g., Chennai Store under POTS tenant.
  • Currency configured and matching the commission setup (INR).
  • Document Type for AP Invoices set up.
  • Charge or Product representing commission expense defined.
  • Commission calculation process executed to generate the Commission Run record.

Navigation

Menu → Quote-to-Invoice (Sales) → Sales and Marketing → Commission Run

After opening the window, users see a list of existing Commission Run records. Each record displays the Commission name, Document No, Start Date, Grand Total, and Processed status. Clicking a record opens the full header with the Create Invoice button and the Detail record section below.

Configuration Steps

Step 1: Open the Commission Run Record

Navigate to the Commission Run window and locate the relevant commission run for the period. Verify the Commission name, organization, and description match the expected calculation period before proceeding.

FieldSample ValueDescription
TenantPOTSClient/tenant the record belongs to.
OrganizationChennai StoreStore or business unit for the commission run.
CommissionMonthly Sales Commission – June 2026Links to the commission definition used for calculation.
Document No1000007Auto-generated unique identifier for this run.
Description06/01/2026 – 06/30/2026 – INRCalculation period and currency.
Start Date06/01/2026Beginning date of the commission period.
Grand Total20,372.00Total calculated commission amount in INR.
ProcessedUncheckedIndicates whether the invoice has been created.
Invoice(blank before processing)Populated with the AP invoice reference after creation.

Step 2: Review Commission Amount Details

Before creating an invoice, review the Commission Amount tab to verify line-level details. Confirm the Converted Amount, Actual Quantity, and Commission Amount are correct. This ensures the AP invoice will reflect accurate figures.

FieldSample ValueDescription
Commission Run1000007Reference to the parent commission run.
Commission LineMonthly Sales Commission – June 2026_10Identifies the specific commission rule line applied.
ActiveCheckedRecord is active and included in the total.
Converted Amount10,160.00Sales amount converted to base currency for commission calculation.
Actual Quantity26Number of units or transactions included in this line.
Commission Amount20,372.00Final commission amount payable for this line.

Step 3: Verify Commission Detail

Open the Commission Detail sub-tab to inspect individual transaction-level records. Verify Actual Amount, Converted Amount, Actual Quantity, and Currency. The Sales Order Line and Invoice Line fields show which transactions contributed to this commission.

FieldSample ValueDescription
Commission Amount1000007_Monthly Sales Commission – June 2026_10_10000Composite reference linking run, line, and detail.
Reference(blank)Optional reference field for additional tracking.
Sales Order Line(blank)Links to the originating sales order line, if applicable.
Invoice Line(blank)Links to the originating invoice line, if applicable.
ActiveCheckedDetail record is active.
Actual Amount10,160.00Gross sales amount for this transaction.
CurrencyINRCurrency of the transaction.
Converted Amount10,160.00Amount after currency conversion.
Actual Quantity26.0Quantity sold in this transaction.

Step 4: Create the AP Invoice

Once the commission amounts are verified, click the Create Invoice button on the Commission Run header. The system validates all required data commission total, recipient, and charge/product then generates an Accounts Payable invoice automatically.

Instructions:

  1. Open Commission Run record (e.g., Document No 1000007).
  2. Confirm Grand Total is greater than zero (e.g., ₹20,372.00).
  3. Click the Create Invoice button.
  4. System creates AP invoice and populates the Invoice field.
  5. Processed checkbox is automatically checked.

Common Issues and Resolutions

IssueCauseResolution
Create Invoice button does nothingCommission Total is zero or commission calculation was not runRe-run commission calculation and verify Grand Total > 0
Invoice field remains blank after clicking Create InvoiceProcess completed but AP invoice failed to save due to mandatory field missingCheck AP Invoice mandatory fields: Document Type, Organization, Currency
Currency mismatch error on Create InvoiceCommission currency differs from the invoice document currencyAlign currency in commission setup to match the organization’s base currency (INR)
Processed checkbox checked but no invoice visibleInvoice was created in a prior run; duplicate creation blockedSearch AP Invoices filtered by Business Partner to locate the existing invoice
Commission Detail shows zero Actual QuantityNo sales transactions matched the commission rule criteria for the periodVerify commission rule date range and eligible product/partner filters

Next Steps

After creating the AP invoice from the Commission Run, complete the following:

  • Review and complete the generated Supplier Invoice in the AP Invoice window.
  • Process payment against the AP invoice using Payment and Receipt or Payment Batch.
  • For next period, re-run the Commission calculation process to generate a new Commission Run.

Leave a Reply

Your email address will not be published. Required fields are marked *