Use document templates and variables of your choice to create a contract with necessary information, such as the:
The variables available to bring in contract information are broken out into tables for the following sections:
Use the variables from the table to create a template for a contract. You can use the search at the top of the tables to narrow down results in the table.
Variables | Description |
{contract.name} | Returns the name of the contract |
{contract.description} | Returns the description of the contract |
{contract.code} | Returns the contract code |
{contract.type} | Returns the contract type |
{@contract.note} | Returns the notes on the contract |
{contract.awarded} For example: {contract.awarded | written} |
Returns the contract award amount. You can add the currency you want the contract to be awarded in. For example, {contract.awarded | writtenCurrency:'USD'}. |
{#contract.exhibits} and {/contract.exhibits} | Returns the name and target name of the contract exhibit source file. #contract.exhibits and /contract.exhibits must be used together. Any contract exhibit variables that exist between #contract.exhibits and /contract.exhibits are returned. Refer to the mustache.github.io help on sections to learn more about the syntax of this variable. Tip: Add a return character after variables used between #contract.exhibits and /contract.exhibits to display them on separate lines. |
{#contract.exhibits.name} For example: {#contract.exhibits}{name} {/contract.exhibits} |
Returns the original file name and extension of the contract exhibit source file |
{#contract.exhibits.targetName} For example: {#contract.exhibits}{targetName} {/contract.exhibits} |
Returns the new name of the contract exhibit in the generated package |
{contract.originalBudget} | Returns the original contract value budget |
{contract.internalAdjustment} | Returns the adjusted value of the contract |
{contract.approvedOwnerChanges} | Returns the value of the approved owner changes |
{contract.revised} | Returns the value of the contract linked budget's revised amount |
{contract.pendingOwnerChanges} | Returns the value of the pending owner changes |
{contract.projectedBudget} | Returns the value of the projected contract budget |
{contract.projectedCost} | Returns the value of the projected contract cost |
{(contract.awarded | toNumber) + (contract.approvedChangeOrders | toNumber)} | Returns the value of contract total |
{contract.approvedChangeOrders} | Returns the value of the approved change orders for the contract |
{contract.pendingChangeOrders} | Returns the value of the pending change orders for the contract |
{contract.reserves} | Returns the value of the contract reserves |
{contract.forecastFinalCost} | Returns the value of the forecast final cost for the contract |
{contract.awardedAt | date:'MM DD, YYYY'} | Returns the date that the contract was awarded |
{contract.StatusChangedAt | date:'MM DD, YYYY'} | Returns the date the contract status last changed |
{contract.sentAt | date:'MM DD, YYYY'} | Returns the date that the contract was sent |
{contract.responseDue | date:'MM DD, YYYY'} | Returns the date that the contract was responded |
{contract.onsiteAt | date:'MM DD, YYYY'} | Returns the date that the contract was on-site |
{contract.procuredAt | date:'MM DD, YYYY'} | Returns the date that the contract was procured |
{contract.approvedAt | date:'MM DD, YYYY'} | Returns the date that the contract was approved |
{contract.executedAt | date:'MM DD, YYYY'} | Returns the date that the contract was executed |
{contract.returnedAt | date:'MM DD, YYYY'} | Returns the date that the contract was returned |
{contract.varianceTotal} | Returns the value of the contract variance |
{contract.retentionCap} | Returns the percentage of the contract's sum of commitments to date |
{contract.completedWorkRetentionPercent || contract.retention.completedWorkRetentionPercent} | Returns the percentage of retention of total work completed |
{contract.materialsRetentionPercent || contract.retention.materialsRetentionPercent} | Returns the percentage of retention of materials on site |
{@contract.scopeOfWork} | Returns the scope of work for the contract. This variable must be on a line with no other text. |
{contract.properties["Attachment N"] || "N/A"} or {contract.properties["Attachment N"] | bool: "Yes":"No":"N/A"} |
Returns the value of Attachment N or returns “N/A” if Attachment N is blank |
{sco.contract.properties[“Custom Attribute Name defined on Contract”]} | Returns custom attribute from the linked subcontract of a SCO |
{#scheduleOfValues} and {/scheduleOfValues} | Returns all line items of a contract's schedule of values table. #scheduleOfValues and /scheduleOfValues must be used together. Any schedule of values variables that exist between #scheduleOfValues and /scheduleOfValues are returned. Refer to the mustache.github.io help on sections to learn more about the syntax of this variable. |
{#scheduleOfValues.code} For example: {#scheduleOfValues}{code}{/scheduleOfValues} |
Returns the contract code in the schedule of values |
{#scheduleOfValues.name} For example: {#scheduleOfValues}{name}{/scheduleOfValues} |
Returns the contract name in the schedule of values |
{#scheduleOfValues.quantity} For example: {#scheduleOfValues}{quantity}{/scheduleOfValues} |
Returns the quantity in the schedule of values |
{#scheduleOfValues.unit} For example: {#scheduleOfValues}{unit}{/scheduleOfValues} |
Returns the unit in the schedule of values |
{#scheduleOfValues.unitPrice} For example: {#scheduleOfValues}{unitPrice}{/scheduleOfValues} |
Returns the unit price in the schedule of values |
{#scheduleOfValues.amount} For example: {#scheduleOfValues}{amount}{/scheduleOfValues} |
Returns the total amount in the schedule of values |
{#scheduleOfValues.bulkUnitPrice} For example: {#scheduleOfValues}{bulkUnitPrice}{/scheduleOfValues} |
Contract variable only. Returns the bulk unit price in the schedule of values. |
{#scheduleOfValues.quantityPerBulk} For example: {#scheduleOfValues}{quantityPerBulk}{/scheduleOfValues} |
Contract variable only. Returns the display quantity in the schedule of values. |
{#amount > 0.0} {amount} {/} {#amount == 0.0} Included {/} | Returns “Included” for any Amount value left as 0. |
{#unitPrice > 0.0} {unitPrice} {/} {#unitPrice == 0.0} Included {/} | Returns “Included” for any Unit Price value left as 0. |
Contract document templates can also use Main Contract Variables by prefixing contract.
before the variable. For example, contract.mainContract.plannedCompletionDate
will output the date the main contract is planned to complete.
Use the selection of contract variables to generate documents while creating downstream change orders. You can use the search at the top of the table to narrow down results in the table.
Variables | Description | PCO | RFQ | COR | OCO | SCO |
{contractOriginal} | [E], original commitment of the related contract | |||||
{previousContractApproved} | [F], all approved SCOs of the related contract created before the current SCO during document generation of the SCO | |||||
{previousContractPending} | All nonapproved SCOs of the related contract created before the current SCO during document generation of the SCO | |||||
{previousContractAmount} | [G], where [G] = [E] + [F] | |||||
{revisedContractAmount} | [H], where [H] = [G] + sum of approved cost item values under this OCO, including markups | |||||
{generalContractAmount} | Returns the original net contract price | |||||
{generalContractTaxAmount} | Returns the total tax of the original contract | |||||
{generalContractGrandAmount} | Returns the original gross contract price including taxes | |||||
{previousGeneralContractAmount} | Returns the revised net contract price including approved OCOs | |||||
{previousGeneralContractTaxTotalAmount} | Returns the total tax of the revised contract including approved OCOs | |||||
{previousGeneralContractGrandTotalAmount} | Returns the revised gross contract price including taxes and approved OCOs |
Use the selection of variables to create a template for a main contract. You can use the search at the top of the table to narrow down results in the table.
Variables | Description | |
{mainContract.code} | Returns the code of the main contract | |
{mainContract.description} | Returns the description of the main contract | |
{mainContract.name} | Returns the name of the main contract | |
{mainContract.status} | Returns the status of the main contract | |
{mainContract.amount} | Returns the amount of the main contract | |
{mainContract.paymentDue | date:'MM DD, YYYY'} | Returns the due date of the main contract | |
{mainContract.type} | Returns the type of the main contract | |
{@mainContract.note} | Returns the note of the main contract | |
{mainContract.createdAt | date:'MM DD, YYYY'} | Returns the created date of the main contract | |
{@mainContract.scopeOfWork} | Returns the scope of work for the main contract. This variable must be on a line with no other text. | |
{#scheduleOfValues} and {/scheduleOfValues} | Returns the list of schedule of values for the main contract | |
{#scheduleOfValues.code} For example: {#scheduleOfValues}{code}{/scheduleOfValues} |
Returns the main contract code in the schedule of values | |
{#scheduleOfValues.quantity} For example: {#scheduleOfValues}{quantity}{/scheduleOfValues} |
Returns the quantity in the schedule of values | |
{#scheduleOfValues.unit} For example: {#scheduleOfValues}{unit}{/scheduleOfValues} |
Returns the unit in the schedule of values | |
{#scheduleOfValues.unitPrice} For example: {#scheduleOfValues}{unitPrice}{/scheduleOfValues} |
Returns the unit price in the schedule of values | |
{#scheduleOfValues.amount} For example: {#scheduleOfValues}{amount}{/scheduleOfValues} |
Returns the total amount in the schedule of values | |
{mainContract.executedDate | date:'MM DD, YYYY'} | Returns the date that the main contract was executed | |
{mainContract.startDate | date:'MM DD, YYYY'} | Returns the date that the main contract started | |
{mainContract.plannedCompletionDate | date:'MM DD, YYYY'} | Returns the date that the main contract is planned to complete | |
{mainContract.actualCompletionDate | date:'MM DD, YYYY'} | Returns the date the main contract completed | |
{contract.mainContract.createdAt | date:'MM DD, YYYY'} | Returns the date that the main contract was created | |
{mainContract.closeDate | date:'MM DD, YYYY'} | Returns the date that the main contract closed | |
{mainContract.plannedCompletionDate} | Returns the planned completition date | Date |
{mainContract.revisedCompletionDate} | Returns the revised completition date | Date |
{mainContract.scheduleChange} | Returns the schedule change | Number |
{oco.proposedRevisedCompletionDate} | Returns proposed or revised completition date | Date |
{mainContract.owner} | Returns the owner from the flyout panel | |
{mainContract.owner.phone} | Returns the owner's company phone number | |
{mainContract.architect} | Returns the architect's company from the flyout panel | |
{mainContract.taxes.TaxTotal.amount} | Returns the total tax of the original contract | |
{mainContract.taxes.GrandTotal.amount} | Returns the original gross contract price including taxes | |
{mainContract.taxesWithApprovedOCOs.TaxTotal.amount} | Returns the total tax of the original contract | |
{mainContract.taxesWithApprovedOCOs.GrandTotal.amount} | Returns the revised gross contract price including taxes |
Use the selection of main contract variables to generate documents while creating upstream change orders. You can use the search at the top of the table to narrow down results in the table.
Variables | Description |
{mainContract.code} | Returns the code of the main contract |
{mainContract.description} | Returns the description of the main contract |
{mainContract.name} | Returns the name of the main contract |
{mainContract.status} | Returns the status of the main contract |
{mainContract.amount} | Returns the amount of the main contract |
{mainContract.type} | Returns the type of the main contract |
{@mainContract.note} | Returns the note of the main contract |
{mainContract.createdAt | date:'MM DD, YYYY'} | Returns the created date of the main contract |
{@mainContract.scopeOfWork} | Returns the scope of work for the main contract. This variable must be on a line with no other text. |
{mainContract.executedDate | date:'MM DD, YYYY'} | Returns the date that the main contract was executed |
{mainContract.startDate | date:'MM DD, YYYY'} | Returns the date that the main contract started |
{mainContract.plannedCompletionDate | date:'MM DD, YYYY'} | Returns the date that the main contract is planned to complete |
{mainContract.actualCompletionDate | date:'MM DD, YYYY'} | Returns the date the main contract completed |
{contract.mainContract.createdAt | date:'MM DD, YYYY'} | Returns the date that the main contract was created |
{mainContract.closeDate | date:'MM DD, YYYY'} | Returns the date that the main contract closed |
{generalContractTaxAmount} | Returns the total tax of the original contract |
{generalContractGrandAmount} | Returns the original gross contract price including taxes |
sco.mainContract.startDate
in the SCO document template will output the date the main contract started.To learn more about using variables in different scenarios, see the Using Variables Example article.