Skip to main content

State

The provinces. Punjab, Sindh, Khyber Pakhtunkhwa, Balochistan and the rest arrive with the system. An address in a country that requires a province picks from this list.

Where
Organization & Setup › Address › State
Who uses it
The implementation consultant, rarely. The list arrives filled in.
When
Before the first address and before City
Needs first
Country

What it is for​

Every state belongs to one country, and that is the whole point of the screen: when somebody picks Pakistan on an address, the province list narrows to Pakistan's provinces, and when they pick a province the city list narrows again.

The Pakistani provinces are already there. You come here to add a province of another country the client has an address in, or to correct a name.

Where the Country record has State Required ticked, an address in that country cannot be saved without a province from this list.

Every field, in plain words​

FieldWhat it meansWhat to put in itNotes
StateThe short code for the province.PBRequired.
NameWhat the province is called.PunjabRequired.
CountryThe country the province is in.PakistanRequired. Pick it from the list. It is what narrows the province list on an address.
PredefinedThe record came with the system.Fills itself. Leave it.A predefined state cannot be deleted. The screen refuses and says so.

Name in other languages​

FieldWhat it meansWhat to put in itNotes
Line #The line number.Fills itself
LanguageA language the client uses.Urdu
StateThe province the translation belongs to.Fills itself
NameThe province's name in that language.The Urdu form of Punjab

How to configure it​

  1. Make sure the Country exists first.
  2. Open State and check the provinces the client needs are there. Pakistan's are.
  3. To add one, enter the code, the name and the country.
  4. Save, then add its cities on City.

Scenarios​

We have an office in Dubai and the province list is empty for the UAE​

Add the emirate as a state with Country set to the UAE, then add Dubai as a city under it. The address can then be completed.

What it is connected to​

  • Country must exist first, and a state belongs to exactly one.
  • City hangs below the state.
  • Every address field that asks for a province reads this list, narrowed to the country already picked.

If something looks wrong​

  • "It will not let me delete a province, it says it is predefined" - that is correct.
  • "The province list is empty on an address" - no state names the country that was picked.
  • "The city list is empty after picking a province" - no City names that province.