Skip to main content

Dictionary

The dictionary defines each data item once: its label, its format, its rule (Boolean, list of values, lookup, sequence…), its default value and its translations. A query column that references an entry inherits that definition, so the same item reads the same way on every screen, chart and dashboard.

It is edited from Liberty Next → Data → Dictionary, which holds five kinds of records:

TabHolds
EntriesThe data items: label, format, rule, default, translations.
EnumsFixed lists of codes and labels, for the ENUM rule.
LookupsQueries that turn a code into a label, for the LOOKUP rule.
SequencesQueries that return the next number, for the SEQUENCE rule.
FrameworkOverrides of the lists the builders offer (formats, rules, datasource types…).

At a glance​

DictionaryScan a tableExportDiscardSaveReload configConnector:Sharedcrmsales+ Add scopeEntries 128Enums 4Lookups 6Sequences 2Framework 0+ Add entry⌕ filter 128…CUSTOMER_IDCustomer numbernumberCUSTOMER_STATUSCustomer statusLOOKUPDUE_DATEDue datedateIS_ACTIVEActiveBOOLEANbooleanUPDATED_BYUpdated byLOGINUPDATED_ATUpdated atSYSDATEdateCustomer statuscrm · CUSTOMER_STATUSFind usages 3RenameCloneDeleteGeneralRuleAdvancedKIND OF FIELDLOOKUPA list read from a table⌄What the field is: free text, a list, a yes / no box, a number given automatically… moreLIST FROM A TABLECUSTOMER_STATUSES⌄DEFAULT VALUEASENSITIVE DATAdisabledLIST PARAMETERSTYPE = CUSTOMERScopesshared, or one per connectorFive tabswith their countsFiltername, label, format or ruleAn entry's lineits format and its rulePage buttonsscan, export, saveRecord barusages, rename, clone, deleteRule tabkind of field, its list, default…List parametersvalues for the list's :params

The list​

Each kind has its tab — Entries, Enums, Lookups, Sequences, Framework — with the number of records of the scope. A record's line says what it is without opening it: an entry shows its format and its rule (the rule's target in the tooltip), an enum its number of values, a lookup or a sequence the other connector it reads from. The filter finds a record by its name, its label or one of those: type lookup to see every entry ruled by a lookup. On the picked record, Find usages says in how many places it is used. Scan a table, Export, Discard and Save are in the page header.


Scopes​

The Connector: chips at the top choose which part of the dictionary is shown:

  • Shared — the entries every connector can use.
  • One scope per connector — entries, enums, lookups and sequences that only that connector's queries see. + Add scope adds a scope for an existing connector.

A query of the sales connector looks for an entry in the sales scope first, then in the shared scope. Two applications can therefore define the same key (STATUS) differently without clashing. The Framework tab is shared only.


How a column uses an entry​

A column of a query picks up the entry whose key matches its name (CUSTOMER_STATUS), or the entry named in its dd field when the names differ (an empty dd opts out). A label or format set on the column itself takes precedence over the entry's. See Connectors → Schema discovery and column hints.

On a screen, a column can also switch off the kind of field it inherits with Free text, whatever the dictionary says — see Kinds of field.


Entries​

The left-hand list shows each entry's key with its label underneath, and a filter field. Entry keys are written in upper case. The picked entry opens on the right under its label, followed by its scope and its key (Customer status crm · CUSTOMER_STATUS), its form split into tabs. Each field has one short sentence of help under it; more opens the longer explanation.

TabFieldEffect
GeneralLabelThe default label, used when no translation matches the user's language.
GeneralFormatHow the value is displayed and entered — see Formats.
GeneralDecimalsFor jdenumber, the implied decimal places of the stored integer; for the other numeric formats, the places shown (0 to 9).
RuleKind of fieldWhat the field is, in plain words — see Kinds of field.
Rulethe kind's own fieldShown only for a kind that needs one, under the name of what it is for that kind: Value that means yes, List of values, List from a table, Numbering rule, Only the databases of. The list changes with the kind.
RuleValue for noA yes / no box only: the value written when the box is unticked. Blank infers it from the value that means yes (Y → N, 1 → 0, true → false); any other value writes NULL.
RuleDefault valueThe initial value when a new row is added.
RuleSensitive dataMarks the item as sensitive data — see Sensitive data.
RuleList parametersA list read from a table only: fixed values for the :params of the list's query (e.g. TYPE = CUSTOMER). The keys offered are the parameters the list declares.
AdvancedAlign when savingFor fixed-width character columns: right-aligned and padded with spaces, or with zeros. Applied to the written values and to the keys of the WHERE clause. Blank = left-aligned.
AdvancedStored widthThe stored width of the item, used with Align when saving when the physical column is wider.
AdvancedKeep on upgradeMarks the entry as a local customisation: an upgrade package does not overwrite it.
GeneralHelpA short line said under the field in a record form — what to type, what it changes. It takes one line, cut short; the whole text shows on hover and unfolds on a click. A screen column's own Help wins over the item's.
GeneralIn the other languagesUnder the tab's fields: one line per language, a box for the Label and one for the Help — the text in the configuration's language shown greyed in an empty box. Left blank, the label or the help as written is shown. With several other languages, the block starts folded, its heading saying how many texts are given (3 of 8 given).

The record bar offers Find usages, Rename, Clone and Delete. Renaming an entry, a lookup or a sequence updates its references in the other configuration files (screens, connectors, dictionary) and reloads; it asks to save pending changes first.

Formats​

FormatDisplayed as
text, textareaText, on one line or several.
number, integer, decimal, currencyA number.
date, datetime, timestampA date, with or without time. The form, the bulk edit and the filters offer the application's date picker: a field where the date can be typed (an impossible day goes back to the previous value) and a month calendar with Today and Clear, whose title opens a month and year chooser. A datetime or timestamp field adds a time field (hh:mm or hh:mm:ss). A value carrying its time zone (a PostgreSQL timestamptz) shows in the browser's local time; a value without a zone (Oracle DATE, JD Edwards dates) shows as stored.
jdedate, jdetimeA JD Edwards date (CYYDDD) or time (HHMMSS), shown as a regular date or time.
jdenumberA JD Edwards amount stored without its decimal point: with Decimals = 2, the stored 12345 reads and is entered as 123.45, and is written back as 12345. Filters are typed in real units; the Data Explorer totals and detail rows are scaled the same way. The scan of a JD Edwards table fills the decimals from the data dictionary.
xml, codeA long text read as code — an XML document, a log, any text. The record form shows it in the code editor with line numbers and, for XML, its colours; read only, an XML is laid out one element per line. Copy and Download sit above it, the file named after the record's key and the field; what is copied, downloaded and saved is the stored text. The editor is loaded the first time such a field is shown.
booleanA tick or a cross.
passwordA masked value.
urlA link opening in a new tab; the form's field gets a button that opens it. Only http(s) addresses become links (www.… gets https://).
emailA mailto: link; the form's field gets a button that opens it. Only a value shaped like an address becomes a link.
colorThe code with a colour swatch beside it; in the form, the swatch opens the system colour picker. Hex codes and rgb() only.

For url, email and color, any other value stays plain text, and sorting, filtering and export keep the raw value.

The Framework tab can add values to this list.

Kinds of field​

Kind of field is one choice in plain words; the code stays shown beside it. No kind picked: a field typed freely.

Kind of fieldCodeEffect
A yes / no boxBOOLEANThe value shows as a tick or a cross, and the form shows a check box. Value that means yes gives the true value (Y, 1, 01, true, T); Value for no the other one.
A fixed list of valuesENUMThe code shows with its label from the enum named in List of values; the form offers the enum's values.
A list read from a tableLOOKUPThe code shows with its label from the lookup named in List from a table; the form offers the lookup's rows in a searchable list. On a screen column, New list from a table… makes the lookup in one step — see Columns.
A number given automaticallySEQUENCEOn insert, the server fills the column with the next number of the sequence named in Numbering rule, inside the same transaction.
The signed-in userLOGINOn every insert or update, the server writes the signed-in user's name, in upper case, whatever the form sent. The form shows it already filled when a row is added.
Today's dateSYSDATEOn insert or update, the server writes the current date and time (server local time) when no value was sent. The form shows today's date when a row is added.
A password (hidden, stored encrypted)PASSWORDOn write, the server encrypts the value with the master key (ENC:…) so that it can be decrypted when used — for connection passwords stored in a table. A blank password on update leaves the stored value unchanged. Pair it with the password format to mask the field.
A database of this installationPOOLThe field names a pool of the installation: wherever a list of values is drawn — grid, record form, filter —, it is a dropdown of the pools, so a setting that names a pool is picked, not typed. Only the databases of blank offers every pool; a SQL connector there offers only the pools it may run on — its own first, then its other environments. See Pools.
Free text; left empty, it takes its default valueDEFAULTOn insert or update, the Default value is written when the column comes empty.
Free text, whatever the dictionary saysDISABLEDSet on a screen column: cancels the kind inherited from the entry for that screen (for example an import screen whose rows already carry their dates).

The kinds applied by the server (SEQUENCE, LOGIN, SYSDATE, PASSWORD, DEFAULT) apply to every write through the query — form, grid editing, API — not only to the form. A writable query can also stamp values explicitly with tokens such as {{LOGIN}} or {{SYSDATE}} — see Parameter binding.

Sensitive data​

Sensitive data, in the Rule tab of an entry, says the item holds sensitive data — a person's name, an e-mail address, a bank identifier. Where the installation hides sensitive data from the AI assistant, every column carrying the item is left out of what the assistant is given, in the drawer and through MCP. It changes nothing in the screens. A screen column has the same flag, for a column without an item. See Sensitive data.

Audit columns​

A rule applies to every write whose query binds the column:

ColumnRuleCondition
UPDATED_BYLOGIN—
UPDATED_ATSYSDATEThe column must come empty: keep it out of the dialog.
CREATED_BY, CREATED_ATLOGIN, SYSDATEOnly if the update query does not write them — otherwise each update would replace them.
IDSEQUENCEWhen the database does not number the rows itself.

The {{LOGIN}} / {{SYSTIMESTAMP}} tokens written in the insert and update queries are the simplest way to stamp these columns — see Audit trail.

These columns need not appear in the form: the server fills them on every write, and the browser cannot change the user name.


Enums​

An enum is a fixed list of codes, for values known in advance (L / M / H for a priority).

FieldEffect
LabelThe name of the list.
ValuesOne line per code: Code (the stored code), Label (the text shown in its place), Colour, and the label in the other languages (the In the other languages block under it).
Keep on upgradeAs for entries.

A value with a Colour (neutral, blue, green, red, orange, purple, yellow) is shown as a tag of that colour in the grid's label column and in the read-only form — a status green when done, red when refused. Blank: plain text.

An entry uses it with Kind of field = A fixed list of values and List of values = the enum.


Lookups​

A lookup is a query whose rows turn a code into a label — for values held in a table (statuses, countries, users).

FieldEffect
DescriptionWhat the lookup returns.
ApplicationThe application whose query feeds the list. Blank uses the one of the column that references it.
QueryThe query returning the codes and labels — on an API connector, one of its endpoints that answer rows (Endpoints that answer rows). Buttons next to it edit the query, clone it, create one, or generate it from a table. For an endpoint, the edit button opens the endpoint's editor in place; the others lead to the Connectors page, where endpoints are made — open on that endpoint for a clone, on the API connector to add or generate one.
Code columnThe result column holding the code.
Label columnThe result column shown instead of the code.
Colour columnThe result column that says each value's colour (green, red…) — a status list whose query says which statuses are errors. The value is then shown as a coloured tag in the grid and the form. Blank: plain text.
More sourcesFurther queries, possibly on other connectors or databases, whose rows are added to the list. Each must return the same columns as the main query.
Key columnsColumns that make the code unique when the same code has different labels (a code per company, for instance): the grid matches them against the row's columns of the same name.
Columns handed backColumns that a screen column can copy into other fields of the form when a row is picked.
Extra columns shownExtra columns shown next to the code and label in the list, to tell similar rows apart.
Columns to filter onExtra columns that get filter chips at the top of the list.
Hide the codeFor a code nobody reads — a generated identifier, a JD Edwards task id: the list shows the label and the extra columns only, ordered by label, in the record form, the grid's edit cells and the filters. The grid starts with the code column hidden; it stays in the column chooser and in an export of all columns. The value saved is still the code.
Keep on upgradeAs for entries.

The lookup's query declares its own :params; their values come from the entry's List parameters, or from the screen column. Cascading lists are built on the screen — see Sequences and lookups.

A long list, as a table​

Every dropdown whose list is long (40 lines or more) or has extra columns ends with Open as a table — on every screen, record form, filter and application page, with nothing to configure. The dialog — headed by the field's name, or Choose in the list — draws the list with the application's shared grid: the code, the description and each extra column under its heading, with room to read. A click on a line picks it; the line already picked carries a check mark.

In the dialogWhat it does
SearchNarrows the lines on any column.
A filter per columnUnder each heading. A column the dropdown offers filter chips for (Columns to filter on) gets a pick list of its values.
SortA click on a heading.
Grouping, columns shownAs in any grid of the application.
PagingA long list is read page by page.

A lookup also gives its list to a declared parameter of a query or an endpoint: where the parameter is filled, its value is picked in the lookup's list — see Parameter binding → A parameter picked in a list.


Sequences​

A sequence is a query that returns the next number, typically SELECT COALESCE(MAX(id), 0) + 1 FROM invoices.

FieldEffect
DescriptionWhat the sequence numbers.
ApplicationThe application whose query gives the number. Blank uses the one that fires it.
QueryThe query returning the next number. Its :params take their values from the row being inserted.
Dictionary itemFires the sequence for every column carrying this item, even without the kind A number given automatically. Blank limits it to the entries pointing at it.
ParametersThe parameters the query expects — for information.
Keep on upgradeAs for entries.

The sequence only fires on insert, inside the insert's transaction.


Framework​

The builders' drop-down lists (formats, kinds of field, datasource types, HTTP methods, column alignments…) come from lists shipped with the framework. Override framework enum copies one of them here to change it: the copy replaces the shipped list. Removing the override brings back the shipped values.


Scan a table​

Scan a table creates entries from a real table instead of typing them one by one. The Generate dictionary items dialog asks for:

  • Connector — the connector to read;
  • Store under (app) — the scope the entries go to (the connector's by default);
  • Table to scan;
  • JD Edwards connector — strips the 2-character table prefix to reach the shared data item, and reads the JD Edwards data dictionary.

Scan lists one row per column. Columns that already have an entry are greyed out and marked (exists); they are never overwritten. Missing ones are ticked. Each row can be adjusted before it is added:

ColumnContent
LabelFilled from the JD Edwards data dictionary on a JD Edwards connector; blank otherwise.
FormatInferred from the column's SQL type.
Rule / Rule valueAn optional rule and its argument.
Lookup paramsValues for a lookup's parameters (TYPE=CUSTOMER).
DefaultA default value.
SourceWhere the proposal comes from.

Add N item(s) writes the ticked entries into the chosen scope and reloads the configuration. The Screen Creation Assistant runs the same scan in its Dictionary step.


Export​

Export downloads dictionary_entries.xlsx: one row per entry, every scope included, with its scope, key, label, format, rule, rule value, false value and default — handy to compare with the data dictionary of the source application.


Saving​

Save checks every entry, enum, lookup and sequence, writes the file and reloads the configuration: screens show the new labels on their next refresh. A refused save writes nothing and lists what to correct, each line with Open to go to the entry, enum, lookup or sequence in question — see Saving. Discard drops the unsaved changes. Settings is open to superusers only.

Translated labels follow the user's language; how it is chosen is described in Translations.


What's next​