By using this form, you can create inquiries on the fly, without programming. You can view how the selected or newly designed inquiry looks, and you can test its functionality by selecting parameters and viewing the results.
The form toolbar and More menu include the buttons and commands described below.
In this dialog box, you can specify the publication settings of the new form, including access rights. This dialog box has the following elements.
In this area, you can specify the titles to be used for the newly created generic inquiry and for the corresponding generic inquiry form in the site map. Also, you can select how you want to configure the generic inquiry.
On the Query tab, you can access the Generic Inquiry Query Language (GIQL) Editor and write GIQL queries. For details about GIQL, see GIQL: General Information.
The tab appears on the form only if the Advanced mode is selected in the Summary area.
The Data Sources tab holds the list of generic inquires and data access classes (DACs) to be used for the inquiry (that is, the DACs that are used to represent the data from the system database tables).
The tab appears on the form only if the Low-Code mode is selected in the Summary area.
The table toolbar includes the buttons described below.
In the Table Relations table of this tab, you can specify relations between pairs of tables or inquiries. For each pair of related data sources, you specify links between the columns of these two data sources in the Data Field Links for Active Relations table.
In this table, you specify relations between pairs of tables.
In this area, you define links between pairs of fields for the related tables selected in the Table Relations table.
You use the Parameters tab to specify the types of fields to be used in the parameters area of the inquiry form.
In this dialog box, you can specify options for a drop-down list for the combo-box field that will be used as the parameter field for the inquiry. This dialog box has the following elements.
On this tab, you can specify the conditions to be met for the rows to be returned; the system uses these conditions to generate the WHERE SQL request.
To include a parameter value in any condition, use the [ParameterName] format. You configure the fields for inquiry parameters (to be displayed in the Selection area of the new generic inquiry form) on the Parameters tab of the current form; once they have been configured, they appear on the list of fields shown in the Data Field column on this tab.
[ParameterName]
@MyGroups
@MyWorktree
00:00:00
23:59:99
On this tab, you specify the grouping conditions according to which the results should be displayed on the inquiry form. One result row is returned for each group. SUM is the aggregate function that is applied to the result columns with the numeric type by default. MAX is the aggregate function that is applied to the other result columns by default. You can select an aggregate function value for each result column in the Aggregate Function column on the Results Grid tab.
Unit Cost * (1 + Markup Percent/100)
On this tab, you specify the order in which the results should be displayed on the new inquiry form.
By using this tab, you can specify how the results of the search in the database tables should be displayed.
GLHistory.TranPtdDebit
StartDate
<DAC>.<Field>
By using this tab, you can specify the interface settings for the selected generic query.
By using this tab, you can match the selected inquiry (called the substitute form in this context) to a data entry or maintenance form (called the entry form in this context). You can then replace the entry form with the inquiry in the navigation pane. Once you have replaced the entry form with this inquiry, when you try to click the name of the entry form in the navigation pane, you are redirected to the inquiry. If you select a record in the list, the entry form opens with the details of the selected record. Also, if you create a new record from the inquiry, the entry form opens.
Additionally, you can configure the actions to be available on the inquiry. For more information, see Making a Generic Inquiry a Substitute Form.
This table is available only if the Enable New Record Creation check box is selected. In this table, you can specify the default values for the records that can be created on the inquiry form. The table toolbar has only standard buttons.
By using this tab, you can specify the list of forms and webpages to which users can navigate from the inquiry form. For each form and page, you can specify navigation parameters and select the way to open the form.
In this table, you can list the navigation targets and the ways the system should open them.The table toolbar has only standard buttons.
By using this element, you can select, if applicable, the icon to appear on the side panel of the generic inquiry form.
In the table on this tab, for the selected row on the Navigation Targets pane, you can specify the parameters of the navigation target and the parameters of the inquiry that must match to make navigation available.The table toolbar has only standard buttons.
This tab is displayed only for the navigation targets with the Side Panel option in the Window Mode column. In the table on this tab, you can specify a condition or a set of conditions that must be met for the side panel to be visible for users. The table has the same structure as the table on the Conditions tab of the same form.The table toolbar has only standard buttons.
You use this tab to add the generic inquiry’s description, which will be used by AI Assistant. Adding the descriptions helps AI Assistant understand users’ questions and provide better answers. You use the rich text editor to enter a short explanation of how the generic inquiry is used.
If your instance has multiple active locales, you can provide localized versions of the descriptions on this tab.
This tab is available only if the AI Automation feature is enabled on the Enable/Disable Features (CS100000) form.
By using this tab, you can specify the fields of the entry form that can be updated for the selected or all the entities listed on the inquiry form if a user clicks Update or Update All on the More menu (under Actions) of the resulting inquiry form.
For instance, you can select the Description field on this tab. Then on the inquiry form, when a user selects some entities in the table and clicks Update on the More menu (under Actions), the system opens the Values for Update dialog box, where the user can specify a new description for the selected entities and update them.
During the mass update on the inquiry form, the ability to update a particular field of the entry form that the inquiry replaces depends on the business logic of the field and may vary.
Mass updating of attributes is not supported. For more information on attributes, see Attributes.
This tab appears on the form only if the Enable Mass Record Update check box is selected on the Entry Point tab.
The table toolbar has only standard buttons.
By using this tab, you can specify the commands that will be available on the More menu (under Actions) of the resulting inquiry form. This tab appears only if the Enable Mass Actions on Records check box is selected on the Entry Point tab (Operations with Records section).
The ability to perform mass actions for the entry form that the inquiry replaces depends on the business logic of the form. It is possible that you could list some mass actions on the Mass Actions tab that cannot actually be performed. On the resulting generic inquiry form that replaces the particular entry form, you need to test each of the commands related to the actions you have added on the Mass Actions tab to make sure that the action meets the following requirements:
If an action does not meet the requirements, you must delete this action from the list on the Mass Actions tab.
By using this tab, you can configure anomaly detection settings for the generic inquiry. This tab appears only if the Detect Anomalies check box is selected on the Interface Options tab of the current form.
If you’ve already run anomaly calculation for the generic inquiry and you modify its settings on this tab, the existing calculation becomes outdated, and you must start a new calculation. If a schedule is already running, the system stops it and then reruns the calculation with the updated values.
In this section, you specify the groups of records that should be analyzed for anomalies.
In this section, you specify how often the system should run the anomaly detection process.
On the side panel, you can preview the resulting generic inquiry form. When you click the eye icon, the system displays the generic inquiry form on the side panel. You can use the arrow icon to open and close the side panel.
In some columns of the Relations, Conditions, and Result Grid tabs, you can use formulas to calculate the values of these columns by using the formula editor, which is invoked by clicking the edit control button in the columns.
The formula editor includes standard and form-specific functions. For the list of standard functions, see Formula Operators and Formula Functions. The form-specific function is the Concat() function. If the software of your Acumatica ERP database is MySQL Server, for generic inquiries, use the Concat() function instead of + to sum the values of the string data type, as follows.
Concat()
+
=Concat('My first string', 'My second string', [Object.DataField])
The Styles components of the formula editor can be used in the formulas in Row Style and Style box so that the user can highlight certain elements of the resulting generic inquiry or a Data Table dashboard widget based on Acumatica ERP generic inquiry. By using the Styles components, the user can specify the display style of an element described by the formula.
The following operators can be used to specify the styles for the highlighted elements.
=IIf([CRCase.Priority] = 'H', 'bad', 'default')
To learn more about specifying formulas, see Using Formulas.