We prepared an estimate model.We will use this as the source of reference linkage.
We prepared a purchase order model referring to this estimate model.We have selected an estimate.
When linking (estimate) model is confirmed, the entire container is repeatedly linked with reference repeatedly.
This motion image is shown in Figure 4.
We define four models."Customer" and "goods" are treated as master data.(The explanation will be omitted.)
It shows the definition of the estimate model."Item" is a repeating container.
Indicates the definition of the purchase order model.Here, "item name" and "price" included in the "item" model are referred to as "reference linkage".
Item "Product name" in the repeating container is set so that when the estimate item is confirmed, the product name item (included in the estimate model) is linked with reference.
In the same way, we will set up reference linkage for "price" as well.
When using this function, repeat the operation of "Include at least one list box/radio button/check box item in the repeating container or select item of model (refer to model) of the linkage source model" Please set. "It is because it is necessary to make reference interlock by screen redraw.
In this case, since the list box item is included in the repeating container, this rule is satisfied.
By setting the reference linkage item to own model saving, you can change the value after reference and save it. The rewritten value is managed separately from the reference source.
An example of changing the application of Fig. 3 to reference linked model own saved model is shown below.
You can change the value and save it.After that, even if you change the detailed statement on the side of the linked quotation model, this order form model will not be affected.
For the item you want to save your model, enable "Save value in database". Also, "Releases" the setting of "read only".
The following rules apply when saving reference linkage.
You can specify the conditional expression for the repeating container of the referencing model (narrowing down the reference linked data).
It shows an example of giving the condition that reference is linked only when the price is larger than 100 (yen). Three statements are included in the quotation.
On the new order screen of the order form, two items are referred to and linked with each other.
Describe the expression in "display condition when referencing linked container".If this formula is
trueOnly the line that becomes the reference is linked with reference.
Here, the expression is set as follows.
If reference interlocking of repeating containers does not work, "Screen redraw settingPlease confirm whether the rule is satisfied.