編輯

共用方式為


Coupon codes in Miscellaneous(RetailCouponCodeTable)

Latest version of the JSON entity definition is available on GitHub.

Traits

Traits for this entity are listed below.

is.identifiedBy
names a specifc identity attribute to use with an entity

ParameterValueData typeExplanation
attributeRetailCouponCodeTable/(resolvedAttributes)/RecIdattribute

is.CDM.entityVersion

ParameterValueData typeExplanation
versionNumber"1.0"stringsemantic version number of the entity

is.application.releaseVersion

ParameterValueData typeExplanation
releaseVersion"10.0.13.0"stringsemantic version number of the application introducing this entity

is.localized.displayedAs
Holds the list of language specific display text for an object.

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enCoupon codes
entitya reference to the constant entity holding the list of localized text

Attributes

Name Description First Included in Instance
RecId Miscellaneous/RetailCouponCodeTable
CouponCodeId Miscellaneous/RetailCouponCodeTable
CouponNumber Miscellaneous/RetailCouponCodeTable
CouponCode Miscellaneous/RetailCouponCodeTable
ValidFrom Miscellaneous/RetailCouponCodeTable
ValidTo Miscellaneous/RetailCouponCodeTable
Status Miscellaneous/RetailCouponCodeTable
Barcode Miscellaneous/RetailCouponCodeTable
IsLegacyDiscountCode Miscellaneous/RetailCouponCodeTable
DataAreaId Miscellaneous/RetailCouponCodeTable
Relationship_RetailCouponRelationshipRelationshipId Miscellaneous/RetailCouponCodeTable
Relationship_CompanyRelationshipId Miscellaneous/RetailCouponCodeTable

RecId

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
isPrimaryKeytrue
dataFormatint64
isReadOnlytrue

Traits

List of traits for the RecId attribute are listed below.

is.dataFormat.integer
is.dataFormat.big
is.identifiedBy
names a specifc identity attribute to use with an entity

ParameterValueData typeExplanation
attributeRetailCouponCodeTable/(resolvedAttributes)/RecIdattribute

is.readOnly
is.dataFormat.integer
is.dataFormat.big

CouponCodeId

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatstring

Traits

List of traits for the CouponCodeId attribute are listed below.

is.dataFormat.character
is.dataFormat.big
is.dataFormat.array
is.dataFormat.character
is.dataFormat.array

CouponNumber

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatstring
isNullabletrue

Traits

List of traits for the CouponNumber attribute are listed below.

is.dataFormat.character
is.dataFormat.big
is.dataFormat.array
is.nullable
The attribute value may be set to NULL.

is.dataFormat.character
is.dataFormat.array

CouponCode

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatstring

Traits

List of traits for the CouponCode attribute are listed below.

is.dataFormat.character
is.dataFormat.big
is.dataFormat.array
is.dataFormat.character
is.dataFormat.array

ValidFrom

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatdate
isNullabletrue

Traits

List of traits for the ValidFrom attribute are listed below.

is.dataFormat.date
means.measurement.date
is.nullable
The attribute value may be set to NULL.

is.dataFormat.date

ValidTo

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatdate
isNullabletrue

Traits

List of traits for the ValidTo attribute are listed below.

is.dataFormat.date
means.measurement.date
is.nullable
The attribute value may be set to NULL.

is.dataFormat.date

Status

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatint32
isNullabletrue

Traits

List of traits for the Status attribute are listed below.

is.dataFormat.integer
is.nullable
The attribute value may be set to NULL.

is.dataFormat.integer

Barcode

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatstring
isNullabletrue

Traits

List of traits for the Barcode attribute are listed below.

is.dataFormat.character
is.dataFormat.big
is.dataFormat.array
is.nullable
The attribute value may be set to NULL.

is.dataFormat.character
is.dataFormat.array

IsLegacyDiscountCode

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatint32
isNullabletrue

Traits

List of traits for the IsLegacyDiscountCode attribute are listed below.

is.dataFormat.integer
is.nullable
The attribute value may be set to NULL.

is.dataFormat.integer

DataAreaId

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatstring
isReadOnlytrue

Traits

List of traits for the DataAreaId attribute are listed below.

is.dataFormat.character
is.dataFormat.big
is.dataFormat.array
is.readOnly
is.dataFormat.character
is.dataFormat.array

Relationship_RetailCouponRelationshipRelationshipId

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatguid

Traits

List of traits for the Relationship_RetailCouponRelationshipRelationshipId attribute are listed below.

is.dataFormat.character
is.dataFormat.big
is.dataFormat.array
is.dataFormat.guid
means.identity.entityId
is.linkedEntity.identifier
Marks the attribute(s) that hold foreign key references to a linked (used as an attribute) entity. This attribute is added to the resolved entity to enumerate the referenced entities.

ParameterValueData typeExplanation
entityReferences
entityReferenceattributeReference
/core/operationsCommon/Tables/Commerce/CommerceCustomers/Miscellaneous/RetailCoupon.cdm.json/RetailCouponRecId
entitya reference to the constant entity holding the list of entity references

is.dataFormat.guid
is.dataFormat.character
is.dataFormat.array

Relationship_CompanyRelationshipId

First included in: Miscellaneous/RetailCouponCodeTable (this entity)

Properties

NameValue
dataFormatguid

Traits

List of traits for the Relationship_CompanyRelationshipId attribute are listed below.

is.dataFormat.character
is.dataFormat.big
is.dataFormat.array
is.dataFormat.guid
means.identity.entityId
is.linkedEntity.identifier
Marks the attribute(s) that hold foreign key references to a linked (used as an attribute) entity. This attribute is added to the resolved entity to enumerate the referenced entities.

ParameterValueData typeExplanation
entityReferences
entityReferenceattributeReference
/core/operationsCommon/Tables/Finance/Ledger/Main/CompanyInfo.cdm.json/CompanyInfoRecId
entitya reference to the constant entity holding the list of entity references

is.dataFormat.guid
is.dataFormat.character
is.dataFormat.array