discount EntityType

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

Entity Set path: [organization URI]/api/data/v8.0/discounts

Base Type: crmbaseentity EntityType

Display Name: Discount

Primary Key: discountid

Properties

Single-valued navigation properties

Collection-valued navigation properties

Properties

Properties represent fields of data stored in the entity. Some properties are not writable.

Name Type Details

_createdby_value

Edm.Guid

Description: Unique identifier of the user who created the discount.

Computed property

Read-only property

_createdonbehalfby_value

Edm.Guid

Description: Unique identifier of the delegate user who created the discount.

Computed property

Read-only property

_discounttypeid_value

Edm.Guid

Description: Unique identifier of the discount list associated with the discount.

Computed property

Read-only property

_modifiedby_value

Edm.Guid

Description: Unique identifier of the user who last modified the discount.

Computed property

Read-only property

_modifiedonbehalfby_value

Edm.Guid

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

Computed property

Read-only property

_transactioncurrencyid_value

Edm.Guid

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

Computed property

Read-only property

amount

Edm.Decimal

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

Display Name: Amount

amount_base

Edm.Decimal

Description: Shows the Amount field converted to the system's default base currency, if specified as a fixed amount. The calculation uses the exchange rate specified in the Currencies area.

Display Name: Amount (Base)

Read-only property

createdon

Edm.DateTimeOffset

Description: Date and time when the discount was created.

Display Name: Created On

Read-only property

discountid

Edm.Guid

Description: Unique identifier of the discount.

Display Name: Discount

exchangerate

Edm.Decimal

Description: 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 property

highquantity

Edm.Decimal

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

Display Name: End Quantity

importsequencenumber

Edm.Int32

Description: Unique identifier of the data import or data migration that created this record.

Display Name: Import Sequence Number

isamounttype

Edm.Boolean

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

Default Options:

1 : Yes
0 : No

Display Name: Amount Type

Read-only property

lowquantity

Edm.Decimal

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

Display Name: Begin Quantity

modifiedon

Edm.DateTimeOffset

Description: Date and time when the discount was last modified.

Display Name: Modified On

Read-only property

organizationid

Edm.Guid

Description: Unique identifier of the organization associated with the discount.

Display Name: Organization

Read-only property

overriddencreatedon

Edm.DateTimeOffset

Description: Date and time that the record was migrated.

Display Name: Record Created On

percentage

Edm.Decimal

Description: Percentage discount value.

Display Name: Percentage

versionnumber

Edm.Int64

Description: Version number of the discount.

Display Name: Version Number

Read-only property

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced.

Name Type Partner

createdby

systemuser EntityType

lk_discountbase_createdby

createdonbehalfby

systemuser EntityType

lk_discount_createdonbehalfby

discounttypeid

discounttype EntityType

discount_type_discounts

modifiedby

systemuser EntityType

lk_discountbase_modifiedby

modifiedonbehalfby

systemuser EntityType

lk_discount_modifiedonbehalfby

transactioncurrencyid

transactioncurrency EntityType

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 EntityType

regardingobjectid_discount

Discount_BulkDeleteFailures

bulkdeletefailure EntityType

regardingobjectid_discount

関連項目

他のリソース

Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.