Share via


SalesOrderDetail (order product) entity messages and methods

 

Applies To: Dynamics CRM 2015

A sales order detail (order product) entity stores a line item in an order. Each order can have multiple sales order detail instances. The schema name for this entity is SalesOrderDetail. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download.

Note

The pricing error code is specified in the SalesOrderDetail.PricingErrorCode attribute. The possible values for this attribute are defined in the afe17a4a-fdca-44b4-8c14-a19ba327662e#bkmk_pricingerror global option set.

The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.

Message

Description

CreateRequest

Creates a sales order detail. You can also call the IOrganizationService.Create method.

DeleteRequest

Deletes a sales order detail. You can also call the IOrganizationService.Delete method.

RetrieveRequest

Retrieves a sales order detail. You can also call the IOrganizationService.Retrieve method

RetrieveMultipleRequest

Retrieves a collection of sales order details. You can also call the IOrganizationService.RetrieveMultiple method.

UpdateRequest

Updates a sales order detail. You can also call the IOrganizationService.Update method.

See Also

Quote, order, and invoice entities
SalesOrderDetail (order product) entity privileges
OrderClose activity entity messages and methods

© 2016 Microsoft. All rights reserved. Copyright