SEPA Direct Debit Mandate

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1230

Table Type: Company

Table Name: SEPA Direct Debit Mandate
Database Table Name: CRONUS UK Ltd_$SEPA Direct Debit Mandate$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 1230

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how SEPA Direct Debit Mandate can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$SEPA Direct Debit Mandate$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [ID]
   ,[Customer No_]
   ,[Customer Bank Account Code]
   ,[Valid From]
   ,[Valid To]
   ,[Date of Signature]
   ,[Type of Payment]
   ,[Blocked]
   ,[Expected Number of Debits]
   ,[Debit Counter]
   ,[No_ Series]
   ,[Closed]
   ,[Ignore Exp_ Number of Debits]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$SEPA Direct Debit Mandate$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$SEPA Direct Debit Mandate$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [SEPA Direct Debit Mandate]
LEFT JOIN
   [User] AS [User]
      ON
         [SEPA Direct Debit Mandate].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [SEPA Direct Debit Mandate].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in SEPA Direct Debit Mandate table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1ID Primary Key SearchIDNormalCode35IDnvarchar(70)
2Customer No. SearchCustomer No.NormalCode20Customer No_nvarchar(40)
Key to join to the Customer table.

Show/hide example query

SELECT
       [SEPA Direct Debit Mandate].[Customer No_]
       ,[Customer].[No_]
FROM
       [CRONUS UK Ltd_$SEPA Direct Debit Mandate$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [SEPA Direct Debit Mandate]
LEFT JOIN
       [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer]
              ON
                     [SEPA Direct Debit Mandate].[Customer No_] = [Customer].[No_]
3Customer Bank Account Code SearchCustomer Bank Account CodeNormalCode20Customer Bank Account Codenvarchar(40)
4Valid From SearchValid FromNormalDate4Valid Fromdatetime
5Valid To SearchValid ToNormalDate4Valid Todatetime
6Date of Signature SearchDate of SignatureNormalDate4Date of Signaturedatetime
7Type of Payment SearchType of PaymentNormalOption4Type of Paymentint
Available options are:
  • “OneOff”
  • “Recurrent”
8Blocked SearchBlockedNormalBoolean4Blockedtinyint
9Expected Number of Debits SearchExpected Number of DebitsNormalInteger4Expected Number of Debitsint
10Debit Counter SearchDebit CounterNormalInteger4Debit Counterint
11No. Series SearchNo. SeriesNormalCode20No_ Seriesnvarchar(40)
Key to join to the No. Series table.

Show/hide example query

SELECT
       [SEPA Direct Debit Mandate].[No_ Series]
       ,[No. Series].[Code]
FROM
       [CRONUS UK Ltd_$SEPA Direct Debit Mandate$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [SEPA Direct Debit Mandate]
LEFT JOIN
       [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series]
              ON
                     [SEPA Direct Debit Mandate].[No_ Series] = [No. Series].[Code]
12Closed SearchClosedNormalBoolean4Closedtinyint
13Ignore Exp. Number of Debits SearchIgnore Expected Number of DebitsNormalBoolean4Ignore Exp_ Number of Debitstinyint
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [SEPA Direct Debit Mandate].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$SEPA Direct Debit Mandate$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [SEPA Direct Debit Mandate]
LEFT JOIN
       [User] AS [User]
              ON
                     [SEPA Direct Debit Mandate].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [SEPA Direct Debit Mandate].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$SEPA Direct Debit Mandate$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [SEPA Direct Debit Mandate]
LEFT JOIN
       [User] AS [User]
              ON
                     [SEPA Direct Debit Mandate].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

Your email address will not be published. Required fields are marked *