Table
GUPFreeItemDiscount
Free item
Holds free item settings that extend a periodic discount. It sets the criteria type, the calculation type and whether the discount can repeat. It has no key defined in the metadata.
- Table name
GUPFreeItemDiscount- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
GlobalUnifiedPricing- Extends
RetailPeriodicDiscount
Fields (10)
| 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 | |
FreeItemCalculationMethodCalculation type of the free item rule: stepped or normal. | EnumGUPFreeItemCalculationMethod (enum) | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntity | |
FreeItemCriteriaTypeShows whether the free item rule is based on quantity or amount. | EnumGUPFreeItemCriteriaType (enum) | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntity | |
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field. | Int64RelationType | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
RepeatableShows if the free item can repeat: not at all, by header or by line. | EnumGUPFreeItemRepeatable (enum) | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntity | |
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 |
Relations (1)
Each relation joins GUPFreeItemDiscount to another table on the fields shown.
RetailPeriodicDiscount→RetailPeriodicDiscountJoin on
RecId = RetailPeriodicDiscount.RecIdZero or one GUPFreeItemDiscount record → exactly one RetailPeriodicDiscount record
Get this data out
Tables are not exposed directly. These public entities read from GUPFreeItemDiscount; use one of them in Power BI, Power Platform or a data management project.
GUPRetailDiscountLineV2Entity· 0 fields from this tableGUPRetailDiscountV2Entity· 3 fields from this tableGUPRetailDiscountEntity· 3 fields from this tableGUPRetailDiscountLineEntity· 0 fields from this tableGUPRetailMultibuyDiscountLineEntity· 0 fields from this table
Need help with GUPFreeItemDiscount in a report, an integration or a migration? Talk to Dr Dynamics.