A GUIDE TO DOCUMENT FIELDS
INTRODUCTION
MERGE FIELDS

[[field]]
PARTY FIELDS
[[role.whichone.type.description.format]]
role |
the role of the Party in the Matter (e.g. Defendant). |
whichone |
a nominal indicator (e.g. 1,2,3 . . . All ) to identify which Party. |
type |
an indicator of the field type (field, pronoun, telephone) |
description |
a description to identify the type |
format |
Optional. Only used when the whichone parameter is set to ‘All’ and the type parameter is set to ‘Field’. It tells the program how to separate multiple occurrences of the Field (if there is more than one Party with that role). |
Examples:
Defendant.1.Field.IdentityNumber |
First defendant's Identity Number |
Seller.All.Field.Name |
All the Sellers’ names separated with spaces |
Opposing.All.Field.Name.Comma |
All the opposing attorneys’ names separated by commas. |
Buyer.All.pronoun.we are |
The Buyers’ pronoun We are/ I am |
Buyer.1.pronoun.we are |
The first Buyer’s pronoun We are/ I am |
Advocate.1.telephone.email |
The first Advocate’s email address |
Client.1.Field.Name |
The Client’s name |
Current.Party.Field.Postal address |
For letters from the Party screen - the current parties postal Address |



FREE FORMAT FIELDS
where reference is an valid data field or expression.
Examples:
[[(MAT:FileRef)]] |
The file reference of the Matter |
[[(PAR:Name)]] |
The party’s name |
[[(GLO:TodaysDate)]] |
Today’s date |
[[(PL:Title & ‘ ‘ & PL:Name)]] |
The Party’s title, a space and the surname (in the language of the document) |

MISCELLANEOUS DATA FIELDS
CTL:RemoteWebsiteURL |
The URL where LegalSuite Online is located |
GLO:DeliveryCode |
The code defining how the document is to be delivered |
GLO:UserName* |
The name of the logged in Employee |
GLO:LoginID* |
The Login of the logged in Employee |
GLO:Reference* |
The personal reference of the logged in Employee |
GLO:Email* |
The personal email address of the logged in Employee |
GLO:Fax* |
The private fax number of the logged in Employee |
GLO:Telephone* |
The private telephone number of the logged in Employee |
*These Data Fields are specified in the Employee setup:

VIRTUAL FIELDS
These data fields don’t exist in the SQL database, but are created by the program during the Document Assembly process to enable the user to easily insert the correct bank account descriptions in a document.
MAT:TrustBankAccount |
The description of the Matter’s trust bank account |
MAT:BusinessBankAccount |
The description of the Matter’s business bank account |
SPECIAL FIELD NAMES
[[LETTERHEAD]]1 |
Insert the letterhead at the top of the document |
[[FAXHEAD]] 1 |
Insert the fax letterhead at the top of the document |
[[ACCOUNTHEAD]] 1 |
Insert the accounting letterhead at the top of the document |
[[PARTICULARS]] 2 |
Insert the Particulars of Claim at this place in the document |
[[NONPREJ CLAUSE]] 3 |
Insert the Non-prejudice Clause at this place in the document |
[[EMPLOYEE CLAUSE]] 3 |
Insert the Employee Clause at this place in the document |
[[HEADER]] 4 |
Insert the Header at this place in the document |
[[FOOTER]] 4 |
Insert the Header at this place in the document |
[[LOGO:]] 5 |
Insert the Logo at this place in the document |
[[IMAGE:]] 6 |
Insert the Trademark Image at this place in the document |
[[INCLUDE(filename)]] |
Insert filename at this place in the document |
Notes:


3. The NONPREJ CLAUSE and EMPLOYEE clauses are found in the Conveyancing Document Database:




DIRECTIVES
These directives perform certain tasks.
[[LANGUAGE=LanguageID]] |
Change the language of the document |
[[MESSAGE(message)]] |
Display a message |
[[WARNING(message)]] |
Display a message and give the user the option to abort the Document Assembly Process |
[[ABORT(message)]] |
Display a message and then abort the Document Assembly Process |
(See How do I stop users from assembling a Document if they have left out some important information? for more information)
CONDITIONAL STATEMENTS
SPECIAL FUNCTIONS
STAGES
Function |
Description |
Example |
GetStageDate(‘code’) |
Returns the date a Stage was completed |
[[(FORMAT(GetStageDate(‘0001’),@D18))]] |
CheckStage(‘code’) |
Returns the 1 if the Stage has been reached (i.e. there is a File Note with this Stage code) or 0 if it has not been reached. This is commonly used in [[IF]] statements |
[[IF(CheckStage(‘0001’)=1)]]This Matter has passed this stage.[[ENDIF]] |
EXTRA SCREENS
Function |
Description |
Example |
GetDocumentField |
Gets a specific field from a Desktop Extra Screen |
See Extra Screens White Paper for more information |
GetPartyField |
Gets a specific field from an Address Book Extra Screen |
|
GetPartyRoleField |
Gets a specific field from a Party Extra Screen |
PARTIES
Function |
Description |
Example |
PartyTypeDescription (aka Type) |
|
|
PartyTypeEntity |
||
PartyTypeStatus |
||
EntityDescription (aka Entity) |
||
EntityLangDescription |
||
EntityJuristicFlag |
DATES
Function |
Description |
Example |
GetDayofWeek |
|
|
GetMonthName |
||
GetYearOnly |
||
FindDate |
||
FindDates |
||
FindDateByMonth |
||
FindDateByWeek |
||
GetPlanDate |
MISCELLANEOUS
Function |
Description |
Example |
Convert |
|
|
CountParties |
||
RecordNumber |
||
RecordTotal |