DiscountType (Discount List) Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the discount type (discount list) entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class for this entity is DiscountType.

To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the Metadata for Your Organization.

In This Topic

Entity Metadata

Privilege Metadata

Attribute Metadata

One-to-Many Relationships

Many-to-Many Relationships

Many-to-One Relationships

Entity Metadata

The following table shows the metadata for the discount type (discount list) entity.

Entity metadata property Value

OTC

1080

EntityLogicalName

discounttype

DisplayName

Discount List

DisplayCollectionName

Discount Lists

IsCustomizable

True

OwnershipType

OrganizationOwned

AutoRouteToOwnerQueue

False

CanBeInManyToMany

True

CanBePrimaryEntityInRelationship

True

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

True

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

False

IsImportable

True

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

True

IsReadingPaneEnabled

True

IsRenameable

False

IsValidForAdvancedFind

True

IsValidForQueue

False

IsVisibleInMobile

True

PrimaryIdAttribute

discounttypeid

PrimaryNameAttribute

name

ReportViewName

FilteredDiscountType

Description

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

Privilege Metadata

The following table shows the metadata for the discount type (discount list) entity.

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendProduct

d589f1a0-e1e1-4585-86c4-6b6dc33e8f65

Append

False

False

True

False

prvAppendToProduct

cc345e3d-927f-4aa2-9be5-6a79e2db3577

AppendTo

False

False

True

False

prvCreateProduct

5f873211-084e-4eb2-94b8-98f068440dc2

Create

False

False

True

False

prvDeleteProduct

cc04cb55-cc00-4315-a100-0dafd1f1caba

Delete

False

False

True

False

prvReadProduct

60d420ca-7a88-4c0d-8286-c425b527fa98

Read

False

False

True

False

prvWriteProduct

4f86580f-d0ad-473a-91e2-e3fc7b7d5d0c

Write

False

False

True

False

Attribute Metadata

The following table shows the attribute metadata for the discount type (discount list) entity.

LogicalName SchemaName Type RequiredLevel IsValidForCreate IsValidForRead IsValidForUpdate CanBeSecuredForCreate CanBeSecuredForRead CanBeSecuredForUpdate IsCustomizable IsAuditEnabled IsManaged IsPrimaryId IsPrimaryName IsRenameable IsSecured IsValidForAdvancedFind DisplayName DeprecatedVersion Description

createdby

CreatedBy

Lookup

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Created By

Unique identifier of the user who created the discount list.

createdon

CreatedOn

DateTime

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Created On

Date and time when the discount list was created.

createdonbehalfby

CreatedOnBehalfBy

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

False

False

True

Created By (Delegate)

Unique identifier of the delegate user who created the discounttype.

description

Description

Memo

None

True

True

True

False

False

False

True

True

True

False

False

False

False

True

Description

Description of the discount list.

discounttypeid

DiscountTypeId

Uniqueidentifier

SystemRequired

True

True

False

False

False

False

False

False

True

True

False

False

False

True

Discount List

Unique identifier of the discount list.

importsequencenumber

ImportSequenceNumber

Integer

None

True

True

False

False

False

False

True

True

True

False

False

False

False

True

Import Sequence Number

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

isamounttype

IsAmountType

Boolean

None

True

True

False

False

False

False

True

True

True

False

False

False

False

True

Type

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

modifiedby

ModifiedBy

Lookup

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Modified By

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

modifiedon

ModifiedOn

DateTime

None

False

True

False

False

False

False

False

False

True

False

False

False

False

True

Modified On

Date and time when the discount list was last modified.

modifiedonbehalfby

ModifiedOnBehalfBy

Lookup

None

False

True

False

False

False

False

True

False

True

False

False

False

False

True

Modified By (Delegate)

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

name

Name

String

SystemRequired

True

True

True

False

False

False

True

True

True

False

True

False

False

True

Name

Name of the discount list.

organizationid

OrganizationId

Lookup

SystemRequired

False

True

False

False

False

False

False

False

True

False

False

False

False

False

Organization

Unique identifier of the organization associated with the discount list.

overriddencreatedon

OverriddenCreatedOn

DateTime

None

True

True

False

False

False

False

True

True

True

False

False

False

False

True

Record Created On

Date and time that the record was migrated.

statecode

StateCode

State

SystemRequired

False

True

False

False

False

False

True

True

True

False

False

False

False

True

Status

Status of the discount list.

statuscode

StatusCode

Status

None

True

True

True

False

False

False

True

True

True

False

False

False

False

False

Status Reason

Reason for the status of the discount list.

transactioncurrencyid

TransactionCurrencyId

Lookup

None

True

True

False

False

False

False

True

True

True

False

False

False

False

True

Currency

Unique identifier of the currency associated with the discount type.

versionnumber

VersionNumber

BigInt

None

False

True

False

False

False

False

False

False

True

False

False

False

False

False

Version Number

Version number of the discount type.

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship with the discount type (discount list) entity.

Relationship schema name Referencing entity

DiscountType_AsyncOperations

asyncoperation

DiscountType_BulkDeleteFailures

bulkdeletefailure

discount_type_discounts

discount

DiscountType_ProcessSessions

processsession

discount_type_product_price_levels

productpricelevel

userentityinstancedata_discounttype

userentityinstancedata

Many-to-Many Relationships

There are no many-to-many relationships for the discount type (discount list) entity.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship with the discount type (discount list) entity.

Relationship schema name

Referenced Entity

organization_discount_types

organization

lk_discounttype_modifiedonbehalfby

systemuser

lk_discounttype_createdonbehalfby

systemuser

lk_discounttypebase_createdby

systemuser

lk_discounttypebase_modifiedby

systemuser

transactioncurrency_discounttype

transactioncurrency

See Also

Reference

EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

DiscountType (Discount List) Entity Messages and Methods
DiscountType (Discount List) Entity OptionSet Attribute Metadata
DiscountType Entity (Discount List) Privileges

Other Resources

Product Catalog Entities

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.