Deployment guidelines

This page contains guidelines on deployment of objects via database scripts.

Window shortcuts (core objects)
Coming soon

Reports
Coming soon

NVO shortcuts
To define a NVO shortcut:
 * 1) Inherit from N_CST_INVOKE_CONTEXT, located on PFEMARACIS
 * 2) Create an event, without arguments - this event will be called by the shortcut
 * 3) Create the application object script, as explained below.
 * 4) After running the script open the Assign services to security role window and select Core Objects
 * 5) Assign the new NVO shortcut to your security role
 * 6) Assign the new NVO shortcut to your portal shortcuts via the Set Shortcuts option.

To deploy a NVO shortcut, please use the script below MERGE INTO corp.application_object USING dual ON (system_name = '') WHEN MATCHED THEN      UPDATE        SET    presentation_name            = ''              ,reserved                     = 'N'               ,make_visible                 = 'Y'               ,organis_focused              = 'N'               ,facility_focused             = 'N'               ,application_object_type_id   = maracis.code_handler.f_getcodeid('NVO', 'APPLICATION_OBJ_TYPE')              ,object_type_id               = maracis.code_handler.f_getcodeid('WINDOW', 'OBJECT_TYPE')              ,system_id                    = 2              ,core_dynamic_ind             = 1              ,released_ind                 = 1 <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">   WHEN NOT MATCHED THEN <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">       INSERT <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">           (system_name <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,presentation_name <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,reserved <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,make_visible <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,organis_focused <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,facility_focused <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">           ,application_object_type_id <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">           ,object_type_id <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">           ,system_id <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">           ,core_dynamic_ind <span style="color:rgb(0,128,128);font-family:Consolas;font-size:14.6666669845581px;line-height:21px;background-color:white;">           ,released_ind) <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">        VALUES <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            (' <span style="color:rgb(0,128,128);font-family:Consolas;font-size:14.6666669845581px;line-height:21px;"><NVO_NAME.EVENT_NAME> <span style="color:rgb(0,128,128);font-family:Consolas;font-size:14.6666669845581px;line-height:21px;">' <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">           ,'Test Dynamic Event Call' <span style="color:rgb(0,128,128);font-family:Consolas;font-size:14.6666669845581px;line-height:21px;background-color:white;">           ,'N' <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,'Y' <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,'N' <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,'N' <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">            ,maracis.code_handler.f_getcodeid('NVO', 'APPLICATION_OBJ_TYPE') <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">           ,maracis.code_handler.f_getcodeid('WINDOW', 'OBJECT_TYPE') <span style="color:rgb(0,128,128);font-family:Consolas;font-size:14.6666669845581px;line-height:21px;background-color:white;">           ,2 <span style="color:rgb(0,128,128);font-family:Consolas;font-size:14.6666669845581px;line-height:21px;background-color:white;">           ,1 <span style="font-size:14.6666669845581px;color:rgb(0,128,128);font-family:Consolas;line-height:21px;background-color:white;">           ,1);