Where-Used Line

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

Table Type: Company

Table Name: Where-Used Line
Database Table Name: CRONUS UK Ltd_$Where-Used Line$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 99000790

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 Where-Used Line can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Entry No_]
   ,[Item No_]
   ,[Version Code]
   ,[Description]
   ,[Quantity Needed]
   ,[Level Code]
   ,[Production BOM No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Where-Used 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_$Where-Used Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where-Used Line]
LEFT JOIN
   [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
      ON
         [Where-Used Line].[Item No_] = [Item].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Production BOM Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production BOM Header]
      ON
         [Where-Used Line].[Production BOM No_] = [Production BOM Header].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Production BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production BOM Line]
      ON
         [Where-Used Line].[Production BOM No_] = [Production BOM Line].[Production BOM No_]
LEFT JOIN
   [CRONUS UK Ltd_$Production BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production BOM Line]
      ON
         [Where-Used Line].[BOM Line No_] = [Production BOM Line].[Line No_]

Show/hide columns in Where-Used Line table

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

Show/hide example query

SELECT
       [Where-Used Line].[Item No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$Where-Used Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where-Used Line]
LEFT JOIN
       [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
              ON
                     [Where-Used Line].[Item No_] = [Item].[No_]
4Version Code Searchnvarchar(40)
5Description Searchnvarchar(200)
6Quantity Needed Searchdecimal(38,38)
7Level Code Searchint
8Production BOM No_ Searchnvarchar(40)
Key to join to the Production BOM Header table.

Show/hide example query

SELECT
       [Where-Used Line].[Production BOM No_]
       ,[Production BOM Header].[No_]
FROM
       [CRONUS UK Ltd_$Where-Used Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where-Used Line]
LEFT JOIN
       [CRONUS UK Ltd_$Production BOM Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production BOM Header]
              ON
                     [Where-Used Line].[Production BOM No_] = [Production BOM Header].[No_]
Multi-key to join to the Production BOM Line table.

Show/hide example query

SELECT
       [Where-Used Line].[Production BOM No_]
       ,[Production BOM Line].[Production BOM No_]
FROM
       [CRONUS UK Ltd_$Where-Used Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Where-Used Line]
LEFT JOIN
       [CRONUS UK Ltd_$Production BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production BOM Line]
              ON
                     [Where-Used Line].[Production BOM No_] = [Production BOM Line].[Production BOM No_]
              AND
                     [Where-Used Line].[BOM Line No_] = [Production BOM Line].[Line No_]
9$systemId Searchuniqueidentifier
10$systemCreatedAt Searchdatetime
11$systemCreatedBy Searchuniqueidentifier
12$systemModifiedAt Searchdatetime
13$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Where-Used Line table

Leave a Reply

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