Export (0) Print
Expand All

discount Class (CrmService)

banner art

[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.

ConstructorDescription
discountInitializes a new instance of the discount class.

Instance PropertyDescription
amountGets or sets the amount of the discount, specified either as a percentage or as a monetary amount.
amount_baseGets the base-currency equivalent for the amount of the discount.
createdbyGets the ID of the user who created the discount.
createdonGets the date and time when the discount was created.
createdonbehalfbyGets the ID of the proxy user who created the discount record.
discountidGets or sets the ID of the discount.
discounttypeidGets or sets the ID of the discount list associated with the discount.
exchangerateGets the exchange rate for the currency associated with the discount with respect to the base currency.
highquantityGets or sets the upper boundary for the quantity range to which a particular discount can be applied.
importsequencenumberGets or sets the ID of the data import or data migration that created this record.
isamounttypeGets the discount specified as a monetary amount or a percentage.
lowquantityGets or sets the lower boundary for the quantity range to which a particular discount is applied.
modifiedbyGets or sets the ID of the user who last modified the discount.
modifiedonGets or sets the date and time when the discount was last modified.
modifiedonbehalfbyGets the ID of the proxy user who last modified the discount.
organizationidGets the ID of the organization associated with the discount.
overriddencreatedonGets or sets the date and time that the record was migrated.
percentageGets or sets the percentage discount value.
statuscodeGets or sets the reason for the status of the discount.
transactioncurrencyidGets the ID of the currency associated with the discount.

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. 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.

See Also

Concepts

Tasks

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft