The following is an example of how you can add an Insertable to a project in the Windows or MCP platforms.
To add an Insertable to a project in the Windows MCP platform, perform the following steps:
Note: In this example, the Insertable has attributes and presentation.
In the Class View window, right-click the Segment, point to Add, and then select Insertable.
Rename the Insertable from Insertable1 to an appropriate name.
In the Properties window of the Insertable,
Select Graphical & Fixed from the PresentationType property list.
Select Public from the Change Visibility property list.
Optional. Add attributes to the Insertable and use the Painter to define the presentation.
In an Ispec in which you want to use the Insertable, add an attribute.
Optional. Rename the attribute from Attribute 1 to the name of the Insertable.
Template this attribute to the Insertable.
This creates an instance of the Insertable in the Ispec.
You can now refer to the attributes that belong to the Insertable, in the logic of the Ispec, with the qualification of the instance name. Refer to the Agile Business Suite Programming Reference Manual for more information on using the Insert logic command.