Last updated: 20.06.2019
Valid from: 2019.06.00 and later
Creating and setting up units
Applies up to and including version 2023-07-01.238. The article is no longer updated.
To create or edit a unit, proceed as follows:
- Click on the price calculation in the tree on the left and go to the Settings tab.
- Go to the unit editor by clicking on the grey button at the far right end of a device’s row.
- To create a new unit, click on in the Price units window.
In the Dimension drop-down list, select the field in order reception from which the unit will retrieve the quantity.
More information about dimensionsDistances are indicated in kilometres and time in minutes.
If you want the unit to retrieve its quantity from the weight entered in the text field in order reception (real weight), select Weight.
If you want the device to take its quantity from the calculated weight (bulk weight), select Pricing weight.
Note:If you do not choose a dimension:
- no price is calculated for the service
- the order creator can enter the number of units for price items on the price item row, if price items are used.
- To divide the number of units by a value, such as “60” to convert the number of minutes to the number of hours, enter the value in the Divide value by field.
- Select the number of decimal places from the Lowest unit drop-down list.
Choose how to round the units in the Rounding type drop-down list.
In normal rounding, the unit is rounded up to the nearest whole number if the number of tenths exceeds or is equal to 5.
Example: 5.3 kg is rounded down to 5.0 kg and 5.6 kg is rounded up to 6.0 kg.
- If you want the price per incomplete tonne, hour, etc., then round up.
- Click on to save all changes.
Restart Opter for the changes to take effect.
Values for common units
The table below shows the dimensions, value to divide by and rounding type commonly used for some common units.
Name | Dimension | Divide value by | Rounding type |
---|---|---|---|
Kilogram, kg | Calculated weight | 1 | Up |
100 kg | Calculated weight | 100 | Up |
Tonne | Calculated weight | 1,000 | Up |
Kilometre | Distance | 1 | Up |
10 km | Distance | 10 | Up |
Hour | Time | 60 | Up |
Half hour | Time | 30 | Up |
Quarter hour | Time | 15 | Up |
Cubic metres | Volume | 1 | Up |
Load metre | Load metre | 1 | Up |
Package | Parcel | 1 | Up |