In the SDK, under Parameters for Microsoft Dynamics GP - Parameters for Rel 9.0 I selected Main Dictionary Parameters to find the following:
------------------------------------------------------------------------
SALES FORM PROCEDURE: OPEN
of form SOP_Inquiry
------------------------------------------------------------------------
in integer IN_Type;
in 'SOP Number' IN_Doc;
in integer IN_Which_File;
in integer IN_Module;
in 'Currency View' IN_nCyView;
in 'Caller ID' IN_nCallerID;
If you aren't sure of parameter values, I'd suggest creating a script log by add the following line at the bottom of your dex.ini in the GP directory:
ScriptDebugger=TRUE
Then launch into GP and log scripts before you open the inquiry window.
Regards,
Emily
MBS Dev Support