...
Print templates may include field variables from the table on which the template is run, as well as from any table in the system. For instance, a template might have the text text $contract_start_date
in the place where the start date of the contract should appear.
It may also pull in clauses from the clause library without creating a link to that clause within the contract. A special syntax is used for fields and records that do not live in the main table from which the template is run:
$field_from_other_table(clause,41,clause_text)
is is used to indicate that the Clause Text field (, or clause_text
is the field name) , for record with ID 41 in the Clause table should be inserted into the print template at this position.
...