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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ParentRecIdSystem record ID of the price attribute group. | Int64GUPPricingAttributeGroupRecId | Yes | None | |
LineTableIdID of the table that the line record belongs to. | IntegerTableId | Yes | None | |
LineRecIdSystem record ID of the line in that table. | Int64RefRecId | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LineTypeWhether the line is included or excluded. | EnumGUPPricingAttributeLineType (enum) | No | None | |
ParentTableIdID of the table that the price attribute group belongs to. | IntegerTableId | Yes | 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 | |
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)
StateIdxPrimary indexParentRecId,LineTableId,LineRecIdUnique, alternate key.
Relations (5)
Each relation joins GUPPricingAttributeLineState to another table on the fields shown.
CustTable→CustTableJoin on
LineTableId = CustTable.TableId,LineRecId = CustTable.RecIdExactly one GUPPricingAttributeLineState record → zero or one CustTable record
InventTable→InventTableJoin on
LineTableId = InventTable.TableId,LineRecId = InventTable.RecIdExactly one GUPPricingAttributeLineState record → zero or one InventTable record
GUPPricingAttributeGroup→GUPPricingAttributeGroupJoin on
ParentTableId = GUPPricingAttributeGroup.TableId,ParentRecId = GUPPricingAttributeGroup.RecIdExactly one GUPPricingAttributeLineState record → zero or one GUPPricingAttributeGroup record
InventDimCombination→InventDimCombinationJoin on
LineTableId = InventDimCombination.TableId,LineRecId = InventDimCombination.RecIdExactly one GUPPricingAttributeLineState record → zero or one InventDimCombination record
GUPPricingRule→GUPPricingRuleJoin on
ParentTableId = GUPPricingRule.TableId,ParentRecId = GUPPricingRule.RecIdExactly 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.