Multiple search conditions can be prepared in advance as "templates". When you select a template, each search item is automatically set.
"Search template" is a function that assigns names to combinations of multiple search conditions and automatically sets search conditions according to this name.
It shows the execution example is shown in Figure 1.When "Search Template Name" is not selected, both search item "work name" and "registration classification" are unselected.
Select an arbitrary search processing pattern from "Search Template Name".
As shown in Figure 3, the search condition is set automatically.
If you press the "Execute Search" button here, you can narrow down by the set search criteria.
Figure 5 shows the model you prepared to run the above example.
This model and value ("provisional registration" "book registration") has no meaning.I treat it as a sample.
This model has no meaning either.Figure 8 is prepared as sample data.
It is a model for storing "search condition template". For the items included in this model, the values of the "business classification" and "business name master" models shown in Fig. 6 and Fig. 7 are retained.
For example, the item "work name" refers to the "work name master" model in Figure 7.
Figure 11 shows an example of the search condition template used in this sample."Business name" "Business division" is the actual search item, and it is naming it.
A model that applies a search condition template.The point is to pull the search condition (by reference linking) by selecting the name of the search condition template model.This is the red frame in Figure 12.
However, this reference linked item itself is not a search condition.The actual search item is the blue frame in Figure 12.
For "Search template name" item, refer to "Search condition template" model in Fig.
In the item "reference linkage (hidden) work name" and "reference linkage (hidden) business classification", the value of the search template model is acquired by reference linkage respectively.
"Search template name", "reference interlocking (hidden) work name", and "reference interlocking (hidden) business category" which are the red frame portion in FIG.It is set to use for search conditions, but it is not saved in the database.(This is for the intention of using on the search screen and is not used for actual search conditions.)
Set "input control - make hidden item (full screen)" for "reference interlocking (hidden) work name" and "reference interlocking (hidden) business classification".
Also set "output control (detail screen) - make it hidden" for "reference interlocking (hidden) work name" and "reference interlocking (hidden) business classification".
Also set "Search Control - Make Hidden Item (Full Screen)" and "Search Control - Set to Read Only" in the same way "Reference Linked (Hidden) Business Name" and "Reference Linked (Hidden) Business Group".
Defined in the blue frame part of Figure 12Items actually used for search, Specify the corresponding reference linkage item name in "Search Control - Copy and Use the Value of Another Item".This allows you to copy the reference linked value and use it as a search condition.
Lastly, for "target template name" item in the target task model, "Enable input control - Redraw screen when changing value" is enabled.As a result, when template is selected, search values are linked with each other (although it is not displayed on the screen), screen redrawing will be performed with the reference linked values copied.