Item Availability by Date

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

Table Type: Company

Table Name: Item Availability by Date
Database Table Name: CRONUS UK Ltd_$Item Availability by Date$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5872

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 Item Availability by Date can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Item Availability by Date$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Item No_]
   ,[Variant Code]
   ,[Location Code]
   ,[Date]
   ,[Available Qty]
   ,[Updated Available Qty]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Item Availability by Date$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Item Availability by Date$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Availability by Date]
LEFT JOIN
   [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
      ON
         [Item Availability by Date].[Item No_] = [Item].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Item Availability by Date].[Location Code] = [Location].[Code]

Show/hide columns in Item Availability by Date 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
       [Item Availability by Date].[Item No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$Item Availability by Date$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Availability by Date]
LEFT JOIN
       [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
              ON
                     [Item Availability by Date].[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
       [Item Availability by Date].[Location Code]
       ,[Location].[Code]
FROM
       [CRONUS UK Ltd_$Item Availability by Date$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Availability by Date]
LEFT JOIN
       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
              ON
                     [Item Availability by Date].[Location Code] = [Location].[Code]
5Date Primary Key Searchdatetime
6Available Qty Searchdecimal(38,38)
7Updated Available Qty Searchdecimal(38,38)
8$systemId Searchuniqueidentifier
9$systemCreatedAt Searchdatetime
10$systemCreatedBy Searchuniqueidentifier
11$systemModifiedAt Searchdatetime
12$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Item Availability by Date table

Leave a Reply

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