MS – Sales Forecast

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

Table Type: Company

Table Name: MS – Sales Forecast
Database Table Name: CRONUS UK Ltd_$MS – Sales Forecast$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a

Table Number: 1850

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 MS – Sales Forecast can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$MS - Sales Forecast$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a]

Show/hide an example select of all columns by name

SELECT

FROM
   [CRONUS UK Ltd_$MS - Sales Forecast$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$MS - Sales Forecast$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [MS - Sales Forecast]
LEFT JOIN
   [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
      ON
         [MS - Sales Forecast].[Item No_] = [Item].[No_]

Show/hide columns in MS – Sales Forecast 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
       [MS - Sales Forecast].[Item No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$MS - Sales Forecast$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [MS - Sales Forecast]
LEFT JOIN
       [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
              ON
                     [MS - Sales Forecast].[Item No_] = [Item].[No_]
3Date Primary Key Searchdatetime
4Quantity Searchdecimal(38,38)
5Delta Searchdecimal(38,38)
6Forecast Data Searchint
7Variance _ Searchdecimal(38,38)
8$systemId Searchuniqueidentifier
9$systemCreatedAt Searchdatetime
10$systemCreatedBy Searchuniqueidentifier
11$systemModifiedAt Searchdatetime
12$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from MS – Sales Forecast table

Leave a Reply

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