Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/780
Table Type: Company
Table Name: Certificate of Supply
Database Table Name: CRONUS UK Ltd_$Certificate of Supply$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 Certificate of Supply can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Certificate of Supply$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[Document Type]
,[Document No_]
,[Status]
,[No_]
,[Receipt Date]
,[Printed]
,[Customer_Vendor Name]
,[Shipment Method Code]
,[Shipment_Posting Date]
,[Ship-to Country_Region Code]
,[Customer_Vendor No_]
,[Vehicle Registration No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Certificate of Supply$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Certificate of Supply$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Certificate of Supply]
LEFT JOIN
[CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method]
ON
[Certificate of Supply].[Shipment Method Code] = [Shipment Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
ON
[Certificate of Supply].[Customer_Vendor No_] = [Vendor].[No_]
Show/hide columns in Certificate of Supply table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | Document Type ![]() ![]() | int | ||||
3 | Document No_ ![]() ![]() | nvarchar(40) | ||||
4 | Status ![]() | int | ||||
5 | No_ ![]() | nvarchar(40) | ||||
6 | Receipt Date ![]() | datetime | ||||
7 | Printed ![]() | tinyint | ||||
8 | Customer_Vendor Name ![]() | nvarchar(200) | ||||
9 | Shipment Method Code ![]() | nvarchar(20) | ||||
Key to join to the Shipment Method table.Show/hide example querySELECT
[Certificate of Supply].[Shipment Method Code]
,[Shipment Method].[Code]
FROM
[CRONUS UK Ltd_$Certificate of Supply$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Certificate of Supply]
LEFT JOIN
[CRONUS UK Ltd_$Shipment Method$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Shipment Method]
ON
[Certificate of Supply].[Shipment Method Code] = [Shipment Method].[Code] | ||||||
10 | Shipment_Posting Date ![]() | datetime | ||||
11 | Ship-to Country_Region Code ![]() | nvarchar(20) | ||||
12 | Customer_Vendor No_ ![]() | nvarchar(40) | ||||
Key to join to the Vendor table.Show/hide example querySELECT
[Certificate of Supply].[Customer_Vendor No_]
,[Vendor].[No_]
FROM
[CRONUS UK Ltd_$Certificate of Supply$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Certificate of Supply]
LEFT JOIN
[CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
ON
[Certificate of Supply].[Customer_Vendor No_] = [Vendor].[No_] | ||||||
13 | Vehicle Registration No_ ![]() | nvarchar(40) | ||||
14 | $systemId ![]() | uniqueidentifier | ||||
15 | $systemCreatedAt ![]() | datetime | ||||
16 | $systemCreatedBy ![]() | uniqueidentifier | ||||
17 | $systemModifiedAt ![]() | datetime | ||||
18 | $systemModifiedBy ![]() | uniqueidentifier |