Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/9610
Table Type: Company
Table Name: XML Schema Element
Database Table Name: CRONUS UK Ltd_$XML Schema Element$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 XML Schema Element can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$XML Schema Element$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[XML Schema Code]
,[ID]
,[Parent ID]
,[Node Name]
,[Node Type]
,[Data Type]
,[MinOccurs]
,[MaxOccurs]
,[Choice]
,[Sort Key]
,[Indentation]
,[Visible]
,[Selected]
,[Simple Data Type]
,[Defintion XML Schema Code]
,[Definition XML Schema ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$XML Schema Element$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$XML Schema Element$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [XML Schema Element]
LEFT JOIN
[CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction]
ON
[XML Schema Element].[Parent Id] = [Shpfy Order Transaction].[Shopify Transaction Id]
LEFT JOIN
[User] AS [User]
ON
[XML Schema Element].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[XML Schema Element].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in XML Schema Element table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | XML Schema Code | XML Schema Code | Normal | Code | 20 | XML Schema Code | nvarchar(40) |
2 | ID | ID | Normal | Integer | 4 | ID | int |
3 | Parent ID | Parent ID | Normal | Integer | 4 | Parent ID | int |
Key to join to the Shpfy Order Transaction table.Show/hide example querySELECT [XML Schema Element].[Parent ID] ,[Shpfy Order Transaction].[Shopify Transaction Id] FROM [CRONUS UK Ltd_$XML Schema Element$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [XML Schema Element] LEFT JOIN [CRONUS UK Ltd_$Shpfy Order Transaction$ec255f57-31d0-4ca2-b751-f2fa7c745abb] AS [Shpfy Order Transaction] ON [XML Schema Element].[Parent ID] = [Shpfy Order Transaction].[Shopify Transaction Id] | |||||||
4 | Node Name | Node Name | Normal | Text | 250 | Node Name | nvarchar(500) |
5 | Node Type | Node Type | Normal | Option | 4 | Node Type | int |
Available options are:
| |||||||
6 | Data Type | Data Type | Normal | Text | 250 | Data Type | nvarchar(500) |
7 | MinOccurs | MinOccurs | Normal | Integer | 4 | MinOccurs | int |
8 | MaxOccurs | MaxOccurs | Normal | Integer | 4 | MaxOccurs | int |
9 | Choice | Choice | Normal | Boolean | 4 | Choice | tinyint |
20 | Sort Key | Sort Key | Normal | Text | 200 | Sort Key | nvarchar(400) |
21 | Indentation | Indentation | Normal | Integer | 4 | Indentation | int |
22 | Visible | Visible | Normal | Boolean | 4 | Visible | tinyint |
23 | Selected | Selected | Normal | Boolean | 4 | Selected | tinyint |
24 | Simple Data Type | Simple Data Type | Normal | Text | 50 | Simple Data Type | nvarchar(100) |
25 | Defintion XML Schema Code | Defintion XML Schema Code | Normal | Code | 20 | Defintion XML Schema Code | nvarchar(40) |
26 | Definition XML Schema ID | Definition XML Schema ID | Normal | Integer | 4 | Definition XML Schema ID | 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 [XML Schema Element].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$XML Schema Element$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [XML Schema Element] LEFT JOIN [User] AS [User] ON [XML Schema Element].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |