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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FreeItemCalculationMethodCalculation type of the free item rule: stepped or normal.Enum
GUPFreeItemCalculationMethod (enum)
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntity
FreeItemCriteriaTypeShows whether the free item rule is based on quantity or amount.Enum
GUPFreeItemCriteriaType (enum)
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntity
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RepeatableShows if the free item can repeat: not at all, by header or by line.Enum
GUPFreeItemRepeatable (enum)
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (1)

Each relation joins GUPFreeItemDiscount to another table on the fields shown.

  • RetailPeriodicDiscount → RetailPeriodicDiscount

    Join on RecId = RetailPeriodicDiscount.RecId

    Zero 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.

Need help with GUPFreeItemDiscount in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk