Examples: Command_HideAndDisable


The following example is the form pre script for a command form. It checks the security access for the integration. If access should not be granted, it disables the commands for the integration.

local boolean security_access;

{Use the appropriate routine to check security access}
security_access = CheckIntegrationSecurity();

if security_access = false then
	call Command_HideAndDisable, command CMD_Inquiry1;
	call Command_HideAndDisable, command CMD_Maintenance1;
	call Command_HideAndDisable, command CMD_List1;
end if;


Documentation Feedback