tologo Common Template Variables

There are four categories of common variables accessible in all templates:

·User information variables;

·Current date variables;

·Client information variables;

·Client currency variable.

 

User information variables

VARIABLE:

DESCRIPTION:

\USER_NAME\

The registration name taken from your License Key. It cannot be modified within the program.

\USER_CURRENCY\

The company's Base Currency

 

Date variables

VARIABLE:

DESCRIPTION:

\DATE\

The date in short format (for example, 10/4/2006)

\DATE_LONG\

or

\LONGDATE\

The date in long format (for example, Monday, October 04, 2006)

 

Client information variables

This set is available in all templates where a single client is known (all templates except Profile templates when used in the Master Profile):

VARIABLE:

DESCRIPTION:

\CLIENT_NAME\

Name of client.

\CLIENT_CODE\

Code of client.

\CLIENT_CURRENCY\

Currency of client.

\CLIENT_MINFEE\

Minimum fee of client.

\CLIENT_PAYMENT_TERMS\

Payment terms of client.

\CLIENT_PAYMENT_TERMS_NOTES\

Additional notes on payment terms of client.

\CLIENT_ADDRESS\

The client's address. This variable has a pre-defined order. If the address format is different in your country, you can use separate address items to include the address into your customized template.

\CLIENT_STREET1\

Street address of client.

\CLIENT_STREET2\

Street address 2 (if available) of client.

\CLIENT_CITY\

City from the client's profile.

\CLIENT_STATE\

State from the client's profile.

\CLIENT_COUNTRY\

Country from the client's profile.

\CLIENT_ZIP\

ZIP from the client's profile.

\CLIENT_EMAIL1\

E-mail of client.

\CLIENT_EMAIL2\

Alternative e-mail 2 (if available) from the client's profile.

\CLIENT_PHONE1\

Phone number of client from the client's profile.

\CLIENT_PHONE2\

Alternative phone number 2 (if available) from the client's profile.

\CLIENT_PHONE3\

Alternative phone number 3 (if available) from the client's profile.

\CLIENT_PHONE4\

Alternative phone number 4 (if available) from the client's profile.

\CLIENT_FAX\

Fax number from the client's profile.

\CLIENT_WEB\

or

\CLIENT_WWW\

Web-site address from the client's profile.

\CLIENT_MINFO\

Application information of the client the document was produced for.

\CLIENT_MWEB\

or

\CLIENT_MURL\

URL (Web tab address) for application submission / information.

\CLIENT_INFO\

General Information about the client from the client's profile.

\CLIENT_VATNUM\

VAT Number of client  from the client's profile.

 

_bm3 NOTE: The \CLIENT_ADDRESS\ variable has a pre-defined order. If the address format is different in your country, you can use separate address items to include the address into your customized template.

The usage of special comma-terminated variables \CLIENT_STREET1_C\, \CLIENT_STREET2_C\, \CLIENT_CITY_C\, \CLIENT_STATE_C\, \CLIENT_COUNTRY_C\, \CLIENT_ZIP_C\ is necessary if you would like parts of the address to be separated by commas. You can also insert commas directly into the template but in this case unnecessary commas may appear even if some variable (like the second line of the street address) is left empty.

 

_bm2

 

See also:

Logic of Templates