Share via


Method categories

The methods for the Dynamics GP service can be divided into the following categories: Get, GetList, Create, Update, and Delete or Void.

Get

Get operations retrieve individual documents from Microsoft Dynamics GP. To retrieve a document, you specify the document's key (unique identifier). If the document can be found, it will be returned from the Dynamics GP service. You will learn more about Get operations in Retrieving Objects.

GetList

GetList operations retrieve collections of summary objects that meet the specified set of search criteria. A summary object is a special version of a business document, containing only the most important properties of the document. For example, the CustomerSummary object contains only the most important properties of the Customer object. A small number of GetList operations retrieve entire documents, rather than summary documents. You will learn more about criteria and GetList operations in Retrieving Objects.

Create

Create operations create new documents in Microsoft Dynamics GP. To create a new document, you will first create a new instance of the document object. After you specify the details for the object, you will call the Create method to create the new object. You will learn more about creating new documents in Creating Objects.

Update

Update operations modify existing documents in Microsoft Dynamics GP. For most documents, you can create an instance of the document type, specify the properties to update, and supply the key value to indicate which document will be updated. Other types of documents, specifically sales documents, require you to first retrieve an instance of the document before you can update it. You will learn more about updating documents in Updating Objects.

Delete or void

Delete operations permanently delete existing documents from Microsoft Dynamics GP. Some documents cannot be deleted, but can be voided instead. Void operations perform this action. Deleting or Voiding Objects describes how to do this in detail.