Table

PdsRebateCustInvoiceTrans

Customer invoice rebate lines

Holds rebate-related details for customer invoice lines, one record per invoice line. It copies sales line dates and the item, customer and TMA rebate groups. A BI entity reads it.

Table name
PdsRebateCustInvoiceTrans
Module
Sales and marketing
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
PdsRebate
Primary index
None
Replacement key
CustInvoiceTransRecIdx
Key fields
CustInvoiceTransRecId
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceTransRecIdThe customer invoice line that the record relates to.Int64
CustInvoiceTransRecId
YesCustInvoiceTrans.RecIdPDSRebateCustInvoiceTransBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoPDSRebateCustInvoiceTransBiEntity
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
NoPDSRebateCustInvoiceTransBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoPDSRebateCustInvoiceTransBiEntity
SalesLineCreatedDateThe creation date of the sales line.Date
CreationDate
YesPDSRebateCustInvoiceTransBiEntity
SalesLinePdsExcludeFromRebateYes/no flag showing whether the line is excluded from rebates.Enum
PdsExcludeFromRebate
NoYes (enum)
NoPDSRebateCustInvoiceTransBiEntity
SalesLinePdsItemRebateGroupIdThe item rebate group of the sales line.String
PdsItemRebateGroupId
NoPdsItemRebateGroup.PdsItemRebateGroupIdPDSRebateCustInvoiceTransBiEntity
SalesLineReceiptDateRequestedThe requested receipt date of the sales line.Date
SalesReceiptDateRequested
NoPDSRebateCustInvoiceTransBiEntity
SalesLineShippingDateRequestedThe requested ship date of the sales line.Date
SalesShippingDateRequested
YesPDSRebateCustInvoiceTransBiEntity
SalesTablePdsCustRebateGroupIdThe customer rebate group of the sales order.String (20)
PdsCustRebateGroupId
NoPdsCustRebateGroup.PdsCustRebateGroupIdPDSRebateCustInvoiceTransBiEntity
SalesTablePdsRebateProgramTMAGroupThe customer TMA group of the sales order.String
PdsRebateProgramTMAGroup
NoPdsRebateProgramTMATable.PdsRebateProgramTMAGroupPDSRebateCustInvoiceTransBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoPDSRebateCustInvoiceTransBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • CustInvoiceTrans → CustInvoiceTrans

    Join on CustInvoiceTransRecId = CustInvoiceTrans.RecId

    Zero or one PdsRebateCustInvoiceTrans record → exactly one CustInvoiceTrans record

  • PdsCustRebateGroup → PdsCustRebateGroup

    Join on SalesTablePdsCustRebateGroupId = PdsCustRebateGroup.PdsCustRebateGroupId

    Many PdsRebateCustInvoiceTrans records → zero or one PdsCustRebateGroup record

  • PdsItemRebateGroup → PdsItemRebateGroup

    Join on SalesLinePdsItemRebateGroupId = PdsItemRebateGroup.PdsItemRebateGroupId

    Many PdsRebateCustInvoiceTrans records → zero or one PdsItemRebateGroup record

  • PdsRebateProgramTMATable → PdsRebateProgramTMATable

    Join on SalesTablePdsRebateProgramTMAGroup = PdsRebateProgramTMATable.PdsRebateProgramTMAGroup

    Many PdsRebateCustInvoiceTrans records → zero or one PdsRebateProgramTMATable record

Get this data out

Tables are not exposed directly. These public entities read from PdsRebateCustInvoiceTrans; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk