discounttype EntityType

Type of discount specified as either a percentage or an amount.

Entity Set Path
[organization URI]/api/data/v9.0/discounttypes
Base Type
crmbaseentity
Display Name
Discount List
Primary Key
discounttypeid
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
createdon Edm.DateTimeOffset

Date and time when the discount list was created.

Display Name: Created On

Read Only
description Edm.String

Description of the discount list.

Display Name: Description

discounttypeid Edm.Guid

Unique identifier of the discount list.

Display Name: Discount List

importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

isamounttype Edm.Boolean

Information about whether the discount list amounts are specified as monetary amounts or percentages.

Display Name: Type

Default Options
Value Label
1 Amount
0 Percentage
modifiedon Edm.DateTimeOffset

Date and time when the discount list was last modified.

Display Name: Modified On

Read Only
name Edm.String

Name of the discount list.

Display Name: Name

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

statecode Edm.Int32

Status of the discount list.

Display Name: Status

Default Options
Value Label
0 Active
1 Inactive
statuscode Edm.Int32

Reason for the status of the discount list.

Display Name: Status Reason

Default Options
Value Label
100001 Active
100002 Inactive
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 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 for the organization

_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 systemuser lk_discounttypebase_createdby
createdonbehalfby systemuser lk_discounttype_createdonbehalfby
modifiedby systemuser lk_discounttypebase_modifiedby
modifiedonbehalfby systemuser lk_discounttype_modifiedonbehalfby
organizationid organization organization_discount_types
transactioncurrencyid transactioncurrency 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 discount discounttypeid
discount_type_product_price_levels productpricelevel discounttypeid
DiscountType_AsyncOperations asyncoperation regardingobjectid_discounttype
DiscountType_BulkDeleteFailures bulkdeletefailure regardingobjectid_discounttype
discounttype_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_discounttype
discounttype_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_discounttype
DiscountType_ProcessSessions processsession regardingobjectid_discounttype
DiscountType_SyncErrors syncerror regardingobjectid_discounttype_syncerror

Solutions

The following solutions include the discounttype entity type.

Name Description
Sales Dynamics 365 workload for sales.

See also