Table

PdsRebateParameters

Rebate module parameters

Holds the setup values for the rebate feature. It has a single record, identified by a fixed key. It stores the ledger journal names used for several rebate postings, a payment term for invoices, and some yes/no options and a starting weekday.

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

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
KeyFixed key of the single parameter record.Integer
ParametersKey
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ManualPaymPostYes/No option labelled 'Manual posting'. The metadata does not say more.low confidenceEnum
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsARConsumptionJournalIdJournal name used for the accounts receivable consumption journal. It points to a ledger journal name.String
PdsARConsumptionJournalId
NoLedgerJournalName.JournalNameNone
PdsFreightJournalIdJournal name used for the freight journal. It points to a ledger journal name.String
PdsFreightJournalId
NoLedgerJournalName.JournalNameNone
PdsInvoiceJournalNameIdJournal name used for the accounts payable invoice journal. It points to a ledger journal name.String
LedgerJournalNameId
NoLedgerJournalName.JournalNameNone
PdsInvoiceJournalPaymentTermPayment terms used on the invoice. It points to a terms of payment record.String (100)
PaymTermId
NoPaymTerm.PaymTermIdNone
PdsLedgerAccrualJournalNameIdJournal name used for the rebate accrual journal. It points to a ledger journal name.String
PdsLedgerAccrualJournalId
NoLedgerJournalName.JournalNameNone
PdsRebateAtInvoicingYes/No option for handling rebates at the invoicing stage.Enum
PdsRebateAtInvoicing
NoYes (enum)
NoNone
PdsRebateSummarizeMultipleAccountsYes/No option that lets bill-back rebates from several customer accounts be put on one credit note for a single customer.Enum
PdsRebateSummarizeMultipleAccounts
NoYes (enum)
NoNone
PdsStartingDayOfWeekPeriodWeekday on which a weekly period starts, from Monday to Sunday, or None.Enum
WeekDays (enum)
NoNone
PdsTradeSpendingJournalNameIdJournal name used for the trade spending journal. It points to a ledger journal name.String
PdsTradeSpendingJournalId
NoLedgerJournalName.JournalNameNone
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)

  • KeyIdxPrimary index

    Key

    Unique, alternate key.

Relations (6)

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

  • ARConsumptionJournal → LedgerJournalName

    Join on PdsARConsumptionJournalId = LedgerJournalName.JournalName

    Many PdsRebateParameters records → zero or one LedgerJournalName record

  • FreightJournal → LedgerJournalName

    Join on PdsFreightJournalId = LedgerJournalName.JournalName, LedgerJournalName.JournalType = LedgerJournalType::Daily

    Many PdsRebateParameters records → zero or one LedgerJournalName record

  • InvoiceJournalName → LedgerJournalName

    Join on LedgerJournalName.JournalType = LedgerJournalType::VendInvoiceRegister, PdsInvoiceJournalNameId = LedgerJournalName.JournalName

    Many PdsRebateParameters records → zero or one LedgerJournalName record

  • LedgerAccrualJournal → LedgerJournalName

    Join on LedgerJournalName.JournalType = LedgerJournalType::Daily, PdsLedgerAccrualJournalNameId = LedgerJournalName.JournalName

    Many PdsRebateParameters records → zero or one LedgerJournalName record

  • PaymTerm → PaymTerm

    Join on PdsInvoiceJournalPaymentTerm = PaymTerm.PaymTermId

    Many PdsRebateParameters records → zero or one PaymTerm record

  • TradeSpendingJournal → LedgerJournalName

    Join on LedgerJournalName.JournalType = LedgerJournalType::Daily, PdsTradeSpendingJournalNameId = LedgerJournalName.JournalName

    Many PdsRebateParameters records → zero or one LedgerJournalName record

Get this data out

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

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

Email sales@drdynamics.co.uk