MS – Sales Forecast Setup

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

Table Type: Company

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

Table Number: 1853

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 Setup can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT

FROM
   [CRONUS UK Ltd_$MS - Sales Forecast Setup$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 Setup$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [MS - Sales Forecast Setup]
LEFT JOIN
   [User] AS [User]
      ON
         [MS - Sales Forecast Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [MS - Sales Forecast Setup].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in MS – Sales Forecast Setup table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Primary Key Primary Key SearchPrimary KeyNormalCode10Primary Keynvarchar(20)
2Period Type SearchPeriod TypeNormalOption4Period Typeint
Available options are:
  • “Day”
  • “Week”
  • “Month”
  • “Quarter”
  • “Year”
3Show Setup Notification SearchShow Setup NotificationNormalBoolean4Show Setup Notificationtinyint
4Stockout Warning Horizon SearchStockout Warning HorizonNormalInteger4Stockout Warning Horizonint
5Horizon SearchHorizonNormalInteger4Horizonint
6API URI SearchAPI URINormalText250API URInvarchar(500)
7API Key ID SearchAPI Key IDNormalGUID16API Key IDuniqueidentifier
8Timeout (seconds) SearchTimeout (seconds)NormalInteger4Timeout (seconds)int
9Variance % SearchVariance %NormalDecimal12Variance _decimal(38,38)
10Expiration Period (Days) SearchExpiration Period (Days)NormalInteger4Expiration Period (Days)int
11Historical Periods SearchHistorical PeriodsNormalInteger4Historical Periodsint
12Last Run Completed SearchLast Run CompletedNormalDateTime8Last Run Completeddatetime
13Limit SearchLimitNormalDecimal12Limitdecimal(38,38)
14Processing Time SearchProcessing TimeNormalDecimal12Processing Timedecimal(38,38)
15API Cache Minutes SearchAPI Cache MinutesNormalInteger4API Cache Minutesint
16API Cache Expiry SearchAPI Cache ExpiryNormalDateTime8API Cache Expirydatetime
17Service Pass API Uri ID SearchService Pass API Uri IDNormalGUID16Service Pass API Uri IDuniqueidentifier
18Service Pass API Key ID SearchService Pass API Key IDNormalGUID16Service Pass API Key IDuniqueidentifier
19Timeseries Model SearchTimeseries ModelNormalOption4Timeseries Modelint
Available options are:
  • “ARIMA”
  • “ETS”
  • “STL”
  • “ETS+ARIMA”
  • “ETS+STL”
  • “ALL”
  • “TBATS”
20Enabled SearchEnabledNormalBoolean4Enabledtinyint
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
       [MS - Sales Forecast Setup].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$MS - Sales Forecast Setup$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [MS - Sales Forecast Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [MS - Sales Forecast Setup].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [MS - Sales Forecast Setup].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$MS - Sales Forecast Setup$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [MS - Sales Forecast Setup]
LEFT JOIN
       [User] AS [User]
              ON
                     [MS - Sales Forecast Setup].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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