Click or drag to resize

SalesOrderDetail Class

Line item in a sales order.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceSalesOrderDetail

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class SalesOrderDetail : Entity, 
	INotifyPropertyChanging, INotifyPropertyChanged

The SalesOrderDetail type exposes the following members.

Constructors
 NameDescription
Public methodSalesOrderDetail Default Constructor.
Top
Properties
 NameDescription
Public propertyAttributes
(Inherited from Entity)
Public propertyBaseAmount Shows the total price of the order product, based on the price per unit, volume discount, and quantity.
Public propertyBaseAmount_Base Shows the Amount field converted to the system's default base currency. The calculation uses the exchange rate specified in the Currencies area.
Public propertyCreatedBy Shows who created the record.
Public propertyCreatedOn Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyDescription Type additional information to describe the order product, such as manufacturing details or acceptable substitutions.
Public propertyEntityState
(Inherited from Entity)
Public propertyExchangeRate Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency.
Public propertyExtendedAmount Shows the total amount due for the order product, based on the sum of the unit price, quantity, discounts, and tax.
Public propertyExtendedAmount_Base Shows the Extended Amount field converted to the system's default base currency. The calculation uses the exchange rate specified in the Currencies area.
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyIsCopied Select whether the invoice line item is copied from another item or data source.
Public propertyIsPriceOverridden Select whether the price per unit is fixed at the value in the specified price list or can be overridden by users who have edit rights to the order product.
Public propertyIsProductOverridden Select whether the product exists in the Microsoft Dynamics CRM product catalog or is a write-in product specific to the order.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertyLineItemNumber Type the line item number for the order product to easily identify the product in the order and make sure it's listed in the correct sequence.
Public propertylk_salesorderdetail_createdonbehalfby N:1 lk_salesorderdetail_createdonbehalfby
Public propertylk_salesorderdetail_modifiedonbehalfby N:1 lk_salesorderdetail_modifiedonbehalfby
Public propertylk_salesorderdetailbase_createdby N:1 lk_salesorderdetailbase_createdby
Public propertylk_salesorderdetailbase_modifiedby N:1 lk_salesorderdetailbase_modifiedby
Public propertyLogicalName
(Inherited from Entity)
Public propertyManualDiscountAmount Type the manual discount amount for the order product to deduct any negotiated or other savings from the product total on the order.
Public propertyManualDiscountAmount_Base Shows the Manual Discount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyModifiedBy Shows who last updated the record.
Public propertyModifiedOn Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyModifiedOnBehalfBy Shows who last updated the record on behalf of another user.
Public propertyorder_details N:1 order_details
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyOwnerId Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.
Public propertyOwningBusinessUnit Unique identifier of the business unit that owns the order product.
Public propertyOwningUser Unique identifier of the user who owns the order product.
Public propertyParentBundleId Choose the parent bundle associated with this product
Public propertyPricePerUnit Type the price per unit of the order product. The default is the value in the price list specified on the order for existing products.
Public propertyPricePerUnit_Base Shows the Price Per Unit field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyPricingErrorCode Select the type of pricing error, such as a missing or invalid product, or missing quantity.
Public propertyproduct_order_details N:1 product_order_details
Public propertyproductAssociation_salesorder_details N:1 productAssociation_salesorder_details
Public propertyProductAssociationId Unique identifier of the product line item association with bundle in the sales order
Public propertyProductDescription Type a name or description to identify the type of write-in product included in the order.
Public propertyProductId Choose the product to include on the order to link the product's pricing and other information to the parent order.
Public propertyProductTypeCode Product Type
Public propertyPropertyConfigurationStatus Status of the property configuration.
Public propertyQuantity Type the amount or quantity of the product ordered by the customer.
Public propertyQuantityBackordered Type the amount or quantity of the product that is back ordered for the order.
Public propertyQuantityCancelled Type the amount or quantity of the product that was canceled.
Public propertyQuantityShipped Type the amount or quantity of the product that was shipped for the order.
Public propertyReferencedsalesorderdetail_parent_salesorderdetail 1:N salesorderdetail_parent_salesorderdetail
Public propertyReferencingsalesorderdetail_parent_salesorderdetail N:1 salesorderdetail_parent_salesorderdetail
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRequestDeliveryBy Enter the delivery date requested by the customer for the order product.
Public propertyRowVersion
(Inherited from Entity)
Public propertySalesOrderDetail_AsyncOperations 1:N SalesOrderDetail_AsyncOperations
Public propertySalesOrderDetail_BulkDeleteFailures 1:N SalesOrderDetail_BulkDeleteFailures
Public propertySalesOrderDetail_Dynamicpropertyinstance 1:N SalesOrderDetail_Dynamicpropertyinstance
Public propertysalesorderdetail_principalobjectattributeaccess 1:N salesorderdetail_principalobjectattributeaccess
Public propertySalesOrderDetail_ProcessSessions 1:N SalesOrderDetail_ProcessSessions
Public propertySalesOrderDetail_SyncErrors 1:N SalesOrderDetail_SyncErrors
Public propertySalesOrderDetailId Unique identifier of the product specified in the order.
Public propertySalesOrderId Shows the order for the product. The ID is used to link product pricing and other details to the total amounts and other information on the order.
Public propertySalesOrderIsPriceLocked Tells whether product pricing is locked for the order.
Public propertySalesOrderStateCode Shows the status of the order that the order detail is associated with.
Public propertySalesRepId Choose the user responsible for the sale of the order product.
Public propertySequenceNumber Shows the ID of the data that maintains the sequence.
Public propertyShipTo_AddressId Unique identifier of the shipping address.
Public propertyShipTo_City Type the city for the customer's shipping address.
Public propertyShipTo_ContactName Type the primary contact name at the customer's shipping address.
Public propertyShipTo_Country Type the country or region for the customer's shipping address.
Public propertyShipTo_Fax Type the fax number for the customer's shipping address.
Public propertyShipTo_FreightTermsCode Select the freight terms to make sure shipping orders are processed correctly.
Public propertyShipTo_Line1 Type the first line of the customer's shipping address.
Public propertyShipTo_Line2 Type the second line of the customer's shipping address.
Public propertyShipTo_Line3 Type the third line of the shipping address.
Public propertyShipTo_Name Type a name for the customer's shipping address, such as "Headquarters" or "Field office", to identify the address.
Public propertyShipTo_PostalCode Type the ZIP Code or postal code for the shipping address.
Public propertyShipTo_StateOrProvince Type the state or province for the shipping address.
Public propertyShipTo_Telephone Type the phone number for the customer's shipping address.
Public propertysystem_user_salesorderdetail N:1 system_user_salesorderdetail
Public propertyTax Type the tax amount for the order product.
Public propertyTax_Base Shows the Tax field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertytransactioncurrency_salesorderdetail N:1 transactioncurrency_salesorderdetail
Public propertyTransactionCurrencyId Choose the local currency for the record to make sure budgets are reported in the correct currency.
Public propertyunit_of_measurement_order_details N:1 unit_of_measurement_order_details
Public propertyUoMId Choose the unit of measurement for the base unit quantity for this purchase, such as each or dozen.
Public propertyuserentityinstancedata_salesorderdetail 1:N userentityinstancedata_salesorderdetail
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Public propertyVersionNumber Version number of the sales order detail.
Public propertyVolumeDiscountAmount Shows the discount amount per unit if a specified volume is purchased. Configure volume discounts in the Product Catalog in the Settings area.
Public propertyVolumeDiscountAmount_Base Shows the Volume Discount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyWillCall Select whether the order product should be shipped to the specified address or held until the customer calls with further pick up or delivery instructions.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also