> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/reports/sales/sales-by-sales-rep-profit-comp/sales-by-sales-rep-profit-comp-components.md).

# Sales By Sales Rep Profit Comp Components

The Sales By Sales Rep Profit Comp allows businesses to analyze and compare the performance of sales representatives and view the profit generated by the representatives over different time periods. This report includes import details, such as net sales, net sales profit and the profit percentage.&#x20;

### Key Sections of the Report

The report is structured into five primary sections:

1. **Name:** This section displays the name of the sales representative.
2. **Net Sales (Sales Rep):** This section focuses on showcasing the net sales executed by the sales representative during the chosen time period. This section is further divided into sub-sections:
   * **Group:** This section breaks down the net sales by the selected time period grouping (e.g., daily, weekly, quarterly, yearly).
   * **Total:** This section provides the aggregate sales by the sales rep over the chosen reporting period.
3. **Net Sales Profit (Sales Rep):** Following the net sales, this section outlines the net profit generated by the sales rep from the sales done within the specified timeframe.
   * **Group:** This section breaks down the net profit by the selected time period grouping (e.g., daily, weekly, quarterly, yearly) to track spending patterns.
   * **Total:** This section provides the aggregate profit generated by the sales rep over the chosen reporting period.
4. **Profit %:** This section explicitly expresses the profit percentage achieved from the sales made by the sales representative.
5. **Total:** The "Total" section at the bottom of the report gives you the total amount of all the sub-sections in the report.&#x20;

### Navigating the Report

To delve deeper into the details of the sales, users can click on the "Net Sales" figure within the report. This action will lead to a detailed breakdown of each sales transaction, including details such as the transaction number, transaction type, transaction date, reference number, account name and the transaction amount.

#### Net Sales (Sales Rep) Fields

<table><thead><tr><th width="247">Field</th><th>Description</th></tr></thead><tbody><tr><td>Txn Number</td><td>This field displays the unique identifier assigned to each sales transaction. It helps in tracking and referencing specific sales transactions within the system.</td></tr><tr><td>Txn Type</td><td>This field indicates the type of transaction (e.g., Invoice, Sales Receipt).</td></tr><tr><td>Txn Date</td><td>This field shows the date of the transaction.</td></tr><tr><td>Account Name</td><td>This field shows the name of the account associated with the transaction.</td></tr><tr><td>Entity Name</td><td>This field displays the name of entity (e.g. customer) associated with the transaction.</td></tr><tr><td>Ref Number</td><td>This field displays the reference number for the transaction (receipt or invoice number).</td></tr><tr><td>Sales Rep</td><td>This field displays the name of the sales representative associated with the transaction.</td></tr><tr><td>Amount</td><td>This field shows the transaction amount.</td></tr></tbody></table>

#### Exploring Transaction Details

Additionally, users can click on the values under the clickable columns such as Transaction Number, Transaction Type, Transaction Date, Reference Number, Sales Rep, and Amount to view the journal details of each transaction. This allows for a comprehensive analysis of each sales transaction.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/reports/sales/sales-by-sales-rep-profit-comp/sales-by-sales-rep-profit-comp-components.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
