> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/agent-wise-reports/branch-+-agent-+-date-wise-target-vs-achievement-analysis/branch-+-agent-+-date-wise-target-vs-achievement-analysis-configuration.md).

# Branch + Agent + Date Wise Target Vs Achievement Analysis - Configuration

The configuration of the [**Branch + Agent + Date Wise Target Vs Achievement Analysis**](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/agent-wise-reports/branch-+-agent-+-date-wise-target-vs-achievement-analysis.md) decides what one row stands for, which totals are printed, how sales are counted and how the agents and their groups are shown. You can keep several configurations and pick one when you run the report. A new configuration starts with every tick box unticked and the first choice of every list.

***

### **Step 1: Open the configuration**

* Navigate to **Reports/Queries\Agent Wise Reports** and click on "Branch + Agent + Date Wise Target Vs Achievement Analysis".
* Click **Configuration**. The **Branch + Agent + Date Wise Target Vs Ach Config** window opens.
* Pick a configuration from the list to change it, or type a new name to start one. Names are saved in capital letters.

***

### **Step 2: Report Consolidation — what one row stands for**

Tick the items the report is split by. Each ticked item fills its column and starts a new row when it changes; an unticked item is added together.

| Setting          | What it does                                                                                                                                                                                                                                                                                                                                                   |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Branch Group** | Splits the report by the branch's group and fills **BRANCH GROUP**.                                                                                                                                                                                                                                                                                            |
| **Branch Name**  | Splits the report by branch and fills **BRANCH NAME**.                                                                                                                                                                                                                                                                                                         |
| **Agent Name**   | Splits the report by agent and fills **AGENT NAME**.                                                                                                                                                                                                                                                                                                           |
| **Company Name** | Splits the report by the company of the items and fills **COMPANY NAME**.                                                                                                                                                                                                                                                                                      |
| **Group Name**   | Splits the report by item group, at the **Item Group H - Level** chosen below, and fills **GROUP NAME**.                                                                                                                                                                                                                                                       |
| **Target Date**  | Splits the report by bill date, or by month when **Target Date As** is **Month Wise**, and fills **TARGET DATE**.                                                                                                                                                                                                                                              |
| **Agent Group**  | Brings in the agent's groups from the agent master and fills **AGENT GROUP-1** to **AGENT GROUP-4**. Which agents are shown depends on **Agent Group Level** and **Agent Wise Rows Under Agent Group** (Step 5).                                                                                                                                               |
| **Report Order** | The order in which the rows are sorted and the totals are nested. A list window opens: put the items in the order you want and click **OK**. When the agents are listed under their group, **Agent Name** always comes after **Agent Group**. The starting order is Branch Group, Branch Name, Agent Name, Company Name, Group Name, Target Date, Agent Group. |

Company Name and Group Name also decide which targets are used: neither ticked — targets set for the agent as a whole; **Company Name** — company-wise targets; **Group Name** — group-wise targets; both — company + group targets.

***

### **Step 3: Report Totals**

| Setting                                                                                                               | What it does                                                                                                |
| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Branch Group**, **Branch Name**, **Agent Name**, **Company Name**, **Group Name**, **Target Date**, **Agent Group** | Prints a total each time that item changes. Each needs the same item ticked under **Report Consolidation**. |
| **Grand Total**                                                                                                       | Prints a total for the whole report.                                                                        |

* Totals of the inner levels are printed before the total of the level around them — for example the agent group's total before the branch total. An inner total also closes whenever an outer level changes.
* **Agent Name** totals are not printed when each row is one agent group (Step 5).
* **Agent Group** totals need **Achievement As** set to **Sale**. With **Agent Group Level** set to **None**, they are printed for each group only when **Agent Wise Rows Under Agent Group** is ticked; otherwise one **Agent Group** total is printed at the end.

***

### **Step 4: Report Options — what is counted**

| Setting                                        | What it does                                                                                                                                                                                               |
| ---------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Sale Report On**                             | **Sale** (first choice): sale bills only. **Sale Return**: sale returns only. **Sale + Sale Return (Net)**: sales less returns.                                                                            |
| **Stock Transfer Filter**                      | **None** (first choice): all bills. **Stock Transfer Only** or **Non-Stock Transfer**: only bills that are, or are not, stock transfers.                                                                   |
| **Achivement Amount As**                       | The amount compared with the target value — used for **ACH VALUE(%)**, **DEFICIT VALUE**, **ABV**, **APV** and the incentive: **Gross Amount** (first choice), **Net Amount** or **Amount(User Defined)**. |
| **Target Date As**                             | **Date Wise** (first choice) or **Month Wise**. Can be changed only while **Target Date** is ticked under **Report Consolidation**.                                                                        |
| **Achievement As**                             | **Sale** (first choice) or **Sale Collection** — see Step 7.                                                                                                                                               |
| **Item Group H - Level**                       | The item group level used for **GROUP NAME**, for the **Extra Item Groups** selection and for matching group-wise targets. Choose the level the targets were entered on.                                   |
| **Include Free/Repl/Sample In Total Quantity** | Adds free, replacement and sample quantity to **TOTAL QUANITY**.                                                                                                                                           |
| **UD Net Amount-1**                            | The amounts that make up **AMOUNT(USER DEFINED)**.                                                                                                                                                         |
| **Show Data For Current Branch Only**          | Shows only the branch you are logged in to; the **Branch** selection on the report screen is ignored.                                                                                                      |

***

### **Step 5: Report Options — agents and agent groups**

| Setting                               | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Agent Filter**                      | **Bill Wise** (first choice): the whole bill is credited to the agent of the bill. **Item Wise**: each item is credited to the agent chosen on that item line.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| **Agent Group Level**                 | Used with **Agent Group** ticked under **Report Consolidation**. **None** (first choice): one row per agent, for agents placed directly under a first-level group. **Level-1** to **Level-4** (with **Achievement As** = **Sale**): one row per **agent group** at that level — the sales of all its agents are added together, **AGENT NAME** is blank and the group's own target is used. Agents not under a group of the chosen level are left out.                                                                                                                                                                                                                                                            |
| **Agent Wise Rows Under Agent Group** | With **Agent Name** and **Agent Group** ticked under **Report Consolidation**, **Agent Group Level** set to **None** and **Achievement As** = **Sale**: lists each agent on its own row under the agent's group, sorted by group and then by agent, and prints **Agent Group Wise Totals** after each group when **Agent Group** is ticked under **Report Totals**. Agents not placed under any group are listed together under the name of the agent they are linked to in the agent master — usually **NIL** — in its place among the groups, with their own total. Unticked, the agents are not sorted by group, agents with no group are left out, and the **Agent Group** total is printed once, at the end. |

Item lines with no agent are left out whenever **Agent Group** is ticked.

***

### **Step 6: Incentive**

| Setting                           | What it does                                                                                                                                                                                                                                                                                                                                                                                                                 |
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Achievement / Incentive Slabs** | A table of **Achievement %** and **Incentive %**. The achievement compared with the slabs is **ACH VALUE(%)**. The slab used is the highest **Achievement %** the agent has reached; below the lowest slab there is no incentive. The **INCENTIVE AMOUNT** is the achievement amount × **Incentive %** ÷ 100. Each achievement percentage may appear only once and may not be left blank, or the configuration is not saved. |

* Without **Target Date** ticked, a run over several months compares the whole period's achievement with the whole period's target, and one slab is applied to it.
* With **Target Date** ticked and **Target Date As** = **Date Wise** (and **Achievement As** = **Sale**), the slab is worked out month by month for each agent in each branch, and the incentive is shown only on the **Agent Wise Totals** row — tick **Agent Name** under both **Report Consolidation** and **Report Totals**. It is added into the branch, branch group and grand totals. The date rows show no incentive.

> **Example — incentive slabs**
>
> The slabs are 90 % → 2 % and 100 % → 3 %. Asha's target for the month is ₹2,00,000 and her achievement amount is ₹1,90,000, so her **ACH VALUE(%)** is 95 %. The highest slab she has reached is 90 %, so her incentive is ₹1,90,000 × 2 ÷ 100 = ₹3,800, and **CONDITION FULLFILLED** shows **Y**.

***

### **Step 7: Sale Collection**

With **Achievement As** set to **Sale Collection**, **Target Date** ticked and **Target Date As** set to **Month Wise**, the report compares the amounts collected and credited to each agent in journal vouchers with the targets set for the agent as a whole, for the month of the **From** date and the month before it. The **To** date is not used, and only the current financial year is read.

* **Select JV Series** — tick to choose the journal voucher series to count. If no series is chosen, only vouchers without a series are counted. The same series choice applies to bank and cash receipts.
* **Add Bank Receipt In Sale Collection** and **Add Cash Receipt In Sale Collection** — also count bank and cash receipts.
* Read the result in **GROSS AMOUNT** (this month's collection), **TARGET VALUE** (this month's target), **LAST MONTH TARGET**, **LAST MONTH JV AMOUNT**, **LAST MONTH ACHIEVEMENT(%)** and **CURRENT MONTH ACHIEVEMENT(%)**. Tick **Agent Name** for a row per agent.
* The incentive is worked out on last month's collection and last month's achievement, and is paid only when last month's achievement is at least 1 %.
* In this mode only the **Branch** and **Agent** selections are used. **Show Data For Current Branch Only**, **Sale Report On**, **Stock Transfer Filter**, **Achivement Amount As**, **Agent Filter**, **Include Free/Repl/Sample In Total Quantity**, **UD Net Amount-1** and the **Branch Name**, **Company Name** and **Group Name** consolidation have no effect.

If **Sale Collection** is chosen without **Target Date** ticked and **Month Wise**, the report shows sales as usual, but without agent group rows or totals, the **AGENT GROUP** columns, **TOTAL BILLS**, **ABV** and **BASKET**.

***

### **Step 8: Save**

* Click **Save** and answer **Yes**. The window closes, and the configuration is used the next time the report is run with it.
* You need rights to modify configurations; without them the message **Modification Rights Not Available.** is shown. On the web the configuration can be viewed but not saved.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/agent-wise-reports/branch-+-agent-+-date-wise-target-vs-achievement-analysis/branch-+-agent-+-date-wise-target-vs-achievement-analysis-configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
