# Retail Margin on MRP Column Attribute added in Data Entry Grid of Sale Bill

In the ‘**Setup Column Attributes**‘ of Sale Bill, a new column attribute has been added i.e., “**Retail Margin on MRP**“.

For calculating the Retail Margin, the **Sale Bill** of the item will be subtracted from **MRP**, then divided by MRP. The outcome will be then multiplied with 100, which will give you the **Retail Margin on MRP** value for the item.

**((MRP-Sale Bill)/MRP)\*100**

<figure><img src="/files/rqr5NUZAvPNN4ger4zcZ" alt=""><figcaption></figcaption></figure>

To make this work, first, you have to enable **Display Profitability in Bill** option in the **Sale Voucher Configuration** as shown in the figure below:

<figure><img src="/files/uLfGi6LyrDQ62r3qCwGz" alt=""><figcaption></figcaption></figure>

### Retail Margin(%)

There’s another column attribute i.e. **Retail Margin(%)** to display the percentage value of profitability. For calculating Retail Margin(%), the **Sale Rate** value will get subtracted from **Purchase Rate**. Then, it will be divided with **Sale Rate** value. The outcome will then multiply with **100**, which will give you Retail Margin(%) value for the item.

**((Sale Rate-Purchase Rate)/Sale Rate)\*100**

<figure><img src="/files/AIw9dKBAJkm7C8CoJw8w" alt=""><figcaption></figcaption></figure>

But first, you have to set Purchase Rate in the Sale Voucher Configuration settings.

<figure><img src="/files/7a5ofBWVz6moxiqgBKY3" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://kb.logicerp.com/logic-erp-version-release-notes/november-2019/billing/retail-margin-on-mrp-column-attribute-added-in-data-entry-grid-of-sale-bill.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
