Sdílet prostřednictvím


Accessing global procedures

Global procedures for an application dictionary are accessed through the dictionary class. This class has a Procedures property that provides access to the collection of global procedures in the dictionary. The dictionary class for the application dictionary is located in the following namespace:

Microsoft.Dexterity.Applications

 

For instance, to access the collection of global procedures in the Dynamics dictionary, use the following syntax:

Microsoft.Dexterity.Applications.Dynamics.Procedures

 

To access a specific global procedure, such as the Get_Next_Form_Note_To_Open procedure (GetNextFormNoteToOpen), use the syntax shown below. (This example assumes the namespace mentioned above has been referenced.)

Dynamics.Procedures.GetNextFormNoteToOpen

 

Hint: The IntelliSense in Visual Studio will tell you what global procedure in Microsoft Dynamics GP is being referred to by the expression.