> 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/order-processing/sale-order/so-configuration/do-not-allow-decimals-in-quantity.md).

# Do not allow Decimals in Quantity

**YouTube:** [How to Disable Decimal Quantities in Sales Orders?](https://www.youtube.com/watch?v=RtF5qXRIlwg)

## How to Disable Decimal Quantities in Sales Orders?

This tutorial explains how to use the **“Do Not Allow Decimals in Quantity”** feature in Logic ERP. It demonstrates how enabling this option restricts users from entering fractional quantities, ensuring precise and controlled order entry where only whole numbers are allowed.

***

### **Objective of This Feature**

* Prevent entry of **fractional quantities**
* Ensure **standardized quantity input (whole numbers only)**
* Improve **accuracy in inventory and billing**
* Avoid **calculation discrepancies**

***

### **Accessing Sales Order Configuration**

* Navigate to **Sales Order Module**
* Click on **Configuration**
* Select the relevant **Sales Order Configuration**

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

***

### **Understanding Default Behavior (Feature Disabled)**

**Enter Quantity**

* Create a **New Sales Order**
* Enter Quantity:
  * Example: **1.5 (One and a half)**

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

**System Behavior**

* Decimal values are **allowed**
* Quantity is accepted without restriction

***

### **Enabling the Restriction**

* Locate and enable the option labeled as:

> **“Do not allow Decimals in Quantity”**

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

* Click **Save**

***

### Implement **After Enabling Feature**

#### **Attempt Decimal Entry**

* Click on **New Order**
* Enter Quantity:
  * Example: **1.5**

**System Behavior**

* Decimal input is **restricted**
* Only **whole numbers** are accepted

***

### **Key Benefits**

* Maintains **uniform quantity standards**
* Prevents **data inconsistencies**
* Improves **inventory accuracy**
* Reduces **billing errors**

***

### **Best Practice Tips**

* Enable this feature when:
  * Dealing in **unit-based items (pieces, boxes, etc.)**
* Keep it disabled for:
  * Items sold in **weight/volume (kg, liters, etc.)**

***

### **Final Outcome**

* Only **whole number quantities** are allowed
* Data becomes **consistent and error-free**
* Sales process becomes **more controlled and reliable**


---

# 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://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/order-processing/sale-order/so-configuration/do-not-allow-decimals-in-quantity.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.
