Navigation to Order by Plugin Initiative
v8
In the V8 API, the first step has been made towards the ability to navigate between screens in SyrveFront by plugin initiative. Currently, only navigation to an order via plugin buttons or from the order editing screen is supported.
A new method,
NavigateToOrderAfterOperation,
has been added to IViewManager.
It can be called in the view manager that comes to the plugin when pressing the plugin buttons:
- on ADD - Additions —
AddButtonToPluginsMenu - on the closed order screen —
AddButtonToClosedOrderScreen - on the screen for returning orders from closed cash shifts —
AddButtonToProductsReturnScreen - on the order editing screen —
AddButtonToOrderEditScreen
As well as in the view manager that comes to the plugin when editing from the API of the currently open order on the front:
- call inside
TryEditCurrentOrder
Navigation is only possible to an open order. When the method is called, the corresponding rights of the currently logged-in employee on the front are checked. These are the same rights that are checked when navigating by pressing buttons on the front itself. Navigation to delivery orders is currently not possible.