IEditSessionSplitOrderCookingItem Method |
Cut off specified amount from product to new one.
Namespace: Resto.Front.Api.EditorsAssembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
SyntaxINewOrderCookingItemStub SplitOrderCookingItem(
decimal amount,
IOrderStub order,
IOrderCookingItemStub cookingItem
)
Parameters
- amount Decimal
- Amount to cut off. Source cooking item's amount will be reduced by this amount, resultant item will get this amount.
- order IOrderStub
- Order which contains the product.
- cookingItem IOrderCookingItemStub
- Product to split.
Return Value
INewOrderCookingItemStub
See Also