編輯

共用方式為


Discount transactions in Transaction(RetailTransactionDiscountTrans)

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
attributeRetailTransactionDiscountTrans/(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
enDiscount transactions
entitya reference to the constant entity holding the list of localized text

Attributes

Name Description First Included in Instance
RecId Transaction/RetailTransactionDiscountTrans
Amount Transaction/RetailTransactionDiscountTrans
Channel Transaction/RetailTransactionDiscountTrans
CustomerDiscountType Transaction/RetailTransactionDiscountTrans
DealPrice Transaction/RetailTransactionDiscountTrans
DiscountAmount Transaction/RetailTransactionDiscountTrans
DiscountCost Transaction/RetailTransactionDiscountTrans
DiscountCode Transaction/RetailTransactionDiscountTrans
DiscountOriginType Transaction/RetailTransactionDiscountTrans
LineNum Transaction/RetailTransactionDiscountTrans
ManualDiscountType Transaction/RetailTransactionDiscountTrans
Origin Transaction/RetailTransactionDiscountTrans
Percentage Transaction/RetailTransactionDiscountTrans
PeriodicDiscountOfferId Transaction/RetailTransactionDiscountTrans
ReplicationCounterFromOrigin Transaction/RetailTransactionDiscountTrans
SaleLineNum Transaction/RetailTransactionDiscountTrans
StoreId Transaction/RetailTransactionDiscountTrans
TerminalId Transaction/RetailTransactionDiscountTrans
TransactionId Transaction/RetailTransactionDiscountTrans
BundleId Transaction/RetailTransactionDiscountTrans
DataAreaId Transaction/RetailTransactionDiscountTrans
Relationship_RetailChannelTableRelationshipId Transaction/RetailTransactionDiscountTrans
Relationship_RetailPeriodicDiscountRelationshipId Transaction/RetailTransactionDiscountTrans
Relationship_RetailStoreTableRelationshipId Transaction/RetailTransactionDiscountTrans
Relationship_RetailTerminalTableRelationshipId Transaction/RetailTransactionDiscountTrans
Relationship_RetailTransactionSalesTransRelationshipId Transaction/RetailTransactionDiscountTrans
Relationship_RetailTransactionTableRelationshipId Transaction/RetailTransactionDiscountTrans
Relationship_CompanyRelationshipId Transaction/RetailTransactionDiscountTrans

RecId

First included in: Transaction/RetailTransactionDiscountTrans (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
attributeRetailTransactionDiscountTrans/(resolvedAttributes)/RecIdattribute

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

Amount

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
displayNameFull discount amount
dataFormatdecimal
isNullabletrue

Traits

List of traits for the Amount attribute are listed below.

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

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

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

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enFull discount amount
entitya reference to the constant entity holding the list of localized text

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

Channel

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatint64
isNullabletrue

Traits

List of traits for the Channel attribute are listed below.

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

is.dataFormat.integer
is.dataFormat.big

CustomerDiscountType

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatint32
isNullabletrue

Traits

List of traits for the CustomerDiscountType attribute are listed below.

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

is.dataFormat.integer

DealPrice

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatdecimal
isNullabletrue

Traits

List of traits for the DealPrice attribute are listed below.

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

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

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

DiscountAmount

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatdecimal
isNullabletrue

Traits

List of traits for the DiscountAmount attribute are listed below.

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

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

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

DiscountCost

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatdecimal
isNullabletrue

Traits

List of traits for the DiscountCost attribute are listed below.

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

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

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

DiscountCode

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatstring
isNullabletrue

Traits

List of traits for the DiscountCode 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

DiscountOriginType

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatint32
isNullabletrue

Traits

List of traits for the DiscountOriginType attribute are listed below.

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

is.dataFormat.integer

LineNum

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatdecimal

Traits

List of traits for the LineNum attribute are listed below.

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

ManualDiscountType

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatint32
isNullabletrue

Traits

List of traits for the ManualDiscountType attribute are listed below.

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

is.dataFormat.integer

Origin

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatstring
isNullabletrue

Traits

List of traits for the Origin 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

Percentage

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatdecimal
isNullabletrue

Traits

List of traits for the Percentage attribute are listed below.

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

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

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

PeriodicDiscountOfferId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
displayNameOffer ID
dataFormatstring
isNullabletrue

Traits

List of traits for the PeriodicDiscountOfferId attribute are listed below.

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

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

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enOffer ID
entitya reference to the constant entity holding the list of localized text

is.dataFormat.character
is.dataFormat.array

ReplicationCounterFromOrigin

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
displayNameReplication counter from origin
dataFormatint32
isNullabletrue

Traits

List of traits for the ReplicationCounterFromOrigin attribute are listed below.

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

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

ParameterValueData typeExplanation
localizedDisplayText
languageTagdisplayText
enReplication counter from origin
entitya reference to the constant entity holding the list of localized text

is.dataFormat.integer

SaleLineNum

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatdecimal
isNullabletrue

Traits

List of traits for the SaleLineNum attribute are listed below.

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

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

is.dataFormat.numeric.shaped
for setting the exact precision and scale of numeric values

StoreId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatstring
isNullabletrue

Traits

List of traits for the StoreId 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

TerminalId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatstring
isNullabletrue

Traits

List of traits for the TerminalId 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

TransactionId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatstring

Traits

List of traits for the TransactionId attribute are listed below.

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

BundleId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatint32
isNullabletrue

Traits

List of traits for the BundleId attribute are listed below.

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

is.dataFormat.integer

DataAreaId

First included in: Transaction/RetailTransactionDiscountTrans (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_RetailChannelTableRelationshipId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatguid

Traits

List of traits for the Relationship_RetailChannelTableRelationshipId 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/ChannelManagement/Main/RetailChannelTable.cdm.json/RetailChannelTableRecId
entitya reference to the constant entity holding the list of entity references

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

Relationship_RetailPeriodicDiscountRelationshipId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatguid

Traits

List of traits for the Relationship_RetailPeriodicDiscountRelationshipId 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/Merchandising/WorksheetHeader/RetailPeriodicDiscount.cdm.json/RetailPeriodicDiscountRecId
entitya reference to the constant entity holding the list of entity references

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

Relationship_RetailStoreTableRelationshipId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatguid

Traits

List of traits for the Relationship_RetailStoreTableRelationshipId 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/ChannelManagement/BrickAndMortarStore/Main/RetailStoreTable.cdm.json/RetailStoreTableRecId
entitya reference to the constant entity holding the list of entity references

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

Relationship_RetailTerminalTableRelationshipId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatguid

Traits

List of traits for the Relationship_RetailTerminalTableRelationshipId 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/ChannelManagement/BrickAndMortarStore/Main/RetailTerminalTable.cdm.json/RetailTerminalTableRecId
entitya reference to the constant entity holding the list of entity references

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

Relationship_RetailTransactionSalesTransRelationshipId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatguid

Traits

List of traits for the Relationship_RetailTransactionSalesTransRelationshipId 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/TransactionsAndOrders/Transaction/RetailTransactionSalesTrans.cdm.json/RetailTransactionSalesTransRecId
entitya reference to the constant entity holding the list of entity references

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

Relationship_RetailTransactionTableRelationshipId

First included in: Transaction/RetailTransactionDiscountTrans (this entity)

Properties

NameValue
dataFormatguid

Traits

List of traits for the Relationship_RetailTransactionTableRelationshipId 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/TransactionsAndOrders/Transaction/RetailTransactionTable.cdm.json/RetailTransactionTableRecId
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: Transaction/RetailTransactionDiscountTrans (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