Click or drag to resize

EditSessionExtensionsCreateOrder Method

Creates new order on specified table. User must have rights to create orders.

Namespace:  Resto.Front.Api.Extensions
Assembly:  Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
public static INewOrderStub CreateOrder(
	this IEditSession editSession,
	ITable table
)

Parameters

editSession
Type: Resto.Front.Api.EditorsIEditSession
Order will be created within the specified session.
table
Type: Resto.Front.Api.Data.Organization.SectionsITable
Table on which order will be created. If table is null, then order will be created on the default table (depending on select Syrve POS mode).

Return Value

Type: INewOrderStub

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEditSession. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also