Direct Debit Collection

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

Table Type: Company

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

Table Number: 1207

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 Direct Debit Collection can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [No_]
   ,[Identifier]
   ,[Created Date-Time]
   ,[Created by User]
   ,[Status]
   ,[To Bank Account No_]
   ,[Message ID]
   ,[Partner Type]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Direct Debit Collection$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Direct Debit Collection$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection]
LEFT JOIN
   [User] AS [User]
      ON
         [Direct Debit Collection].[Created By User] = [User].[User Name]
LEFT JOIN
   [CRONUS UK Ltd_$Email Message$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Email Message]
      ON
         [Direct Debit Collection].[Message Id] = [Email Message].[Id]
LEFT JOIN
   [User] AS [User]
      ON
         [Direct Debit Collection].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Direct Debit Collection].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Direct Debit Collection table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1No. SearchNo.NormalInteger4No_int
2Identifier Primary Key SearchIdentifierNormalCode20Identifiernvarchar(40)
3Created Date-Time SearchCreated Date-TimeNormalDateTime8Created Date-Timedatetime
4Created by User SearchCreated by UserNormalCode50Created by Usernvarchar(100)
Key to join to the User table.

Show/hide example query

SELECT
	       [Direct Debit Collection].[Created by User]
	       ,[User].[User Name]
	FROM
	       [CRONUS UK Ltd_$Direct Debit Collection$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Direct Debit Collection].[Created by User] = [User].[User Name]
5Status SearchStatusNormalOption4Statusint
Available options are:
  • “New”
  • “Canceled”
  • “File Created”
  • “Posted”
  • “Closed”
6No. of Transfers SearchNo. of TransfersFlowFieldInteger4
7To Bank Account No. SearchTo Bank Account No.NormalCode20To Bank Account No_nvarchar(40)
Key to join to the Bank Account table.

Show/hide example query

SELECT
	       [Direct Debit Collection].[To Bank Account No_]
	       ,[Bank Account].[No_]
	FROM
	       [CRONUS UK Ltd_$Direct Debit Collection$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection]
	LEFT JOIN
	       [CRONUS UK Ltd_$Bank Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bank Account]
	              ON
	                     [Direct Debit Collection].[To Bank Account No_] = [Bank Account].[No_]
8To Bank Account Name SearchTo Bank Account NameFlowFieldText100
9Message ID SearchMessage IDNormalCode35Message IDnvarchar(70)
Key to join to the Email Message table.

Show/hide example query

SELECT
	       [Direct Debit Collection].[Message ID]
	       ,[Email Message].[Id]
	FROM
	       [CRONUS UK Ltd_$Direct Debit Collection$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection]
	LEFT JOIN
	       [CRONUS UK Ltd_$Email Message$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Email Message]
	              ON
	                     [Direct Debit Collection].[Message ID] = [Email Message].[Id]
10Partner Type SearchPartner TypeNormalOption4Partner Typeint
Available options are:
  • ” “
  • “Company”
  • “Person”
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
	       [Direct Debit Collection].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Direct Debit Collection$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Direct Debit Collection].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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