Export (0) Print
Expand All
Expand Minimize

salesorder Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Represents an order, which is a quote that has been accepted.

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

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

ConstructorDescription
salesorderInitializes a new instance of the salesorder class.

Instance PropertyDescription
billto_addressidGets or sets the ID of the billing address.
billto_cityGets or sets the city name in the billing address.
billto_contactnameGets or sets the contact name for the billing address.
billto_countryGets or sets the country/region name in the billing address.
billto_faxGets or sets the fax number for the billing address.
billto_line1Gets or sets the first line for entering billing address information.
billto_line2Gets or sets the second line for entering billing address information.
billto_line3Gets or sets the third line for entering billing address information.
billto_nameGets or sets the name to enter for the billing address.
billto_postalcodeGets or sets the ZIP Code or postal code in the billing address.
billto_stateorprovinceGets or sets the state or province in the billing address.
billto_telephoneGets or sets the telephone number associated with the billing address.
campaignidGets or sets the ID of the source campaign associated with the order.
createdbyGets the ID of the user who created the order.
createdonGets the date and time when the order was created.
createdonbehalfbyGets the ID of the proxy user who created the order.
customeridGets or sets the ID for the account or contact associated with the order.
datefulfilledGets or sets the date on which the order was fulfilled.
descriptionGets or sets the description of the order.
discountamountGets or sets the discount, as a monetary amount, for the order.
discountamount_baseGets the base currency equivalent of the discount specified as a monetary amount for the order.
discountpercentageGets or sets the discount, as a percentage, for the order.
exchangerateGets the exchange rate for the currency associated with the sales order (order) with respect to the base currency.
freightamountGets or sets the cost of freight for the order.
freightamount_baseGets the base currency equivalent for the cost of freight on the order.
freighttermscodeGets or sets the freight terms for the order.
importsequencenumberGets or sets the ID of the data import or data migration that created this record.
ispricelockedGets whether the order pricing is locked.
lastbackofficesubmitGets or sets the date and time when the order was last submitted to Microsoft Great Plains.
modifiedbyGets the ID of the user who last modified the order.
modifiedonGets the date and time when the order was last modified.
modifiedonbehalfbyGets the ID of the proxy user who last modified the order.
nameGets or sets the name of the order.
opportunityidGets or sets the ID of the opportunity with which the order is associated.
ordernumberGets or sets the order number.
overriddencreatedonGets or sets the date and time that the record was migrated.
owneridGets or sets the ID of the user or team that owns the order.
owningbusinessunitGets the ID of the business unit that owns the order.
paymenttermscodeGets or sets the payment terms for the order.
pricelevelidGets or sets the ID of the price list associated with the order.
pricingerrorcodeGets or sets the pricing error for the order.
prioritycodeGets or sets the priority of the order.
quoteidGets or sets the ID of the quote from which the order was created.
requestdeliverybyGets or sets the requested delivery date for the order.
salesorderidGets or sets the ID of the order.
shippingmethodcodeGets or sets the method of shipment for the order.
shipto_addressidGets or sets the ID of the shipping address.
shipto_cityGets or sets the city name in the shipping address.
shipto_contactnameGets or sets the contact name for the shipping address.
shipto_countryGets or sets the country/region name in the shipping address.
shipto_faxGets or sets the fax number for the shipping address.
shipto_freighttermscodeGets or sets the freight terms for the shipping address.
shipto_line1Gets or sets the first line for entering shipping address information.
shipto_line2Gets or sets the second line for entering shipping address information.
shipto_line3Gets or sets the third line for entering shipping address information.
shipto_nameGets or sets the name to enter in the shipping address.
shipto_postalcodeGets or sets the ZIP Code or postal code in the shipping address.
shipto_stateorprovinceGets or sets the state or province in the shipping address.
shipto_telephoneGets or sets the telephone number associated with the shipping address.
statecodeGets the status of the order.
statuscodeGets or sets the reason for the status of the order.
submitdateGets or sets the date on which the order was submitted.
submitstatusGets or sets the submittal status for the order.
submitstatusdescriptionGets or sets the description of the submittal status for the order.
timezoneruleversionnumberFor internal use only.
totalamountGets the total amount for the order.
totalamount_baseGets the base currency equivalent of the total amount for the order.
totalamountlessfreightGets the total amount minus the freight charges for the order.
totalamountlessfreight_baseGets the base currency equivalent of the total amount minus the freight charges for the order.
totaldiscountamountGets the total discount for the order.
totaldiscountamount_baseGets the base currency equivalent of the total discount for the order.
totallineitemamountGets the total line item amount for the order.
totallineitemamount_baseGets the base currency equivalent of the total line item amount for the order.
totallineitemdiscountamountGets the total line item discount for the order.
totallineitemdiscountamount_baseGets the base  currency equivalent of the total line item discount for the order.
totaltaxGets the total tax for the order.
totaltax_baseGets the base currency equivalent of the total tax on the order.
transactioncurrencyidGets or sets the ID of the currency associated with the sales order.
utcconversiontimezonecodeGets or sets the time zone code in use when the record was created.
willcallGets or sets the value that indicates if the sales order products are 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.


Show:
© 2014 Microsoft