Table
GUPSalesTableInstanceValue
Instance value for sales order
Holds instance values for a sales order or one of its lines. The key is the sales order company, the sales order ID, a line flag and the line number. It links to the sales order, its lines and instance value records.
- Table name
GUPSalesTableInstanceValue- Module
Cross-module and platform- Table group
Main- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
SalesTableIdx- Key fields
GUPSalesDataAreaId, GUPSalesId, GUPIsSalesLine, GUPLineNum- Model
GlobalUnifiedPricing- Extends
EcoResInstanceValue
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
GUPSalesDataAreaIdCompany (legal entity) of the sales order. | StringDataAreaId | Yes | SalesTable.DataAreaId | GUPSalesOrderAttributeValueEntity |
GUPSalesIdID of the sales order, which points to a sales order record. | String (20)SalesIdBase | Yes | SalesTable.SalesId | GUPSalesOrderAttributeValueEntity |
GUPIsSalesLineYes/No flag showing whether the row is for an order line rather than the header. | EnumNoYes (enum) | No | GUPSalesOrderAttributeValueEntity | |
GUPLineNumLine number of the sales order line. | RealLineNum | No | GUPSalesOrderAttributeValueEntity | |
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 | |
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)
SalesTableIdxReplacement keyGUPSalesDataAreaId,GUPSalesId,GUPIsSalesLine,GUPLineNumUnique, alternate key.
Relations (3)
Each relation joins GUPSalesTableInstanceValue to another table on the fields shown.
EcoResInstanceValue→EcoResInstanceValueJoin on
RecId = EcoResInstanceValue.RecIdZero or one GUPSalesTableInstanceValue record → exactly one EcoResInstanceValue record
SalesTable→SalesTableJoin on
GUPSalesDataAreaId = SalesTable.DataAreaId,GUPSalesId = SalesTable.SalesIdMany GUPSalesTableInstanceValue records → exactly one SalesTable record
SalesLine→SalesLineJoin on
GUPSalesId = SalesLine.SalesId,GUPSalesDataAreaId = SalesLine.DataAreaId,GUPLineNum = SalesLine.LineNum,GUPIsSalesLine = NoYes::YesZero or one GUPSalesTableInstanceValue record → exactly one SalesLine record
Get this data out
Tables are not exposed directly. These public entities read from GUPSalesTableInstanceValue; use one of them in Power BI, Power Platform or a data management project.
GUPSalesOrderAttributeValueEntity· 4 fields from this table
Need help with GUPSalesTableInstanceValue in a report, an integration or a migration? Talk to Dr Dynamics.