Click or drag to resize

IEditSessionDeletePrintedOrderModifierItem Method

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

Namespace:  Resto.Front.Api.V5.Editors
Assembly:  Resto.Front.Api.V5 (in Resto.Front.Api.V5.dll)
Syntax
C#
void DeletePrintedOrderModifierItem(
	string comment,
	WriteoffOptions writeoffOptions,
	IOrderStub order,
	IOrderProductItemStub orderItemProduct,
	IOrderModifierItemStub orderModifierItem
)

Parameters

comment
Type: SystemString
Comment to the charge-off. Max length - 255 chars.
writeoffOptions
Type: Resto.Front.Api.V5.Data.OrdersWriteoffOptions
Object that describes how item should be removed and charged-off.
order
Type: Resto.Front.Api.V5.Editors.StubsIOrderStub
Order that contains the item to be removed. Item must not be printed.
orderItemProduct
Type: Resto.Front.Api.V5.Editors.StubsIOrderProductItemStub
Order item that contains the modifier to be removed.Item must be prin /ted.
orderModifierItem
Type: Resto.Front.Api.V5.Editors.StubsIOrderModifierItemStub
Order item modifier to be removed. Modifier must be printed.
See Also