Last updated: 2024-04-04
Applies 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 items and make changes to items on the missions in Opter Driver by selecting Price items from the menu in the detail view, the item view will then open and the driver can fill in the fields for the new item or change an existing 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 articles to the POD view by clicking Price item, the article view will open and the driver can fill in the fields for the new article.
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 modify items
Choose whether drivers should be able to edit items already on the assignment, and choose whether drivers should be able to add new 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 modify items already on the mission.
“False”: The menu item Price items is not displayed in the detail view. Drivers cannot add or change items on the missions.
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): Drivers can add new items to missions in the POD view (Opter Driver for iOS only) 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 items via the menu in the detail view.
“False”: Drivers cannot add new 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 need to be manually approved in the dispatch centre for the change to be saved, but you can set it so that no changes need to be approved at all, or that only certain changes need to be approved.
For more information, see Setting how changes in Opter Driver are authorised.
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 items on the order, a view opens where drivers can search through items on the order, create new items and edit existing items on the order.
Clicking on Create new price item or any price item under Change price items will open the price item view.
If there are no articles on the assignment, the article view opens directly, where the driver can create a new article.
If you have set up drivers to be able to add new items in the POD view (by pressing the button Price item), the item view will open where the driver can create a new item. See the picture 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.