If the amount of data to be referenced is large, you can use refinement using the search screen.
In the estimate model prepared in Figure 1, we refer to the customer field from the customer model.When you click on the "Search" button prepared next to the entry field, the search screen shown in Figure 2 opens.
In the search screen of Figure 2, narrow down by search criteria and then press the "to list view" button.
Select the value (here the name) that is on the left side of the list display screen.Specifically, click with the mouse.
The customer is selected.
Opens the type detail setting dialog of model item.Select "Search screen" as input type.
You can change the input field length.For details, refer to "Input control>Input field length> Search screenPlease read.
To cancel the selected content, press the clear button (icon with an eraser shape) prepared next to the item name.(The explanatory note will be displayed when you hover the mouse cursor.)
The selected state is canceled.(FIG. 7)
Invalidate "Create clear button" of the model reference prepared in the input control tab of the model item detail definition dialog.(FIG. 8)
An example where the clear button is not prepared is shown in Fig.In this case, once you select something, you can not return it to the unselected state.
If you set the search button to non-display, this clear button will also automatically be hidden.
Search screen (subwindow)You can specify the standard height and width.The initial value is 500 pixels.
You can directly enter the primary key of the reference model and reference the value.It is effective for business use when the primary key is used as the business code and the operator at the site remembers the coding system.
In Figure 12, the product code is entered directly."Search ..." button is not provided.
Corresponds to the product code Product name and price are displayed in conjunction.(FIG. 13)
This is an example of entering multiple product information.(FIG. 14)
If you enter a product code that does not exist, an error occurs when the save button is pressed.
Prepare the item code item in the estimate model as the input slip.(Figure 16)
The input type is "search screen".The reference model item specifies the primary key item.Let's assume that the primary key plays a role as a business code.
Opens the model item detail definition dialog.Activate "enable value input directly" in the "Model reference (search)" column in the input control tab.At the same time, disable "Show buttons".
The input value of the registration/update screen (main window) can be passed as the search value of the search screen (sub window).
Here is an example.The item "customer name" in the "business report" model refers to the "customer" model.
Here, we reuse the value of the item "job type" of the "business report" model as the search condition (of the "customer" model).
As shown in Fig. 18, set the value in advance in the column of occupation and press "Search" button.
You can see that the value of the main window (business report) has been passed to the subwindow (customer model search screen).(Figure 20)
The definition of the customer model is shown in Fig."Industry type" item (jobtype) is used as a search condition.
Figure 21 shows the definition of the sales report model.In the same way, specify "industry type" item (customertype) to be delivered as search condition as search condition.
"Customer name" in the business report model refers to the customer model.The input type is the search screen.(FIG. 23)
Here, we associate the item "industry type (customertype)" in the business report model (own model) with "business type (jobtype)" of the reference destination model "customer".This is the narrowing-down setting shown in Fig.
In Figure 24, we specified the item name (which holds the value to be passed), but you can pass a fixed value.(FIG. 25)
In addition to narrowing down by string type as in this example, you can also set refinement using model reference items.Detail is"Narrow down choices by value of other itemsPlease read.