Table

GUPCalcChargeCode

Holds charge code values for a base price calculation. Each record gives a value for an item charge code over a date range. It links to a calculation and to an item, dimension and unit.

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

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChargeCodeCharge code that the value is for.String
MarkupCode
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateFirst date the value applies.Date
FromDate
YesNone
InventDimIdInventory dimension number the record applies to.String (20)
InventDimId
YesNone
ItemIdItem number the record applies to.String (20)
ItemId
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceCalcIdPoints to the base price calculation.String (20)
GUPBasePriceCalcPriceCalcId
YesGUPItemBasePriceCalcTable.PriceCalcIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToDateLast date the value applies.Date
ToDate
NoNone
UnitIdUnit of measure symbol.String
UnitOfMeasureSymbol
NoNone
ValueValue of the charge.Real
MarkupValue
NoNone
VersionIdVersion of the base price.String
GUPBasePriceVersionId
YesNone

Indexes (1)

Relations (2)

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

  • GUPItemBasePriceCalcTable → GUPItemBasePriceCalcTable

    Join on PriceCalcId = GUPItemBasePriceCalcTable.PriceCalcId

    Many GUPCalcChargeCode records → exactly one GUPItemBasePriceCalcTable record

  • MarkupTable → MarkupTable

    Join on MarkupTable.ModuleType = MarkupModuleType::Vend, ChargeCode = MarkupTable.MarkupCode

    Zero or one GUPCalcChargeCode record → exactly one MarkupTable record

Get this data out

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

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

Email sales@drdynamics.co.uk