Skip to main content

How an order flows through the restaurant

The restaurant system in alameen ERP 10 is a fast screen for taking orders, serving them and collecting payment. Every order goes through the same steps: you enter the items, the kitchen prepares them, the customer pays and the program makes a bill, and the order joins a period that is closed at the end of the shift. This page explains the ideas you need before you open any restaurant window.

What you define first​

ConceptMeaningWhere to define it
SectorA place in the restaurant that holds tables, such as the hall or the garden. Each computer works on one current sector, and new orders take the sector of the computer.Sector Card, and the computer's sector in Sector options
TableBelongs to a sector. A dine-in order needs at least one table.Table Card, and Tables Design
HostThe hall employee recorded on a dine-in order.Host Card
KitchenWhere items are prepared. Each kitchen is linked to the items it prepares and has a printer. Items without a kitchen go to the computer's Default Kitchen.Kitchen Card
Driver and delivery companyWho delivers delivery orders and receives the delivery fee or commission.Driver Card, Delivery Company Card
PeriodA user's shift, from opening to closing. It collects the orders the user paid.Periods

The settings that govern all of this are in Restaurant settings. They are saved per user and per computer, so set them before work starts.

Order types​

The program shows the order type with a short name in lists and a full name in commands:

TypeShort nameFull nameWhat it needs
Dine-inDine-inDine-in OrderAt least one table. Without it the program refuses to send or pay with "Table should be added to the order".
TakeawayTakeawayTakeaway OrderNothing extra. It is the type the program starts with when Default order type in System Options is "Without".
DeliveryDeliveryDelivery OrderA customer on the order before sending ("No customer selected"), an address that sets the delivery fee area, and a driver when Force selecting a driver is on.

The program has two more types that the cashier does not choose from the type commands: Returned order for returning orders, and Sales by points for paying with a loyalty card.

When you change the type of an open order:

  • If the order leaves the dine-in type, the program clears its tables and its host.
  • If it leaves the delivery type, the program clears its driver and delivery fee.
  • The program deletes the taxes on the order and applies the taxes of the new type again. A tax applies to one type or to All; see Tax.

The order entry screen and its commands are in Order entry screen, and the steps in Take a new order.

Sending the order to the kitchen​

The Prepare order command in the entry screen sends the order. The program first checks that the order has items, that a delivery order has a customer, and that a dine-in order has a table. Then it:

  1. Changes the state of the items and the order. The states the program shows are Enter, Prepare, Start preparing, End preparing, Modify, Wait, Start delivery, Pay to host, Closed and Order served.
  2. Prints a copy for the kitchen according to the Printing options.
  3. Closes the order in the screen and starts a new one.

The effect of the Use kitchen window option in System options:

  • If the option is on (the default): items take the state Prepare and wait for the cook, who moves them to Start preparing and then End preparing in the kitchen window. Each kitchen computer moves the items of its own Current Kitchen. When the restaurant opens, the program requires both Current Kitchen and Default Kitchen to be set.
  • If the option is off: items take the state End preparing as soon as they are sent, and no kitchen window is needed.

Payment then needs the order items not to be in the state Prepare, unless the option for the order type allows it: Pay unprepared Takeaway order, Pay unprepared delivery order and Pay unprepared Dine-in order. All three are on by default.

The steps are in Send an order to the kitchen and Work the orders in the kitchen screen.

Paying​

The cashier opens the payment window or presses a quick pay command. Before accepting payment the program checks the following and stops at the first refusal:

  • The order has items and they are not all voided. Otherwise: "All the order items have been voided, please cancel the order."
  • A dine-in order has a table.
  • The day is not closed, and today's date is allowed.
  • If Minimum charge per person on a table is on, the total of a dine-in order must reach that amount times the number of people at the table. Otherwise: "The order total is less than the allowed one ( remainder … )".
  • If Force order preparation when canceling a previously prepared item is on, the order has no cancelled material that was not sent to the kitchen; otherwise "Order should be prepared" appears.
  • If Force selecting a driver is on, a delivery order has a driver, and the program shows the driver list if none is set.
  • No item discount percentage exceeds the user's allowed maximum.
  • For every item with a zero price the program asks. Yes continues, No stops the payment, and Ignore stops the remaining questions for this payment. The question always appears; the option Warn when selling without price has no effect in this version.

Three payment ways decide the type of bill:

WayWhenThe bill
CashThe cash pay command with one currency, or the bank card pay command, or the payment window with one currency and no bank card, points, commercial paper or credit.A cash bill on the cash account, or on the bank card's receive account.
CreditThe credit amount covers the whole order total.A credit bill on the order's customer.
MultipleAny other payment: more than one currency, a card with cash, loyalty points, a commercial paper, or credit for part of the amount.A credit bill on the customer, followed by a receipt entry.

The payment window is described in Restaurant pay screen, and the steps in Pay an order.

The bill and the accounts​

On payment, if Generate bills after payment is on (the default), the program makes a sales bill from the order at once. If it is off, orders stay without bills until the period is closed, and the bills are made then.

Which bill type​

The order type decides the bill type, taken from Invoices Forms in the settings of the user who created the order (or of the computer when Save bills type by computer is on):

OrderBill type
TakeawayTakeaway Order
Dine-inDine-in Order
DeliveryDelivery Order
Returned orderReturned order
Sales by pointsSales by points
An order with a special type chosen by the cashierThe sales or return bill type set for that special type

Every bill type needs a default warehouse. The bill type's own options (moving materials to warehouses and generating the entry automatically) apply to the order's bill like any bill; see How bills work.

What the bill holds and which account​

Order partRecorded in the bill
ItemsBill lines with their quantities and prices, in the bill type's warehouse. Items given as hospitality are recorded as a discount or a free item according to Add free items cost to discount.
Order discountA discount in the bill, on the default discount account of the bill type.
TaxAn addition in the bill, on the account set in Tax. If it has no account, on the default additions account of the bill type.
Delivery feeAn addition on the driver's account. If the driver has no account, on the additions account of the bill type. If the driver has a commission ratio and a different commission account, the part of the fee that is commission goes to the commission account.
RoundingA discount or an addition named rounding, according to its sign.

Collecting the money depends on the way of payment (accounts from Default Accounts):

  • Cash: the amount enters the cash account. It is the Default Cash Account if you set it, otherwise the default cash account of the bill type. For a single bank card it is the card's receive account.
  • Credit: on the customer account set on the order (or one of the ten credit Customers).
  • Multiple: the bill is made on the customer if the order has one, otherwise on the Middleman. Then the program makes an entry that debits the cash account (or the bank card account, or the points account) and credits the customer account, and reverses the returned amount. The middleman's balance returns to what it was.

An example not yet verified in the program: a delivery order with items worth 100, a delivery fee of 10 on a driver account (no commission), and a 10 percent tax of type Percentage with After additions on. The tax is calculated on 110, so it is 11. The order total is 121: items 100, an addition of 10 on the driver's account, and an addition of 11 on the tax account. If After additions is off, the tax is 10 and the total is 120.

Periods​

Each user has one open period. It starts at the user's first payment or send, the program numbers periods in sequence, and each order the user pays carries the period number.

  • Close current period is one of the screen commands. The program does not close the period while the user has unfinished orders until you move them to another user.
  • On closing, the program makes the bills of the orders that have none (when bills are not made after payment), and makes manufacturing operations for the ingredients of the items sold in the period. The ingredient materials leave the output warehouse and the finished materials enter the input warehouse. The two warehouses come from System options, otherwise from the manufacturing form itself.
  • You can limit when a user may sign in: Enforce time range for user login with Period start and Hours Count.
  • Close the day at: orders paid between midnight and this hour take yesterday's date.
  • Reset orders at restarts order numbering from one.

The commands and their steps are in Close the current period, Re-close the periods of a user, Restart order numbering and Zero the cash drawer.

What the system shares with POS​

Restaurants and POS rely on the same shared library, so their ideas are alike: order, payment and bill, settings at three levels (file, computer and user), material buttons, command bars and the dashboard. These shared windows open from the same Restaurant settings window, and they are described in the POS pages:

Restaurant settings are independent of POS settings: restaurants have their own options, bill types and accounts, saved separately, so setting one does not change the other. Restaurants also have what POS does not: sectors, tables, hosts, kitchens, delivery and periods.

This page applies to alameen ERP 10, version 10.1.79.764.