Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/99000875
Table Type: Company
Table Name: Order Promising Setup
Database Table Name: CRONUS UK Ltd_$Order Promising 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 Order Promising Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Order Promising Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Primary Key]
,[Offset (Time)]
,[Order Promising Nos_]
,[Order Promising Template]
,[Order Promising Worksheet]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Order Promising 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_$Order Promising Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Promising Setup]
LEFT JOIN
[CRONUS UK Ltd_$Req_ Wksh_ Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Req. Wksh. Template]
ON
[Order Promising Setup].[Order Promising Template] = [Req. Wksh. Template].[Name]
LEFT JOIN
[User] AS [User]
ON
[Order Promising Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Order Promising Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Order Promising 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 | Offset (Time) | Offset (Time) | Normal | DateFormula | 32 | Offset (Time) | varchar(32) |
8 | Order Promising Nos. | Order Promising Nos. | Normal | Code | 20 | Order Promising Nos_ | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Order Promising Setup].[Order Promising Nos_] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Order Promising Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Promising Setup] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Order Promising Setup].[Order Promising Nos_] = [No. Series].[Code] | |||||||
9 | Order Promising Template | Order Promising Template | Normal | Code | 10 | Order Promising Template | nvarchar(20) |
Key to join to the Req. Wksh. Template table.Show/hide example querySELECT [Order Promising Setup].[Order Promising Template] ,[Req. Wksh. Template].[Name] FROM [CRONUS UK Ltd_$Order Promising Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Promising Setup] LEFT JOIN [CRONUS UK Ltd_$Req_ Wksh_ Template$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Req. Wksh. Template] ON [Order Promising Setup].[Order Promising Template] = [Req. Wksh. Template].[Name] | |||||||
10 | Order Promising Worksheet | Order Promising Worksheet | Normal | Code | 10 | Order Promising Worksheet | nvarchar(20) |
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 [Order Promising Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Order Promising Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Order Promising Setup] LEFT JOIN [User] AS [User] ON [Order Promising Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |