Table

GUPPriceTermJournalTable

Vendor price term agreements

Holds the header of a vendor price term agreement, identified by the agreement ID. It shows whether the agreement is for a vendor or customer, its validity dates, site and status. It links to a vendor or vendor price group.

Table name
GUPPriceTermJournalTable
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
JournalId
Key fields
AgreementId
Model
GlobalUnifiedPricing

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AgreementIdUnique ID of the agreement.String (20)
GUPAgreementId
YesGUPPriceTermJournalTableEntity
AccountCodeShows whether the agreement applies to one account, a group or all.Enum
PriceDiscAccountCode
TableGroupAll (enum)
NoGUPPriceTermJournalTableEntity
AccountRelationVendor account or vendor price group that the agreement applies to.String (20)
PriceDiscAccountRelation
NoGUPVendPriceGroup.VendPriceGroupIdVendTable.AccountNumGUPPriceTermJournalTableEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventSiteIdSite that the agreement applies to.String
InventSiteId
YesGUPPriceTermJournalTableEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
StatusShows whether the agreement is enabled or disabled.Enum
GUPDisabledEnabled (enum)
NoGUPPriceTermJournalTableEntity
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
ValidFromStart date of the agreement.Date
FromDate
NoGUPPriceTermJournalTableEntity
ValidToEnd date of the agreement.Date
ToDate
NoGUPPriceTermJournalTableEntity
VendCustShows whether the agreement is for a vendor or a customer.Enum
GUPVendCust (enum)
NoGUPPriceTermJournalTableEntity

Indexes (2)

Relations (2)

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

  • VendTable → VendTable

    Join on AccountRelation = VendTable.AccountNum, AccountCode = TableGroupAll::Table

    Zero or one GUPPriceTermJournalTable record → zero or one VendTable record

  • GUPVendPriceGroup → GUPVendPriceGroup

    Join on AccountRelation = GUPVendPriceGroup.VendPriceGroupId, AccountCode = TableGroupAll::GroupId

    Zero or one GUPPriceTermJournalTable record → zero or one GUPVendPriceGroup record

Get this data out

Tables are not exposed directly. These public entities read from GUPPriceTermJournalTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk