Table

PdsRebateItem

Rebate items

Lists the items covered by a rebate agreement. The key combines the agreement reference, the inventory dimension, the item and the unit. It links to rebate agreements, items and inventory dimensions.

Table name
PdsRebateItem
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
PdsRebate
Primary index
None
Replacement key
RebateItemIdx
Key fields
RebateAgreementRefRecId, InventDimID, ItemID, UnitID
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RebateAgreementRefRecIdSystem record ID of the rebate agreement that the item belongs to.Int64
PdsRebateAgreementRefRecId
YesPdsRebateAgreement.RecIdNone
InventDimIDInventory dimension combination for the item. It points to an inventory dimension record.String (20)
InventDimId
YesInventDim.inventDimIdNone
ItemIDItem covered by the rebate agreement. It points to an item.String (20)
ItemId
YesInventTable.ItemIdNone
UnitIDUnit of measure for the item.String
UnitOfMeasureSymbol
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • InventDim → InventDim

    Join on InventDimID = InventDim.inventDimId

    Many PdsRebateItem records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemID = InventTable.ItemId

    Many PdsRebateItem records → exactly one InventTable record

  • PdsRebateAgreement → PdsRebateAgreement

    Join on RebateAgreementRefRecId = PdsRebateAgreement.RecId

    Many PdsRebateItem records → exactly one PdsRebateAgreement record

Get this data out

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

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

Email sales@drdynamics.co.uk