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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
MandateReferenceUnique ID of the mandate. | String (35)CustMandateId | Yes | CustDirectDebitMandateEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 5 more | |
BankAccountCustomer bank account used by the mandate. | StringCustBankAccountId | No | CustBankAccount.AccountID | CustDirectDebitMandateEntity |
BankSubmissionDaysFirstNumber of days needed for the first bank submission. | IntegerCustBankSubmissionDays | No | CustDirectDebitMandateEntity | |
BankSubmissionDaysRecurringNumber of days needed for later bank submissions. | IntegerCustBankSubmissionDays | No | CustDirectDebitMandateEntity | |
CancellationDateDate on which the mandate was cancelled. | DateCustMandateCancellationDate | No | CustDirectDebitMandateEntity | |
CreditorBankAccountCompany bank account that receives the payments. Points to a bank account record. | StringCompanyBankAccountId | Yes | BankAccountTable.AccountID | CustDirectDebitMandateEntity |
CustAccountCustomer the mandate belongs to. Points to the customer record. | String (20)CustAccount | Yes | CustTable.AccountNum | CustDirectDebitMandateEntity |
CustomerAddressCustomer address linked to the mandate. Points to an address record. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpectedUsageCountNumber of payments expected under the mandate. | IntegerCustMandateExpectedUsageCount | No | CustDirectDebitMandateEntity | |
ExpirationDateDate on which the mandate expires. | DateExpirationDate | No | CustDirectDebitMandateEntity | |
IsFirstYes/no flag for whether the next use is the first. | EnumNoYesIdNoYes (enum) | No | CustDirectDebitMandateEntity | |
LastLogNumCounter value of the last log entry. | IntegerCounter | No | None | |
MandatePaymentTypeWhether the mandate is for recurring or one-time payments. | EnumCustMandatePaymentType (enum) | No | CustDirectDebitMandateEntity | |
MandateSchemeDirect debit scheme: Core, B2B or COR1. | EnumCustMandateScheme (enum) | No | CustDirectDebitMandateEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrenotificationDaysFirstNumber of days needed for the first pre-notification. | IntegerCustPrenotificationDays | No | CustDirectDebitMandateEntity | |
PrenotificationDaysRecurringNumber of days needed for later pre-notifications. | IntegerCustPrenotificationDays | No | CustDirectDebitMandateEntity | |
PreviousExpirationDateEarlier expiry date of the mandate. | DateExpirationDate | No | None | |
PreviousIBANIBAN that was used before. | String (48)BankIBAN | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SignatureDateDate on which the mandate was signed. | DateCustMandateSignatureDate | No | CustDirectDebitMandateEntity | |
SignatureLocationCity where the mandate was signed. | String (60)LogisticsAddressCityName | No | CustDirectDebitMandateEntity | |
StatusCurrent status of the mandate, such as new, active, expired or cancelled. | EnumCustMandateStatus (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UsageCountNumber of times the mandate has been used. | IntegerCustMandateUsageCount | No | CustDirectDebitMandateEntity |
Indexes (4)
MandateReferenceIdxReplacement keyUnique, alternate key.
CustTableIdxNot unique.
CustBankAccountIdxNot unique.
LogisticsPostalAddressIdxNot unique.
Relations (4)
Each relation joins CustDirectDebitMandate to another table on the fields shown.
CustBankAccount→CustBankAccountJoin on
CustAccount = CustBankAccount.CustAccount,BankAccount = CustBankAccount.AccountIDMany CustDirectDebitMandate records → zero or one CustBankAccount record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany CustDirectDebitMandate records → exactly one CustTable record
LogisticsPostalAddress→LogisticsPostalAddressJoin on
CustomerAddress = LogisticsPostalAddress.RecIdMany CustDirectDebitMandate records → zero or one LogisticsPostalAddress record
BankAccountTable→BankAccountTableJoin on
CreditorBankAccount = BankAccountTable.AccountIDMany 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.
CustDirectDebitMandateEntity· 17 fields from this tableSalesOrderHeaderV4Entity· 1 field from this tableSalesOrderHeaderV3Entity· 1 field from this tableSalesOrderHeaderV2Entity· 1 field from this tableSalesOrderHeaderEntity· 1 field from this tableSalesOrderHeaderV2ExistAddrReadOnlyEntity· 1 field from this tableSalesOrderHeaderV3ExistAddrReadOnlyEntity· 1 field from this tableFreeTextInvoiceHeaderEntity· 1 field from this table
Need help with CustDirectDebitMandate in a report, an integration or a migration? Talk to Dr Dynamics.