discount EntityType

Price reduction made from the list price of a product or service based on the quantity purchased.

Entity Set Path
[organization URI]/api/data/v9.0/discounts
Base Type
crmbaseentity
Display Name
Discount
Primary Key
discountid
Primary Key Attribute
name
Operations Supported
POST GET PATCH DELETE

Properties

Properties represent fields of data stored in the entity.Some properties are read-only.

Name Type Details
amount Edm.Decimal

Amount of the discount, specified either as a percentage or as a monetary amount.

Display Name: Amount

amount_base Edm.Decimal

Value of the Amount in base currency.

Display Name: Amount (Base)

Read Only
createdon Edm.DateTimeOffset

Date and time when the discount was created.

Display Name: Created On

Read Only
discountid Edm.Guid

Unique identifier of the discount.

Display Name: Discount

exchangerate Edm.Decimal

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.

Display Name: Exchange Rate

Read Only
highquantity Edm.Decimal

Upper boundary for the quantity range to which a particular discount can be applied.

Display Name: End Quantity

importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

isamounttype Edm.Boolean

Specifies whether the discount is specified as a monetary amount or a percentage.

Display Name: Amount Type

Read Only
Default Options
Value Label
1 Yes
0 No
lowquantity Edm.Decimal

Lower boundary for the quantity range to which a particular discount is applied.

Display Name: Begin Quantity

modifiedon Edm.DateTimeOffset

Date and time when the discount was last modified.

Display Name: Modified On

Read Only
name Edm.String

name

Display Name: name

organizationid Edm.Guid

Unique identifier of the organization associated with the discount.

Display Name: Organization

Read Only
overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

percentage Edm.Decimal

Percentage discount value.

Display Name: Percentage

timezoneruleversionnumber Edm.Int32

For internal use only.

Display Name: Time Zone Rule Version Number

utcconversiontimezonecode Edm.Int32

Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber Edm.Int64

Version Number

Display Name: Version Number

Read Only

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties.

Name Single-valued navigation property Description
_createdby_value createdby

Unique identifier of the user who created the discount.

_createdonbehalfby_value createdonbehalfby

Unique identifier of the delegate user who created the discount.

_discounttypeid_value discounttypeid

Unique identifier of the discount list associated with the discount.

_modifiedby_value modifiedby

Unique identifier of the user who last modified the discount.

_modifiedonbehalfby_value modifiedonbehalfby

Unique identifier of the delegate user who last modified the discount.

_transactioncurrencyid_value transactioncurrencyid

Choose the local currency for the record to make sure budgets are reported in the correct currency.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
createdby systemuser lk_discountbase_createdby
createdonbehalfby systemuser lk_discount_createdonbehalfby
discounttypeid discounttype discount_type_discounts
modifiedby systemuser lk_discountbase_modifiedby
modifiedonbehalfby systemuser lk_discount_modifiedonbehalfby
transactioncurrencyid transactioncurrency transactioncurrency_discount

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner
Discount_AsyncOperations asyncoperation regardingobjectid_discount
Discount_BulkDeleteFailures bulkdeletefailure regardingobjectid_discount
discount_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_discount
discount_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_discount
Discount_ProcessSessions processsession regardingobjectid_discount
Discount_SyncErrors syncerror regardingobjectid_discount_syncerror

Solutions

The following solutions include the discount entity type.

Name Description
Sales Dynamics 365 workload for sales.

See also