**|** {{:icons:menu-blk.png?16|}} Code Books **|**\\
{{:icons:extension.png?16|}} Invoices **|** POS Sales **|** Catering
====== Locations ======
This code book is used to enter the physical places where devices connected to Brix are located.
* A **location** is a physical place with **one** device that does not issue receipts (e.g. an RFID reader for access control).
* A **point of sale** is a place of payment under whose number its own sequence of receipt numbers runs (e.g. [[vage:sunmicrofiscal:]] or a touchscreen till).
Every location or point of sale must be linked to one **[[brix:en:departments|department]]**. One department can contain several locations and points of sale.
===== How many points of sale to enter =====
The answer depends on whether the device creates the receipt itself or "connects" to Brix through a browser.
* **Standalone (physical) payment device** — a fiscal scale (type **Fiscal scale**) or a touchscreen till (type **GUI**).\\ The device creates and fiscalises the receipt **itself** and reports to Brix with its **serial number**; Brix only takes over such a receipt.\\ {{:icons:important.png?16|}} **Each device must have its own point of sale.** Two scales in the same shop mean two points of sale with different numbers, and therefore two separate receipt number sequences.
* **Device working through a web browser** — a computer, tablet or mobile phone with the //**[ [[brix:en:small_bills|POS Receipts]] ]**// form open.\\ Such a device **does not create the receipt itself**; it is only a screen and keyboard, and Brix creates and fiscalises the receipt. The device is not tied to a particular point of sale and can be replaced by another at any time.\\ {{:icons:important.png?16|}} No point of sale is entered for such devices. POS receipts are issued under the department's //**{Till - POS Receipts}**// from the **//[[brix:en:departments:other]]//** tab, by Brix users — see [[brix:en:small_bills#clerks|POS receipt clerks]].
Rule of thumb: **as many fiscal scales and tills — as many points of sale**. Computers, tablets and mobile phones need no point of sale.
===== Examples =====
* **Shop with two scales and three mobile phones** — one department, **two** points of sale, one for each fiscal scale. POS receipts from the phones are issued under the department's //**{Till - POS Receipts}**//.
* **Shop with mobile phones only** — one department, **no** points of sale. The department's //**{Till - POS Receipts}**// is enough, regardless of the number of phones.
===== Payment device number =====
The payment device number is printed in the third part of the receipt number (e.g. //1234/P1/**2**//); the receipt number sequence depends on it.
* **Invoices** carry the department's //**{Till - Invoices}**// — tab **//[[brix:en:departments:other]]//** — and share one number sequence.
* **POS receipts** carry the department's //**{Till - POS Receipts}**// and their own number sequence.
* **FA invoices** carry the //**{Till - Fixed Asset Sales}**// from the [[brix:en:companies:other|company data]].
* **Fiscal scales and tills** use the //**{Number}**// of the point of sale the device is assigned to.
* **Voids of fiscal scale receipts** carry the separate //**{Void}**// number of that scale's point of sale and their own number sequence — see [[vage:sunmicrofiscal:upotreba_vage:storniranje_racuna]].
Detailed explanation: **[[brix:en:payment_device_number]]**.
===== Point of sale dialog =====
Selecting a point of sale in the list opens the //Point of sale// dialog. The icons in the dialog header are shown on all tabs:
* {{:icons:content_copy-bar_dgr.png?25|}} — Copies the whole point of sale into a new point of sale. Useful when creating a new point of sale with the same items.
* {{:icons:print-bar_dgr.png?25|}} — Prints the basic data programmed on the fiscal scale: department, business premises code, point of sale number, device, title text and the clerks with the default payment method per key.
===== Data tabs =====
The point of sale dialog has three [[brix:en:basics:tabs|data tabs]]:
* **//[[brix:en:locations:basic]]//**\\ Device type, department, payment device number (for a fiscal scale also the void number), name and the title the scale prints on the receipt.
* **//[[brix:en:locations:operators]]//**\\ Employees working on the clerk keys of a fiscal scale, with the default payment method.
* **//[[brix:en:locations:sunmicro]]//**\\ Links the scale's PLU codes to items in Brix. Shown only for the **Fiscal scale** type.
===== Buttons =====
* **SAVE** — Saves the point of sale.
* **DELETE** — Deletes an existing point of sale.
===== Limitations =====
* {{:icons:warning.png?16|}} A point of sale of type **Fiscal scale** cannot be deleted, and its //**{Number}**// or //**{Void}**// cannot be changed, if receipts or voids with that payment device number already exist for that scale.
* {{:icons:important.png?16|}} At an inactive point of sale the scale can no longer issue receipts.
* {{:icons:important.png?16|}} Without a //**{Void}**// number, a receipt issued on that scale cannot be voided — see [[vage:sunmicrofiscal:upotreba_vage:storniranje_racuna]].