Table

TAMVendRebateTable

Rebate

Holds vendor rebates, identified by a rebate ID. Each rebate links to a vendor, a rebate program, an agreement and agreement line, and to purchase order and vendor invoice records. It stores amounts, a status, dates and default accounts and dimensions.

Table name
TAMVendRebateTable
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
TAMVendorRebate
Primary index
None
Replacement key
TAMVendRebateIdx
Key fields
VendRebateId
Model
Foundation

Fields (46)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VendRebateIdID of the rebate. It is the key of the table.String (12)
TAMVendRebateId
YesNone
CorrectedRebateAmtRebate amount after correction.Real
TAMCorrectedRebateAmt
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency of the rebate. Points to the currency table.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CWInventQtyCatch weight quantity.Real
PdsCWInventQty
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault dimension set for the rebate. Points to a dimension code set.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
InclTaxYes or no setting showing whether prices include sales tax.Enum
InclTax
NoYes (enum)
NoNone
InventTransIdLot ID. Points to the inventory transaction originator.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
ItemIdItem number. Points to the item record.String (20)
ItemId
NoInventTable.ItemIdNone
ItemVendRebateGroupIdVendor rebate item group. Points to the item rebate group.String (20)
TAMItemVendRebateGroupId
NoTAMItemVendRebateGroup.ItemVendRebateGroupIdNone
JournalRefNumNumber of the posting journal.String (20)
TAMJournalRefNum
NoNone
LedgerDimensionDefault accrual ledger account. Points to a dimension code combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
OffsetDefaultDimensionDefault dimension set for the offset side. Points to a dimension code set.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
OffsetLedgerDimensionDefault expense ledger account. Points to a dimension code combination.Int64
LedgerDimensionDefaultAccount
YesDimensionAttributeValueCombination.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessDateDate on which the rebate was processed.Date
TAMProcessDate
NoNone
PurchAmountPurchase amount, in the accounting currency.Real
AmountMST
NoNone
PurchIdPurchase order number. Points to the purchase order.String (20)
PurchId
NoPurchTable.PurchIdNone
PurchInvoicedQtyInvoiced quantity of the purchase.Real
PurchInvoicedQty
NoNone
PurchLineRefRecIdSystem record ID of the purchase order line.Int64
PurchLineRefRecId
NoPurchLine.RecIdNone
PurchNetExtdPriceNet extended price of the purchase.Real
TAMPurchNetExtdPrice
NoNone
PurchPriceUnitPrice unit of the purchase.Real
PriceUnit
NoNone
PurchTableRefRecIdSystem record ID of the purchase order.Int64
PurchTableRefRecId
NoPurchTable.RecIdNone
RebateAdjustmentDateDate of the rebate adjustment.Date
TAMRebateAdjustmentDate
NoNone
RebateAmtConsumed rebate amount.Real
TAMRebateAmt
NoNone
RebateAmtTypeHow the rebate is expressed: amount per unit, fixed amount or percentage.Enum
TAMRebateAmtType (enum)
NoNone
RebateBalanceRemaining rebate balance amount.Real
TAMRebateBalance
NoNone
RebateCalcDateDate on which the rebate was calculated.Date
TAMRebateCalcDate
NoNone
RebateProgramIdRebate program ID. Points to the rebate program type.String
TAMVendRebateProgramId
NoTAMVendRebate.RebateProgramIdNone
RebateStatusStatus of the rebate: to be calculated, calculated, approved or completed.Enum
TAMVendRebateStatus (enum)
NoNone
RebateValueValue of the rebate. Its meaning depends on the amount type.Real
TAMRebateValue
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
StartingRebateAmtRebate amount at the start.Real
TAMStartingRebateAmt
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupSales tax group. Points to the sales tax group.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group. Points to the item sales tax group.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
VendAccountVendor account. Points to the vendor record.String (20)
VendAccount
NoVendTable.AccountNumNone
VendInvoiceIdVendor invoice number.String (50)
VendInvoiceId
NoNone
VendInvoiceJourRefRecIdSystem record ID of the vendor invoice journal.Int64
VendInvoiceJourRefRecId
NoVendInvoiceJour.RecIdNone
VendInvoiceTransRefRecIdSystem record ID of the posted vendor invoice line.Int64
VendInvoiceTransRefRecId
NoVendInvoiceTrans.RecIdNone
VendorRefVendor reference text.String (30)
TAMVendorRef
NoNone
VendRebateAgreementLineRefRecIdSystem record ID of the rebate agreement line.Int64
TAMVendRebateAgreementLineRefRecId
NoTAMVendRebateAgreementLine.RecIdNone
VendRebateAgreementRefRecIdSystem record ID of the rebate agreement.Int64
TAMVendRebateAgreementRefRecId
NoTAMVendRebateAgreement.RecIdNone
VendRebateGroupIdVendor rebate group. Points to the vendor rebate group.String (20)
TAMVendRebateGroupId
NoTAMVendRebateGroup.VendRebateGroupIdNone

Indexes (6)

Relations (20)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TAMVendRebateTable records → exactly one Currency record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many TAMVendRebateTable records → zero or one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many TAMVendRebateTable records → exactly one InventTransOrigin record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many TAMVendRebateTable records → exactly one DimensionAttributeValueCombination record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TAMVendRebateTable records → exactly one DimensionAttributeValueCombination record

  • PurchLineRef → PurchLine

    Join on PurchLineRefRecId = PurchLine.RecId

    Exactly one TAMVendRebateTable record → zero or one PurchLine record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many TAMVendRebateTable records → zero or one PurchTable record

  • PurchTableRef → PurchTable

    Join on PurchTableRefRecId = PurchTable.RecId

    Many TAMVendRebateTable records → zero or one PurchTable record

  • TAMItemVendRebateGroup → TAMItemVendRebateGroup

    Join on ItemVendRebateGroupId = TAMItemVendRebateGroup.ItemVendRebateGroupId

    Many TAMVendRebateTable records → zero or one TAMItemVendRebateGroup record

  • TAMVendRebate → TAMVendRebate

    Join on RebateProgramId = TAMVendRebate.RebateProgramId

    Many TAMVendRebateTable records → zero or one TAMVendRebate record

  • TAMVendRebateAgreement → TAMVendRebateAgreement

    Join on VendRebateAgreementRefRecId = TAMVendRebateAgreement.RecId

    Many TAMVendRebateTable records → zero or one TAMVendRebateAgreement record

  • TAMVendRebateAgreementLine → TAMVendRebateAgreementLine

    Join on VendRebateAgreementLineRefRecId = TAMVendRebateAgreementLine.RecId

    Many TAMVendRebateTable records → zero or one TAMVendRebateAgreementLine record

  • TAMVendRebateGroup → TAMVendRebateGroup

    Join on VendRebateGroupId = TAMVendRebateGroup.VendRebateGroupId

    Many TAMVendRebateTable records → zero or one TAMVendRebateGroup record

  • VendInvoiceJour → VendInvoiceJour

    Join on VendInvoiceJourRefRecId = VendInvoiceJour.RecId

    Many TAMVendRebateTable records → zero or one VendInvoiceJour record

  • VendInvoiceTrans → VendInvoiceTrans

    Join on VendInvoiceTransRefRecId = VendInvoiceTrans.RecId

    Many TAMVendRebateTable records → zero or one VendInvoiceTrans record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many TAMVendRebateTable records → zero or one VendTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many TAMVendRebateTable records → zero or one DimensionAttributeValueSet record

  • OffsetDefaultDimension → DimensionAttributeValueSet

    Join on OffsetDefaultDimension = DimensionAttributeValueSet.RecId

    Many TAMVendRebateTable records → zero or one DimensionAttributeValueSet record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many TAMVendRebateTable records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many TAMVendRebateTable records → zero or one TaxItemGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk