You can call a Microsoft Dynamics GP procedure exactly the same way as you call your own procedures. Use the call script_name syntax for procedures and the call script_name of form form_name syntax for form procedures.
There are a variety of ways you can determine which procedures you’ll need to use:
In your development dictionary, write the script that calls the procedure. Be sure you’re using the exact name of the procedure as it’s displayed in the SDK procedure design documents. Parameters passed from your script must use the same data types and the same order as those listed in the documentation.
Use the sample company and test the results of the call. If the procedure updated several tables (such as when posting a batch or adding a record to a work table), the accounting system may reject new records if the procedure didn’t update associated tables properly. To check the validity of any Microsoft Dynamics GP tables you’ve updated, use the table maintenance utilities for each table you’ve updated.