Skip to content

Transactional entity editor

The Transactional entity editor is used to define and manage entities that store process-driven data.

It provides a structured interface for configuring entity properties, relationships, and behaviour. Unlike static entities, you do not add or manage rows of predefined data in this editor; transactional records are created and updated through screens and workflows.

Note

Transactional data can also be edited manually outside of screens and workflows. See Edit transactional data for more information.

This editor consists of the following tabs:

  • Base Entity
  • Subsets

The base entity tab is made up of four sections:

This area allows the user to enter the transactional record’s ID type. Set:

PropertyDescriptionRecommended setting
ID TypeDefines the type of the entity identifierUse string in most cases

This is where you create a list of properties that the transactional entity is made up of:

Insight

Each property represents a field in the entity and is used to store data.

  1. Clck on the “property” label to define a property. Set:
PropertyValueNote
Property(Property name, eg., quantity)The internal property name
  1. Click on the expand arrow on the property dropdown to expose the rest of the record’s properties.
  2. Set:
PropertyDescriptionExample
TypeDefines the data typenumber, string, or reference
Default ExpressionOptional default value1
static checkboxOptional default valueLeave unchecked
Seachable by default checkboxOptional default valueLeave unchecked
  1. Save your changes before continuing.

  2. Click on + Add new property for each successive property you want to add and continue from the first step again.

This section is used to define how the current entity is related to other entities.

Relationships link records together (for example, a header record and its associated line items).

  • Many-to-one: Multiple records reference a single record (e.g. PurchaseRequestItemPurchaseRequest)
  • One-to-many: A single record references multiple records (e.g. PurchaseRequestPurchaseRequestItem)
  1. When adding a relationship, set:
PropertyDescriptionExample
NameInternal relationship namerequest
Target EntityThe entity being referencedPurchasing.PurchaseRequest
Relation typeDefines the relationship directionmany-to-one or one-to-many
ID property nameForeign key field namerequestId
Enforce DB ConstraintEnsures referential integrityEnabled (default)
  1. Save your changes before continuing.

  2. Click on + Add new relationship for each successive entity relationship you want to add and continue from the first step again.

Insight

Define the relationship on the detail entity first (many-to-one), then configure the inverse relationship on the header entity.

LEIGH TO-DO: Need information on adding methods - what, why, and how?

Save and close the editor.

Key Lesson

Transactional entities define the structure of process data. The actual records are created and managed through screens and workflows, not within the editor.