Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/850
Table Type: Company
Table Name: Cash Flow Manual Expense
Database Table Name: CRONUS UK Ltd_$Cash Flow Manual Expense$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 Cash Flow Manual Expense can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Cash Flow Manual Expense$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Code]
,[Cash Flow Account No_]
,[Description]
,[Starting Date]
,[Ending Date]
,[Recurring Frequency]
,[Amount]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Cash Flow Manual Expense$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Cash Flow Manual Expense$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Manual Expense]
LEFT JOIN
[CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period]
ON
[Cash Flow Manual Expense].[Ending Date] = [Inventory Period].[Ending Date]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Cash Flow Manual Expense].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Cash Flow Manual Expense].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[User] AS [User]
ON
[Cash Flow Manual Expense].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Cash Flow Manual Expense].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Cash Flow Manual Expense table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
2 | Code | Code | Normal | Code | 10 | Code | nvarchar(20) |
3 | Cash Flow Account No. | Cash Flow Account No. | Normal | Code | 20 | Cash Flow Account No_ | nvarchar(40) |
Key to join to the Cash Flow Account table.Show/hide example querySELECT [Cash Flow Manual Expense].[Cash Flow Account No_] ,[Cash Flow Account].[No_] FROM [CRONUS UK Ltd_$Cash Flow Manual Expense$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Manual Expense] LEFT JOIN [CRONUS UK Ltd_$Cash Flow Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Account] ON [Cash Flow Manual Expense].[Cash Flow Account No_] = [Cash Flow Account].[No_] | |||||||
4 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
5 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
6 | Ending Date | Ending Date | Normal | Date | 4 | Ending Date | datetime |
Key to join to the Inventory Period table.Show/hide example querySELECT [Cash Flow Manual Expense].[Ending Date] ,[Inventory Period].[Ending Date] FROM [CRONUS UK Ltd_$Cash Flow Manual Expense$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Manual Expense] LEFT JOIN [CRONUS UK Ltd_$Inventory Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Period] ON [Cash Flow Manual Expense].[Ending Date] = [Inventory Period].[Ending Date] | |||||||
7 | Recurring Frequency | Recurring Frequency | Normal | DateFormula | 32 | Recurring Frequency | varchar(32) |
8 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
9 | Global Dimension 1 Code | Global Dimension 1 Code | Normal | Code | 20 | Global Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Cash Flow Manual Expense].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Cash Flow Manual Expense$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Manual Expense] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Cash Flow Manual Expense].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
10 | Global Dimension 2 Code | Global Dimension 2 Code | Normal | Code | 20 | Global Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Cash Flow Manual Expense].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Cash Flow Manual Expense$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Manual Expense] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Cash Flow Manual Expense].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
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 [Cash Flow Manual Expense].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Cash Flow Manual Expense$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cash Flow Manual Expense] LEFT JOIN [User] AS [User] ON [Cash Flow Manual Expense].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |