In this chapter, you will learn how to substitute an inquiry form for a data entry form.
You are responsible for the customization of Acumatica ERP in your company, including developing and modifying generic inquiries to give users information they need to do their jobs. You need to give users the ability to scan lists of records and find needed records quickly. You will accomplish this task by substituting inquiry forms (lists of records) for the related data entry forms.
You configure the replacement of a primary form with a substitute form on the Entry Point tab of the Generic Inquiry (SM208000) form. To do this, in the Entry Screen Settings section of the form, you specify the primary form in the Entry Screen box and then select Replace Entry Screen With This Inquiry in Menu check box.
Replacing a primary form with a substitute form in this way does not remove the primary form, which can still be used. This setting affects only which form is initially opened when a user clicks the form name in a workspace menu or the search results.
When you replace a primary form with an inquiry form, the system automatically adds the corresponding navigation settings for this inquiry on the Navigation tab. It also sets the Window Mode for the path to the Inline option (as shown in the following screenshot), which is not available for selection by users.
You can activate or suspend the replacement of any entry form any time you want. You could, for example, do this temporarily, to make an inquiry form invisible to other users while you are making modifications to it. You can suspend the replacement in either of the following ways:
On the Lists as Entry Points form, if you delete the row containing the entry form and the corresponding substitute form, the following changes occur in the system:
You can use only a published generic inquiry form as a substitute form. When an inquiry has been created, you can publish it. To publish the generic inquiry, on the toolbar of the Generic Inquiry (SM208000) form, you click the Publish to the UI button. In the Publish to the UI dialog box, you may change the default settings of the title, workspace, and category. Also, you may change the automatically assigned screen identifier.
In the Access Rights section of the dialog box, you select what access rights should be assigned to the substitution form. In this case, the system shows a warning in the Publish to the UI dialog box. The warning explains that the inquiry is a substitute form and access rights that you select for this inquiry will be applied to its data entry form. If you do not need to change access rights to the data entry form, you select the Copy Access Rights from Screen option and specify the data entry form for this option.
To complete the publication process, you click Publish in the dialog box.
If you want to modify an inquiry that is currently used as a substitute form, you can temporarily hide it—that is, make the inquiry not visible to other users.
You can hide a published inquiry form that has been configured as a substitute form in one of the following ways:
We strongly recommend that you do not withdraw from publication an inquiry that has been published already. If you withdraw it, the system clears the assignment of screen identifier (value of the Screen ID box), which may cause issues with the widgets or pivot tables based on the published inquiry.
With the settings in the Operations with Records section of the Entry Point tab of the Generic Inquiry (SM208000) form, you can specify additional operations that a user can perform on a substitute form. By selecting the appropriate check boxes in this section, you enable the following capabilities for the inquiry form:
If you need to use additional operations on a substitute form (that is, if you select any of the check boxes described above), we recommend that you modify the predefined generic inquiry instead of creating a copy of the predefined generic inquiry and modifying the copy.
In Acumatica ERP, every form has its own levels of access rights that you can specify for the user roles in the system by using the Access Rights by Screen (SM201020) form. You can change the level of access rights to the data entry and generic inquiry forms independently of each other. However, when an inquiry form replaces the corresponding data entry form, it becomes the substitute form and inherits the level of access rights the users of each role have to the data entry form. Thus, to change the access rights users have to the substitute form, you need to change the access rights to the entry form. You can manage access rights to substitute forms in the same ways as you manage access rights to other generic inquiries. For more information about access rights, see Managing Access Rights To Generic Inquiries.
If you suspend an inquiry form’s replacement of a data entry form, the level of access to the inquiry form reverts to its initial state (that is, the levels of access rights roles had to the inquiry form before it was defined to replace a data entry form).