Stockkeeping Unit Comment Line

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5701

Table Type: Company

Table Name: Stockkeeping Unit Comment Line
Database Table Name: CRONUS UK Ltd_$Stockkeeping Unit Comment Line$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5701

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 Stockkeeping Unit Comment Line can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Stockkeeping Unit Comment Line$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Item No_]
   ,[Variant Code]
   ,[Location Code]
   ,[Line No_]
   ,[Date]
   ,[Code]
   ,[Comment]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Stockkeeping Unit Comment 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_$Stockkeeping Unit Comment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit Comment Line]
LEFT JOIN
   [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
      ON
         [Stockkeeping Unit Comment Line].[Item No_] = [Item].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Stockkeeping Unit Comment Line].[Location Code] = [Location].[Code]

Show/hide columns in Stockkeeping Unit Comment Line table

Column IDColumn NameData Type
1timestamp Searchtimestamp
2Item No_ Primary Key Searchnvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
       [Stockkeeping Unit Comment Line].[Item No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$Stockkeeping Unit Comment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit Comment Line]
LEFT JOIN
       [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
              ON
                     [Stockkeeping Unit Comment Line].[Item No_] = [Item].[No_]
3Variant Code Primary Key Searchnvarchar(20)
4Location Code Primary Key Searchnvarchar(20)
Key to join to the Location table.

Show/hide example query

SELECT
       [Stockkeeping Unit Comment Line].[Location Code]
       ,[Location].[Code]
FROM
       [CRONUS UK Ltd_$Stockkeeping Unit Comment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit Comment Line]
LEFT JOIN
       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
              ON
                     [Stockkeeping Unit Comment Line].[Location Code] = [Location].[Code]
5Line No_ Primary Key Searchint
6Date Searchdatetime
7Code Searchnvarchar(20)
8Comment Searchnvarchar(160)
9$systemId Searchuniqueidentifier
10$systemCreatedAt Searchdatetime
11$systemCreatedBy Searchuniqueidentifier
12$systemModifiedAt Searchdatetime
13$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Stockkeeping Unit Comment Line table

Leave a Reply

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