Accessing additional resources
Several additional resource types are accessed through the Forms property of a dictionary class. These include:
- Windows
- Commands
- Form-level procedures
- Form-level functions
- Form-level table buffers
As an example, the following C# statement opens the Customer Maintenance window. Notice how the window is accessed through the form object.
Dynamics.Forms.RmCustomerMaintenance.RmCustomerMaintenance.Open();
Windows provide further access to two additional resource types:
- Fields
- Scrolling windows
For instance, the following C# statement sets the value of the Comment 1 field in the Vendor Maintenance window.
Dynamics.Forms.PmVendorMaintenance.PmVendorMaintenance.Comment1.Value = "A preferred vendor";
Hint: You will learn more about the details about using each resource type in Resource Reference.