đŸ˜ī¸

Town Setup

Define the primary geographic areas (towns/cities) used to organize customers and delivery routes.
How to Open
Menu → Setups → Town
Keyboard Shortcuts
F12 Save   F5 New/Clear   Esc Close
📝

How to Use

➕ Adding a New Row

  1. Open Town Setup from the menu
  2. Select the filter dropdown if applicable
  3. Click New to add a blank row at the bottom of the grid
  4. Fill in the required columns
  5. Press F12 or click Save

âœī¸ Editing Existing Rows

  1. Select the row you want to edit in the grid
  2. Click on the cell and modify the value
  3. Modified rows will turn light yellow
  4. Press F12 or click Save to save all changes
📋

Field Descriptions

📊

Grid Columns

ColumnTypeRequiredDescription
NameText✅Name of the town or area. Must be unique.
TypeDropdown✅Classification of the town: LOCAL = within local delivery range, PREFERRAL = regional / referral, CONTROL = controlled/restricted area.
CodeTextShort code for the town. Must be unique. Used in reports and compact displays.
ActiveCheckboxActive status. Uncheck to hide from dropdowns. A town cannot be deactivated while it still has active sub towns or customers — see Important Notes.
🔘

Buttons

ButtonShortcutWhat it Does
💾 SaveF12Saves all changes. The system will ask for confirmation before saving.
➕ NewF5Adds a new blank row to the grid for data entry.
❌ CloseEscCloses the Town Setup screen.
💡

Important Notes

â„šī¸
Towns are Parents: Each town contains one or more Sub Towns. Set up towns first, then add sub towns.
💡
Town Type: Use LOCAL for nearby delivery areas, PREFERRAL for outside areas, and CONTROL for restricted regions.
âš ī¸
Cannot Deactivate a Town in Use: If you uncheck Active on a town that still has active sub towns or active customers, the save is refused and a message lists what is blocking it. Deactivate those records first, then the town. Nothing is saved when the save is refused — including any other rows you edited at the same time.
â„šī¸
Customers Count Too: A town is blocked by its customers even when every sub town beneath it is already inactive. This prevents live customers being stranded under a retired town.
💡
Deactivating a Whole Area at Once: If you often need to retire a town together with everything under it, enable Cascade Deactivate Sub Setups in Settings. The system then asks whether to deactivate the listed records as well instead of refusing. This is off by default, and a confirmed cascade cannot be undone.