Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/135
Table Type: Company
Table Name: Acc. Sched. KPI Web Srv. Setup
Database Table Name: CRONUS UK Ltd_$Acc_ Sched_ KPI Web Srv_ Setup$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 Acc. Sched. KPI Web Srv. Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Acc_ Sched_ KPI Web Srv_ Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Primary Key]
,[Forecasted Values Start]
,[G_L Budget Name]
,[Period]
,[View By]
,[Web Service Name]
,[Data Last Updated]
,[Last G_L Entry Included]
,[Data Time To Live (hours)]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Acc_ Sched_ KPI Web Srv_ Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Acc_ Sched_ KPI Web Srv_ Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Acc. Sched. KPI Web Srv. Setup]
LEFT JOIN
[User] AS [User]
ON
[Acc. Sched. KPI Web Srv. Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Acc. Sched. KPI Web Srv. Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Acc. Sched. KPI Web Srv. Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Primary Key | Primary Key | Normal | Code | 10 | Primary Key | nvarchar(20) |
2 | Forecasted Values Start | Forecasted Values Start | Normal | Option | 4 | Forecasted Values Start | int |
Available options are:
| |||||||
3 | G/L Budget Name | G/L Budget Name | Normal | Code | 10 | G_L Budget Name | nvarchar(20) |
4 | Period | Period | Normal | Option | 4 | Period | int |
Available options are:
| |||||||
5 | View By | View By | Normal | Option | 4 | View By | int |
Available options are:
| |||||||
6 | Web Service Name | Web Service Name | Normal | Text | 240 | Web Service Name | nvarchar(480) |
7 | Published | Published | FlowField | Boolean | 4 | ||
8 | Data Last Updated | Data Last Updated | Normal | DateTime | 8 | Data Last Updated | datetime |
9 | Last G/L Entry Included | Last G/L Entry Included | Normal | Integer | 4 | Last G_L Entry Included | int |
10 | Data Time To Live (hours) | Data Time To Live (hours) | Normal | Integer | 4 | Data Time To Live (hours) | int |
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 [Acc. Sched. KPI Web Srv. Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Acc_ Sched_ KPI Web Srv_ Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Acc. Sched. KPI Web Srv. Setup] LEFT JOIN [User] AS [User] ON [Acc. Sched. KPI Web Srv. Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |