Select and edit address layouts
Operating mode
Cloud Suite
|ON-PREMISES
Modules
Services & CRM
Budget & Phases
Purchases
Resource Planning
Business Intelligence
For each address a special layout can be selected in Vertec. This is used to define how the corresponding address should look when printing. The print view is visible on the right of each address:
When a new address is created, the default template of this address type (person, company, etc.) is automatically selected. If a different layout is desired, this can be done in two ways:
Übernehmen
to select an appropriate layout.
%%
bordered. You can also enter additional text manually, which will then be shown 1:1.
Layout templates can only be edited by the administrator.
Click the New button in the Template window or select an existing template and click Edit. This will take you to the Template Editor.
Give the template a designation. We recommend selecting it in such a way that it is clear for which address type (company, person, contact, couple and if possible SimpleAddress) this template can be selected.
For each template it can be defined whether it should be used as the default for an address type. Only one default can be defined per address type.
The individual fields of the address layout are inserted as OCL expressions. To be recognized as such, they must be marked with percentage signs %%
be framed.
Select the desired field in the available fields on the left and click on the button >>
. The field is entered as a variable at the curson position in the right field Address layout. You can also enter text manually. Use the appropriate OCL expressions, with %%
edged. Text without %
-Character is inserted, will be shown later in the layout 1:1 like this.
OCL expressions can also be entered in the FormOfAddress and Salutation fields.
The following templates are supplied by default for new installations starting with Vertec 6.8. These templates take into account the different languages and field configurations. If as gender (gender
) is not specified as male or female, a gender-neutral letter salutation is used.
Address layout | %name% %supplement% %streetaddress% %zipcode% %city% %country% |
form of address | For companies, the FormOfAddress remains blank. |
salutation | %if language.asstring='DE' then 'Guten Tag' else if language.asstring='FR' then 'Bonjour' else if language.asstring='IT' then 'Spettabile Ditta' else if language.asstring='EN' then 'To whom it may concern' else '' endif endif endif endif% |
Address layout | %firma.name% %person.firstname% %person.name% %firstname% %name% %supplement% %streetaddress% %zipcode% %city% %country% |
form of address | If a person is assignedassigned the salutation is taken over by FormOfAddress from the person object. %if person.notNull then person.formofaddress else if gender = 'male' then if language.asstring='DE' then 'Herr' else if language.asstring='EN' then 'Mr' else if language.asstring='FR' then 'Monsieur' else if language.asstring='IT' then 'Signore' else '' endif endif endif endif else if gender = 'female' then if language.asstring='DE' then 'Frau' else if language.asstring='EN' then 'Ms' else if language.asstring='FR' then 'Madame' else if language.asstring='IT' then 'Signora' else '' endif endif endif endif else '' endif endif endif% |
salutation |
If a person is assignedassigned the letter title is adopted salutation the person object. %if person.notNull then person.salutation else if language.asstring='DE' then if gender = 'male' then 'Sehr geehrter' else if gender = 'female' then 'Sehr geehrte' else 'Guten Tag' endif endif else if language.asstring='FR' then if gender = 'male' then 'Cher' else if gender = 'female' then 'Chère' else 'Bonjour' endif endif else if language.asstring='IT' then if gender = 'male' then 'Egregio' else if gender = 'female' then 'Egregia' else 'Buon giorno' endif endif else if language.asstring='EN' then if gender = 'male' then 'Dear' else if gender = 'female' then 'Dear' else 'Dear' endif endif else '' endif endif endif endif + ' ' + (if title='' then if formofaddress='' then firstname else formofaddress endif else if language.asstring = 'DE' then if formofaddress<>'' then formofaddress + ' ' + title else title endif else title endif endif) endif% %name% |
Address layout | %firstname% %name% %supplement% %streetaddress% %zipcode% %city% %country% |
form of address | %if gender = 'male' then if language.asstring='DE' then 'Herr' else if language.asstring='EN' then 'Mr' else if language.asstring='FR' then 'Monsieur' else if language.asstring='IT' then 'Signore' else '' endif endif endif endif else if gender = 'female' then if language.asstring='DE' then 'Frau' else if language.asstring='EN' then 'Ms' else if language.asstring='FR' then 'Madame' else if language.asstring='IT' then 'Signora' else '' endif endif endif endif else '' endif endif% |
salutation | %if language.asstring='DE' then if gender = 'male' then 'Sehr geehrter' else if gender = 'female' then 'Sehr geehrte' else 'Guten Tag' endif endif else if language.asstring='FR' then if gender = 'male' then 'Cher' else if gender = 'female' then 'Chère' else 'Bonjour' endif endif else if language.asstring='IT' then if gender = 'male' then 'Egregio' else if gender = 'female' then 'Egregia' else 'Buon giorno' endif endif else if language.asstring='EN' then if gender = 'male' then 'Dear' else if gender = 'female' then 'Dear' else 'Dear' endif endif else '' endif endif endif endif% %if title='' then if formofaddress='' then firstname else formofaddress endif else if language.asstring = 'DE' then if formofaddress<>'' then formofaddress + ' ' + title else title endif else title endif endif% %name% |
Address layout | %personA.firstname% %personA.name% %firstnameA% %nameA% %personB.firstname% %personB.name% %firstnameB% %nameB% %supplement% %streetaddress% %zipcode% %city% %country% |
form of address | The FormOfAddress for couples belongs to the respective person and is either applied by the person or not entered. This means that the FormOfAddress for couples remains blank and is entered manually if necessary. |
salutation | If persons are assigned, the salutation is applied over from the person objects. Without the person objects (i.e. if only names were entered on the couple), the gender of the addressees remains unknown and the salutation is gender-neutral. The salutation for couples is 2-line. %if personA.notNull then personA.salutation else if language.asstring='DE' then 'Guten Tag ' else if language.asstring='FR' then 'Bonjour ' else if language.asstring='IT' then 'Buon giorno ' else 'Dear ' endif endif endif + firstnameA + ' ' + nameA endif% %if personB.notNull then personB.salutation else if language.asstring='DE' then 'Guten Tag ' else if language.asstring='FR' then 'Bonjour ' else if language.asstring='IT' then 'Buon giorno ' else 'Dear ' endif endif endif + firstnameB + ' ' + nameB endif% |
Address layout | %firstname% %name% %zuHanden% %supplement% %streetaddress% %zipcode% %city% |
form of address | %if gender = 'male' then if language.asstring='DE' then 'Herr' else if language.asstring='EN' then 'Mr' else if language.asstring='FR' then 'Monsieur' else if language.asstring='IT' then 'Signore' else '' endif endif endif endif else if gender = 'female' then if language.asstring='DE' then 'Frau' else if language.asstring='EN' then 'Ms' else if language.asstring='FR' then 'Madame' else if language.asstring='IT' then 'Signora' else '' endif endif endif endif else '' endif endif% |
salutation | %if language.asstring='DE' then if gender = 'male' then 'Sehr geehrter' else if gender = 'female' then 'Sehr geehrte' else 'Guten Tag' endif endif else if language.asstring='FR' then if gender = 'male' then 'Cher' else if gender = 'female' then 'Chère' else 'Bonjour' endif endif else if language.asstring='IT' then if gender = 'male' then 'Egregio' else if gender = 'female' then 'Egregia' else 'Buon giorno' endif endif else if language.asstring='EN' then 'Dear' else '' endif endif endif endif% %if title<>'' then if language.asstring = 'DE' then if formofaddress<>'' then formofaddress + ' ' + title else title endif else title endif else formofaddress endif% %if forattention<>'' then forattention else if title<>'' then name else if formofaddress='' then firstname + ' ' + name else name endif endif endif% |
Swiss Post recommends that the country of destination be written in French or English on the last line of the address. The ISO country code is now only to be indicated on the waybill for URGENT and parcel shipments. Example:
1035 SE Amsterdam
Netherlands
To delete an address layout template, select it in the template editor and click delete:
You should keep the following in mind:
The processing of address information can be controlled via user rights on the corresponding attributes.
The select of address layout templates and the editing of the layout can be controlled separately via the user rights. The user rights for this are linked to the member Adresslayout.adresslayout.
For example, if you do not want address administrators to be able to select a different address pattern or change the layout information themselves, you can revoke the write permission on this member.