Logo Logo Help centre
Search
Sign in
  • Contact us
    support@upsales.com +468 505 806 01 Share your screen
    Upsales Nordic AB Sveavägen 21 111 34 Stockholm
  1. Upsales Help Centre
  2. Sales
  3. Sales & orders

How to create Calculating Fields for orders & opportunities

Permission needed:
Administrator
Available with Product:
Advanced Order Logic
Available with Product:
Accelerate

Calculating fields can be added to every order row, or for every order and opportunity. This gives you more control over your calculations.

When adding a calculating field to an order row, this makes a calculation for every row. 

When creating a calculating field on an order & opportunity this shows in the bottom of every order & opportunity.

A Calculating Field can calculate variables from other custom fields such as Integer, Select, Currency, and Percent.

Calculating fields is available with the Accelerate subscription plan

To use Calculating Fields, first set up custom fields. 

 This article covers:

  • Opening Order Row Fields / Order & Opportunities fields
  • Creating a Calculating Field on Order Rows
  • Standard Calculating Fields on Order rows
  • Creating a Calculating Field on Orders & Opportunities
  • Standard calculating fields on Orders & Opportunities

Opening Order Row Fields, or Order & Opportunities fields

  1. Click Settings → CRM → Fields:

    field.png
     
  2. It's possible to create a calculating field on both Order & opportunities, and Order row:


    menu.png 

Creating a Calculating Field on Order row

  1. Click Settings → CRM → Fields → Order row 
  2. Click Add field:

    add-field.png
     
  3. Select Calculation:

    calculation.png
     
  4. In Field name, enter the field that will show on the order row. Below's example shows Total Price, which will be used to calculate the order's total price:

    total.jpg
     
  5. Click Add field and a dropdown appears, where you can add fields to your formula. Choose a custom field or a standard field:

    formula.jpg


    Standard fields on order rows include:

    Quantity - Product quantity added to the order
    Price - Price on the product
    List price - Product list price
    Discount - Discount percentage
    Total value - The total value of the order
    Total gross value - Total price before discount
    Total discount - Total discount in monetary value
     

  6. Add a new field for each variable in your formula. Add operators like +,-,* and / for each field. Just like you would on any calculator. You can also use ( ).

    Below we've added the custom fields Developers, Hours and Price/hour. By multiplying the fields we will find out what the total cost based on number of developers, their hourly price and how many hours they will work.

    field.jpg
     
  7. Click Save when you're done
  8. Congratulations! You've made a calculating field! It will now show on all order rows:

price.jpg

 

Creating a Calculating Field on Orders & Opportunities

  1. Click Settings → CRM → Fields → Order & Opportunities → Add field:

    fields.png
     
  2. Select Calculation:

    calculation.jpg
  3. In Field name, type in the name of the field that will show on the order/opportunity. We have named our Average total revenue/developer since we want to calculate how much each developer will charge in average. Then click Add field:

    average.jpg
     
  4. A dropdown menu appears underneath the Formula text area. Choose to add a pre-prepared custom field, or choose a standard field: 

    chrome_x8HIAwd061.gif

    Standard fields for calculating fields in Orders & Opportunities include:

    Order id - The identification number of the order
    Price - Probability % that the opportunity will be closed, based on position in the sales board. 
    Discount - Discount percentage
    Order value - The total value of the order
    Total gross value - Total price before discount
    Total discount - Total discount in monetary value
     

  5. Add a new field for each variable in your formula. Add operators like +,-,* and / for each field. Just like you would on any calculator. Be sure to add ( ) if needed.

    For example, here we've added the integer field Developers and standard field Order value. By dividing total order value with the number of developers, we find out how much on average each developer will charge. How many developers depends on how many developers is added on each order row.

    formula.png
     
  6. Click Save when you're done
  7. Congratulations, you've made a calculating field which shows in every order & opportunity under Other information:

    custom field.png

Restrictions: Calculated fields can't be used within another calculated field of the same type. For example, a calculated field from Order rows can be used in a calculated field under Orders. However, a calculated field from Order rows can't be used in another calculated field within Order rows.

Was this article helpful?
Have more questions? Submit a request
Return to top

Articles in this section

  • Product categories maximum discount: How it works
  • Product bundle maximum discount: How it works
  • How to add relations between companies
  • Upsales Forecasting
  • Weekly/monthly quota
  • How to use Order Status Log for ERP imports
  • How to use recurring revenue models (ARR/MRR)
  • How to use the contribution margin sales model
  • Sales models in Upsales
  • How to export order rows
See more

Can't find what you're looking for?

Contact Upsales Customer Success:

Chat Call Email
Help Center API Status Visit upsales.com
support@upsales.com +468 505 806 01 Share your screen