Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1208
Table Type: Company
Table Name: Direct Debit Collection Entry
Database Table Name: CRONUS UK Ltd_$Direct Debit Collection Entry$437dbf0e-84ff-417a-965d-ed2bb9650972
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 Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Direct Debit Collection Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Direct Debit Collection No_]
,[Entry No_]
,[Customer No_]
,[Applies-to Entry No_]
,[Transfer Date]
,[Currency Code]
,[Transfer Amount]
,[Transaction ID]
,[Sequence Type]
,[Status]
,[Mandate ID]
,[Message to Recipient]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Direct Debit Collection Entry$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 Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection Entry]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Direct Debit Collection Entry].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Direct Debit Collection Entry].[Applies-to Entry Currency Code] = [Currency].[Code]
LEFT JOIN
[User] AS [User]
ON
[Direct Debit Collection Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Direct Debit Collection Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Direct Debit Collection Entry table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Direct Debit Collection No. | Direct Debit Collection No. | Normal | Integer | 4 | Direct Debit Collection No_ | int |
Key to join to the Direct Debit Collection table.Show/hide example querySELECT [Direct Debit Collection Entry].[Direct Debit Collection No_] ,[Direct Debit Collection].[No_] FROM [CRONUS UK Ltd_$Direct Debit Collection Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection Entry] LEFT JOIN [CRONUS UK Ltd_$Direct Debit Collection$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection] ON [Direct Debit Collection Entry].[Direct Debit Collection No_] = [Direct Debit Collection].[No_] | |||||||
2 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
3 | Customer No. | Customer No. | Normal | Code | 20 | Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example querySELECT [Direct Debit Collection Entry].[Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Direct Debit Collection Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection Entry] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Direct Debit Collection Entry].[Customer No_] = [Customer].[No_] | |||||||
4 | Applies-to Entry No. | Applies-to Entry No. | Normal | Integer | 4 | Applies-to Entry No_ | int |
5 | Transfer Date | Transfer Date | Normal | Date | 4 | Transfer Date | datetime |
6 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Direct Debit Collection Entry].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Direct Debit Collection Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection Entry] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Direct Debit Collection Entry].[Currency Code] = [Currency].[Code] | |||||||
7 | Transfer Amount | Transfer Amount | Normal | Decimal | 12 | Transfer Amount | decimal(38,38) |
8 | Transaction ID | Transaction ID | Normal | Text | 35 | Transaction ID | nvarchar(70) |
9 | Sequence Type | Sequence Type | Normal | Option | 4 | Sequence Type | int |
Available options are:
| |||||||
10 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
11 | Mandate ID | Mandate ID | Normal | Code | 35 | Mandate ID | nvarchar(70) |
12 | Mandate Type of Payment | Mandate Type of Payment | FlowField | Option | 4 | ||
13 | Customer Name | Customer Name | FlowField | Text | 100 | ||
14 | Applies-to Entry Document No. | Applies-to Entry Document No. | FlowField | Code | 20 | ||
15 | Applies-to Entry Description | Applies-to Entry Description | FlowField | Text | 100 | ||
16 | Applies-to Entry Posting Date | Applies-to Entry Posting Date | FlowField | Date | 4 | ||
17 | Applies-to Entry Currency Code | Applies-to Entry Currency Code | FlowField | Code | 10 | ||
Key to join to the Currency table.Show/hide example querySELECT [Direct Debit Collection Entry].[] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Direct Debit Collection Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection Entry] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Direct Debit Collection Entry].[] = [Currency].[Code] | |||||||
18 | Applies-to Entry Amount | Applies-to Entry Amount | FlowField | Decimal | 12 | ||
19 | Applies-to Entry Rem. Amount | Applies-to Entry Rem. Amount | FlowField | Decimal | 12 | ||
20 | Applies-to Entry Open | Applies-to Entry Open | FlowField | Boolean | 4 | ||
21 | Direct Debit Collection Status | Direct Debit Collection Status | FlowField | Option | 4 | ||
22 | Payment Reference | Payment Reference | FlowField | Code | 50 | ||
23 | Message to Recipient | Message to Recipient | Normal | Text | 140 | Message to Recipient | nvarchar(280) |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Direct Debit Collection Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Direct Debit Collection Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Direct Debit Collection Entry] LEFT JOIN [User] AS [User] ON [Direct Debit Collection Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |