Addresses
Submitted by Guest on Wed, 22/12/2021 - 09:43
The system is designed to handle location addresses in a structured manner, ie one or more address lines, a suburb, a postcode, and a state. Note however that you do not explicitly set the country - although this is implicit in the state (since each is associated with a country).
If you have to hold addresses in different countries, there are two possible approaches:
- put the whole address in the address lines, and leave the suburb, postcode, and state fields empty
- create the states and suburbs for each 'foreign' country
The second approach will potentially result in a long list of states (since it will include those from all countries). Hence the best approach is probably the first.