Opening the command form

The command form for your integration must be open for the commands to be accessible. To open your command form, use a procedure trigger that is activated after the OpenCommandForms procedure is run within Microsoft Dynamics GP.

The following example shows the registration for the trigger that opens the Command_IG_Sample command form in the sample integrating application:

l_result = Trigger_RegisterProcedure(script OpenCommandForms, TRIGGER_AFTER_ORIGINAL, script IG_OpenCommandForm);
if l_result <> SY_NOERR then
	warning "Procedure trigger registration failed.";
end if;

The following script runs when the trigger is activated, and opens the Command_IG_Sample form.

open form Command_IG_Sample;


Documentation Feedback