Page tree
Skip to end of metadata
Go to start of metadata

Open your relevant BE → Go to the Generate Tab

Generate Akioma Data Fields

 

On question “Do you want to use an existing Entity?” always answer “No” if it’s new or if you’re not sure.

 

On question “Entity” write down the name of your business entity with same casing.

 

On “Entity Module Lookup” always select your Module (in this example 'SWAT User').

 

On "DataField Module Lookup", you can either use the previous module, or select another module for the datafields. (in this example previous 'SWAT User' will be used)

 

It then should generate code unless you made mistakes, select YES on the next dialog.

 

Now, in SmartFramework Menu / Object Master Maintenance (Object Master Designer) you can see the generated objects:

 

Generate Data Source Object

 

On question “Main Table Name” select the required Entity Table

 

On question “Object Name” write down the name of your entity + "DSO" (without "BE"):

 

On "Data Source Module Lookup”, select the correct module again.

 

It then should generate code unless you made mistakes, select YES on the next dialog.

 

The object should now be available in Object Master Maintenance:

 

Generate Grid

 

In the BusinessEntityDesigner choose 'Generate Grid':

 

On “Grid Module Lookup”, select your module again:

 

On question “Grid name” write the name according to the naming convention:

 

On  “Source Entity lookup” select the correct entity (which was generated by the step "Akioma Data Fields Generator").

 

Then select the fields for the grid, it is wrongfully named “Index Field Editor”.

 

It then should generate code unless you made mistakes, select YES on the next dialog.

 

In Object Master Maintenance the Grid object should be visible now:

 

Generate Viewer

 

On “Viewer Module Lookup” select your created module.

 

On question “Viewer name” write the name according to the naming convention from:

 

On “Source Entity Lookup” select your entity

 

Then select the fields for the viewer, it is wrongfully named “Index Field Editor”.

 

It then should generate code unless you made mistakes, select YES on the next dialog.