Table

GUPPricingAttributeLineState

Price attribute line state

Records whether a line is included or excluded for a price attribute group. It is keyed by the group, the table ID and the record ID of the line. The line may point to records such as customers, items or item combinations.

Table name
GUPPricingAttributeLineState
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
StateIdx
Replacement key
None
Key fields
ParentRecId, LineTableId, LineRecId
Model
GlobalUnifiedPricing

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ParentRecIdSystem record ID of the price attribute group.Int64
GUPPricingAttributeGroupRecId
YesNone
LineTableIdID of the table that the line record belongs to.Integer
TableId
YesNone
LineRecIdSystem record ID of the line in that table.Int64
RefRecId
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LineTypeWhether the line is included or excluded.Enum
GUPPricingAttributeLineType (enum)
NoNone
ParentTableIdID of the table that the price attribute group belongs to.Integer
TableId
YesNone
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
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

Indexes (1)

Relations (5)

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

  • CustTable → CustTable

    Join on LineTableId = CustTable.TableId, LineRecId = CustTable.RecId

    Exactly one GUPPricingAttributeLineState record → zero or one CustTable record

  • InventTable → InventTable

    Join on LineTableId = InventTable.TableId, LineRecId = InventTable.RecId

    Exactly one GUPPricingAttributeLineState record → zero or one InventTable record

  • GUPPricingAttributeGroup → GUPPricingAttributeGroup

    Join on ParentTableId = GUPPricingAttributeGroup.TableId, ParentRecId = GUPPricingAttributeGroup.RecId

    Exactly one GUPPricingAttributeLineState record → zero or one GUPPricingAttributeGroup record

  • InventDimCombination → InventDimCombination

    Join on LineTableId = InventDimCombination.TableId, LineRecId = InventDimCombination.RecId

    Exactly one GUPPricingAttributeLineState record → zero or one InventDimCombination record

  • GUPPricingRule → GUPPricingRule

    Join on ParentTableId = GUPPricingRule.TableId, ParentRecId = GUPPricingRule.RecId

    Exactly one GUPPricingAttributeLineState record → zero or one GUPPricingRule record

Get this data out

No public entity reads from GUPPricingAttributeLineState. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk