This Action is used to create new records in the following modules:
Customers
Suppliers
Classes
Transaction
Workflow
The module in which the new record is created needs to be included in the menu. The SQL identifies the menu entry, and the menu entry indicates the module type.
The Action opens the module and creates a new record using the standard functionality in the module.
Add an Item to the Action.
In the Type column, select Create a New Record.
Add a Description for reference purposes.
Right-click and select Edit SQL.
Click the Template button to generate the basic SQL required for this Action item.
The Input Parameters that can be used in the SQL differ abased on the module that the Action is linked to. The parameter list can be found in the left panel of the SQL Editor.
/* MENUITEMID: This is the ID of the Menu Item that will be opened */
select ? as MENUITEMID from RDB$DATABASE