I have been working with my staff very closely in recent days, and we came up with an idea to make data entry slightly faster.
I have configured the Float Precision to 6 in the Setup>System Settings>Date and Number Format section.
For a given line item in a purchase invoice, purchase order, quotation, etc. ERPNext requires at the very least:
- Quantity
- Rate
And then it will calculate the Amount that will be summed for the Total of the document being modified. In this example, it can either be a Purchase Order, Invoice, Quotation or Purchase Receipt.
Let’s assume for a moment that we are entering a purchase Invoice for Fuel, where only the following data is shown:
Quantity: 30
Amount: 125.00
If you divide this, depending on the calculator you use, you get different results. (125.00 /30) On the calculator App in MAC OS X Sierra, I get:
Rate: 4.166666666666667
Thus, Quantity: 30 x Rate: 4.166666666666667 = 125.00 Amount
However in ERPNext, it does NOT come up to exactly 125.00, but rather it adds a cent here and there.
The way we enter it is like this: Quantity: 29.9760192 x Rate: 4.17 = 125.0000001
For our purposes, this is as precise as we can get with the Amount, and we are OK with this.
The workaround we use when non-precise amounts or rounded amounts are entered, is that we adhere to a strict policy that the Amount field in ERPNext has to equal the Amount printed on the invoice. We then give priority to the Rate (Price) of the item, and last, the Quantity. What I mean by this is that we make the calculation in such a way that the Amount calculated by ERPNext matches the Amount on the invoice, and then we modify the Quantity of the item by small increments, using the standalone calculator application on the computer, to figure out what the quantity should be for the Rate to remain untouched, and the Amount to be exactly as put forth by the invoice, (We do it this way because I would rather round off inventory than the accounts as a matter of preference).
The workflow is currently like this for each item where we need a precise Amount
-
Enter Quantity
-
Enter Rate
-
Press TAB or ESC (Imprecise Amount is shown)
-
Open calculator in OS
-
Enter Amount
-
Divide by Rate
-
Copy the result with all its decimal numbers Quantity
-
Switch back to ERPNext window where item was being entered
-
Click or select Quantity field
-
Paste calculator result
-
Press TAB or ESC to verify result
-
Data is now correct for Quantity, Rate and Amount, with Amount matching the value on the physical invoice being entered, Rate having suffered no modification, and Quantity adjusted for precision of Amount
This ten step process gets tedious after a while, and I figured that perhaps a feature can be added as a control on each line that will calculate the Quantity (or the Rate) from a verified/specified Amount that is re-entered manually, only where needed.
The Workflow would be:
-
Enter Quantity
-
Enter Rate
-
Press TAB or ESC (Imprecise Amount is shown)
-
Press the Rounding Tool button (Pop up window is shown with Quantity, Rate and Amount (Amount already selected)
-
Amount is modified manually to desired value.
-
User clicks on checkbox below either Rate fields, to “fix” value.
-
ERPNext displays the result of the modified Quantity in the pop up window
-
User presses ESC, or TAB or ENTER
-
Data is now correct for Quantity, Rate and Amount, with Amount matching the value on the physical invoice being entered, Rate having suffered no modification, and Quantity adjusted for precision of Amount
The workflow described just above, has three less steps than the previous workflow, and it also has the advantage that the user does not need to switch between windows with a mouse or by tapping. He/She can simply do all the calculations within ERPNext. (Similar to what Quicken does with its in-field calculator.)
To further reduce the workflow, one could have a “priority” setup in System Settings, where you preselect which two of these three items will be fixed when doing a calculation of this sort. For example, you can specify that Amount is the desired result, and that Rate will be fixed, so that if you already have an existing rate in ERPNext, as soon as you enter the amount in the proposed pop up window, the calculation is complete. No need to verify!
That workflow would go something like this:
The Workflow would be:
-
Enter Quantity
-
Enter Rate
-
Press TAB or ESC (Imprecise Amount is shown)
-
Press the Rounding Tool button (Pop up window is shown with Quantity, Rate and Amount (Amount already selected)
-
Amount is modified manually to desired value.
-
ERPNext displays the result of the modified Quantity in the pop up window (Given that Rate is marked as fixed)
-
User presses ESC, or TAB or ENTER
-
Data is now correct for Quantity, Rate and Amount, with Amount matching the value on the physical invoice being entered, Rate having suffered no modification, and Quantity adjusted for precision of Amount
I want to hear opinions on this matter!