Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1692
Table Type: Company
Table Name: Posted Bank Deposit Line
Database Table Name: CRONUS UK Ltd_$Posted Bank Deposit Line$7a129d06-5fd6-4fb6-b82b-0bf539c779d0
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 Posted Bank Deposit Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Posted Bank Deposit Line$7a129d06-5fd6-4fb6-b82b-0bf539c779d0]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Bank Deposit No_]
,[Line No_]
,[Account Type]
,[Account No_]
,[Document Date]
,[Document Type]
,[Document No_]
,[Description]
,[Currency Code]
,[Amount]
,[Posting Group]
,[Shortcut Dimension 1 Code]
,[Shortcut Dimension 2 Code]
,[Posting Date]
,[Bank Account Ledger Entry No_]
,[Entry No_]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Posted Bank Deposit Line$7a129d06-5fd6-4fb6-b82b-0bf539c779d0]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Posted Bank Deposit Line$7a129d06-5fd6-4fb6-b82b-0bf539c779d0] AS [Posted Bank Deposit Line]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Posted Bank Deposit Line].[Currency Code] = [Currency].[Code]
Show/hide columns in Posted Bank Deposit Line table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Bank Deposit No_ ![]() ![]() | nvarchar(40) | ||||
3 | Line No_ ![]() ![]() | int | ||||
4 | Account Type ![]() | int | ||||
5 | Account No_ ![]() | nvarchar(40) | ||||
6 | Document Date ![]() | datetime | ||||
7 | Document Type ![]() | int | ||||
8 | Document No_ ![]() | nvarchar(40) | ||||
9 | Description ![]() | nvarchar(200) | ||||
10 | Currency Code ![]() | nvarchar(20) | ||||
Key to join to the Currency table.Show/hide example querySELECT
[Posted Bank Deposit Line].[Currency Code]
,[Currency].[Code]
FROM
[CRONUS UK Ltd_$Posted Bank Deposit Line$7a129d06-5fd6-4fb6-b82b-0bf539c779d0] AS [Posted Bank Deposit Line]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Posted Bank Deposit Line].[Currency Code] = [Currency].[Code] | ||||||
11 | Amount ![]() | decimal(38,38) | ||||
12 | Posting Group ![]() | nvarchar(40) | ||||
13 | Shortcut Dimension 1 Code ![]() | nvarchar(40) | ||||
14 | Shortcut Dimension 2 Code ![]() | nvarchar(40) | ||||
15 | Posting Date ![]() | datetime | ||||
16 | Bank Account Ledger Entry No_ ![]() | int | ||||
17 | Entry No_ ![]() | int | ||||
18 | Dimension Set ID ![]() | int | ||||
19 | $systemId ![]() | uniqueidentifier | ||||
20 | $systemCreatedAt ![]() | datetime | ||||
21 | $systemCreatedBy ![]() | uniqueidentifier | ||||
22 | $systemModifiedAt ![]() | datetime | ||||
23 | $systemModifiedBy ![]() | uniqueidentifier |