Last updated: 04.04.2024
Valid from: 2023.03.00 and later, Opter Driver for Android 1.9.7, Opter Driver for iOS 2.4.3 or later
Customising the price item view in Opter Driver
By default, the driver can add new price items and make changes to price items in the shipments in Opter Driver by selecting Price items from the menu in the detail view; the price item view will then open and the driver can fill in the fields for the new price item or change an existing price item. This can be useful if the driver carries out an extra service in connection with the delivery, for example.
For Opter Driver for iOS the driver can also add new price items in the POD view by clicking Price item; the price item view will open and the driver can fill in the fields for the new price item.
It can be set up so that the drivers cannot add or change price items on shipments in the app.
Setting whether drivers are allowed to add and make changes in price items
Choose whether or not the drivers should be able to makes changes in price items that are already in the shipment, and choose whether or not the drivers should be able to add new price items. Proceed as follows:
In Opter, click on Settings > Mobile data > Settings mobile data.
Click on an empty row in the Name column and then on the down arrow in the row being added.
Select ArticlesPermission from the list. Enter “True” or “False” in the Value column as follows:
”True” (default): The Price items option is displayed on the menu in the detail view of Opter Driver. Drivers can change price items that are already part of the shipment.
“False”: The Price items menu option is not displayed in the detail view. The drivers cannot add or change price items that are part of the shipments.
Click on an empty row in the Name column and then on the down arrow in the row being added.
Select AddNewPriceItemPermission from the list. Enter “True” or “False” in the Value column as follows:
”True” (default): The drivers can add new items to shipments in the POD view (only in Opter Driver for iOS) and via the menu in the detail view.
Note:ArticlesPermission must also be set to 'True' (default) if drivers are to be able to add new price items via the menu in the detail view.
“False”: The drivers cannot add new price items, either in the POD view or via the menu in the detail view.
Click on Save.
Note:
By default, changes made in Opter Driver must be manually approved in dispatch for the change to be saved, but it can be set so that no changes at all need to be approved, or only certain changes need to be approved.
For more information, see Setting how changes made in Opter Driver are approved.
Customising the Price items view
In Opter Driver for iOS, when drivers select Price items from the menu, one of the following occurs:
If there are price items on the order, a view opens in which drivers can search among price items that are part of the shipment, create new price items and change existing price items for the shipment.
Clicking on Create new price item or any price item under Change price items will open the price item view.
If there are no price items in the shipment, the price item view opens directly, where the driver can create a new price item.
If it has been set so that the drivers can add new items in the POD view (by pressing the Price item button), the price item view will open and the driver can create a new price item there. See the image above.
In Opter Driver for Android, the price item view looks like this:
It is possible to choose which fields to display in the price item view and the order in which they are displayed, and also to rename them. The price item view is managed with the settings starting with “SPI_” in the mobile data settings. There are three types of SPI_settings:
"SPI_XyzPermission", for example SPI_SAR_IdPermission: Controls whether or not the field is displayed in the view.
”SPI_XyzName”, for example SPI_SAR_IdName: the default name for the field can be replaced by a custom name.
"SPI_XyzOrder", for example SPI_SAR_IdOrder: where in the view the field should be displayed. The lower the number, the higher up the view it is.
For more information on SPI_ settings for the price item view, see Mobile data settings (window).
Tip
If no settings are configured for any of the mobile data settings starting with SPI_, all the fields in the price item view will be displayed with default names.
Note:
All SPI_Permission settings are set to “true” by default, which means that all the fields are displayed in the price item view if no setting is applied at all.
If an SPI_Permission setting is set to “true”, all the other SPI_Permission settings to be displayed in the price item view must be set to “true”, otherwise only the one set to “true” will be displayed.
If an SPI_Permission setting is set to “false”, all the other SPI_Permission settings to be displayed in the price item view must be set to “true”, otherwise no fields at all will be displayed in the price item view.
To set which fields should be displayed, proceed as follows:
Click on Settings > Mobile data > Settings mobile data.
- Click on an empty row in the Name column and then on the down arrow in the row being added. Select the SPI_XyzPermission setting for the field to be displayed/hidden, for example SPI_SAR_IdPermission (which controls whether or not the Price item field is displayed). For more information on which settings correspond to which fields, see Mobile data settings (window).
Enter one of the following in the Value column:
“True”: if the field should be displayed.
“False”: if the field should not be displayed.
- Repeat steps 2 and 3 for all other fields whose settings are to be configured.
Click on Save. When you have finished configuring the settings, you can close the window.
To change the default names of the fields to your own names, proceed as follows:
Click on Settings > Mobile data > Settings mobile data.
- Click on an empty row in the Name column and then on the down arrow in the row being added. Select the SPI_XyzName setting for the field to be renamed, for example SPI_SAR_IdName (which is the Price item field). For more information on which settings correspond to which fields, see Mobile data settings (window).
Enter the new name of the field in the Value column, for example “Price item type”.
Repeat steps 2 and 3 for all fields to be renamed.
Click on Save. When you have finished configuring the settings, you can close the window.
To specify the order in which the fields are displayed, proceed as follows:
Click on Settings > Mobile data > Settings mobile data.
Click on an empty row in the Name column and then on the down arrow in the row being added. Select the SPI_XyzOrder setting for the field to be moved up or down in the view, for example SPI_SAR_IdOrder. For more information on which settings correspond to which fields, see Mobile data settings (window).
In the Value column, enter a number to indicate where in the view the field should be located. The lower the number, the higher up it is. If “1” is entered, the field will be at the top of the list.
Obs!
The default setting for all fields is “99”. This means that it is not sufficient to set one of them to “2” for that field to appear second in the view. If “1” is not entered for any other option, the field with the value “2” will be placed at the top. The field with the lowest number appears at the top of the view.
Repeat steps 2 and 3 for all fields to be moved.
Click on Save. When you have finished configuring the settings, you can close the window.