Chapter 120. Template Terminology

Table of Contents

Data Types
Field Transforms

Data Types

The information in Evergreen’s database can be classified in nine data types, formats that describe the type of data and/or its use. These were represented by text-only labels in prior versions of Evergreen. Evergreen 3.0 has replaced the text labels with icons. When building templates in Reports, you will find these icons in the Field Name Pane of the template creation interface.

Webby IconData Type Description Notes

media/datatypes_timestamp.png

timestamp

An exact date and time (year, month, day, hour, minutes, and seconds)

Select appropriate date/time transform. Raw Data includes second and timezone information, usually more than is required for a report.

media/datatypes_link.png

link

A link to another database table

Link outputs a number that is a meaningful reference for the database but not of much use to a human user. You will usually want to drill further down the tree in the Sources pane and select fields from the linked table. However, in some instances you might want to use a link field. For example, to count the number of patrons who borrowed items you could do a count on the Patron link data.

media/datatypes_text.png

text

A field of text

Usually uses the Raw Data transform.

media/datatypes_bool.png

bool

True or False

Commonly used to filter out deleted item or patron records.

media/datatypes_orgunit.png

org_unit

Organizational Unit - a number representing a library, library system, or federation

When you want to filter on a library, make sure that the field name is on an org_unit or id data type.

media/datatypes_id.png

id

A unique number assigned by the database to identify each record

A number that is a meaningful reference for the database but not of much use to a human user. Use in displayed fields when counting records or in filters.

media/datatypes_money.png

money

A monetary amount

media/datatypes_int.png

int

Integer (a number)

media/datatypes_interval.png

interval

A period of time