discount Class (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Represents a price reduction made from the list price of a product, or service, based on the quantity purchased, specified as a percentage or monetary amount.
For a list of methods and messages that operate on this class, see Discount Entity Capabilities.
The discount class inherits from BusinessEntity. It exposes the following members.
|discount||Initializes a new instance of the discount class.|
|amount||Gets or sets the amount of the discount, specified either as a percentage or as a monetary amount.|
|amount_base||Gets the base-currency equivalent for the amount of the discount.|
|createdby||Gets the ID of the user who created the discount.|
|createdon||Gets the date and time when the discount was created.|
|createdonbehalfby||Gets the ID of the proxy user who created the discount record.|
|discountid||Gets or sets the ID of the discount.|
|discounttypeid||Gets or sets the ID of the discount list associated with the discount.|
|exchangerate||Gets the exchange rate for the currency associated with the discount with respect to the base currency.|
|highquantity||Gets or sets the upper boundary for the quantity range to which a particular discount can be applied.|
|importsequencenumber||Gets or sets the ID of the data import or data migration that created this record.|
|isamounttype||Gets the discount specified as a monetary amount or a percentage.|
|lowquantity||Gets or sets the lower boundary for the quantity range to which a particular discount is applied.|
|modifiedby||Gets or sets the ID of the user who last modified the discount.|
|modifiedon||Gets or sets the date and time when the discount was last modified.|
|modifiedonbehalfby||Gets the ID of the proxy user who last modified the discount.|
|organizationid||Gets the ID of the organization associated with the discount.|
|overriddencreatedon||Gets or sets the date and time that the record was migrated.|
|percentage||Gets or sets the percentage discount value.|
|statuscode||Gets or sets the reason for the status of the discount.|
|transactioncurrencyid||Gets the ID of the currency associated with the discount.|
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. 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 not customizable.
© 2010 Microsoft Corporation. All rights reserved.