Click or drag to resize

SalesOrder Class

Quote that has been accepted.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceSalesOrder

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

The SalesOrder type exposes the following members.

Constructors
 NameDescription
Public methodSalesOrder Default Constructor.
Top
Properties
 NameDescription
Public propertyAccountId Shows the parent account related to the record. This information is used to link the sales order to the account selected in the Customer field for reporting and analytics.
Public propertyAttributes
(Inherited from Entity)
Public propertyBillTo_AddressId Unique identifier of the billing address.
Public propertyBillTo_City Type the city for the customer's billing address.
Public propertyBillTo_Composite Shows the complete Bill To address.
Public propertyBillTo_ContactName Type the primary contact name at the customer's billing address.
Public propertyBillTo_Country Type the country or region for the customer's billing address.
Public propertyBillTo_Fax Type the fax number for the customer's billing address.
Public propertyBillTo_Line1 Type the first line of the customer's billing address.
Public propertyBillTo_Line2 Type the second line of the customer's billing address.
Public propertyBillTo_Line3 Type the third line of the billing address.
Public propertyBillTo_Name Type a name for the customer's billing address, such as "Headquarters" or "Field office", to identify the address.
Public propertyBillTo_PostalCode Type the ZIP Code or postal code for the billing address.
Public propertyBillTo_StateOrProvince Type the state or province for the billing address.
Public propertyBillTo_Telephone Type the phone number for the customer's billing address.
Public propertybusiness_unit_orders N:1 business_unit_orders
Public propertycampaign_orders N:1 campaign_orders
Public propertyCampaignId Shows the campaign that the order was created from.
Public propertyContactId Shows the parent contact related to the record. This information is used to link the contract to the contact selected in the Customer field for reporting and analytics.
Public propertycontactorders_association N:N contactorders_association
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 propertyCustomerId Select the customer account or contact to provide a quick link to additional customer details, such as account information, activities, and opportunities.
Public propertyDateFulfilled Enter the date that all or part of the order was shipped to the customer.
Public propertyDescription Type additional information to describe the order, such as the products or services offered or details about the customer's product preferences.
Public propertyDiscountAmount Type the discount amount for the order if the customer is eligible for special savings.
Public propertyDiscountAmount_Base Shows the Order 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 propertyDiscountPercentage Type the discount rate that should be applied to the Detail Amount field to include additional savings for the customer in the order.
Public propertyEntityImage The default image for the entity.
Public propertyEntityImage_Timestamp 
Public propertyEntityImage_URL 
Public propertyEntityImageId For internal use only.
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 propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyFreightAmount Type the cost of freight or shipping for the products included in the order for use in calculating the Total Amount field.
Public propertyFreightAmount_Base Shows the Freight Amount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyFreightTermsCode Select the freight terms to make sure shipping charges are processed correctly.
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 propertyIsPriceLocked Select whether prices specified on the invoice are locked from any further updates.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLastBackofficeSubmit Enter the date and time when the order was last submitted to an accounting or ERP system for processing.
Public propertyLastOnHoldTime Contains the date time stamp of the last on hold time.
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_salesorder_createdonbehalfby N:1 lk_salesorder_createdonbehalfby
Public propertylk_salesorder_modifiedonbehalfby N:1 lk_salesorder_modifiedonbehalfby
Public propertylk_salesorderbase_createdby N:1 lk_salesorderbase_createdby
Public propertylk_salesorderbase_modifiedby N:1 lk_salesorderbase_modifiedby
Public propertyLogicalName
(Inherited from Entity)
Public propertymanualsla_salesorder N:1 manualsla_salesorder
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 propertyName Type a descriptive name for the order.
Public propertyOnHoldTime Shows the duration in minutes for which the order was on hold.
Public propertyopportunity_sales_orders N:1 opportunity_sales_orders
Public propertyOpportunityId Choose the related opportunity so that the data for the order and opportunity are linked for reporting and analytics.
Public propertyorder_customer_accounts N:1 order_customer_accounts
Public propertyorder_customer_contacts N:1 order_customer_contacts
Public propertyorder_details 1:N order_details
Public propertyorder_invoices 1:N order_invoices
Public propertyOrderNumber Shows the order number for customer reference and to use in search. The number cannot be modified.
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 Shows the business unit that the record owner belongs to.
Public propertyOwningTeam Unique identifier of the team who owns the order.
Public propertyOwningUser Unique identifier of the user who owns the order.
Public propertyPaymentTermsCode Select the payment terms to indicate when the customer needs to pay the total amount.
Public propertyprice_level_orders N:1 price_level_orders
Public propertyPriceLevelId Choose the price list associated with this record to make sure the products associated with the campaign are offered at the correct prices.
Public propertyPricingErrorCode Select the type of pricing error, such as a missing or invalid product, or missing quantity.
Public propertyPriorityCode Select the priority so that preferred customers or critical issues are handled quickly.
Public propertyProcessId Shows the ID of the process.
Public propertyprocessstage_salesorders N:1 processstage_salesorders
Public propertyquote_orders N:1 quote_orders
Public propertyQuoteId Choose the related quote so that order data and quote data are linked for reporting and analytics.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRequestDeliveryBy Enter the delivery date requested by the customer for all products in the order.
Public propertyRowVersion
(Inherited from Entity)
Public propertysalesorder_activity_parties 1:N salesorder_activity_parties
Public propertySalesOrder_ActivityPointers 1:N SalesOrder_ActivityPointers
Public propertySalesOrder_Annotation 1:N SalesOrder_Annotation
Public propertySalesOrder_Appointments 1:N SalesOrder_Appointments
Public propertySalesOrder_AsyncOperations 1:N SalesOrder_AsyncOperations
Public propertySalesOrder_BulkDeleteFailures 1:N SalesOrder_BulkDeleteFailures
Public propertysalesorder_connections1 1:N salesorder_connections1
Public propertysalesorder_connections2 1:N salesorder_connections2
Public propertySalesOrder_Emails 1:N SalesOrder_Emails
Public propertySalesOrder_Faxes 1:N SalesOrder_Faxes
Public propertySalesOrder_Letters 1:N SalesOrder_Letters
Public propertySalesOrder_MailboxTrackingFolder 1:N SalesOrder_MailboxTrackingFolder
Public propertySalesOrder_OrderClose 1:N SalesOrder_OrderClose
Public propertySalesOrder_Phonecalls 1:N SalesOrder_Phonecalls
Public propertysalesorder_principalobjectattributeaccess 1:N salesorder_principalobjectattributeaccess
Public propertySalesOrder_ProcessSessions 1:N SalesOrder_ProcessSessions
Public propertySalesOrder_RecurringAppointmentMasters 1:N SalesOrder_RecurringAppointmentMasters
Public propertySalesOrder_ServiceAppointments 1:N SalesOrder_ServiceAppointments
Public propertySalesOrder_SocialActivities 1:N SalesOrder_SocialActivities
Public propertySalesOrder_SyncErrors 1:N SalesOrder_SyncErrors
Public propertySalesOrder_Tasks 1:N SalesOrder_Tasks
Public propertySalesOrderId Unique identifier of the order.
Public propertyShippingMethodCode Select a shipping method for deliveries sent to this address.
Public propertyShipTo_AddressId Unique identifier of the shipping address.
Public propertyShipTo_City Type the city for the customer's shipping address.
Public propertyShipTo_Composite Shows the complete Ship To 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 propertysla_salesorder N:1 sla_salesorder
Public propertySLAId Choose the service level agreement (SLA) that you want to apply to the sales order record.
Public propertySLAInvokedId Last SLA that was applied to this sales order. This field is for internal use only.
Public propertyslakpiinstance_salesorder 1:N slakpiinstance_salesorder
Public propertyStageId Shows the ID of the stage.
Public propertyStateCode Shows whether the order is active, submitted, fulfilled, canceled, or invoiced. Only active orders can be edited.
Public propertyStatusCode Select the order's status.
Public propertySubmitDate Enter the date when the order was submitted to the fulfillment or shipping center.
Public propertySubmitStatus Type the code for the submitted status in the fulfillment or shipping center system.
Public propertySubmitStatusDescription Type additional details or notes about the order for the fulfillment or shipping center.
Public propertysystem_user_orders N:1 system_user_orders
Public propertyteam_orders N:1 team_orders
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertyTotalAmount Shows the total amount due, calculated as the sum of the products, discounts, freight, and taxes for the order.
Public propertyTotalAmount_Base Shows the Total Amount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyTotalAmountLessFreight Shows the total product amount for the order, minus any discounts. This value is added to freight and tax amounts in the calculation for the total amount due for the order.
Public propertyTotalAmountLessFreight_Base Shows the Pre-Freight Amount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyTotalDiscountAmount Shows the total discount amount, based on the discount price and rate entered on the order.
Public propertyTotalDiscountAmount_Base Shows the Total Discount Amount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyTotalLineItemAmount Shows the sum of all existing and write-in products included on the order, based on the specified price list and quantities.
Public propertyTotalLineItemAmount_Base Shows the Detail Amount field converted to the system's default base currency. The calculation uses the exchange rate specified in the Currencies area.
Public propertyTotalLineItemDiscountAmount Shows the total of the Manual Discount amounts specified on all products included in the order. This value is reflected in the Detail Amount field on the order and is added to any discount amount or rate specified on the order.
Public propertyTotalLineItemDiscountAmount_Base Shows the Total Line Item Discount Amount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyTotalTax Shows the Tax amounts specified on all products included in the order, included in the Total Amount due calculation for the order.
Public propertyTotalTax_Base Shows the Total 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 propertytransactioncurrency_salesorder N:1 transactioncurrency_salesorder
Public propertyTransactionCurrencyId Choose the local currency for the record to make sure budgets are reported in the correct currency.
Public propertyTraversedPath For internal use only.
Public propertyuserentityinstancedata_salesorder 1:N userentityinstancedata_salesorder
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Public propertyVersionNumber Version number of the order.
Public propertyWillCall Select whether the products included in the order 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