tologo Common Template Variables

Top  Previous  Next

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\

Registration name taken from your License Key. It cannot be modified within program.

\USER_CURRENCY\

Company's Base Currency

 

Date variables

VARIABLE:

DESCRIPTION:

\DATE\

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

\DATE_LONG\

or

\LONGDATE\

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

 

Client information variables

This set is available in all templates where single client is known (all templates except Profile templates when used in 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\

Client address. This variable has pre-defined order. If address format is different in your country, you can use separate address items to include address into your customized template.

\CLIENT_STREET1\

Street address of client.

\CLIENT_STREET2\

Street address 2 (if available) of client.

\CLIENT_CITY\

City from client's profile.

\CLIENT_STATE\

State from client's profile.

\CLIENT_COUNTRY\

Country from client's profile.

\CLIENT_ZIP\

ZIP from client's profile.

\CLIENT_EMAIL1\

E-mail of client.

\CLIENT_EMAIL2\

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

\CLIENT_PHONE1\

Phone number of client from client's profile.

\CLIENT_PHONE2\

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

\CLIENT_PHONE3\

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

\CLIENT_PHONE4\

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

\CLIENT_FAX\

Fax number from client's profile.

\CLIENT_WEB\

or

\CLIENT_WWW\

Web-site address from client's profile.

\CLIENT_MINFO\

Application information of client 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 client's profile.

\CLIENT_VATNUM\

VAT Number of client  from client's profile.

 

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

 

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 address to be separated by commas. You can as well insert commas directly into template but in this case unnecessary commas may appear even if some variable (like second line of street address) is left empty.

 

_bm2

 

See also:

Logic of Templates