Sales Order Detail
![]() |
The sales order detail entity stores a line item in an order. Each order can have multiple salesorderdetail instances.
The following illustration shows the entity relationships for this area.

The class for this entity is salesorderdetail. For sales order details, you can use the messages listed in the following table with the Execute method.
| Message | Description |
| Create | Use this message to create a sales order detail (order product).
The information needed to create the entity instance is specified in the TargetCreateSalesOrderDetail class. You can also call the Create method. |
| Delete | Use this message to delete a sales order detail (order product).
The entity instance to delete is specified in the TargetDeleteSalesOrderDetail class. You can also call the Delete method. |
| Retrieve | Use this message to retrieve a sales order detail (order product).
The entity instance to retrieve is specified in the TargetRetrieveSalesOrderDetail class. You can also call the Retrieve method. |
| RetrieveMultiple | Use this message to retrieve a collection of sales order details (order products).
The query expression that describes the entity instances to retrieve is specified in the Query property of this request. You can also call the RetrieveMultiple method. |
| GetQuantityDecimal | Use this method to retrieves the quantity decimal value for the specified sales order, product and unit of measure.
The entity instance is specified in the TargetQuantifySalesOrder class. |
| Update | Use this message to update a sales order detail (order product).
The entity instance to update is specified in the TargetUpdateSalesOrderDetail class. You can also use the Update method. |
© 2007 Microsoft Corporation. All rights reserved.

