This guide was created with Scribe in 2 minutes. Sign in and create your own!
Math Rule
Let us consider a situation where we will build a form for a customer. The customer owns a super shop. He sales groceries and medicine in his store. The customer will input the price of grocery and medicine items and discounts. The system then should automatically calculate the following calculations.
Total Price = Grocery Items + Medicine
VAT = 15% of the Total Price
Price with VAT = Total Price + VAT
Payable Amount = Price with VAT - Discount
Zoom Saved
2
The following processes should be followed to achieve the business requirements. Users have to right-click on the desired library name.
Zoom Saved
3
Click "Properties"
Zoom Saved
4
Click here.
Zoom Saved
5
Click "System Default Form"
Zoom Saved
6
Click "Total Price"
Zoom Saved
7
Click here.
Zoom Saved
8
Click here.
Zoom Saved
9
Click "Math Rule"
Zoom Saved
10
After selecting "Math Rule" all the number type fields available in the form will be shown on the left side below the label "Available Fields". Users have to click on the desired fields and then drag them to the box below "Subjected Fields".
Zoom Saved
11
Users have to follow the following steps to set the functionally where the system will automatically sum the price of "Grocery Items" and "Medicine".
Zoom Saved
12
Following the above process, users can set VAT calculations as well.
Zoom Saved
13
Setup of VAT calculations.
Zoom Saved
14
Click "Price with VAT" to set calculations for this field.
Zoom Saved
15
"Price with VAT" was the sum of the "Total Price" and "VAT(15%)" fields which are implemented below.
Zoom Saved
16
"Payable Amount" was a subtraction between "Price with VAT" - "Discount".
Zoom Saved
17
Now let's go back to the same form that we saw at the beginning of this tutorial.
Zoom Saved
18
The following screen shows when a user added the value "50" in the "Grocery Items", the system automatically calculated the values of "Total Price", "VAT(15%)", "Price with VAT" and "Payable Amount".
Zoom Saved
19
Values are automatically updated after adding value in the "Medicine" field.
Zoom Saved
20
Once the amount of "Discount" was added, the system updated the value of "Payable Amount".
Zoom Saved
Want to make guides like this in seconds? Yes, it's really that fast.
Show Me How
Feedback
This Scribe is in tip-top shape!Leave feedback if there are any issues with this Scribe