Dr. Hotellátó · Early 2026
A script that updates 116 hotel order forms
For the 2026 price round, a script fills each hotel’s Excel order form with its new prices and last year’s quantities, and writes a check file for every run.
- 116hotel order forms updated
- ~30 hof hand work for the same update, estimated
- 97hotels with sales history got last year’s quantities
The problem
Each of the 116 hotels has its own Excel order form with its own discount. For the 2026 price round, every form needed the customer’s new prices and last year’s quantities: about 30 hours of work by hand.
Hotel-supplies distributor in Hungary, a member of Groupe GM (the French hotel-amenities group). I have worked on its systems since 2021.
What I built
How it works
- 1
A Python script reads three files: the product price list, the customer discount report and a customer-by-product quantity file.
- 2
Last year’s price and the new price are each the list price minus that customer’s discount for that year.
- 3
A quantity is filled only when both the customer and the product code match.
- 4
Every run writes a separate check file: a summary, each hotel with its discount and totals, a sample of products, and a quantity check. In the picture, the green columns are what the script fills.
What it did
What it changed
- All 116 hotel order forms were updated.
- 97 of the 116 hotels had sales history, and all 97 got last year’s quantities. The other 19 had no sales history to fill.
Built with
- Python
- openpyxl
- Excel