Click or drag to resize

IEditSessionDeletePrintedOrderItem Method

Deletes order item that is already printed. User must have rights to edit orders.

Namespace:  Resto.Front.Api.Editors
Assembly:  Resto.Front.Api.V6 (in Resto.Front.Api.V6.dll)
Syntax
C#
void DeletePrintedOrderItem(
	string comment,
	WriteoffOptions writeoffOptions,
	IOrderStub order,
	IOrderRootItemStub orderItem
)

Parameters

comment
Type: SystemString
Comment to the charge-off. Max length - 255 chars.
writeoffOptions
Type: Resto.Front.Api.Data.OrdersWriteoffOptions
Object that describes how item should be removed and charged-off.
order
Type: Resto.Front.Api.Editors.StubsIOrderStub
Order that contains the item to be removed.
orderItem
Type: Resto.Front.Api.Editors.StubsIOrderRootItemStub
Order item to be removed. Item must be printed.
See Also