QAD 2017 Enterprise Edition
>
User Guides
>
System Administration
>
UI Customization
>
User-Defined Components
User-Defined Components
The User-Defined Components option lets you define your own business component for use in the application.
You implement this option by customizing a generic back-end business component, and deploying generic business classes that are designed specifically for customization. You then use non-intrusive customization techniques to implement data loading and saving for the new component.
These techniques are described in
Customizing Business Logic.
You can create the following types of user-defined components:
• Create/Modify/View/Delete. This component type is used to create, modify, view and delete records in the usual way. This is the standard program type, and only one instance of the component is displayed on the form at one time. Examples of this program type include Country Create and Cost Center Create.
• Maintain. This component type is used to maintain existing records. Maintenance programs display multiple instances of the component in a maintenance grid on the form, and are most useful for components for which there are not a great number of records. An example of a maintenance program is Payment Format Maintenance, in which all the records are displayed in the form grid, and you can create, modify, and delete records in the same form.
You can create components of one type or the other, but you cannot assign both Create/Modify/View/Delete activities and the Maintain activity to the same component.
The following sections describe the code elements required to implement a new business component, and also a sample implementation of the procedure.