Certificate of Supply

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

Table Number: 780

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
   [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_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
      ON
         [Certificate of Supply].[Document Type] = [Sales Header Archive].[Document Type]
      AND
         [Certificate of Supply].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
      ON
         [Certificate of Supply].[Document Type] = [Sales Header].[Document Type]
      AND
         [Certificate of Supply].[Document No_] = [Sales Header].[No_]
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
   [User] AS [User]
      ON
         [Certificate of Supply].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Certificate of Supply].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Certificate of Supply table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Document Type SearchDocument TypeNormalOption4Document Typeint
Available options are:
  • “Sales Shipment”
  • “Service Shipment”
  • “Return Shipment”
2Document No. Primary Key SearchDocument No.NormalCode20Document No_nvarchar(40)
3Status Primary Key SearchStatusNormalOption4Statusint
Available options are:
  • “Not Applicable”
  • “Required”
  • “Received”
  • “Not Received”
4No. SearchNo.NormalCode20No_nvarchar(40)
5Receipt Date SearchReceipt DateNormalDate4Receipt Datedatetime
6Printed SearchPrintedNormalBoolean4Printedtinyint
7Customer/Vendor Name SearchCustomer/Vendor NameNormalText100Customer_Vendor Namenvarchar(200)
8Shipment Method Code SearchShipment Method CodeNormalCode10Shipment Method Codenvarchar(20)
Key to join to the Shipment Method table.

Show/hide example query

SELECT
	       [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]
9Shipment/Posting Date SearchShipment/Posting DateNormalDate4Shipment_Posting Datedatetime
10Ship-to Country/Region Code SearchShip-to Country/Region CodeNormalCode10Ship-to Country_Region Codenvarchar(20)
11Customer/Vendor No. SearchCustomer/Vendor No.NormalCode20Customer_Vendor No_nvarchar(40)
12Vehicle Registration No. SearchVehicle Registration No.NormalText20Vehicle Registration No_nvarchar(40)
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [Certificate of Supply].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Certificate of Supply$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Certificate of Supply]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Certificate of Supply].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Certificate of Supply table

Leave a Reply

Your email address will not be published. Required fields are marked *