Table
GUPItemBasePrice
Price
Holds base prices for items, with versions, activation, validity dates and expiry. A row covers a price type (purchase, sales or inventory), an item and inventory dimensions, and may name a vendor. The entities that read it expose active prices and all price history.
- Table name
GUPItemBasePrice- Module
Cross-module and platform- Table group
TransactionHeader- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
GlobalUnifiedPricing
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountRelationVendor account the price relates to. | String (20)GUPVendPriceRelation | No | VendTable.AccountNum | None |
ActivationDateDate on which the price was activated. | DateTransDate | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
BasePriceCreatedDateTimeDate and time the base price was created, judging by the name.low confidence | UtcDateTime | No | None | |
CalculatedYes/No flag showing whether the price is marked as calculated. | EnumNoYesIdNoYes (enum) | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpirationDateDate on which the price expires. | DateTransDate | No | None | |
FromDateDate from which the price is valid. | DateFromDate | Yes | None | |
InventDimIdInventory dimension combination the price applies to. | String (20)InventDimId | Yes | InventDim.inventDimId | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity |
IsExpiredYes/No flag showing whether the price has expired, judging by the name. | EnumNoYesIdNoYes (enum) | No | None | |
ItemIdItem the price belongs to. | String (20)ItemId | Yes | InventTable.ItemId | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity |
MarkupPrice charges amount linked to the price. | RealGUPBaseAmountNonMonetary | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
MarkupQtyQuantity that the price charges apply to. | RealGUPBasePriceMarkupQty | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OperationGuidGUID that identifies the operation linked to the record.low confidence | GuidSysGuid | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceBase price amount. | RealGUPBaseAmountNonMonetary | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
PriceAllocateMarkupYes/No flag showing whether the charges are included in the unit price. | EnumPriceAllocateMarkupNoYes (enum) | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
PriceCalcIdNumber of the price calculation linked to the price. | String (20)GUPBasePriceCalcPriceCalcId | Yes | None | |
PriceQtyQuantity that the price applies to. | RealGUPBasePriceUnitQty | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
PriceTermJournalTransRecIdSystem record ID of a related price term journal transaction, judging by the name.low confidence | Int64GUPRefRecId | No | None | |
PriceTypeKind of base price: purchase, sales or inventory price. | EnumGUPBasePriceType (enum) | No | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity | |
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 | |
ToDateDate until which the price is valid. | DateToDate | No | None | |
UnitIdUnit of measure symbol for the price. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity |
VendPriceAdmTransRecIdSystem record ID of a related vendor price administration transaction, judging by the name.low confidence | Int64GUPRefRecId | No | None | |
VersionIdID of the base price version the price belongs to. | StringGUPBasePriceVersionId | Yes | GUPBasePriceVersion.VersionId | GUPItemBasePriceActiveEntityGUPItemBasePriceAllHistoryEntity |
Indexes (9)
ItemIdxItemId,InventDimId,PriceType,FromDate,ToDate,CreatedDateTime,IsExpiredNot unique.
VersionIdxNot unique.
ActivationDateIdxActivationDate,createdDateTime,BasePriceCreatedDateTimeNot unique.
CreatedDateTimeIdxNot unique.
ModifiedDateTimeIdxInventDimId,PriceType,ActivationDate,ModifiedDateTimeNot unique.
OperationGuidIdxNot unique.
ExpirePriceCalcIdPriceListTermIdxRecId,IsExpired,PriceCalcId,VendPriceAdmTransRecId,PriceTermJournalTransRecIdNot unique.
VendPriceAdmTransRecIdExpireIdxIsExpired,VendPriceAdmTransRecIdNot unique.
PriceTermJournalTransRecIdExpireIdxIsExpired,PriceTermJournalTransRecIdNot unique.
Relations (6)
Each relation joins GUPItemBasePrice to another table on the fields shown.
GUPBasePriceVersion→GUPBasePriceVersionJoin on
VersionId = GUPBasePriceVersion.VersionIdMany GUPItemBasePrice records → exactly one GUPBasePriceVersion record
UnitOfMeasure→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany GUPItemBasePrice records → zero or one UnitOfMeasure record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany GUPItemBasePrice records → exactly one InventTable record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany GUPItemBasePrice records → exactly one InventDim record
VendTable→VendTableJoin on
AccountRelation = VendTable.AccountNumZero or one GUPItemBasePrice record → zero or one VendTable record
GUPItemBasePriceCurrentActive→GUPItemBasePriceCurrentActiveJoin on
VersionId = GUPItemBasePriceCurrentActive.VersionId,PriceType = GUPItemBasePriceCurrentActive.PriceType,ItemId = GUPItemBasePriceCurrentActive.ItemId,InventDimId = GUPItemBasePriceCurrentActive.inventDimIdMany GUPItemBasePrice records → zero or one GUPItemBasePriceCurrentActive record
Get this data out
Tables are not exposed directly. These public entities read from GUPItemBasePrice; use one of them in Power BI, Power Platform or a data management project.
GUPItemBasePriceActiveEntity· 13 fields from this tableGUPItemBasePriceAllHistoryEntity· 13 fields from this table
Need help with GUPItemBasePrice in a report, an integration or a migration? Talk to Dr Dynamics.