Table

CustDirectDebitMandate

Customer direct debit mandates

Holds direct debit mandates for customers. Each mandate has a scheme, a status, signature and expiry dates, and the customer and creditor bank accounts. It also stores usage counts and the days needed for submission and pre-notification. It is keyed by the mandate ID.

Table name
CustDirectDebitMandate
Module
Accounts receivable
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
MandateReferenceIdx
Key fields
MandateReference
Model
Foundation

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
MandateReferenceUnique ID of the mandate.String (35)
CustMandateId
YesCustDirectDebitMandateEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 5 more
BankAccountCustomer bank account used by the mandate.String
CustBankAccountId
NoCustBankAccount.AccountIDCustDirectDebitMandateEntity
BankSubmissionDaysFirstNumber of days needed for the first bank submission.Integer
CustBankSubmissionDays
NoCustDirectDebitMandateEntity
BankSubmissionDaysRecurringNumber of days needed for later bank submissions.Integer
CustBankSubmissionDays
NoCustDirectDebitMandateEntity
CancellationDateDate on which the mandate was cancelled.Date
CustMandateCancellationDate
NoCustDirectDebitMandateEntity
CreditorBankAccountCompany bank account that receives the payments. Points to a bank account record.String
CompanyBankAccountId
YesBankAccountTable.AccountIDCustDirectDebitMandateEntity
CustAccountCustomer the mandate belongs to. Points to the customer record.String (20)
CustAccount
YesCustTable.AccountNumCustDirectDebitMandateEntity
CustomerAddressCustomer address linked to the mandate. Points to an address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpectedUsageCountNumber of payments expected under the mandate.Integer
CustMandateExpectedUsageCount
NoCustDirectDebitMandateEntity
ExpirationDateDate on which the mandate expires.Date
ExpirationDate
NoCustDirectDebitMandateEntity
IsFirstYes/no flag for whether the next use is the first.Enum
NoYesId
NoYes (enum)
NoCustDirectDebitMandateEntity
LastLogNumCounter value of the last log entry.Integer
Counter
NoNone
MandatePaymentTypeWhether the mandate is for recurring or one-time payments.Enum
CustMandatePaymentType (enum)
NoCustDirectDebitMandateEntity
MandateSchemeDirect debit scheme: Core, B2B or COR1.Enum
CustMandateScheme (enum)
NoCustDirectDebitMandateEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrenotificationDaysFirstNumber of days needed for the first pre-notification.Integer
CustPrenotificationDays
NoCustDirectDebitMandateEntity
PrenotificationDaysRecurringNumber of days needed for later pre-notifications.Integer
CustPrenotificationDays
NoCustDirectDebitMandateEntity
PreviousExpirationDateEarlier expiry date of the mandate.Date
ExpirationDate
NoNone
PreviousIBANIBAN that was used before.String (48)
BankIBAN
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
SignatureDateDate on which the mandate was signed.Date
CustMandateSignatureDate
NoCustDirectDebitMandateEntity
SignatureLocationCity where the mandate was signed.String (60)
LogisticsAddressCityName
NoCustDirectDebitMandateEntity
StatusCurrent status of the mandate, such as new, active, expired or cancelled.Enum
CustMandateStatus (enum)
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
UsageCountNumber of times the mandate has been used.Integer
CustMandateUsageCount
NoCustDirectDebitMandateEntity

Indexes (4)

Relations (4)

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

  • CustBankAccount → CustBankAccount

    Join on CustAccount = CustBankAccount.CustAccount, BankAccount = CustBankAccount.AccountID

    Many CustDirectDebitMandate records → zero or one CustBankAccount record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many CustDirectDebitMandate records → exactly one CustTable record

  • LogisticsPostalAddress → LogisticsPostalAddress

    Join on CustomerAddress = LogisticsPostalAddress.RecId

    Many CustDirectDebitMandate records → zero or one LogisticsPostalAddress record

  • BankAccountTable → BankAccountTable

    Join on CreditorBankAccount = BankAccountTable.AccountID

    Many CustDirectDebitMandate records → zero or one BankAccountTable record

Get this data out

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

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

Email sales@drdynamics.co.uk