discounttype EntityType
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Description: Type of discount specified as either a percentage or an amount.
Entity Set path:[organization URI]/api/data/v8.2/discounttypes
Base Type: crmbaseentity EntityType
Display Name: Discount List
Primary Key: discounttypeid
Primary Name Attribute: name
Properties
Lookup Properties
Single-valued navigation properties
Collection-valued navigation properties
Properties
Properties represent fields of data stored in the entity. Some properties are read-only.
Name |
Type |
Details |
---|---|---|
createdon |
Edm.DateTimeOffset |
Description: Date and time when the discount list was created. Display Name: Created On Read-only property |
description |
Edm.String |
Description: Description of the discount list. Display Name: Description |
discounttypeid |
Edm.Guid |
Description: Unique identifier of the discount list. Display Name: Discount List |
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: Information about whether the discount list amounts are specified as monetary amounts or percentages. Default Options: 1 : Amount Display Name: Type |
modifiedon |
Edm.DateTimeOffset |
Description: Date and time when the discount list was last modified. Display Name: Modified On Read-only property |
name |
Edm.String |
Description: Name of the discount list. Display Name: Name |
overriddencreatedon |
Edm.DateTimeOffset |
Description: Date and time that the record was migrated. Display Name: Record Created On |
statecode |
Edm.Int32 |
Description: Status of the discount list. Default Options: 0 : Active Display Name: Status |
statuscode |
Edm.Int32 |
Description: Reason for the status of the discount list. Default Options: 100001 : Active Display Name: Status Reason |
versionnumber |
Edm.Int64 |
Description: Version number of the discount type. Display Name: Version Number Read-only property |
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 list. |
_createdonbehalfby_value |
createdonbehalfby |
Unique identifier of the delegate user who created the discounttype. |
_modifiedby_value |
modifiedby |
Unique identifier of the user who last modified the discount list. |
_modifiedonbehalfby_value |
modifiedonbehalfby |
Unique identifier of the delegate user who last modified the discounttype. |
_organizationid_value |
organizationid |
Unique identifier of the organization associated with the discount list. |
_transactioncurrencyid_value |
transactioncurrencyid |
Unique identifier of the currency associated with the discount type. |
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 |
lk_discounttypebase_createdby |
|
createdonbehalfby |
lk_discounttype_createdonbehalfby |
|
modifiedby |
lk_discounttypebase_modifiedby |
|
modifiedonbehalfby |
lk_discounttype_modifiedonbehalfby |
|
organizationid |
organization_discount_types |
|
transactioncurrencyid |
transactioncurrency_discounttype |
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_type_discounts |
discounttypeid |
|
discount_type_product_price_levels |
discounttypeid |
|
DiscountType_AsyncOperations |
regardingobjectid_discounttype |
|
DiscountType_BulkDeleteFailures |
regardingobjectid_discounttype |
|
DiscountType_SyncErrors |
regardingobjectid_discounttype_syncerror |
See Also
Use the Microsoft Dynamics 365 Web API
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 365
© 2016 Microsoft. All rights reserved. Copyright