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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChargeCodeCharge code that the value is for. | StringMarkupCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FromDateFirst date the value applies. | DateFromDate | Yes | None | |
InventDimIdInventory dimension number the record applies to. | String (20)InventDimId | Yes | None | |
ItemIdItem number the record applies to. | String (20)ItemId | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceCalcIdPoints to the base price calculation. | String (20)GUPBasePriceCalcPriceCalcId | Yes | GUPItemBasePriceCalcTable.PriceCalcId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToDateLast date the value applies. | DateToDate | No | None | |
UnitIdUnit of measure symbol. | StringUnitOfMeasureSymbol | No | None | |
ValueValue of the charge. | RealMarkupValue | No | None | |
VersionIdVersion of the base price. | StringGUPBasePriceVersionId | Yes | None |
Indexes (1)
PriceCalcIdxPriceCalcId,VersionId,FromDate,ToDate,ItemId,InventDimIdNot unique.
Relations (2)
Each relation joins GUPCalcChargeCode to another table on the fields shown.
GUPItemBasePriceCalcTable→GUPItemBasePriceCalcTableJoin on
PriceCalcId = GUPItemBasePriceCalcTable.PriceCalcIdMany GUPCalcChargeCode records → exactly one GUPItemBasePriceCalcTable record
MarkupTable→MarkupTableJoin on
MarkupTable.ModuleType = MarkupModuleType::Vend,ChargeCode = MarkupTable.MarkupCodeZero 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.