Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5069
Table Type: Company
Table Name: Salutation Formula
Database Table Name: CRONUS UK Ltd_$Salutation Formula$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 Salutation Formula can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Salutation Formula$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Salutation Code]
,[Language Code]
,[Salutation Type]
,[Salutation]
,[Name 1]
,[Name 2]
,[Name 3]
,[Name 4]
,[Name 5]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Salutation Formula$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Salutation Formula$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salutation Formula]
LEFT JOIN
[CRONUS UK Ltd_$Salutation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salutation]
ON
[Salutation Formula].[Salutation Code] = [Salutation].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language]
ON
[Salutation Formula].[Language Code] = [Language].[Code]
LEFT JOIN
[User] AS [User]
ON
[Salutation Formula].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Salutation Formula].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Salutation Formula table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Salutation Code | Salutation Code | Normal | Code | 10 | Salutation Code | nvarchar(20) |
Key to join to the Salutation table.Show/hide example querySELECT [Salutation Formula].[Salutation Code] ,[Salutation].[Code] FROM [CRONUS UK Ltd_$Salutation Formula$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salutation Formula] LEFT JOIN [CRONUS UK Ltd_$Salutation$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salutation] ON [Salutation Formula].[Salutation Code] = [Salutation].[Code] | |||||||
2 | Language Code | Language Code | Normal | Code | 10 | Language Code | nvarchar(20) |
Key to join to the Language table.Show/hide example querySELECT [Salutation Formula].[Language Code] ,[Language].[Code] FROM [CRONUS UK Ltd_$Salutation Formula$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salutation Formula] LEFT JOIN [CRONUS UK Ltd_$Language$63ca2fa4-4f03-4f2b-a480-172fef340d3f] AS [Language] ON [Salutation Formula].[Language Code] = [Language].[Code] | |||||||
3 | Salutation Type | Salutation Type | Normal | Option | 4 | Salutation Type | int |
Available options are:
| |||||||
4 | Salutation | Salutation | Normal | Text | 50 | Salutation | nvarchar(100) |
5 | Name 1 | Name 1 | Normal | Option | 4 | Name 1 | int |
Available options are:
| |||||||
6 | Name 2 | Name 2 | Normal | Option | 4 | Name 2 | int |
Available options are:
| |||||||
7 | Name 3 | Name 3 | Normal | Option | 4 | Name 3 | int |
Available options are:
| |||||||
8 | Name 4 | Name 4 | Normal | Option | 4 | Name 4 | int |
Available options are:
| |||||||
9 | Name 5 | Name 5 | Normal | Option | 4 | Name 5 | int |
Available options are:
| |||||||
10 | Contact No. Filter | Contact No. Filter | FlowFilter | Code | 20 | ||
Key to join to the Contact table.Show/hide example querySELECT [Salutation Formula].[] ,[Contact].[No_] FROM [CRONUS UK Ltd_$Salutation Formula$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salutation Formula] LEFT JOIN [CRONUS UK Ltd_$Contact$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Contact] ON [Salutation Formula].[] = [Contact].[No_] | |||||||
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 [Salutation Formula].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Salutation Formula$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Salutation Formula] LEFT JOIN [User] AS [User] ON [Salutation Formula].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |