Divide Rate By Quantity
YouTube: How to Configure Rate Division by Quantity in Sales Bill Import?
How to Configure Rate Division by Quantity in Sales Bill Import?
In this tutorial, we will learn how to use the Divide Rate By Quantity feature while importing a sale bill from an external file in Logic ERP.
This feature allows the system to calculate the per-unit rate by dividing the rate specified in the external file by the corresponding quantity.
Access to the Configuration
Navigate to the Import Sale Bills from External File module.
Open the Configuration option and go to the Import Settings tab.
Locate the option labeled as:
"Divide Rate By Quantity"

This feature is useful when the rate specified in the external file represents the total amount for the given quantity, and you want the system to calculate the per-unit rate.
Verify the Feature When Disabled
Keep the Divide Rate By Quantity feature disabled.
Save the configuration.
Import the sale bill using the Excel sheet.

As you can see, the system imports the rate exactly as specified in the Excel sheet without dividing it by the quantity.
Enable the Divide Rate By Quantity Feature
Return to the Configuration window.
Enable the Divide Rate By Quantity feature.
Save the configuration.
Import the same Excel sheet again to verify the functionality.

Observe the Rate Calculation
After enabling the feature, the system divides the imported rate by the specified quantity to calculate the per-unit rate.
For example, if the imported rate is ₹2,000 and the quantity is 5, the calculated per-unit rate will be ₹400.
The division works the same way for Excel files and Text files.
Rows with a quantity of zero or less (for example, return rows with a negative quantity) are not divided; their rate is kept as given in the file.
The result is not rounded (for example, ₹1,000 for 3 pieces gives ₹333.333…).
If Match Rate with Logic Lot Rate is also enabled, the divided rate is the one compared with the lot's sale rate.
Verify the Imported Sale Bill
Proceed with importing the sale bill.
Once the import is complete, navigate to the Sale Bill module.
Open the imported sale bill and verify the rate.
As you can see, the sale bill reflects the rate calculated by dividing the imported rate by the specified quantity.
Objective of This Feature
Calculate the per-unit rate from the total rate specified in the external file.
Automatically divide the imported rate by the corresponding quantity.
Simplify sale bill imports when the Excel sheet contains a total amount instead of a per-unit rate.
Last updated