umangenius-logo
U Man Genius docs
Popup ninext

icon picker
Fields and Functions

JT
Jacques TUR
The Fields and Formulas/Functions (Fields & Fx) menu allows you to find dependencies for a selected field or global function. This means you can identify all the formulas that use a specific field or global function.

Why This is Useful

When modifying or deleting a field or global function, this feature helps you verify its impact on the rest of the database.
image.png

Dependency Impact Levels

There are three levels of impact, represented by three different badges:
Badge
Formula
User interface
Display

image.png
The field is used in a formula (or a trigger such as onClick, afterUpdate, or afterCreate). Any modification or deletion will affect the database's functionality.
image.png
The field is used in a trigger (e.g., visibility, canWrite, canRead, beforeShow, afterHide). Modifying it will only affect the user interface behavior and not the database functionality or data calculations.
image.png
The field is only used for display purposes. Modifying it will only affect data presentation, without altering the user interface behavior or data calculations.
There are no rows in this table

The number displayed inside the badge represents the total number of dependencies.

Understanding Dependencies

A field can have multiple dependencies, and each dependency may also have its own dependencies. This hierarchical structure helps in understanding how changes to a field or function affect the database.
image.png

Direct use

Select a Table or Global Functions Line:
Use the dropdown menu on the left to select a table or the "Global Functions" line.
image.png

Select a Field or function:
Use the dropdown menu on the right to select a field or function - from the previously selected table or the global functions.
image.png

Using the Field Editor

You can also directly click on the badge above the field in the field list. This automatically opens the Ninext Popup, selecting the corresponding table and field.

image.png
image.png

Accessing the selected Field or Function

Click the "Modify" button to the right of the field list.
Enregistrement de l’écran 2024-12-28 à 18.46.59.gif
For Global Functions, the script editor for the global functions trigger opens, highlighting the relevant function.
Enregistrement de l’écran 2024-12-28 à 18.50.02.gif

Direct Access to the Script

Hover over a result row, and a "Modify" button appears.
Clicking this button displays the source code containing the dependency, with the relevant part highlighted.
Enregistrement de l’écran 2024-12-28 à 18.41.19.gif
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.