Schema Tables

Table Level Guidance

Was this article helpful?

Introduction

This article describes the tables in the staging database that a data load reads from. It covers Clio Operate 7.13. Where a table or column differs in an earlier version from 7.9 onwards, a note marks the difference.

All staging tables are in a schema called source. Clio Operate ignores any other schema, and any other table, in the staging database that it connects to. The rest of this article leaves out the source prefix, so matter means source.matter.

To create the tables, download the schema script from your data load. The script creates every table in this article, with its keys and defaults.

How to read the tables

  • Required: Yes means that the column is NOT NULL. A row without a value fails to insert.
  • Required: No means that the column accepts NULL.
  • Required: Computed means that the staging database calculates the value from another column. Do not populate a computed column. An insert that includes one fails.
  • Keys lists the primary key and the foreign keys for each table. A foreign key means that the referenced row must exist first.
  • Store every date and time in UTC.

Base tables

ods

The base table for every ODS entity: organisations, people, users and teams. Every other table that refers to an ODS entity refers to a row in this table. An ODS reference must be unique across all four entity types.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the ODS entity.
name nvarchar(250) No For an organisation or a team, the actual name. For a person or a user, a readability aid only. Clio Operate does not use it.
type nvarchar(250) No One of organisation, person, user or team.

Keys: primary key reference.

sharedo

One row for each work item. Every primary work item table, and every table whose rows are themselves work items, needs a matching row here.

The reference becomes the visible reference of the work item after the load, so plan its format with care. Your cut-over plan must make sure that loaded references do not clash with references that the reference generator produces. Discuss the format with the Solution Architect for your project.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the work item.
sharedoTypeSystemName nvarchar(200) Yes The case-sensitive system name of the work type. Find it in the Modeller configuration for the type, or in importConfig.sharedoTypes in the configuration extract.
phaseSystemName nvarchar(100) Yes The case-sensitive system name of the current phase. Find it in the Modeller configuration for the type, or in importConfig.phases.
category nvarchar(500) No The text of the category. An aid for translation only.
title nvarchar(max) No The short text of the work item.
description nvarchar(max) No The long text of the work item.
categoryId int No The ID of an option set value. See Category lookup.
externalReference nvarchar(100) No A key that an external system owns and that correlates to this work item.
titleIsUserProvided bit No Set to 1 when you provide the title. Title generators then leave the title alone, which helps load performance.
timeZone nvarchar(100) No An ISO time zone name.

Keys: primary key reference.

Category lookup

The categoryId value must be the ID of a value within the configured category. The option set comes from importConfig.sharedoType.categoryOptionSetSystemName, and the ID comes from one of the matching options in importConfig.optionSetValues. Your Solution Architect aligns this value with the mapping requirements and the configuration in Modeller.

organisation

The primary attributes of an organisation. The organisation can already exist in the environment. In that case, match it by external reference or by unique ID.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from odsReference.
odsReference nvarchar(200) Yes The reference of the row in ods.
matchUniqueId uniqueidentifier No The unique ID of an existing organisation to match.
industrySICCode nvarchar(250) No The industry SIC code. The value can be text during extract and transform, but it must be an integer before the load.
isVATRegistered nvarchar(250) No The VAT registration flag or value.
VATCountryCode nvarchar(250) No The ISO country code for VAT. Use the isoCode of a country in importConfig.countries.
VATNumber nvarchar(250) No The VAT number.
VATComments nvarchar(250) No Notes about VAT.
companyNumber nvarchar(250) No The company registration number.
externalReference nvarchar(200) No A reference from an external system.
organisationReference nvarchar(200) No An additional organisation reference.
isActive bit Yes (default 1) Whether the organisation is active. From Clio Operate 7.11.

Keys: primary key odsReference. Foreign key odsReference to ods.reference.

person

The attributes of a person. A user is also a person, so each user needs a row in both person and users.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from odsReference.
odsReference nvarchar(200) Yes The reference of the row in ods.
matchUniqueId uniqueidentifier No The unique ID of an existing person to match.
personReference nvarchar(200) No An additional person reference.
externalReference nvarchar(100) No A reference from an external system.
title nvarchar(250) No Mr, Ms, Dr and so on, using the relevant option set value.
gender nvarchar(250) No The gender, using the relevant option set value.
firstname nvarchar(200) Yes The first name.
surname nvarchar(200) Yes The last name.
middlenameOrInitial nvarchar(100) No The middle name or initial.
dateOfBirth date No The date of birth.
dateOfDeath date No The date of death, if applicable.
niNumber nvarchar(50) No The National Insurance number.
employeeCode nvarchar(50) No The employee code.
primaryTeamId uniqueidentifier No The primary team of the person.
contactHoursFrom time(7) No The start of contact hours.
contactHoursTo time(7) No The end of contact hours.
isActive bit Yes (default 1) Whether the person is active. From Clio Operate 7.11.

Keys: primary key odsReference. Foreign key odsReference to ods.reference.

team

Information about teams in the organisation. Teams are normally configuration, and you promote them between environments with a configuration export and import. Use this table to refer to existing teams, typically as participants on work items.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from odsReference.
odsReference nvarchar(200) Yes The reference of the row in ods.
matchUniqueId uniqueidentifier No The unique ID of an existing team to match.
externalReference nvarchar(100) No A reference from an external system.
name nvarchar(500) Yes The team name.
description nvarchar(100) No A short description.
isActive bit Yes (default 1) Whether the team is active. In versions before 7.11, the column has no default.
canHaveExternalMembers bit No Whether the team can include external members.

Keys: primary key odsReference. Foreign key odsReference to ods.reference. In versions before 7.11, the table has no primary key.

users

Extends person with user attributes, such as the identity claim. Users are normally managed in an external system, such as Microsoft Entra ID, and already exist in the environment before the load. A loaded user that matches an existing user can be a participant. If a loaded user does not match, for example a former employee, the load creates a user account.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from odsReference.
odsReference nvarchar(200) Yes The reference of the row in ods. The same reference identifies the row in person.
matchUniqueId uniqueidentifier No The unique ID of an existing user to match.
identityClaim nvarchar(400) Yes The identity claim, for example an email address or user name.
identityProvider nvarchar(50) Yes The identity provider, for example aad.
jobRoleSystemName nvarchar(200) No The system name of the job role of the user. From Clio Operate 7.12.
jobRoleStartDate date No The date that the job role starts. The date must not be in the future. From Clio Operate 7.12.

Keys: primary key odsReference. Foreign key odsReference to ods.reference.

 
 

ODS child data

address

Postal and location addresses for ODS entities.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the address.
odsReference nvarchar(200) No The ODS entity that the address belongs to.
odsType nvarchar(250) No The type of the ODS entity: organisation, person, user or team.
addressType nvarchar(250) No The address type, for example billing or correspondence. The value comes from feature configuration in Modeller.
addressName nvarchar(500) Yes The label or name of the address.
addressLine1 nvarchar(250) No Address line 1.
addressLine2 nvarchar(250) No Address line 2.
addressLine3 nvarchar(250) No Address line 3.
addressLine4 nvarchar(250) No Address line 4.
town nvarchar(250) No The town or city.
county nvarchar(250) No The county, state or region.
postCode nvarchar(50) No The postcode or ZIP code.
countryCode nvarchar(500) No The country code or name.
dxNumber nvarchar(100) No The DX number, if applicable.
dxName nvarchar(100) No The DX exchange name, if applicable.
isActive bit Yes (default 1) Whether the address is active. In versions before 7.11, the default is 0.
departmentCode nvarchar(100) No The department or sub-unit code.
externalReference nvarchar(100) No A reference from an external system.
latitude float No The latitude.
longitude float No The longitude.
geoCodeType int No The type or precision of the geocoding.
bagBoxNumber nvarchar(200) No The bag or PO box number.

Keys: primary key reference. Foreign key odsReference to ods.reference.

contactDetails

Contact details for ODS entities, each with a contact type, a value and a primary flag. Set isPrimary to 1 on one contact detail of each type. The primary contact detail displays on summary cards.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the contact detail.
odsReference nvarchar(200) Yes The ODS entity that the contact detail belongs to.
contactTypeCode nvarchar(50) Yes The contact type. The code must match the Modeller configuration, as extracted in importConfig.contactTypes.
contactValue nvarchar(400) Yes The value, for example an email address or a phone number.
isPrimary bit Yes (default 0) 1 for the primary contact detail of its type, otherwise 0.

Keys: primary key reference. Foreign key odsReference to ods.reference.

employmentDetails

Connects people to organisations as employees. This table overlaps with odsRelationship, but it holds extra attributes. Choose the table that matches the configuration in Modeller.

Column Type Required Description
reference nvarchar(200) No A reference for the employment record. This column is not the key.
personReference nvarchar(200) Yes The ODS reference of the person.
organisationReference nvarchar(200) Yes The ODS reference of the organisation.
employeeCode nvarchar(100) No The internal employee code.
jobTitle nvarchar(500) No The job title.

Keys: primary key on personReference and organisationReference together, so each person can have one row for each organisation. Foreign keys personReference and organisationReference to ods.reference.

In versions before 7.12, the table also has primaryRoleSystemName (nvarchar(200), not required). From Clio Operate 7.12, load the job role of a user in users.jobRoleSystemName instead.

formAspectAttributes

Values for fields that aspects and forms in Modeller add. Each row belongs to exactly one work item, participant or ODS entity, so populate exactly one of sharedoReference, participantReference and odsReference. The same table holds values for ODS entities and for work items.

Column Type Required Description
reference nvarchar(400) Yes The unique reference for the attribute value.
attribute nvarchar(200) Yes The case-sensitive name of the attribute.
value nvarchar(max) No The attribute value.
odsReference nvarchar(200) No The ODS entity that the value belongs to.
sharedoReference nvarchar(200) No The work item that the value belongs to.
participantReference nvarchar(200) No The participant that the value belongs to. The value is a participantRoles.reference.
groupReference nvarchar(200) Computed The first populated value of sharedoReference, odsReference and participantReference, in that order.

Keys: primary key reference. Foreign keys odsReference to ods.reference, sharedoReference to sharedo.reference, and participantReference to participantRoles.reference.

odsRelationship

Links two ODS entities in a relationship that you can extend in Modeller.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the relationship.
parentReference nvarchar(200) Yes The ODS reference of the parent entity.
siblingReference nvarchar(100) No The ODS reference of the related entity.
relationshipType nvarchar(50) Yes The relationship type. Only the values in the next table are accepted.
relationshipMeta1 nvarchar(500) No Extra data for the relationship. For a custom ODS connection, the system name of the ODS Connection Type.
periodFrom datetime No The start of the relationship, in UTC.
periodTo datetime No The end of the relationship, in UTC.

Keys: primary key reference. Foreign key parentReference to ods.reference. siblingReference has no foreign key.

The relationshipType column accepts these values only:

Value Use for
worksinteam The membership of a person in a team.
parentteam The parent team of a team.
parentorganisation The parent organisation of a team.
parent-child-org A parent and child hierarchy between two organisations.
supervised-by A supervision relationship.
ods-entity-connection Any custom ODS Connection Type. See the next section.

Any other value fails with "Exception: Unsupported relationship type '<value>'" (loader ods-relationships-loader).

Load a custom ODS entity connection

The system name of a custom ODS connection does not go in relationshipType. A system name in that column is the most common cause of the "Unsupported relationship type" error, even when the connection is configured correctly. Map the row as follows:

  • relationshipType: the literal value ods-entity-connection.
  • relationshipMeta1: the system name of the ODS Connection Type, for example employment or lf-ods-connection-org-subsidiary.
  • parentReference and siblingReference: the two ODS entities, as normal.

Use the system name of the ODS Connection Type in configuration, not its display label. If the error names a connection that you configured, the name is in the wrong column. Move it to relationshipMeta1, and set relationshipType to ods-entity-connection.

odsTags

Party types for ODS entities. A party type belongs to the ODS entity, whether or not the entity takes part in a work item. For example, a person recognised as a medical specialist takes part in a matter as a medical expert. Party type names often match role names. For example, an organisation recognised as an insurer takes part as the insurer. The UI and other articles call these values "party types" or "types".

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the row.
odsReference nvarchar(200) Yes The ODS entity that the party type belongs to.
odsTag nvarchar(100) No The party type.

Keys: primary key reference. Foreign key odsReference to ods.reference.

 
 

Work item primary tables

Each row in a primary table needs a matching row in sharedo with the same reference.

customSharedos

Work items of a custom type created in Modeller. A custom work item has no type-specific attributes, but it is a full work item.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from sharedoReference.
sharedoReference nvarchar(200) Yes The reference of the row in sharedo.

Keys: primary key sharedoReference. Foreign key sharedoReference to sharedo.reference.

instruction

Instruction attributes for a work item.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from sharedoReference.
sharedoReference nvarchar(200) Yes The reference of the row in sharedo.
matchUniqueId uniqueidentifier No The unique ID of an existing instruction to match.
sourceOfBusiness nvarchar(200) No The source of the business.
caseWorkType nvarchar(200) No The case work type.
jurisdiction nvarchar(200) No The jurisdiction.
caseSharedoTypeSystemName nvarchar(200) Yes The system name of the case work type.

Keys: primary key sharedoReference. Foreign key sharedoReference to sharedo.reference.

matter

The most common work item: the thing that the business progresses. The table holds matter attributes and client and jurisdiction details.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from sharedoReference.
sharedoReference nvarchar(200) Yes The reference of the row in sharedo.
matchUniqueId uniqueidentifier No The unique ID of an existing matter to match.
jurisdictionCode nvarchar(250) No The jurisdiction code or name.
clientSowReference nvarchar(250) No The reference of the statement of work for the client.
internalDocumentReference nvarchar(250) No An internal document reference.
externalDocumentReference nvarchar(250) No An external document reference.
matterNumber nvarchar(200) No The matter number.
notificationContent nvarchar(max) No Notification or message content.
clientOdsReference nvarchar(250) No The ODS reference of the client.
feeTemplateSystemName nvarchar(200) No The system name of the fee template.

Keys: primary key sharedoReference. Foreign key sharedoReference to sharedo.reference.

proceeding

Optional data within a matter, with attributes for a proceeding such as jurisdiction and court track.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from sharedoReference.
sharedoReference nvarchar(200) Yes The reference of the row in sharedo.
parentSharedoReference nvarchar(200) Yes The parent work item, typically the matter.
courtReference nvarchar(50) No The reference that the court assigns.
courtTrack nvarchar(250) No The court track.
jurisdiction varchar(200) No The jurisdiction. This column is varchar, not nvarchar.
litigationReason varchar(200) No The reason for the litigation. This column is varchar, not nvarchar.

Keys: primary key sharedoReference. Foreign key sharedoReference to sharedo.reference. parentSharedoReference has no foreign key.

statementOfWork

Statement of work attributes. In a typical deployment, a statement of work is a child of a contract and a parent of matters.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from sharedoReference.
sharedoReference nvarchar(200) Yes The reference of the row in sharedo.
matchUniqueId uniqueidentifier No The unique ID of an existing statement of work to match.
parentContractReference nvarchar(200) Yes The parent contract.
feeTemplateSystemName nvarchar(200) No The system name of the fee template. In versions before 7.11, this column is required.
matchingSharedoTypeSystemNamesCoverage nvarchar(max) No The work types that the statement of work covers.
matchingDateStart datetime Yes The date that the statement of work starts to apply, in UTC.
matchingDateEnd datetime No The date that the statement of work stops applying, in UTC.
matchingKeyDateSystemName nvarchar(200) No The system name of the key date that triggers the statement of work.
matchingParticipantRoleSystemNameSoW nvarchar(200) No The participant role in the context of the statement of work.
matchingParticipantRoleSystemNameInstruction nvarchar(200) No The participant role in the context of the instruction.
matchingBusinessSource nvarchar(200) No The business source that the statement of work applies to.

Keys: primary key sharedoReference. Foreign key sharedoReference to sharedo.reference.

 
 

Work item child tables

Some child tables hold rows that are also work items: accountAdjustments, invoices, keyDates, offers and payments. For these tables, each row needs a row in sharedo with the same reference. The reference of an offer is its offerReference.

accountAdjustments

The header of an account adjustment: who made it, when, and in which currency.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the adjustment. A row in sharedo needs the same reference.
sharedoReference nvarchar(200) Yes The work item that the adjustment applies to.
userReference nvarchar(200) Yes The ODS reference of the user who made the adjustment.
effectiveDate datetime Yes The date that the adjustment takes effect, in UTC.
currencyCode nvarchar(3) Yes The ISO currency code.

Keys: primary key reference. Foreign keys reference and sharedoReference to sharedo.reference, and userReference to ods.reference.

accountAdjustmentTransactions

The transaction lines of an account adjustment.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the transaction line.
accountAdjustmentReference nvarchar(200) Yes The account adjustment that the line belongs to.
chartOfAccountUniqueCode nvarchar(200) Yes The unique code of the account in the Chart of Accounts.
description nvarchar(max) Yes A description of the line.
deltaAmount decimal(18,2) No The amount of the change.
balanceAmount decimal(18,2) No The balance after the change.

Keys: primary key reference. Foreign key accountAdjustmentReference to accountAdjustments.reference.

budgetTransactions

Budget movements and adjustments for work items and budget structures.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the budget transaction.
sharedoReference nvarchar(200) Yes The work item that the transaction belongs to.
budgetStructureReference nvarchar(200) Yes The budget structure.
chartOfAccountsSegmentUniqueCode nvarchar(200) No The segment of the Chart of Accounts.
budgetPosition nvarchar(200) Yes The budget position or line.
transactionAmount decimal(18,2) No The amount of the transaction.
transactionDate datetime Yes The date of the transaction, in UTC.
transactionCurrencyCode nvarchar(5) Yes The currency of the transaction.
changeReason int No The ID of an option set value from the change reason option set of the budget structure. The load fails a row whose ID does not exist in that option set. In versions before 7.11.2, this column is nvarchar(50).
userReference nvarchar(50) Yes The user associated with the transaction.
settlementOutcome nvarchar(200) No The settlement outcome, if applicable.

Keys: primary key reference. No foreign keys.

comments

Comments that users made on work items.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the comment.
userReference nvarchar(100) Yes The user who wrote the comment.
sharedoReference nvarchar(200) Yes The work item that the comment belongs to.
created datetime Yes The date and time that the comment was created, in UTC.
comment nvarchar(max) No The comment text.
isPrivate bit No Whether the comment is private.

Keys: primary key reference. Foreign key sharedoReference to sharedo.reference.

documents

Document metadata, location, ownership and classification. The data provides a deep link from the chronology to a specific file in the document management system.

Column Type Required Description
reference nvarchar(250) Computed Takes its value from documentReference.
documentReference nvarchar(250) Yes The unique reference for the document.
fileName nvarchar(max) Yes The file name.
folder nvarchar(max) Yes The folder or virtual path.
createdDate datetime Yes The creation date, in UTC.
createdByUserRef nvarchar(250) No The user who created the document.
UNCfilePath nvarchar(max) No The UNC path, if applicable.
sharedoTypeSystemName nvarchar(200) No The system name of the document work type.
phaseSystemName nvarchar(100) No The phase of the document at creation.
category nvarchar(500) No The document category.
title nvarchar(max) Yes The document title.
description nvarchar(max) No The document description.
ownerUserReference nvarchar(100) No The owner of the document.
deliveryMethodSystemName nvarchar(100) No The delivery method.
recordDeliveryFlag bit No Whether the delivery was recorded.
postageClass nvarchar(200) No The postage class, if posted.
tracingReference nvarchar(200) No The tracking reference.
deliveryMethodPhaseSystemName nvarchar(200) No The phase of the delivery method.
sharedoReference nvarchar(200) Yes The work item that the document belongs to.
documentLoadTypereference nvarchar(50) No The reference of the load type. The column name has a lowercase "r" in "reference".
documentLoadType nvarchar(50) Yes The load type.
repositoryId nvarchar(200) Yes The ID of the repository.
poiSystemName nvarchar(200) No The system name of the point of interest.

Keys: primary key documentReference. Foreign key sharedoReference to sharedo.reference.

incident

Incident details, such as the location, a description and contextual factors.

Column Type Required Description
reference nvarchar(400) Yes The unique reference for the incident.
sharedoReference nvarchar(200) Yes The work item that the incident belongs to.
addressLine1 nvarchar(200) No Address line 1 of the incident location.
addressLine2 nvarchar(100) No Address line 2 of the incident location.
townCity nvarchar(100) No The town or city.
county nvarchar(100) No The county or region.
country nvarchar(100) No The country.
postCode nvarchar(50) No The postcode.
description nvarchar(max) No A description of the incident.
reportedToPolice bit No Whether the incident was reported to the police.
weatherConditions nvarchar(max) No The weather conditions at the time.
incidentType nvarchar(100) No The type of incident.
incidentCause nvarchar(100) No The cause of the incident.

Keys: primary key reference. Foreign key sharedoReference to sharedo.reference.

invoices

Invoice headers, amounts and payor details.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the invoice. A row in sharedo needs the same reference.
parentSharedoReference nvarchar(200) Yes The parent work item, for example a matter or a request.
details nvarchar(max) No The invoice details.
amount decimal(18,2) No The net amount.
vat decimal(18,2) No The VAT amount.
invoiceIssuedDate datetime No The date that the invoice was issued, in UTC.
payorOdsReference nvarchar(200) No The ODS reference of the payor.

Keys: primary key reference. Foreign keys reference and parentSharedoReference to sharedo.reference.

invoiceTransactionItems

Invoice lines, with values, tax and status.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the line.
sharedoReference nvarchar(200) Yes The invoice that the line belongs to. The value is an invoices.reference.
reserveTypeCode nvarchar(500) Yes The reserve or accounting code.
description nvarchar(max) No A description of the line.
vat decimal(18,2) Yes The VAT for the line.
amount decimal(18,2) Yes The net amount for the line.
quantity decimal(18,2) No The quantity.
UnitOfMeasure nvarchar(200) No The unit of measure for the quantity.
taxRate decimal(18,2) No The tax rate, as a percentage.
creditAccountCodes nvarchar(200) No The credit account codes for posting.
currency nvarchar(200) No The currency code.
status nvarchar(200) Yes The processing status of the line.
transactionItemType nvarchar(200) No The type of line.

Keys: primary key reference. Foreign key sharedoReference to invoices.reference.

invoiceReceiptItems

Receipts against invoices, with dates and amounts.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the receipt.
sharedoReference nvarchar(200) Yes The invoice that the receipt belongs to. The value is an invoices.reference.
receiptDate datetime Yes The date of the receipt, in UTC.
paymentMethod nvarchar(200) Yes The payment method.
amount decimal(18,2) Yes The amount received.
reserveTypeCode nvarchar(500) Yes The reserve type code.

Keys: primary key reference. Foreign key sharedoReference to invoices.reference.

keyDates

Key dates for work items. A key date is itself a work item, so each key date needs a row in sharedo with the same reference. The sharedo row holds further attributes. Subject to configuration, you can also load phase history and participant assignments for key dates.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the key date. A row in sharedo needs the same reference.
keyDateType nvarchar(250) Yes The type of key date.
keyDate datetime Yes The date and time of the event, in UTC.
keyDateStatusCode nvarchar(250) No The status code.
sharedoReference nvarchar(200) Yes The work item that the key date belongs to.
reminderOffset int No The amount of the reminder offset. From Clio Operate 7.10.
reminderOffsetMetric nvarchar(3) No The unit of the reminder offset. Use a code from the next table. From Clio Operate 7.10.
reminderTag nvarchar(100) No A label that groups reminders. From Clio Operate 7.10.

Keys: primary key reference. Foreign keys reference and sharedoReference to sharedo.reference. In versions before 7.11, reference has no foreign key.

The reminderOffsetMetric column accepts these codes:

Code Unit Direction
M Minutes Before
H Hours Before
D Days Before
WD Week days Before
CD Calendar days Before
MA Minutes After
HA Hours After
DA Days After
WDA Week days After
CDA Calendar days After

legalProperties

Property details for a work item, including the title, type, tenure and physical characteristics.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the property.
sharedoReference nvarchar(200) Yes The work item that the property belongs to.
addressReference nvarchar(200) Yes The address of the property. The value is an address.reference.
titleNumber nvarchar(100) No The land title number.
propertyType nvarchar(100) No The type of property.
tenure nvarchar(100) No The tenure.
description nvarchar(max) No A description of the property.
age int No The age of the property, in years.
size int No The size of the property.
construction nvarchar(100) No The construction type.

Keys: primary key reference. Foreign keys sharedoReference to sharedo.reference, and addressReference to address.reference.

offers

Links a work item to an offer. An offer is itself a work item, so each offerReference needs a row in sharedo.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from offerReference.
sharedoReference nvarchar(200) Yes The work item that the offer belongs to.
offerReference nvarchar(200) Yes The unique reference for the offer. A row in sharedo needs the same reference.

Keys: primary key offerReference. Foreign keys sharedoReference and offerReference to sharedo.reference.

offerAmounts

The amounts of an offer, by account in the Chart of Accounts.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from offerReference.
offerReference nvarchar(200) Yes The offer that the amount belongs to.
chartOfAccountsSegmentUniqueCode nvarchar(500) No, but the load requires it The code path of the account in the Chart of Accounts, for example GLOBAL.GO. The load fails a row with no value, or with a code path that does not exist. From Clio Operate 7.11.2.
currencyCode nvarchar(10) No The currency code. From Clio Operate 7.11.2.
offerAmountTransactionState int No, but the load requires it The ID of the transaction state: 87010100 (Draft), 87010101 (Ready), 87010102 (Posted) or 87010103 (Reversed). The load fails a row with no value, or with any other value. From Clio Operate 7.11.2.
amount decimal(18,2) No The amount offered.

Keys: no primary key. Foreign key offerReference to offers.offerReference.

In versions before 7.11.2, the table has reserveTypeCode (nvarchar(500), required) in place of chartOfAccountsSegmentUniqueCode, currencyCode and offerAmountTransactionState.

participantRelationships

Relationships between participant roles, including policy and claim references.

Column Type Required Description
reference nvarchar(200) Yes The reference for the relationship.
leftSharedoParticipantRoleReference nvarchar(200) Yes The participant role on the left of the relationship.
leftSharedoParticipantRoleType nvarchar(200) Yes The type of the left participant role.
rightSharedoParticipantRoleReference nvarchar(200) Yes The participant role on the right of the relationship.
rightSharedoParticipantRoleType nvarchar(200) Yes The type of the right participant role.
sharedoTypeRoleAssociationSystemName nvarchar(200) Yes The system name of the role association.
createdDate datetime No The date that the relationship was created, in UTC.
policyNumber nvarchar(100) No The policy number, if applicable.
claimNumber nvarchar(100) No The claim number, if applicable.

Keys: no primary key. Foreign keys leftSharedoParticipantRoleReference and rightSharedoParticipantRoleReference to participantRoles.reference.

participantRoles

Participants and their roles on a work item, with an optional link to an address.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the participant role.
odsReference nvarchar(200) Yes The ODS reference of the participant.
odsType nvarchar(250) Yes The type of the participant: organisation, person, user, team or vehicle.
participantRoleSystemName nvarchar(200) Yes The system name of the role, for example claimant or defendant.
sharedoReference nvarchar(200) Yes The work item that the participant belongs to.
customReference nvarchar(100) No A custom reference or label.
addressReference nvarchar(200) No The address of the participant. The value is an address.reference.
addressType int No The address type.

Keys: primary key reference. Foreign keys odsReference to ods.reference, sharedoReference to sharedo.reference, and addressReference to address.reference.

payments

Payment records, including the type, the date and the payor.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the payment. A row in sharedo needs the same reference.
paymentTypeCode nvarchar(500) No The payment type code.
dateOfPayment datetime No The date and time of the payment, in UTC.
paymentDetails nvarchar(max) No Details of the payment.
parentSharedoReference nvarchar(200) Yes The parent work item, for example a matter or a request.
payorOdsReference nvarchar(200) No The ODS reference of the payor.

Keys: primary key reference. Foreign keys reference and parentSharedoReference to sharedo.reference.

paymentRequestAmounts

The requested amounts and tax for a payment request.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the amount.
sharedoReference nvarchar(200) Yes The payment request that the amount belongs to. The value is a payments.reference.
chartOfAccountsSegmentUniqueCode nvarchar(500) No The code path of the account in the Chart of Accounts. From Clio Operate 7.11.2.
currencyCode nvarchar(10) No The currency code. From Clio Operate 7.11.2.
amount decimal(18,2) Yes The amount requested.
reserveReason nvarchar(max) No The reason for the amount.
transactionItemType nvarchar(200) No The type of item.
taxAmount decimal(18,2) No The tax amount.
taxRate decimal(18,2) No The tax rate.

Keys: primary key reference. Foreign key sharedoReference to payments.reference.

In versions before 7.11.2, the table has reserveTypeCode (nvarchar(500), required) in place of chartOfAccountsSegmentUniqueCode and currencyCode.

phaseHistory

The phase changes of a work item. The history starts with the first transition, which has no "from" phase. The latest transition must match the current phase in sharedo. Phase system names must match configuration, but the transitions do not need to. The transitions can reflect the data in the source system. Contact us for detailed guidance.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the transition.
fromPhaseSystemName nvarchar(200) No The phase before the transition. Leave empty for the first transition. The value must match configuration, and it can come from an inherited phase plan.
toPhaseSystemName nvarchar(200) Yes The phase after the transition. The value must match configuration, and it can come from an inherited phase plan. The latest transition by date must match the phase in sharedo.
transitionDateTime datetime Yes The date and time of the transition, in UTC. Use a different value for each transition of the same work item.
userReference nvarchar(100) No The user who made the transition, typically a user in a primary ownership role.
description nvarchar(max) No Optional text.
transitionReason nvarchar(500) No Optional text.
sharedoReference nvarchar(200) Yes The work item that the transition belongs to.

Keys: primary key reference. Foreign key sharedoReference to sharedo.reference.

sharedoRelationships

Relationships between work items. You configure the relationship type in Modeller. Use the table for a mutual reference between two work items, or for a direct parent and child link.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the relationship.
leftSharedoReference nvarchar(200) Yes The left work item, which is the parent.
rightSharedoReference nvarchar(200) Yes The right work item, which is the child.
sharedoRelationshipTypeSystemName nvarchar(200) Yes parent-child, or the system name of a relationship in the Work Type Relationships configuration in Modeller.

Keys: primary key reference. Foreign keys leftSharedoReference and rightSharedoReference to sharedo.reference.

tasks

Open and completed tasks. A task is a work item, so participant role rows give the task its owner and make it visible to team members. You can also load form fields, comments and other work item data for a task. You can use any valid task type. The most common is the base type with the system name task.

Column Type Required Description
reference nvarchar(200) Computed Takes its value from sharedoReference.
sharedoReference nvarchar(200) Yes The reference of the row in sharedo for the task.
parentSharedoReference nvarchar(200) No The parent of the task, for example a matter.
dueDateTime datetime Yes The due date, in UTC.
taskContent nvarchar(max) No Optional text.

Keys: primary key sharedoReference. Foreign keys sharedoReference and parentSharedoReference to sharedo.reference.

timeEntries

Historic time for a user, typically billable time. You configure time codes in Modeller. Contact us for detailed guidance.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the time entry.
sharedoReference nvarchar(200) Yes The work item that the time entry is for.
odsReference nvarchar(200) Yes The user who recorded the time.
participantRoleReference nvarchar(200) No The participant that the time entry relates to. In versions before 7.10, this column is required.
startDateTime datetime Yes The start, in UTC.
endDateTime datetime Yes The end, in UTC.
billingNotes nvarchar(max) No Billing notes.
regenerateBillingNotes bit Yes Whether to regenerate the billing notes.
categorySystemName nvarchar(200) Yes The category. The value must match configuration.
classificationSystemName nvarchar(200) Yes The classification. The value must match configuration.
isAutomatic bit Yes Whether the time entry was recorded automatically.

Keys: primary key reference. Foreign keys sharedoReference to sharedo.reference, odsReference to ods.reference, and participantRoleReference to participantRoles.reference.

timeEntrySegments

The time code values of a time entry. Each row holds one segment of the time code for a time entry in timeEntries.

Column Type Required Description
reference nvarchar(200) Yes The unique reference for the segment.
timeEntryReference nvarchar(200) No The time entry that the segment belongs to.
timeCode nvarchar(200) No The time code. The value must match configuration.
segmentValue nvarchar(500) No The value of the segment, as text.

Keys: primary key reference. Foreign key timeEntryReference to timeEntries.reference.

 
 

Deprecated tables

As the product changes, some tables are no longer needed, because a different table design loads the same data. If you use one of these tables, contact us for guidance.

  • feeStructureSections and feeStructureElements: from Clio Operate 7.13, the schema script no longer creates these tables. In versions from 7.9 to 7.12, the script creates them.
  • settlements: the schema script still creates this table, but the data load does not read it.
 
 

Was this article helpful?

Related articles

Related articles in the knowledge base