Discount Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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

The following table shows the metadata for the discount entity.

 

Entity metadata property Value

OTC

1013

EntityLogicalName

discount

DisplayName

Discount

DisplayCollectionName

Discounts

IsCustomizable

True

OwnershipType

None

AutoRouteToOwnerQueue

False

CanBeInManyToMany

True

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

True

IsChildEntity

True

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

False

IsValidForQueue

False

IsVisibleInMobile

True

PrimaryIdAttribute

discountid

PrimaryNameAttribute

ReportViewName

FilteredDiscount

Description

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

Privilege Metadata

There is no privilege metadata for the discount entity.

Attribute Metadata

The following table shows the attribute metadata for the discount entity.

 

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

amount

Amount

Money

ApplicationRequired

True

True

True

False

False

False

True

True

True

False

False

False

False

True

Amount

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

amount_base

Amount_Base

Money

None

False

True

False

False

False

False

True

True

True

False

False

False

False

True

Amount (Base)

Base currency equivalent of the amount of the discount.

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.

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 was created.

createdonbehalfby

CreatedOnBehalfBy

Lookup

None

False

True

False

False

False

False

True

True

True

False

False

False

False

True

Created By (Delegate)

Unique identifier of the delegate user who created the discount.

discountid

DiscountId

Uniqueidentifier

SystemRequired

True

True

False

False

False

False

False

False

True

True

False

False

False

False

Discount

Unique identifier of the discount.

discounttypeid

DiscountTypeId

Lookup

SystemRequired

True

True

False

False

False

False

True

True

True

False

False

False

False

False

Discount Type

Unique identifier of the discount list associated with the discount.

exchangerate

ExchangeRate

Decimal

None

False

True

False

False

False

False

True

True

True

False

False

False

False

True

Exchange Rate

Exchange rate for the currency associated with the discount with respect to the base currency.

highquantity

HighQuantity

Decimal

SystemRequired

True

True

True

False

False

False

True

True

True

False

False

False

False

True

End Quantity

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

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

ApplicationRequired

False

True

False

False

False

False

True

True

True

False

False

False

False

False

Amount Type

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

lowquantity

LowQuantity

Decimal

SystemRequired

True

True

True

False

False

False

True

True

True

False

False

False

False

True

Begin Quantity

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

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.

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 was last modified.

modifiedonbehalfby

ModifiedOnBehalfBy

Lookup

None

False

True

False

False

False

False

True

True

True

False

False

False

False

True

Modified By (Delegate)

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

organizationid

OrganizationId

Uniqueidentifier

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.

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.

percentage

Percentage

Decimal

ApplicationRequired

True

True

True

False

False

False

True

True

True

False

False

False

False

True

Percentage

Percentage discount value.

statuscode

StatusCode

Status

None

True

True

True

False

False

False

True

True

True

False

False

False

False

False

Status Reason

5.0.0.0

Reason for the status of the discount.

transactioncurrencyid

TransactionCurrencyId

Lookup

None

False

True

False

False

False

False

True

True

True

False

False

False

False

True

Currency

Unique identifier of the currency associated with the discount.

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.

One-to-Many Relationships

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

 

Relationship schema name Referencing Entity

Discount_AsyncOperations

asyncoperation

Discount_BulkDeleteFailures

bulkdeletefailure

Discount_ProcessSessions

processsession

userentityinstancedata_discount

userentityinstancedata

Many-to-Many Relationships

There are no many-to-many relationships for the discount 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 entity.

 

Relationship schema name Referenced Entity

discount_type_discounts

discounttype

lk_discount_createdonbehalfby

systemuser

lk_discountbase_modifiedby

systemuser

lk_discount_modifiedonbehalfby

systemuser

lk_discountbase_createdby

systemuser

transactioncurrency_discount

transactioncurrency

See Also

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

Community Additions

Show: