Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/276
Table Type: Company
Table Name: Bank Account Statement Line
Database Table Name: CRONUS UK Ltd_$Bank Account Statement Line$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 Bank Account Statement Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Bank Account Statement Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Bank Account No_]
,[Statement No_]
,[Statement Line No_]
,[Document No_]
,[Transaction Date]
,[Description]
,[Statement Amount]
,[Difference]
,[Applied Amount]
,[Type]
,[Applied Entries]
,[Value Date]
,[Check No_]
,[Transaction ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Bank Account Statement Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Bank Account Statement Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bank Account Statement Line]
LEFT JOIN
[User] AS [User]
ON
[Bank Account Statement Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Bank Account Statement Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Bank Account Statement Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Bank Account No. | Bank Account No. | Normal | Code | 20 | Bank Account No_ | nvarchar(40) |
Key to join to the Bank Account table.Show/hide example querySELECT [Bank Account Statement Line].[Bank Account No_] ,[Bank Account].[No_] FROM [CRONUS UK Ltd_$Bank Account Statement Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bank Account Statement Line] LEFT JOIN [CRONUS UK Ltd_$Bank Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bank Account] ON [Bank Account Statement Line].[Bank Account No_] = [Bank Account].[No_] | |||||||
2 | Statement No. | Statement No. | Normal | Code | 20 | Statement No_ | nvarchar(40) |
3 | Statement Line No. | Statement Line No. | Normal | Integer | 4 | Statement Line No_ | int |
4 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
5 | Transaction Date | Transaction Date | Normal | Date | 4 | Transaction Date | datetime |
6 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
7 | Statement Amount | Statement Amount | Normal | Decimal | 12 | Statement Amount | decimal(38,38) |
8 | Difference | Difference | Normal | Decimal | 12 | Difference | decimal(38,38) |
9 | Applied Amount | Applied Amount | Normal | Decimal | 12 | Applied Amount | decimal(38,38) |
10 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
11 | Applied Entries | Applied Entries | Normal | Integer | 4 | Applied Entries | int |
12 | Value Date | Value Date | Normal | Date | 4 | Value Date | datetime |
14 | Check No. | Check No. | Normal | Code | 20 | Check No_ | nvarchar(40) |
70 | Transaction ID | Transaction ID | Normal | Text | 50 | Transaction ID | nvarchar(100) |
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 [Bank Account Statement Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Bank Account Statement Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bank Account Statement Line] LEFT JOIN [User] AS [User] ON [Bank Account Statement Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |