salesorderdetail Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Represents a line item (product) in a sales order.

For a list of methods and messages that operate on this class, see Order Product (salesorderdetail) Entity Capabilities.

The salesorderdetail class inherits from BusinessEntity. It exposes the following members.

Constructor Description
salesorderdetail Initializes a new instance of the salesorderdetail class.
Instance Property Description
baseamount Gets the price of the sales order detail (order product) before applying discounts and adding taxes.
baseamount_base Gets the base currency equivalent of the price of the sales order product before applying discounts and adding taxes.
createdby Gets the ID of the user who created the sales order detail (order product).
createdon Gets the date and time when the sales order detail (order product) was created.
createdonbehalfby Gets the ID of the proxy user who created the sales order detail (order product).
description Gets or sets the description of the sales order detail (order product).
exchangerate Gets the exchange rate for the currency associated with the sales order detail (order product) with respect to the base currency.
extendedamount Gets the subtotal of the sales order detail (order product) after applying discounts and adding taxes.
extendedamount_base Gets the base currency equivalent of the subtotal for the sales order detail (order product) after applying discounts and adding taxes.
importsequencenumber Gets or sets the ID of the data import or data migration that created this record.
iscopied Gets or sets the value that indicates if the line was copied from a quote.
ispriceoverridden Gets or sets the values that indicates if the sales order detail  (order product) uses the catalog price or a custom price.
isproductoverridden Gets or sets the values that indicates  whether the product is a write-in product or an existing product.
lineitemnumber Gets or sets the line item number for the sales order detail (order product).
manualdiscountamount Gets or sets the customized discount amount for the sales order detail (order product).
manualdiscountamount_base Gets the base currency equivalent of the customized discount amount for the sales order detail (order product).
modifiedby Gets the ID of the user who last modified the sales order detail (order product).
modifiedon Gets the date and time when the sales order detail (order product) was last modified.
modifiedonbehalfby Gets the ID of the proxy user who last modified the sales order detail (order product).
overriddencreatedon Gets or sets the date and time that the record was migrated.
owningbusinessunit Gets the ID of the business unit that owns the sales order detail (order product).
owninguser Gets the ID of the user who owns the sales order detail (order product).
priceperunit Gets or sets the price per unit for the sales order detail (order product).
priceperunit_base Gets the base currency equivalent of the price per unit for the sales order detail (order product).
pricingerrorcode Gets or sets the pricing error for the sales order detail (order product).
productdescription Gets or sets the product description for the sales order detail (order product).
productid Gets or sets the ID of the product associated with the sales order detail (order product).
quantity Gets or sets the quantity for the sales order detail (order product).
quantitybackordered Gets or sets the quantity that has been backordered for the sales order detail (order product).
quantitycancelled Gets or sets the quantity that was canceled for the sales order detail (order product).
quantityshipped Gets or sets the quantity shipped for the product on the order.
requestdeliveryby Gets or sets the requested delivery date for the sales order detail (order product).
salesorderdetailid Gets or sets the ID of sales order detail (order product).
salesorderid Gets or sets the ID of the order that is associated with the sales order detail (order product).
salesorderispricelocked Gets whether the sales order detail (order product) pricing is locked.
salesorderstatecode Gets the status of the sales order detail (order product).
salesrepid Gets or setsthe ID of the salesperson associated with the sales order detail (order product).
shipto_addressid Gets or sets the ID of the shipping address.
shipto_city Gets or sets the city name in the shipping address.
shipto_contactname Gets or sets the contact name for the shipping address.
shipto_country Gets or sets the country/region name in the shipping address.
shipto_fax Gets or sets the fax number for the shipping address.
shipto_freighttermscode Gets or sets the freight terms for the shipping address.
shipto_line1 Gets or sets the first line for entering shipping address information.
shipto_line2 Gets or sets the second line for entering shipping address information.
shipto_line3 Gets or sets the third line for entering shipping address information.
shipto_name Gets or sets the name to enter for the shipping address.
shipto_postalcode Gets or sets the ZIP Code or postal code in the shipping address.
shipto_stateorprovince Gets or sets the state or province in the shipping address.
shipto_telephone Gets or sets the telephone number associated with the shipping address.
tax SGets or sets the tax amount for the sales order detail (order product).
tax_base Gets the base currency equivalent of the tax amount for the sales order detail (order product).
timezoneruleversionnumber For internal use only.
transactioncurrencyid Gets the ID of the currency associated with the sales order detail (order product).
uomid Gets or sets the ID for the unit that is associated with the sales order detail (order product).
utcconversiontimezonecode Gets or sets the time zone code in use when the record was created.
volumediscountamount Gets the volume discount amount for the sales order detail (order product).
volumediscountamount_base Gets the base currency equivalent of the volume discount amount for the order product.
willcall Gets or sets the value that indicates if the sales order detail (order product) is shipped or picked up by the customer.

Remarks

This table lists only the attributes for a default system. For more information about the entities and attributes in your organization, see the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and then click Customize Entities. You can change the view to see non-customizable entities.

If you have an on-premise deployment, you can use the Metadata Browser to view the metadata for your organization. For more information, see Using the Metadata Browser.

This entity is customizable.

Requirements

Web Service: CrmService

See Also

Concepts

Tasks

Reference

© 2010 Microsoft Corporation. All rights reserved.