Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4750
Table Type: Company
Table Name: Recommended Apps
Database Table Name: CRONUS UK Ltd_$Recommended Apps$a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8
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 Recommended Apps can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Recommended Apps$a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8]
Show/hide an example select of all columns by name
SELECT
[Id]
,[SortingId]
,[Name]
,[Publisher]
,[Short Description]
,[Long Description]
,[Logo]
,[Recommended By]
,[Language Code]
,[PubId]
,[AId]
,[PAppId]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Recommended Apps$a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Recommended Apps$a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8] AS [Recommended Apps]
LEFT JOIN
[CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
ON
[Recommended Apps].[Language Code] = [Language].[Code]
LEFT JOIN
[User] AS [User]
ON
[Recommended Apps].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Recommended Apps].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Recommended Apps table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Id | Id | Normal | GUID | 16 | Id | uniqueidentifier |
2 | SortingId | Id | Normal | Integer | 4 | SortingId | int |
3 | Name | Name | Normal | Text | 250 | Name | nvarchar(500) |
4 | Publisher | Publisher | Normal | Text | 250 | Publisher | nvarchar(500) |
5 | Short Description | Short Description | Normal | Text | 250 | Short Description | nvarchar(500) |
6 | Long Description | Long Description | Normal | Text | 2048 | Long Description | nvarchar(4096) |
7 | Logo | Logo | Normal | Media | 16 | Logo | uniqueidentifier |
8 | Recommended By | Recommended By | Normal | Option | 4 | Recommended By | int |
Available options are:
| |||||||
9 | Language Code | Language Code | Normal | Text | 5 | Language Code | nvarchar(10) |
Key to join to the Language table.Show/hide example querySELECT [Recommended Apps].[Language Code] ,[Language].[Code] FROM [CRONUS UK Ltd_$Recommended Apps$a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8] AS [Recommended Apps] LEFT JOIN [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language] ON [Recommended Apps].[Language Code] = [Language].[Code] | |||||||
10 | PubId | PubId | Normal | Text | 100 | PubId | nvarchar(200) |
11 | AId | AId | Normal | Text | 100 | AId | nvarchar(200) |
12 | PAppId | PAppId | Normal | Text | 100 | PAppId | nvarchar(200) |
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 [Recommended Apps].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Recommended Apps$a53a4bb0-aa53-8ff8-77d6-fe3388db0eb8] AS [Recommended Apps] LEFT JOIN [User] AS [User] ON [Recommended Apps].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |