Analysis Column

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

Table Type: Company

Table Name: Analysis Column
Database Table Name: CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 7118

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

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Analysis Area]
   ,[Analysis Column Template]
   ,[Line No_]
   ,[Column No_]
   ,[Column Header]
   ,[Column Type]
   ,[Ledger Entry Type]
   ,[Formula]
   ,[Comparison Date Formula]
   ,[Show Opposite Sign]
   ,[Show]
   ,[Rounding Factor]
   ,[Comparison Period Formula]
   ,[Analysis Type Code]
   ,[Item Ledger Entry Type Filter]
   ,[Value Entry Type Filter]
   ,[Value Type]
   ,[Invoiced]
   ,[Comparison Period Formula LCID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Column]
LEFT JOIN
   [CRONUS UK Ltd_$Analysis Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Type]
      ON
         [Analysis Column].[Analysis Type Code] = [Analysis Type].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Analysis Column].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Analysis Column].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Analysis Column table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Analysis Area SearchAnalysis AreaNormalOption4Analysis Areaint
Available options are:
  • “Sales”
  • “Purchase”
  • “Inventory”
2Analysis Column Template Primary Key SearchAnalysis Column TemplateNormalCode10Analysis Column Templatenvarchar(20)
3Line No. Primary Key SearchLine No.NormalInteger4Line No_int
4Column No. Primary Key SearchColumn No.NormalCode10Column No_nvarchar(20)
5Column Header SearchColumn HeaderNormalText50Column Headernvarchar(100)
6Column Type SearchColumn TypeNormalOption4Column Typeint
Available options are:
  • “Formula”
  • “Net Change”
  • “Balance at Date”
  • “Beginning Balance”
  • “Year to Date”
  • “Rest of Fiscal Year”
  • “Entire Fiscal Year”
7Ledger Entry Type SearchLedger Entry TypeNormalOption4Ledger Entry Typeint
Available options are:
  • “Item Entries”
  • “Item Budget Entries”
8Formula SearchFormulaNormalCode80Formulanvarchar(160)
9Comparison Date Formula SearchComparison Date FormulaNormalDateFormula32Comparison Date Formulavarchar(32)
10Show Opposite Sign SearchShow Opposite SignNormalBoolean4Show Opposite Signtinyint
11Show SearchShowNormalOption4Showint
Available options are:
  • “Always”
  • “Never”
  • “When Positive”
  • “When Negative”
12Rounding Factor SearchRounding FactorNormalOption4Rounding Factorint
Available options are:
  • “None”
  • “1”
  • “1000”
  • “1000000”
13Comparison Period Formula SearchComparison Period FormulaNormalCode20Comparison Period Formulanvarchar(40)
14Analysis Type Code SearchAnalysis Type CodeNormalCode10Analysis Type Codenvarchar(20)
Key to join to the Analysis Type table.

Show/hide example query

SELECT
	       [Analysis Column].[Analysis Type Code]
	       ,[Analysis Type].[Code]
	FROM
	       [CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Column]
	LEFT JOIN
	       [CRONUS UK Ltd_$Analysis Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Type]
	              ON
	                     [Analysis Column].[Analysis Type Code] = [Analysis Type].[Code]
15Item Ledger Entry Type Filter SearchItem Ledger Entry Type FilterNormalText250Item Ledger Entry Type Filternvarchar(500)
16Value Entry Type Filter SearchValue Entry Type FilterNormalText250Value Entry Type Filternvarchar(500)
17Value Type SearchValue TypeNormalOption4Value Typeint
Available options are:
  • ” “
  • “Quantity”
  • “Sales Amount”
  • “Cost Amount”
  • “Non-Invntble Amount”
  • “Unit Price”
  • “Standard Cost”
  • “Indirect Cost”
  • “Unit Cost”
18Invoiced SearchInvoicedNormalBoolean4Invoicedtinyint
30Comparison Period Formula LCID SearchComparison Period Formula LCIDNormalInteger4Comparison Period Formula LCIDint
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
	       [Analysis Column].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Analysis Column$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Analysis Column]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Analysis Column].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Leave a Reply

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