Notification of Deletion of Non-Printed Items and Current User
Tags:
In API version V7, we added a notification for the deletion of non-printed items
BeforeDeleteNonPrintedItems,
and also passed the current user responsible for the operation being performed into certain events.
The deletion of non-printed items can be interrupted by throwing OperationCanceledException in the handler.
The notification is generated both when attempting to delete an item from the SyrveFront UI and when attempting to delete via the API.
Notifications and methods that now accept the current user performing a specific operation:
BeforeOrderBill— pre-check, printing a duplicate of the order pre-check;OrderBillCancelled— cancellation of the order pre-check;BeforeDeleteOrder— deletion of the order;OrderSplittedByCashRegisters— splitting the order into several cash registers;OrderStorned— cancellation of the order;BeforeDeletePrintedItems— deletion of printed items in the order;BeforeDeleteNonPrintedItems— deletion of non-printed items in the order;ICashRegister.DoZReport— printing the Z-report during the closing of the cash shift on the plugin cash register;ICashRegister.DoXReport— printing the X-report on the plugin cash register;ICashRegister.DoOpenSession— opening a cash shift on the plugin cash register;ICashRegister.OpenDrawer— opening the cash drawer on the plugin cash register.