Fixed
- A position deleted in the Bookings tab lived on in the quote. Until now, deleting in the Bookings tab only removed the booking itself from the event — the matching line stayed in open quotes, invoices and delivery notes. The result: a position missing from the kitchen sheet but still charged to the customer. The same rule now applies in both directions: the bookings are the truth. Delete a position in the bookings and it disappears from every open document of the event — just as ‘Remove everywhere’ inside a document has always taken the booking along.
- The confirmation dialog tells you beforehand what goes with it. When deleting — a single position or several at once — the dialog now lists the affected open documents with their document number and the number of positions that disappear there. If no open document contains the position, it says so too.
- Sent and finalised documents stay unchanged. A quote that has already been sent, an issued invoice or a finalised delivery note is never touched — their positions stay frozen. Deleting a single bundle component leaves the bundle position in the document in place; only deleting the whole bundle takes it along.
- The message afterwards states what actually happened. After deleting, the confirmation tells you from how many open documents the position was removed — and warns you if a document could not be cleaned up.
- Only people who may edit documents delete from them. If the position is part of an open document and your role may only view financial documents, Univents rejects the deletion as a whole — the dialog says so beforehand, the booking stays in place, nothing is half removed. Without affected documents you delete as usual.
- API:
DELETE /api/v1/booking-order-items/:idalso removes the position from open documents when the API key additionally holds the ‘write financial documents’ scope. Without that scope only the booking (including its bundle components) is removed and the document line items stay in place. Speaker and exhibitor forms likewise only take back their own bookings when resubmitted, never your documents.
If you only want to take a position out of a document without removing it from the event, keep deleting it inside the document with This document only.