Learning the object model
At first, the large number of objects in the Dynamics GP service object model can seem overwhelming. As you work with the Dynamics GP service, you will learn about each category of object. Soon you will be able to quickly decide what category an object is in, and how it should be used.
One approach to learning the object model is to start with a specific method. Each method requires a set of objects to perform its action. Begin with those objects, and branch out to the related objects.
For example, assume you wanted to execute the CreateCustomer method, which creates a customer in Microsoft Dynamics GP. This method uses the following objects:
- Customer
- Context
- Policy
As you work with the Customer object, you will see that it references some additional objects including:
- CustomerKey
- CustomerClassKey
- CustomerAddressKey
- CustomerCreditLimit
As you learn about these related objects, you will expand your understanding of the object model for the Customer object you are creating.