Table

TAMRebatePriceHistoryTmp Temporary

Rebate management price history

Purpose not clear from the metadata.

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

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CategoryNo descriptionInt64
TAMRebateCategoryRecId
NoTAMRebateCategory.RecIdNone
DealTypeNo descriptionEnum
TAMRebatePriceHistoryDealType (enum)
NoNone
ItemGroupIdNo descriptionString
TAMRebateGroupId
NoNone
ItemIdNo descriptionString (20)
ItemId
NoInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceComponentCodeNameNo descriptionString (80)
GUPPriceComponentCodeName
YesGUPPriceComponentCode.NameNone
RebateAccountNo descriptionString (20)
TAMRebateAccountRelation
NoNone
RebateAmountNo descriptionReal
TAMRebateAmount
NoNone
RebateDealNo descriptionInt64
TAMRebateDealRecId
YesTAMRebateDeal.RecIdNone
RebateGroupNo descriptionString (20)
TAMRebateAccountRelation
NoNone
RebatePaymentTypeNo descriptionEnum
TAMRebatePaymentType (enum)
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
RecipientNo descriptionString (20)
CustVendAC
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RemittanceAccountNo descriptionString (20)
TAMRebateRemittanceAccount
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (5)

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

  • TAMRebateCategory → TAMRebateCategory

    Join on Category = TAMRebateCategory.RecId

    Many TAMRebatePriceHistoryTmp records → zero or one TAMRebateCategory record

  • TAMRebateDeal → TAMRebateDeal

    Join on RebateDeal = TAMRebateDeal.RecId

    Many TAMRebatePriceHistoryTmp records → exactly one TAMRebateDeal record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many TAMRebatePriceHistoryTmp records → zero or one InventTable record

  • TAMRebateGroupInvent → TAMRebateGroup

    Join on TAMRebateGroup.ModuleInventCustVend = ModuleInventCustVend::Invent, ItemGroupId = TAMRebateGroup.RebateGroupId

    Many TAMRebatePriceHistoryTmp records → zero or one TAMRebateGroup record

  • GUPPriceComponentCode → GUPPriceComponentCode

    Join on PriceComponentCodeName = GUPPriceComponentCode.Name

    Many TAMRebatePriceHistoryTmp records → exactly one GUPPriceComponentCode record

Get this data out

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

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

Email sales@drdynamics.co.uk