Cost Type

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

Table Type: Company

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

Table Number: 1103

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [No_]
   ,[Name]
   ,[Search Name]
   ,[Type]
   ,[Cost Center Code]
   ,[Cost Object Code]
   ,[Combine Entries]
   ,[Blocked]
   ,[New Page]
   ,[Blank Line]
   ,[Indentation]
   ,[Comment]
   ,[Cost Classification]
   ,[Fixed Share]
   ,[Modified Date]
   ,[Modified By]
   ,[Totaling]
   ,[Budget at Date]
   ,[G_L Account Range]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type]
LEFT JOIN
   [CRONUS UK Ltd_$Cost Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Center]
      ON
         [Cost Type].[Cost Center Code] = [Cost Center].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Cost Object$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Object]
      ON
         [Cost Type].[Cost Object Code] = [Cost Object].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Cost Type].[Modified By] = [User].[User Name]
LEFT JOIN
   [CRONUS UK Ltd_$Cost Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Center]
      ON
         [Cost Type].[Cost Center Filter] = [Cost Center].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Cost Object$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Object]
      ON
         [Cost Type].[Cost Object Filter] = [Cost Object].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name]
      ON
         [Cost Type].[Budget Filter] = [G/L Budget Name].[Name]
LEFT JOIN
   [User] AS [User]
      ON
         [Cost Type].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Cost Type].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Cost Type table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1No. SearchNo.NormalCode20No_nvarchar(40)
2Name Primary Key SearchNameNormalText100Namenvarchar(200)
3Search Name SearchSearch NameNormalCode100Search Namenvarchar(200)
4Type SearchTypeNormalOption4Typeint
Available options are:
  • “Cost Type”
  • “Heading”
  • “Total”
  • “Begin-Total”
  • “End-Total”
6Cost Center Code SearchCost Center CodeNormalCode20Cost Center Codenvarchar(40)
Key to join to the Cost Center table.

Show/hide example query

SELECT
	       [Cost Type].[Cost Center Code]
	       ,[Cost Center].[Code]
	FROM
	       [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type]
	LEFT JOIN
	       [CRONUS UK Ltd_$Cost Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Center]
	              ON
	                     [Cost Type].[Cost Center Code] = [Cost Center].[Code]
7Cost Object Code SearchCost Object CodeNormalCode20Cost Object Codenvarchar(40)
Key to join to the Cost Object table.

Show/hide example query

SELECT
	       [Cost Type].[Cost Object Code]
	       ,[Cost Object].[Code]
	FROM
	       [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type]
	LEFT JOIN
	       [CRONUS UK Ltd_$Cost Object$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Object]
	              ON
	                     [Cost Type].[Cost Object Code] = [Cost Object].[Code]
10Combine Entries SearchCombine EntriesNormalOption4Combine Entriesint
Available options are:
  • “None”
  • “Day”
  • “Month”
13Blocked SearchBlockedNormalBoolean4Blockedtinyint
17New Page SearchNew PageNormalBoolean4New Pagetinyint
18Blank Line SearchBlank LineNormalBoolean4Blank Linetinyint
19Indentation SearchIndentationNormalInteger4Indentationint
20Comment SearchCommentNormalText50Commentnvarchar(100)
22Cost Classification SearchCost ClassificationNormalOption4Cost Classificationint
Available options are:
  • ” “
  • “Fixed”
  • “Variable”
  • “Step Variable”
23Fixed Share SearchFixed ShareNormalText30Fixed Sharenvarchar(60)
26Modified Date SearchModified DateNormalDate4Modified Datedatetime
27Modified By SearchModified ByNormalCode50Modified Bynvarchar(100)
Key to join to the User table.

Show/hide example query

SELECT
	       [Cost Type].[Modified By]
	       ,[User].[User Name]
	FROM
	       [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Cost Type].[Modified By] = [User].[User Name]
28Date Filter SearchDate FilterFlowFilterDate4
29Cost Center Filter SearchCost Center FilterFlowFilterCode20
Key to join to the Cost Center table.

Show/hide example query

SELECT
	       [Cost Type].[]
	       ,[Cost Center].[Code]
	FROM
	       [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type]
	LEFT JOIN
	       [CRONUS UK Ltd_$Cost Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Center]
	              ON
	                     [Cost Type].[] = [Cost Center].[Code]
30Cost Object Filter SearchCost Object FilterFlowFilterCode20
Key to join to the Cost Object table.

Show/hide example query

SELECT
	       [Cost Type].[]
	       ,[Cost Object].[Code]
	FROM
	       [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type]
	LEFT JOIN
	       [CRONUS UK Ltd_$Cost Object$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Object]
	              ON
	                     [Cost Type].[] = [Cost Object].[Code]
31Balance at Date SearchBalance at DateFlowFieldDecimal12
32Net Change SearchNet ChangeFlowFieldDecimal12
33Budget Amount SearchBudget AmountFlowFieldDecimal12
34Totaling SearchTotalingNormalText250Totalingnvarchar(500)
35Budget Filter SearchBudget FilterFlowFilterCode10
Key to join to the G/L Budget Name table.

Show/hide example query

SELECT
	       [Cost Type].[]
	       ,[G/L Budget Name].[Name]
	FROM
	       [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type]
	LEFT JOIN
	       [CRONUS UK Ltd_$G_L Budget Name$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Budget Name]
	              ON
	                     [Cost Type].[] = [G/L Budget Name].[Name]
36Balance SearchBalanceFlowFieldDecimal12
37Budget at Date SearchBudget at DateNormalDecimal12Budget at Datedecimal(38,38)
40G/L Account Range SearchG/L Account RangeNormalText50G_L Account Rangenvarchar(100)
47Debit Amount SearchDebit AmountFlowFieldDecimal12
48Credit Amount SearchCredit AmountFlowFieldDecimal12
51Balance to Allocate SearchBalance to AllocateFlowFieldDecimal12
60Budget Debit Amount SearchBudget Debit AmountFlowFieldDecimal12
72Budget Credit Amount SearchBudget Credit AmountFlowFieldDecimal12
73Add. Currency Net Change SearchAdd. Currency Net ChangeFlowFieldDecimal12
74Add. Currency Balance at Date SearchAdd. Currency Balance at DateFlowFieldDecimal12
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
	       [Cost Type].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Cost Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Cost Type]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Cost Type].[$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 *