Rutba Office
Download

Data Files samples / Food and beverages

Bramblegate Wine and Deli

Batches with their dates, markdowns, write-offs, the till, age checks and refusals, suppliers and purchase orders for a food and drink shop.

Download 662 KB16 tables, 16 queries, 8 reports, 5 print templates and 40,106 invented records, dated back from 2026-10-22.

How the tables are related

A line runs from a field that points at another table's record to that table. Data Files keeps a record from pointing at one that is not there, and a query with both tables joins them by it.

Products.Category points at CategoriesProducts.Supplier points at SuppliersPurchase Orders.Supplier points at SuppliersPurchase Orders.Staff points at StaffPurchase Lines.Purchase Order points at Purchase OrdersPurchase Lines.Product points at ProductsBatches.Product points at ProductsBatches.Purchase Order points at Purchase OrdersSales.Staff points at StaffSale Lines.Sale points at SalesSale Lines.Product points at ProductsSale Lines.Batch points at BatchesDate Checks.Staff points at StaffMarkdowns.Check points at Date ChecksMarkdowns.Batch points at BatchesWrite-offs.Check points at Date ChecksWrite-offs.Batch points at BatchesWrite-offs.Staff points at StaffRefusal Registers.Reviewed By points at StaffRefusals.Register points at Refusal RegistersRefusals.Staff points at StaffRefusals.Product points at ProductsStart HereBusinessSuppliersStaffCategoriesProductsPurchase OrdersPurchase LinesBatchesSalesSale LinesDate ChecksMarkdownsWrite-offsRefusal RegistersRefusals

Start Here

The guide to this database: the everyday tasks a step at a time, each step saying which table, form, query, report or print template to open. Open its report, Start Here, to read or print it. Delete the table when you no longer need it; nothing else uses it. (31 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
OrderWhole numberThe order the steps are read in.
TaskShort text, requiredThe everyday task the step belongs to.
StepWhole numberThe step's number within its task.
What To DoLong textWhat to open and what to do there.

Business

The business's own details, in one record. Every document it prints, an invoice, a receipt, a statement or a letter, takes its name, address and payment details from here, so they are changed in one place. (1 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
NameShort text, requiredThe name printed at the top of every document.
AddressShort textThe street address.
CityShort textThe town or city.
PostcodeShort textThe postcode or ZIP code.
CountryShort textThe country.
PhoneShort textThe phone number customers call.
E-mailShort textThe address customers write to.
WebsiteShort textThe website, if there is one.
Tax NumberShort textThe VAT or sales tax registration number, printed on invoices. The sample has a placeholder.
Company NumberShort textThe registered company number, where the business is a company. The sample has a placeholder.
Bank DetailsShort textWhere customers pay by transfer: the bank, account name and number. The sample has a placeholder.
Payment TermsShort textThe words printed under an invoice's total, such as "Payment within 30 days".
Tax RateNumberThe usual rate of VAT or sales tax as a fraction: 0.2 is twenty percent. Lines may carry a rate of their own.
CurrencyShort textThe currency the business trades in, as its three-letter code.
Document FooterLong textA line or two at the foot of every document: thanks, opening hours, returns policy.

Suppliers

The merchants, brewers, bakers and wholesalers the shop buys from. (6 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
NameShort text, requiredThe supplier's name.
ContactShort textThe person you deal with there.
AddressShort textThe supplier's street address, printed on purchase orders.
CityShort textThe town or city.
PostcodeShort textThe postcode.
PhoneShort textTheir phone number.
E-mailShort textWhere orders go.
Account NumberShort textThe shop's account number with the supplier, quoted on every order.
Delivers OnShort textThe days the supplier delivers.
Lead DaysWhole numberHow many days before a delivery the order must reach them: 1 means the day before.

Staff

The people who work in the shop, on the till and on the deli counter. (5 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
First NameShort textTheir first name, printed on the receipts they ring up.
Last NameShort text, requiredTheir family name.
RoleShort textOwner, Deli Manager, Shop Assistant or Weekend Assistant.
PhoneShort textA number to reach them.
StartedDateThe day they started.
Personal LicenceYes/NoTicked for someone who holds a personal licence to sell alcohol; the owner is the premises supervisor.
Age Check TrainingDateThe day they were last trained to ask for ID and to refuse a sale. Train everyone at least once a year.

Categories

The groups the shop sells in, with the VAT and age rules that go with each. (8 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
NameShort text, required, uniqueThe group, such as Wine or Deli Counter. Each name is used once.
VAT CodeShort textThe letter printed on receipts: S for the standard rate, Z for zero-rated.
Tax RateNumberThe VAT rate as a fraction: 0.2 for the standard rate, 0 for zero-rated food. The till copies it to each sale line.
Age RestrictedYes/NoTicked for alcohol: the till asks for an age check when a sale has any of it.
Case QuantityWhole numberHow many units of this group in one sale make a mixed case: 6 for wine, 12 for beer and cider, 0 for none.
Case DiscountNumberThe discount a mixed case earns, as a fraction: 0.1 is ten percent.

Products

Everything the shop sells, one record for each line. (65 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
CodeShort text, uniqueThe shop's own code for the line. Each code is used once.
NameShort text, requiredThe product as it shows on the till, the receipt and the labels.
CategoryPoints at CategoriesThe group it is sold in.
SupplierPoints at SuppliersWho you buy it from.
UnitShort textHow it is sold, such as a 75 cl bottle or a 200 g pack.
Date KindShort textUse by for chilled food that must not be sold after its date, Best before for food that keeps, None for wine and spirits.
Shelf LifeWhole numberAbout how many days a new delivery lasts before its date; empty for wine and spirits.
Cost PriceCurrencyWhat one costs you, before VAT.
Sale PriceCurrencyThe shelf price, VAT included.
In StockWhole numberHow many are in the shop now: all its batches added up.
Reorder LevelWhole numberWhen stock falls to this number or below, it shows in Stock to reorder.
Pack SizeWhole numberHow many come in the supplier's case or pack; orders are in whole packs.
ActiveYes/NoUntick a line you no longer sell; old sales keep it.

Purchase Orders

The orders sent to suppliers, and the delivery that answers each. (614 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
NumberShort text, uniqueThe order's number, given in date order and once only: PO-2026-0042, a new run each year.
SupplierPoints at Suppliers, requiredWho the order goes to.
StaffPoints at StaffWho placed it.
Ordered OnDateThe day it was sent.
ExpectedDateThe delivery day it was ordered for.
Received OnDateThe day the goods came; empty until then.
StatusShort textSubmitted (not delivered yet) or Received.
Supplier InvoiceShort textThe number on the supplier's invoice that came with the goods.
PaidYes/NoTicked once that invoice is paid.

Purchase Lines

The products on each purchase order. (3,989 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
Purchase OrderPoints at Purchase Orders, requiredThe order the line belongs to.
ProductPoints at Products, requiredWhat was ordered.
QuantityWhole numberHow many units, in whole packs.
Unit CostCurrencyWhat one unit costs, before VAT.

Batches

Stock as it really sits on the shelf: each delivery of each product is a batch with its own code and date. Stock by batch is what tells you what to sell first. (3,973 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
ProductPoints at Products, requiredWhat the batch is.
Purchase OrderPoints at Purchase OrdersThe order it came in on.
Batch CodeShort textThe lot code printed on the pack, for tracing a batch if a supplier recalls it.
ReceivedDateThe day it came in.
Expiry DateDateThe use-by or best-before date on the packs; empty for wine and spirits.
QuantityWhole numberHow many came in.
Unit CostCurrencyWhat one cost on that delivery.
RemainingWhole numberHow many are left: what came in, less what was sold and written off.
Marked Down ToCurrencyThe reduced price on the batch's labels, once it has been marked down; empty while it sells at the shelf price.

Sales

Each time the till is rung up: one record per receipt, with the totals the receipt prints. (9,412 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
NumberShort text, uniqueThe receipt number, given in time order and once only: RCP-2026-01234, a new run each year.
WhenDate and timeThe date and time of the sale.
StaffPoints at StaffWho was on the till.
PaymentShort textCard, Cash or Mobile.
TotalCurrencyWhat the customer paid, VAT included.
VATCurrencyThe VAT inside the total: each line's VAT rounded to the penny, then added up.
Standard RatedCurrencyThe part of the total, VAT included, at the standard rate. The rest is zero-rated.
SavedCurrencyWhat the customer saved on reduced items and mixed cases.
TenderedCurrencyFor a cash sale, the cash handed over; empty for card and mobile.
ChangeCurrencyFor a cash sale, the change given back.
Age CheckShort textFor a sale with alcohol: Looked over 25 (no ID needed) or ID checked. Not needed for a sale with none.
ID SeenShort textWhen ID was checked, what was shown: a driving licence, a passport or a proof-of-age card.

Sale Lines

The items on each receipt, each taken from one batch. (20,129 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
SalePoints at Sales, requiredThe receipt the line belongs to.
ProductPoints at Products, requiredWhat was sold.
BatchPoints at BatchesThe batch it came from: the one with the earliest date.
QuantityWhole numberHow many.
Full PriceCurrencyThe shelf price at the time.
Unit PriceCurrencyThe price charged for one: the shelf price, or the reduced price of a marked-down batch.
DiscountNumberThe mixed-case discount as a fraction: 0.1 is ten percent off. Never on top of a reduced price.
Tax RateNumberThe VAT rate of the line, copied from its category.
Unit CostCurrencyWhat one cost, from its batch, for the margin.

Date Checks

The check made each morning before opening: what is near its date is marked down, what has passed it is taken off sale, and the fridges are read. (354 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
NumberShort text, uniqueThe check's number, one a day: DC-2026-0042, a new run each year.
DateDateThe day of the check.
StaffPoints at StaffWho did it.
Fridge TemperaturesShort textWhat the chiller and the deli counter read, in degrees: both should be 5 or below.

Markdowns

Each time a batch is reduced: the yellow-sticker price and the labels printed for it. (1,084 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
NumberShort text, uniqueThe label's number, printed on it: MD-2026-00042, a new run each year.
CheckPoints at Date ChecksThe date check it was made at.
BatchPoints at Batches, requiredThe batch reduced.
DateDateThe day it was reduced.
WasCurrencyThe price before.
NowCurrencyThe reduced price.
LabelsWhole numberHow many labels to print: one for each pack left in the batch.
ReasonShort textOne day left, Last day (a use-by or bread date that is today) or Short date (food that keeps, within two weeks of its date).

Write-offs

Stock taken off sale and thrown away or returned, with what it cost. (324 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
CheckPoints at Date ChecksThe date check that found it; empty for a breakage during the day.
BatchPoints at Batches, requiredThe batch it came from.
DateDateThe day it was written off.
QuantityWhole numberHow many units.
ReasonShort textOut of date, Broken or Damaged.
CostCurrencyWhat the units cost: the quantity at the batch's unit cost.
StaffPoints at StaffWho wrote it off.

Refusal Registers

The refusals register, one record a month, reviewed and signed by the personal licence holder when the month ends. (12 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
MonthShort text, required, uniqueThe month the register covers, as 2026-10. Each month is used once.
Refusals LoggedWhole numberHow many refusals the month has.
Reviewed ByPoints at StaffWho reviewed it: a personal licence holder.
Reviewed OnDateThe day it was reviewed; empty for the month still running.

Refusals

Each sale of alcohol refused, written down at the time, as a licensed shop keeps them. (99 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
NumberShort text, uniqueThe refusal's number: REF-2026-0042, a new run each year.
RegisterPoints at Refusal RegistersThe month's register it is written in.
WhenDate and timeThe date and time.
StaffPoints at StaffWho refused the sale.
ProductPoints at ProductsWhat the customer tried to buy.
ReasonShort textNo ID shown, ID not acceptable, Under 18 on ID, Suspected proxy sale (buying for someone under age) or Customer drunk.
Approx AgeWhole numberHow old the customer looked, in years.
ID ShownShort textWhat ID was offered, if any.
DescriptionShort textWhat happened, in a few words, so the person could be recognised if they come back. No names.

One family

The rest of Rutba

One account across all of it. Sign in once and the products know each other.

OFFICE-SAMPLES-DETAIL · f7e1198