# Generate Agent / Salesman / Item wise Commission Report

**YouTube:** [How to Generate Agent / Salesman / Item wise Commission Report?](https://www.youtube.com/watch?v=bFDwtzOUw8w)

## How to Generate Agent / Salesman / Item wise Commission Report?

In this tutorial, we will learn how to **configure the Agent + Product-Wise Commission Report** in **Logic ERP**, which helps analyze commission details for each agent and product.

***

### **Create a New Report Configuration**

* From the **Main Menu**, go to the **Reports/Queries** section.
* Open **Agent Wise Reports**.
* Select **Agent + Product Wise Commission Report**.
* Click on **Configuration** to create a new report setup.
* Assign a **suitable configuration name** for easy identification.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FvE73tGtYccMsmqXzZ6Z3%2FReport%20Configuration.png?alt=media&#x26;token=8407125f-9694-4f1e-8d28-f53064f7c618" alt=""><figcaption></figcaption></figure>

***

### **Define Print Columns**

* Click on **Print Columns** to select the columns you want to display in the report.
* For this report, include the following key fields:
  * Agent Name
  * Item Name
  * Sale Quantity
  * Sale Value
  * Commission Percent
  * Commission Value

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FmxkIgk0Bi7DgBrfByZfZ%2FSet%20Column%20Attribute.png?alt=media&#x26;token=90c50a88-3275-4515-b41d-b7fb6fe70889" alt=""><figcaption></figcaption></figure>

* You can also use the **Arrow Keys** to rearrange the column order as required.
* Once done, **Save** the configuration.

***

### **Configure Totals**

* Under the **Total** section:
  * Enable the options for **Agent Totals** and **Grand Totals**, if needed.
  * This helps display subtotal and overall commission summaries in the report.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FhKXo8QUFcUhpIIkXTDqk%2FPrint%20Total.png?alt=media&#x26;token=8f51b618-08e9-4b46-8a7b-a0ce83ebeca6" alt=""><figcaption></figcaption></figure>

***

### **Set Report Options**

* Navigate to the **Report Options** section.
* Configure the following settings:
  * **Filter On Field:** All Bills
  * **Report Sorting:** As per preference (recommended: Item + Size)
  * **Report View:** Item + Size

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FoxG9knOOR7k9Dm7t0QfV%2FReport%20Options%20-%20Item%20%2B%20Size.png?alt=media&#x26;token=5d4dca99-c9ac-46fe-85fd-7b323f016e01" alt=""><figcaption></figcaption></figure>

* Apply the **Agent Filter** based on how agents are assigned:
  * Select **Bill Wise** if the agent is defined in the **Bill Header**.
  * Select **Item Wise** if different agents are defined for individual **items within the bill**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F9vBOh4zZukeUbO4iNIAZ%2FAgent%20Filter.png?alt=media&#x26;token=880bd8d9-c205-410e-9f0f-f389f40ce935" alt=""><figcaption></figcaption></figure>

***

### **Generate the Report**

* After configuring all settings, **Save** the changes.
* From the **Configuration List**, select the setup you just created.
* Click on **Create Report** to generate the output.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F7gvUplYpA3G7GbtVVjd2%2FCreated%20Report.png?alt=media&#x26;token=0a5c2f14-eee3-4ab7-8c70-02d365accd9e" alt=""><figcaption></figcaption></figure>

***

### **Final Outcome**

The generated report will display detailed **Agent-Wise Commission Information** for each product, including:

* Agent and Item Names
* Sale Quantities and Values
* Commission Percentage
* Total Commission Value

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FL0rFrWimA8uqC5AMCzct%2FReport%20View.png?alt=media&#x26;token=a7906c9e-f9b0-4333-843a-41b2ae13486a" alt=""><figcaption></figcaption></figure>

This report provides a clear breakdown of agent earnings and product-wise commission performance, ensuring accurate analysis and reporting.
