Skip to main content

AddressFormat Table (57)

Address formats for GUI and labels. See more information; Addressformat on http;//techdoc.superoffice.com

Fields

AddressFormat table relationship diagram

LabelLayout/LabelLayout2

In SuperOffice 6, we replaced the ExtraFlags formatting of labellayout with the two fields LabelLayout and LabelLayout2. We use some special characters to separate the template variables: [ ] is to add a space between the template variables. [\n] - is to add a new line. |x| - Sometimes only the address part is needed, so a special delimiter will be used in the template string to tell where the name/title/… ends and the address begins.

Automatic copy street address to postal address

You would in some cases like that the Street address is automatically copied to the postal address, and this is done by adding the following bitmask to the different *_zip fields: This example will automatically copy of street address for the Netherlands, which uses a German address format (check this in the admin client - lists - country). The queries that change this: Open ISQL, HakonClient, or another tool like it.
address format -screenshot To copy street address to postal address, and the reverse is done by updating the following in table AddressFormat:
To get it to look up the city or zip code information from the table ziptocity:
addressformat_id = 9 have the Street address information (atype_idx = 2), and addressformat_id=10 have the postal address information (atype_idx=1). To make them copy between the text entered (only when adding a new customer) you update the xxx_zip value. If you take the number 1024 as HEX, it’s 400, 2048 in HEX is 800, and this tells the CRM client to copy between these lines.
The docs describe each field in table AddressFormat, but you need to know some of our internal resources (lead text to the address lines).

Indexes

Relationships

Replication Flags

  • Replicate changes DOWN from central to satellites and travellers.
  • Replicate changes UP from satellites and travellers back to central.
  • Copy to satellite and travel prototypes.

Security Flags

  • No access control via user’s Role.