Table

PdsRebateTrans

Rebate transactions

Holds rebate transactions. Each row links to a rebate and, where relevant, to a ledger journal. It records an amount and the type of transaction, such as ledger journal processing, credit note processing or passing to accounts payable. The table has no defined key.

Table name
PdsRebateTrans
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
PdsRebate
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LedgerJournalIdLedger journal that the transaction relates to. It points to a ledger journal table record.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsRebateAmtAmount consumed by the transaction.Real
PdsRebateAmt
NoNone
PdsRebateIdRebate that the transaction belongs to. It points to a rebate record.String (12)
PdsRebateId
NoPdsRebateTable.PdsRebateIdNone
PdsRebateTransactionType of rebate transaction: ledger journal processing, credit note processing or passing to accounts payable.Enum
PdsRebateTransaction (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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • LedgerJournalTable → LedgerJournalTable

    Join on LedgerJournalId = LedgerJournalTable.JournalNum

    Many PdsRebateTrans records → zero or one LedgerJournalTable record

  • PdsRebateTable → PdsRebateTable

    Join on PdsRebateId = PdsRebateTable.PdsRebateId

    Many PdsRebateTrans records → exactly one PdsRebateTable record

Get this data out

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

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

Email sales@drdynamics.co.uk