EditSessionExtensionsCreateOrder Method |
Creates new order on specified table. User must have rights to create orders.
Namespace: Resto.Front.Api.ExtensionsAssembly: Resto.Front.Api.V10 (in Resto.Front.Api.V10.dll)
Syntaxpublic static INewOrderStub CreateOrder(
this IEditSession editSession,
ITable table
)
Parameters
- editSession IEditSession
- Order will be created within the specified session.
- table ITable
- 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
INewOrderStubUsage 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