-
Open Database Tool and Connect to your database and go through the following steps to create screen in EAM:
-
Create a user defined table.
Ex. This a template script to create a user defined table.
Table Script for SQL Server Database
HxGNEAM_CustomFrameWork.zip\Tables_Oracle.sql. See the Attachments section of Related documents for downloading instructions.
Table Script for Oracle Database
HxGNEAM_CustomFrameWork.zip\Tables_SQL.sql. See the Attachments section of Related documents for downloading instructions.
-
Create User Defined Grid using below UDG script for both SQL Server and Oracle.
-
Create a function record in r5functions table.
-
Create a record in r5permissions table.
-
Create records in r5boilertexts table.
-
The table below lists the compatible data types for r5ddfield when creating records.
-
Check whether records exist or not in r5ddfield table by running query SELECT * FROM r5ddfield WHERE ddf_tablename='U5ACCOUNTS'.
-
If exists, no need to run insert statement for r5ddfield and reuse ddf_fieldid in Grid/Grid Fields/Query Fields.
-
If it does not exist then, create a record in r5ddfield table, using the table which was used for grid creation.
-
Create a grid record in r5grid table.
-
Create a grid field records in r5gridfield table.
-
Create a default dataspy record in r5dddataspy.
-
Create a default query field record in r5queryfield table.
-
-
Follow this order in the execution process for running the following UDG Scripts:
-
Execute sequence script, this execution should be done only once for a single database.
-
Execute r5ddfields creation, this execution should be done only once for a single database
-
Execute Grid creation script, this execution should be done only once for each grid creation in a single database.
-
Above mentioned steps can be executed with the help of following template script file.
-
-
Run this UDG template script in the order above for SQL Server database:
HxGNEAM_CustomFramework.zip\UDG_CREATE_SCRIPT_WITH_SEQUENCE_DDFIELDS_FUNC_GRID_SQL.zip. See the Attachments section of Related documents for downloading instructions.
-
Run this UDG template script in the order above for Oracle database:
-
HxGNEAM_CustomFramework.zip\UDG_CREATE_SCRIPT_WITH_SEQUENCE_DDFIELDS_FUNC_GRID_ORA.zip. See the Attachments section of Related documents for downloading instructions.