# Setup Agents/Brokers

**YouTube:** [How to Set up a New Agent or Salesman?](https://youtu.be/7trqxbYu1SQ)

## How to Set up a New Agent or Salesman?

In this tutorial, we will learn how to **manually create agents, brokers, or salesmen** and how to **import them through Excel** in Logic ERP. We will also see how to use agent details in sales transactions, both bill-wise and item-wise.

***

### **Access to Agent Setup**

* **Navigate to** Setup\Setup Accounts and then select **"Setup Agents".**
* Select **Agent** and click to **Refresh.**
* The system displays all existing agents, brokers, and salesmen.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F9YsVUsrgENgTOcV89Nwz%2FRefresh%20Agent.png?alt=media&#x26;token=4ba9f9dc-4bd2-47d8-99df-efb571159984" alt=""><figcaption></figcaption></figure>

***

### **Create a New Agent Manually**

* Enter the **Agent Name.**
* Enter the **Agent Short Name.**
* Optionally define the **Agent Designation.**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F3jL3M2uzehK00NQrIA1A%2FCreate%20New.png?alt=media&#x26;token=a1d63887-c9ba-40b2-86b8-fda10803ac91" alt=""><figcaption></figcaption></figure>

* Click **Save** to create the new agent

***

### **Import Agents Using Excel**

* Open Import Window
* Click on **External File**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FhLxPUSogOrxriDUseFFs%2FExport%20-%20Button.png?alt=media&#x26;token=0aa580ba-538a-4aab-8512-6a2ee41e9ac6" alt=""><figcaption></figcaption></figure>

* A new import window will open

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FcXggQF5q2apIdU8qcmOl%2FExport%20-%20Window.png?alt=media&#x26;token=bbdc1e4e-5749-4154-afb1-51a432b7a2b7" alt=""><figcaption></figcaption></figure>

### **Prepare the Excel File**

* Use the **Help** option to view required column details
* Fields marked with an **asterisk (\*)** are mandatory
* Ensure all mandatory fields are included in the Excel sheet

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F0W3nrmvhMz58mEiNAPAT%2FExport%20-%20Help.png?alt=media&#x26;token=8d214532-e4e9-492e-8efa-24b7373e1253" alt=""><figcaption></figcaption></figure>

### **Import the Data**

* Browse and select the Excel file from your system
* Choose the **Sheet Number**
* Ensure **Header Row = 1**
* Click **OK**
* The agents are imported instantly

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FPLj5OxKn3hZ8zIqI8kci%2FImported.png?alt=media&#x26;token=3a52bc18-4549-4ed5-a864-9c9d9d865461" alt=""><figcaption></figcaption></figure>

* Click **Save** to finalize the changes

***

### **Use Agents in Sales Transactions (Bill-Wise)**

* Open the **Sale Bill** window
* In the **Header Section**, locate the **Agent / Broker** field
* Click the dropdown to select an agent.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FpNnF5EiCOYzu76ZDjDJe%2FAgent%20-%20Bill%20Wise.png?alt=media&#x26;token=a655163e-f00b-443d-8bbb-0630c830f055" alt=""><figcaption></figcaption></figure>

* This method applies one agent to the entire bill.

> **Note:**\
> If the Agent/Broker field is disabled, enable it through **Column Locks**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F1Nky9Tv9TlOTzQ98HtX0%2FColumn%20Lock.png?alt=media&#x26;token=fd50c660-9499-4b32-983c-301adccc3415" alt=""><figcaption></figcaption></figure>

***

### **Use Agents in Sales Transactions (Bill-Wise)**

* Enable Item-Wise Agent Selection
  * Go to **Setup → Column Attributes**
  * Search for the **Agent Name** column
  * Enable the column and **save** the changes

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FuVzUjPyKQ4L2abB5U9QO%2FSet%20Column%20Attribute.png?alt=media&#x26;token=efb8c935-091e-4628-b80f-88a2922e2ee8" alt=""><figcaption></figcaption></figure>

* **Select Agent Item-Wise**
  * Start entering items in the **Sale Bill**
  * In the **Agent Column**, press the **Space** key
  * Select the appropriate agent for each item

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FLhOnaMREGcnuZ5aU1Q99%2FAgnet%20-%20Item%20Wise.png?alt=media&#x26;token=9b674846-9f93-4adb-ba25-b56fec461054" alt=""><figcaption></figcaption></figure>

***

### **Conclusion**

Logic ERP provides flexible agent management by allowing both **bill-wise** and **item-wise** agent assignment. With manual creation and Excel import options, you can quickly maintain agent master data and ensure accurate commission tracking and reporting in sales transactions.
