Rutba Office
Download

Data Files samples / Pharmacy counter

Tansy Row Pharmacy

Counter sales, stock by batch and expiry, pharmacist checks, prescription collections and home deliveries for an independent pharmacy.

Download 393 KB18 tables, 15 queries, 11 reports, 4 print templates and 21,941 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.

Supplier Orders.Supplier points at SuppliersSupplier Orders.Ordered By points at StaffSupplier Returns.Supplier points at SuppliersProducts.Category points at CategoriesProducts.Supplier points at SuppliersSupplier Order Lines.Order points at Supplier OrdersSupplier Order Lines.Product points at ProductsBatches.Product points at ProductsWaste.Batch points at BatchesWaste.Return points at Supplier ReturnsSales.Served By points at StaffSale Lines.Sale points at SalesSale Lines.Product points at ProductsPharmacist Checks.Product points at ProductsPharmacist Checks.Pharmacist points at StaffPharmacist Checks.Sale points at SalesDelivery Rounds.Driver points at StaffDeliveries.Round points at Delivery RoundsDeliveries.Customer points at Delivery CustomersStart HereBusinessSuppliersCategoriesStaffSupplier OrdersSupplier ReturnsProductsSupplier Order LinesBatchesWasteSalesSale LinesPharmacist ChecksPrescriptionsDelivery CustomersDelivery RoundsDeliveries

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. (32 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 wholesalers and suppliers the pharmacy buys from, with when they take orders and whether they take back out-of-date stock. (3 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 supplier's name, printed on purchase orders and return notes.
KindShort textWholesaler for medicines, or Toiletries for the supplier of toiletries, baby care and period care.
Account NoShort textThe pharmacy's account number with the supplier, quoted on every order and return.
AddressShort textThe street address.
CityShort textThe town or city.
PostcodeShort textThe postcode.
PhoneShort textThe order line.
E-mailShort textWhere orders and returns are sent.
Order DaysShort textThe days the pharmacy orders from this supplier, in words.
Lead DaysWhole numberHow many days after the order the goods arrive.
Payment DaysWhole numberHow many days after the supplier's invoice payment is due.
Takes ReturnsYes/NoTicked when the supplier takes back out-of-date stock for credit. Stock from the others is written off for disposal.
NotesLong textAnything worth knowing about ordering from them.

Categories

The groups the products are sold in, each with its VAT rate. (10 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's name. Each is used once.
DescriptionShort textWhat the group holds.
Tax RateNumberThe VAT rate as a fraction, taken on to each sale line: 0.2 for most goods, 0.05 for stop smoking products, 0 for period products, which carry no VAT in the UK.

Staff

Everyone who works at the pharmacy: the pharmacists, the technician, the counter assistants and the drivers. (7 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 till receipts.
Last NameShort text, requiredTheir family name.
RoleShort textPharmacist, Pharmacy technician, Counter assistant or Driver.
PhoneShort textTheir phone number.
E-mailShort textTheir work e-mail address.
StartedDateThe day they started.

Supplier Orders

The orders sent to suppliers, one record each, with their lines in Supplier Order Lines. (388 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, printed on the purchase order and quoted by the supplier: PO-2026-0042, a new run each year.
SupplierPoints at Suppliers, requiredWho the order went to.
Ordered ByPoints at StaffWho placed it.
Ordered OnDateThe day it was sent.
ExpectedDateThe day the goods should arrive.
Received OnDateThe day they arrived; empty until then.
StatusShort textSubmitted until the goods arrive, then Received.

Supplier Returns

Out-of-date stock sent back to a wholesaler for credit, one record for each expiry return note. Its lines are the Waste records that point at it. (17 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 return's number, printed on the note: RTN-2026-0007.
SupplierPoints at Suppliers, requiredThe wholesaler the stock goes back to.
Raised OnDateThe day the note was made out.
Collected OnDateThe day the driver took it away; empty until then.
StatusShort textAwaiting collection, Awaiting credit, or Credited.
Credit ClaimedCurrencyThe value of the stock returned, at cost: the total of the note.
Credit NoteShort textThe supplier's credit note reference, once it arrives.
Credited OnDateThe day the credit arrived.

Products

Everything on the shelves, one record for each line, under its generic name. What is in stock is the sum of its batches. (76 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 pharmacy's own code for the line. Each is used once.
NameShort text, requiredThe product's generic name and pack, as the till and the receipt show it.
CategoryPoints at CategoriesThe group it is sold in, which gives its VAT rate.
SupplierPoints at SuppliersWho it is ordered from.
PackShort textThe pack size or contents.
Cost PriceCurrencyWhat one pack costs from the supplier, before VAT.
Retail PriceCurrencyThe shelf price of one pack, VAT included.
Units in StockWhole numberPacks on the shelf now: the sum of Quantity Left over its batches.
Reorder LevelWhole numberWhen stock falls to this, it goes on the next order.
Reorder QuantityWhole numberHow many packs to order each time.
Pharmacist CheckYes/NoTicked for a pharmacy-only line: the pharmacist speaks to the customer before it is sold, and the check is recorded.
Max per SaleWhole numberThe most packs sold in one sale, where the pharmacy keeps a limit. Empty for no limit.
DiscontinuedYes/NoTicked for a line no longer stocked.

Supplier Order Lines

The products on each supplier order. (1,114 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
OrderPoints at Supplier Orders, requiredThe order the line belongs to.
ProductPoints at Products, requiredWhat is ordered.
QuantityWhole numberHow many packs.
Unit CostCurrencyThe cost of one pack on this order.

Batches

Stock as it arrived: one record for each delivery of a product, with its batch number and expiry date, and how much of it is left. (1,219 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, requiredThe product.
Batch NoShort textThe batch number printed on the pack.
Expiry DateDateThe date printed on the pack after which it must not be sold.
Received OnDateThe day it arrived.
Quantity ReceivedWhole numberHow many packs arrived.
Quantity LeftWhole numberHow many of them are still on the shelf. A sale takes from the batch that expires first.

Waste

Stock written off: out of date, or damaged. Out-of-date stock from a supplier that takes returns points at the return note it went back on. (61 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
BatchPoints at Batches, requiredThe batch written off, which gives the product and its expiry date.
ReturnPoints at Supplier ReturnsThe expiry return note it went back to the supplier on. Empty when it was disposed of.
Written Off OnDateThe day it came off the shelf.
QuantityWhole numberHow many packs.
Unit CostCurrencyThe cost of one pack, for the value of the loss or the credit.
ReasonShort textOut of date, returned to supplier; Out of date, for disposal; Damaged in delivery, returned to supplier; or Damaged in store.

Sales

The till: one record for each sale, with its lines in Sale Lines. Each prints as a till receipt. (5,214 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, in time order, a new run each year: RCP-2026-00042.
WhenDate and timeThe date and time of the sale.
TillShort textWhich till took it.
Served ByPoints at StaffWho served the customer.
PaymentShort textCard or Cash.
TotalCurrencyWhat the customer paid for the goods, VAT included: the sum of the lines.
VATCurrencyThe VAT within the total, worked out on each line and added up.
PaidCurrencyWhat the customer handed over: the total by card, or the cash given.
ChangeCurrencyThe change given from cash.

Sale Lines

The products on each sale. (7,879 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 sale the line belongs to.
ProductPoints at Products, requiredWhat was sold.
QuantityWhole numberHow many packs.
Unit PriceCurrencyThe shelf price of one pack at the time, VAT included.
Tax RateNumberThe VAT rate of the line, taken from the product's group when it was sold.
Unit CostCurrencyWhat one pack cost the pharmacy, kept for the margin.
Pharmacist CheckYes/NoTicked for a pharmacy-only line, so the receipt marks it.

Pharmacist Checks

A record of every request for a pharmacy-only line: the pharmacist spoke to the customer and decided whether to sell. The words are short and practical, never clinical. (818 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
WhenDate and timeThe date and time of the check.
ProductPoints at Products, requiredThe line asked for.
QuantityWhole numberHow many packs were asked for.
PharmacistPoints at Staff, requiredThe pharmacist who made the check.
SalePoints at SalesThe sale it was sold on. Empty when it was not sold.
For WhomShort textSelf, or Someone at home.
OutcomeShort textSold, or Not sold.
NoteShort textA few plain words where there is something to say, such as Chose a different product.

Prescriptions

A minimal log of prescriptions waiting to be collected or delivered: initials, a reference and a count of items. It holds nothing clinical; the dispensary keeps its own records. (3,244 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
ReferenceShort text, uniqueThe pharmacy's reference for the prescription bag: RX-2026-00042.
InitialsShort textThe customer's initials, to find the bag on the shelf.
Received OnDateThe day the prescription came in.
ItemsWhole numberHow many items are in the bag.
Ready OnDateThe day the bag was ready.
Collected OnDateThe day it was collected or delivered; empty while it waits.
StatusShort textBeing made up, Ready, Collected, Delivered, or Not collected (back to stock after 28 days).
ShelfShort textWhere the bag waits: the letter of the family name and a shelf number.
For DeliveryYes/NoTicked when it goes out on a delivery round instead of being collected.

Delivery Customers

Customers who cannot get to the pharmacy and have their prescriptions delivered, with the day their round comes. (42 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
Customer NoShort text, uniqueThe pharmacy's number for the customer: DC-0012.
First NameShort textTheir first name.
Last NameShort text, requiredTheir family name.
AddressShort textWhere to deliver.
CityShort textThe town.
PostcodeShort textThe postcode, which the driver plans the round by.
PhoneShort textThe number to ring before or if no one answers.
AreaShort textNorth or South: which weekday round they are on.
Round DayShort textThe day of the week their delivery comes.
Every WeeksWhole numberHow often: 1 every week, 2 every fortnight, 4 every four weeks.
Access NotesShort textWhat the driver should know at the door, in plain words.
ActiveYes/NoTicked while they have deliveries.
SinceDateThe day deliveries began.

Delivery Rounds

One record for each driver's round on each day, with its stops in Deliveries. Each prints as a round sheet. (546 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 round's number: RND-2026-0123.
Delivery DateDateThe day of the round.
DriverPoints at Staff, requiredWho drives it.
AreaShort textNorth or South on a weekday, All at the weekend.
StopsWhole numberHow many stops it has.
BagsWhole numberHow many bags go out on it.
StatusShort textPlanned, or Done once the driver is back.

Deliveries

Each stop on a round: who, which prescription bag, and what happened. (1,270 records in the sample.)

FieldTypeWhat it holds
IDAutoNumberThe number Data Files gives each record. Other tables point at a record by it.
RoundPoints at Delivery Rounds, requiredThe round the stop is on.
StopWhole numberIts place in the round.
CustomerPoints at Delivery Customers, requiredWho it is for.
Prescription RefShort textThe reference of the bag, as in Prescriptions.
BagsWhole numberHow many bags.
StatusShort textPlanned, Delivered, or Not in, card left (it goes again the next day).
Delivered AtDate and timeWhen it was handed over.
Received ByShort textWho took it: Customer, Carer or Family member.
NotesShort textAnything the driver should know about this stop.

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