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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VendRebateIdID of the rebate. It is the key of the table. | String (12)TAMVendRebateId | Yes | None | |
CorrectedRebateAmtRebate amount after correction. | RealTAMCorrectedRebateAmt | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency of the rebate. Points to the currency table. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | None |
CWInventQtyCatch weight quantity. | RealPdsCWInventQty | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault dimension set for the rebate. Points to a dimension code set. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
InclTaxYes or no setting showing whether prices include sales tax. | EnumInclTaxNoYes (enum) | No | None | |
InventTransIdLot ID. Points to the inventory transaction originator. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
ItemIdItem number. Points to the item record. | String (20)ItemId | No | InventTable.ItemId | None |
ItemVendRebateGroupIdVendor rebate item group. Points to the item rebate group. | String (20)TAMItemVendRebateGroupId | No | TAMItemVendRebateGroup.ItemVendRebateGroupId | None |
JournalRefNumNumber of the posting journal. | String (20)TAMJournalRefNum | No | None | |
LedgerDimensionDefault accrual ledger account. Points to a dimension code combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | None |
OffsetDefaultDimensionDefault dimension set for the offset side. Points to a dimension code set. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
OffsetLedgerDimensionDefault expense ledger account. Points to a dimension code combination. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessDateDate on which the rebate was processed. | DateTAMProcessDate | No | None | |
PurchAmountPurchase amount, in the accounting currency. | RealAmountMST | No | None | |
PurchIdPurchase order number. Points to the purchase order. | String (20)PurchId | No | PurchTable.PurchId | None |
PurchInvoicedQtyInvoiced quantity of the purchase. | RealPurchInvoicedQty | No | None | |
PurchLineRefRecIdSystem record ID of the purchase order line. | Int64PurchLineRefRecId | No | PurchLine.RecId | None |
PurchNetExtdPriceNet extended price of the purchase. | RealTAMPurchNetExtdPrice | No | None | |
PurchPriceUnitPrice unit of the purchase. | RealPriceUnit | No | None | |
PurchTableRefRecIdSystem record ID of the purchase order. | Int64PurchTableRefRecId | No | PurchTable.RecId | None |
RebateAdjustmentDateDate of the rebate adjustment. | DateTAMRebateAdjustmentDate | No | None | |
RebateAmtConsumed rebate amount. | RealTAMRebateAmt | No | None | |
RebateAmtTypeHow the rebate is expressed: amount per unit, fixed amount or percentage. | EnumTAMRebateAmtType (enum) | No | None | |
RebateBalanceRemaining rebate balance amount. | RealTAMRebateBalance | No | None | |
RebateCalcDateDate on which the rebate was calculated. | DateTAMRebateCalcDate | No | None | |
RebateProgramIdRebate program ID. Points to the rebate program type. | StringTAMVendRebateProgramId | No | TAMVendRebate.RebateProgramId | None |
RebateStatusStatus of the rebate: to be calculated, calculated, approved or completed. | EnumTAMVendRebateStatus (enum) | No | None | |
RebateValueValue of the rebate. Its meaning depends on the amount type. | RealTAMRebateValue | No | 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 | |
StartingRebateAmtRebate amount at the start. | RealTAMStartingRebateAmt | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupSales tax group. Points to the sales tax group. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupItem sales tax group. Points to the item sales tax group. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
VendAccountVendor account. Points to the vendor record. | String (20)VendAccount | No | VendTable.AccountNum | None |
VendInvoiceIdVendor invoice number. | String (50)VendInvoiceId | No | None | |
VendInvoiceJourRefRecIdSystem record ID of the vendor invoice journal. | Int64VendInvoiceJourRefRecId | No | VendInvoiceJour.RecId | None |
VendInvoiceTransRefRecIdSystem record ID of the posted vendor invoice line. | Int64VendInvoiceTransRefRecId | No | VendInvoiceTrans.RecId | None |
VendorRefVendor reference text. | String (30)TAMVendorRef | No | None | |
VendRebateAgreementLineRefRecIdSystem record ID of the rebate agreement line. | Int64TAMVendRebateAgreementLineRefRecId | No | TAMVendRebateAgreementLine.RecId | None |
VendRebateAgreementRefRecIdSystem record ID of the rebate agreement. | Int64TAMVendRebateAgreementRefRecId | No | TAMVendRebateAgreement.RecId | None |
VendRebateGroupIdVendor rebate group. Points to the vendor rebate group. | String (20)TAMVendRebateGroupId | No | TAMVendRebateGroup.VendRebateGroupId | None |
Indexes (6)
TAMVendRebateIdxReplacement keyUnique, alternate key.
TAMVendRebateAgreementIdxVendAccount,ItemId,VendRebateAgreementRefRecId,RebateCalcDateNot unique.
InventTransIdIdxNot unique.
TAMVendRefRecIdIdxVendInvoiceTransRefRecId,VendRebateAgreementRefRecIdNot unique.
ProcessDateStatusIdxNot unique.
RebateGroupStatusIdxVendRebateGroupId,RebateStatusNot unique.
Relations (20)
Each relation joins TAMVendRebateTable to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany TAMVendRebateTable records → exactly one Currency record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany TAMVendRebateTable records → zero or one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany TAMVendRebateTable records → exactly one InventTransOrigin record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany TAMVendRebateTable records → exactly one DimensionAttributeValueCombination record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany TAMVendRebateTable records → exactly one DimensionAttributeValueCombination record
PurchLineRef→PurchLineJoin on
PurchLineRefRecId = PurchLine.RecIdExactly one TAMVendRebateTable record → zero or one PurchLine record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany TAMVendRebateTable records → zero or one PurchTable record
PurchTableRef→PurchTableJoin on
PurchTableRefRecId = PurchTable.RecIdMany TAMVendRebateTable records → zero or one PurchTable record
TAMItemVendRebateGroup→TAMItemVendRebateGroupJoin on
ItemVendRebateGroupId = TAMItemVendRebateGroup.ItemVendRebateGroupIdMany TAMVendRebateTable records → zero or one TAMItemVendRebateGroup record
TAMVendRebate→TAMVendRebateJoin on
RebateProgramId = TAMVendRebate.RebateProgramIdMany TAMVendRebateTable records → zero or one TAMVendRebate record
TAMVendRebateAgreement→TAMVendRebateAgreementJoin on
VendRebateAgreementRefRecId = TAMVendRebateAgreement.RecIdMany TAMVendRebateTable records → zero or one TAMVendRebateAgreement record
TAMVendRebateAgreementLine→TAMVendRebateAgreementLineJoin on
VendRebateAgreementLineRefRecId = TAMVendRebateAgreementLine.RecIdMany TAMVendRebateTable records → zero or one TAMVendRebateAgreementLine record
TAMVendRebateGroup→TAMVendRebateGroupJoin on
VendRebateGroupId = TAMVendRebateGroup.VendRebateGroupIdMany TAMVendRebateTable records → zero or one TAMVendRebateGroup record
VendInvoiceJour→VendInvoiceJourJoin on
VendInvoiceJourRefRecId = VendInvoiceJour.RecIdMany TAMVendRebateTable records → zero or one VendInvoiceJour record
VendInvoiceTrans→VendInvoiceTransJoin on
VendInvoiceTransRefRecId = VendInvoiceTrans.RecIdMany TAMVendRebateTable records → zero or one VendInvoiceTrans record
VendTable→VendTableJoin on
VendAccount = VendTable.AccountNumMany TAMVendRebateTable records → zero or one VendTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany TAMVendRebateTable records → zero or one DimensionAttributeValueSet record
OffsetDefaultDimension→DimensionAttributeValueSetJoin on
OffsetDefaultDimension = DimensionAttributeValueSet.RecIdMany TAMVendRebateTable records → zero or one DimensionAttributeValueSet record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany TAMVendRebateTable records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany 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.