Support > Repository > Referencing other models
ja | en

I will explain the relation (relation) between models.

The model can have relationships (relationships) such as 1: 1, 1: N.

Figure 1 Reference relationship of model

The reference key (of the referencing model) is provided with "list box", "radio button", "check box", "search screen".

There is also a relation such as narrowing down by multiple reference keys.(Example: When selecting a large item, small items are narrowed down.)

In this chapter, we will explain references used in such general business matters.

(1) Option model
The choice model is used to manage several to dozens of choices.
(2) List box
Display the referenced model in a pull-down format. You can select one value.
(3) Radio button
Display the referenced model in the radio button format. You can select one value.
(4) Checkbox
Displays the referenced model in checkbox format. Multiple values ​​can be selected.
(5) Search screen
If the amount of data to be referenced is large, you can use refinement using the search screen.
(6) Reference linkage
You can refer to other relevant items automatically at the timing of model reference. Wagby calls this "reference interlocking".
(7) Tracing source
The referring source trace is a function to jump directly (screen transition) to the detailed screen of the referenced model. Please read "Reference source (to reference destination) trace".
(8) Trace destination
The reference trace is a function to check "what (reference source) data is being referenced" on the screen. Please read "References (to the referrer) trace".
(9) Narrow down choices by relationship between reference models
If you decide the value of one model reference, you can narrow down the choices of other related model references.
(10) Narrow down choices by value of other items
You can narrow down the choices of model reference depending on the value of other items.
(11) Suggest
You can specify "Suggest" function on the search screen. When you enter a candidate, the choices are displayed.
(12) [Application] Implementation of input method by selecting and adding fixed messages
You can apply the reference interlocking function and enter a character string while selecting and adding fixed messages.
(13) [Application] Set consumption tax at the time of operation using narrowing down of options
We calculate the tax amount using the consumption tax rate at the time when the user operated it. We will respond to future consumption tax change rules.
(14) [Application] Link list box with no relation linked by calculation
I will show you how to link two (independent) list boxes that are not related by calculation formulas.