Table
GUPRetailPricingSimulatorDiscountLine
Periodic discount line
Holds periodic discount lines used by the retail pricing simulator. Each line links to a simulator sales transaction, a discount, a pricing rule and a price attribute group combination. It has no defined key.
- Table name
GUPRetailPricingSimulatorDiscountLine- Module
Commerce merchandising- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
GlobalUnifiedPricing
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
discAmountThe cash amount taken off as discount. | RealDiscAmount | No | None | |
DiscountLineRecIdSystem record ID of the discount line. No label or relation is given.low confidence | Int64RecId | Yes | None | |
discountMethodThe calculation type of the discount: percentage off, amount off or unit price. | EnumRetailDiscountOfferLineDiscountMethodRetailDiscountOfferLineDiscMethodBase (enum) | No | None | |
discPctThe percentage taken off the price. | RealRetailPriceDiscPct | No | None | |
LineNumThe number of the line. | RealLineNum | No | None | |
LinePricingGroupCodeShows whether the line applies to a group or to all. | EnumGUPPricingAttributeGroupCodeLineGUPGroupAll (enum) | No | None | |
LinePricingRuleThe pricing rule record this line refers to. | Int64GUPRefRecId | No | GUPPricingRule.RecId | None |
LineTypeShows whether the line is included in or excluded from the discount. | EnumRetailDiscountLineTypeRetailDiscountLineIncludeExcludeTypeBase (enum) | No | None | |
OfferIdThe ID of the periodic discount the line belongs to. | String (20)RetailOfferIdEx3 | Yes | None | |
offerPriceThe unit price offered on the line. | RealRetailOfferPrice | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceAttributeGroupCombinationRecIdThe price attribute group combination linked to the line. | Int64RecId | No | GUPPriceComponentCodePriceAttributeGroupCombination.RecId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RetailPricingSimulatorDiscountReference to the simulator discount record that owns the line. No relation is given. | Int64RefRecId | No | None | |
RetailPricingSimulatorTransactionIdThe pricing simulator sales transaction header this line refers to. | Int64RefRecId | No | RetailPricingSimulatorSalesTransaction.RecId | None |
SelectedYes/No flag that marks whether the line is selected. | EnumNoYesIdNoYes (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitOfMeasureThe unit of measure for the line, held as a record ID. | Int64UnitOfMeasureRecId | No | None |
Indexes (3)
SalesTransactionIdIndexRetailPricingSimulatorTransactionIdNot unique.
OfferLineIdxUnique, alternate key.
RetailPricingSimulatorDiscountIdxRetailPricingSimulatorDiscountNot unique.
Relations (4)
Each relation joins GUPRetailPricingSimulatorDiscountLine to another table on the fields shown.
RetailPricingSimulatorSalesTransaction→RetailPricingSimulatorSalesTransactionJoin on
RetailPricingSimulatorTransactionId = RetailPricingSimulatorSalesTransaction.RecIdCardinality not set in the metadata.
GUPPricingRuleLine→GUPPricingRuleJoin on
LinePricingRule = GUPPricingRule.RecIdZero or one GUPRetailPricingSimulatorDiscountLine record → exactly one GUPPricingRule record
GUPPriceComponentCodePriceAttributeGroupCombination→GUPPriceComponentCodePriceAttributeGroupCombinationJoin on
PriceAttributeGroupCombinationRecId = GUPPriceComponentCodePriceAttributeGroupCombination.RecIdMany GUPRetailPricingSimulatorDiscountLine records → exactly one GUPPriceComponentCodePriceAttributeGroupCombination record
OfferId→RetailPricingSimulatorDiscountJoin on
RetailPricingSimulatorTransactionId = RetailPricingSimulatorDiscount.RetailPricingSimulatorTransactionId,OfferId = RetailPricingSimulatorDiscount.OfferIdMany GUPRetailPricingSimulatorDiscountLine records → exactly one RetailPricingSimulatorDiscount record
Get this data out
No public entity reads from GUPRetailPricingSimulatorDiscountLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with GUPRetailPricingSimulatorDiscountLine in a report, an integration or a migration? Talk to Dr Dynamics.