Object categories
The number of objects available through the Dynamics GP web service is quite large. To understand how all of these objects are used, it helps to divide them into three categories.
Business document objects
These are the objects that represent business documents in Microsoft Dynamics GP. You will recognize them because their names closely match the documents they correspond to in the accounting system. Examples include:
- Customer
- Vendor
- CreditLimit
- Account
- SalesInvoice
- Applicant
Other objects are parts of business documents or define a set of properties for a business document. Example of this type of object include:
- Address
- SalesLine
- Tax
Hint: The vast majority of objects in the Dynamics GP service are business documents or some part of a business document.
Base objects
Many objects in the Dynamics GP service share common characteristics. Rather than repeat these characteristics for every individual object, a single base object is used. This object serves as the basis for each specific type of object. The following are some common base objects:
- BusinessObject
- Key
- Criteria
- Restriction
For instance, all business documents such as Customer and SalesInvoice are based on BusinessObject. Every key object used to uniquely identify an object is based on the Key object.
Hint: You will never work with the base objects directly. They are used only by the service to implement the other objects.
Helper objects
Some objects are included simply to help you work with the Dynamics GP service. They perform actions such as controlling how the service is called, or dealing with errors that occur during processing. The following are some of the helper objects:
- Context
- Policy
- ExceptionInformation
- ValidationItem