TABLE OF CONTENTS

Expressions are a powerful tool for Equinox users. They are based on custom logic that can be written directly into the user interface. This document introduces the use of expressions in Equinox. The Expressions section of the Help Centre includes information on:

  • Using Twig syntax in Equinox

  • How to perform basic operations 

  • Which objects are available for the different expression types 

  • A glossary containing a full definition list of the properties of all those objects. This glossary can be used to locate any information that you need in expressions.

What is Twig?

Expressions are written in a third-party language called Twig. Twig is designed for designed for templating and writing simple logic. Full syntax information for Twig is available online.  

Equinox currently uses version 1.4.x. You should refer to the 1. Twig documentation for use with Equinox.

Where can I find expressions in Equinox?

You can find expressions across Equinox, including in:

  • The expression library

  • Invoice tables

  • Charge sheet entries 

These areas utilise common objects, variables and components, but different objects are available in different situations.

What are mergecodes?

Mergecodes are commonly used in Equinox. You can use them to define custom mergecodes that are evaluated when correspondence is produced.

How do I manage expressions?

To manage expressions, go to: System > Expressions


From here you can:

  • Add new expressions

  • Edit existing expressions

  • Delete existing expressions