Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/99000788
Table Type: Company
Table Name: Production Matrix BOM Line
Database Table Name: CRONUS UK Ltd_$Production Matrix BOM Line$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 Production Matrix BOM Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Production Matrix BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Item No_]
,[Variant Code]
,[Unit of Measure Code]
,[Description]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Production Matrix BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Production Matrix BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Matrix BOM Line]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Production Matrix BOM Line].[Item No_] = [Item].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Production Matrix BOM Line].[Unit of Measure Code] = [Unit of Measure].[Code]
Show/hide columns in Production Matrix BOM Line table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Item No_ ![]() ![]() | nvarchar(40) | ||||
Key to join to the Item table.Show/hide example querySELECT
[Production Matrix BOM Line].[Item No_]
,[Item].[No_]
FROM
[CRONUS UK Ltd_$Production Matrix BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Matrix BOM Line]
LEFT JOIN
[CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
ON
[Production Matrix BOM Line].[Item No_] = [Item].[No_] | ||||||
3 | Variant Code ![]() ![]() | nvarchar(20) | ||||
4 | Unit of Measure Code ![]() | nvarchar(20) | ||||
Key to join to the Unit of Measure table.Show/hide example querySELECT
[Production Matrix BOM Line].[Unit of Measure Code]
,[Unit of Measure].[Code]
FROM
[CRONUS UK Ltd_$Production Matrix BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Matrix BOM Line]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Production Matrix BOM Line].[Unit of Measure Code] = [Unit of Measure].[Code] | ||||||
5 | Description ![]() | nvarchar(200) | ||||
6 | $systemId ![]() | uniqueidentifier | ||||
7 | $systemCreatedAt ![]() | datetime | ||||
8 | $systemCreatedBy ![]() | uniqueidentifier | ||||
9 | $systemModifiedAt ![]() | datetime | ||||
10 | $systemModifiedBy ![]() | uniqueidentifier |