Table
RetailMultibuyDiscountLine
Quantity discount configuration
Holds the tiers of a quantity (multibuy) discount. Each row gives a minimum quantity and the discount value for it. It links to the multibuy discount. It has no declared key.
- Table name
RetailMultibuyDiscountLine- Module
Commerce merchandising- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (12)
| 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 | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
multibuyIdQuantity discount that the tier belongs to. | String (40)RetailMultibuyDiscountId | Yes | RetailDiscountMultibuy.OfferId | RetailDiscountMultibuyTierEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
priceDiscPctDiscount value for this tier. | RealRetailPriceDiscPct | No | GUPRetailMultibuyDiscountLineEntityRetailDiscountMultibuyTierEntity | |
qtyLowestSmallest quantity at which the tier applies. | RealRetailQtyLowest | No | GUPRetailMultibuyDiscountLineEntityRetailDiscountMultibuyTierEntity | |
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 | |
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 |
Indexes (1)
multibuyIdQtyLowestUnique.
Relations (1)
Each relation joins RetailMultibuyDiscountLine to another table on the fields shown.
RetailDiscountMultiBuy→RetailDiscountMultibuyJoin on
multibuyId = RetailDiscountMultibuy.OfferIdZero or one RetailMultibuyDiscountLine record → exactly one RetailDiscountMultibuy record
Get this data out
Tables are not exposed directly. These public entities read from RetailMultibuyDiscountLine; use one of them in Power BI, Power Platform or a data management project.
GUPRetailMultibuyDiscountLineEntity· 2 fields from this tableRetailDiscountMultibuyTierEntity· 3 fields from this table
Need help with RetailMultibuyDiscountLine in a report, an integration or a migration? Talk to Dr Dynamics.