Capacity Ledger Entry

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

Table Type: Company

Table Name: Capacity Ledger Entry
Database Table Name: CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5832

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 Capacity Ledger Entry can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [Entry No_]
   ,[No_]
   ,[Posting Date]
   ,[Type]
   ,[Document No_]
   ,[Description]
   ,[Operation No_]
   ,[Work Center No_]
   ,[Quantity]
   ,[Setup Time]
   ,[Run Time]
   ,[Stop Time]
   ,[Invoiced Quantity]
   ,[Output Quantity]
   ,[Scrap Quantity]
   ,[Concurrent Capacity]
   ,[Cap_ Unit of Measure Code]
   ,[Qty_ per Cap_ Unit of Measure]
   ,[Global Dimension 1 Code]
   ,[Global Dimension 2 Code]
   ,[Last Output Line]
   ,[Completely Invoiced]
   ,[Starting Time]
   ,[Ending Time]
   ,[Routing No_]
   ,[Routing Reference No_]
   ,[Item No_]
   ,[Variant Code]
   ,[Unit of Measure Code]
   ,[Qty_ per Unit of Measure]
   ,[Document Date]
   ,[External Document No_]
   ,[Stop Code]
   ,[Scrap Code]
   ,[Work Center Group Code]
   ,[Work Shift Code]
   ,[Subcontracting]
   ,[Order Type]
   ,[Order No_]
   ,[Order Line No_]
   ,[Dimension Set ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Capacity Ledger Entry].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Capacity Ledger Entry].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [Capacity Ledger Entry].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Stop$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stop]
      ON
         [Capacity Ledger Entry].[Stop Code] = [Stop].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Scrap$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Scrap]
      ON
         [Capacity Ledger Entry].[Scrap Code] = [Scrap].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
      ON
         [Capacity Ledger Entry].[Work Center Group Code] = [Work Center Group].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Work Shift$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Shift]
      ON
         [Capacity Ledger Entry].[Work Shift Code] = [Work Shift].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
      ON
         [Capacity Ledger Entry].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Capacity Ledger Entry].[Shortcut Dimension 3 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Capacity Ledger Entry].[Shortcut Dimension 4 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Capacity Ledger Entry].[Shortcut Dimension 5 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Capacity Ledger Entry].[Shortcut Dimension 6 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Capacity Ledger Entry].[Shortcut Dimension 7 Code] = [Dimension].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
      ON
         [Capacity Ledger Entry].[Shortcut Dimension 8 Code] = [Dimension].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Capacity Ledger Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Capacity Ledger Entry].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Capacity Ledger Entry table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Entry No. Primary Key SearchEntry No.NormalInteger4Entry No_int
2No. SearchNo.NormalCode20No_nvarchar(40)
3Posting Date SearchPosting DateNormalDate4Posting Datedatetime
4Type SearchTypeNormalOption4Typeint
Available options are:
  • “Work Center”
  • “Machine Center”
  • ” “
  • “Resource”
6Document No. SearchDocument No.NormalCode20Document No_nvarchar(40)
7Description SearchDescriptionNormalText100Descriptionnvarchar(200)
8Operation No. SearchOperation No.NormalCode10Operation No_nvarchar(20)
9Work Center No. SearchWork Center No.NormalCode20Work Center No_nvarchar(40)
Key to join to the Work Center table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Work Center No_]
       ,[Work Center].[No_]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Work Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center]
              ON
                     [Capacity Ledger Entry].[Work Center No_] = [Work Center].[No_]
10Quantity SearchQuantityNormalDecimal12Quantitydecimal(38,38)
11Setup Time SearchSetup TimeNormalDecimal12Setup Timedecimal(38,38)
12Run Time SearchRun TimeNormalDecimal12Run Timedecimal(38,38)
13Stop Time SearchStop TimeNormalDecimal12Stop Timedecimal(38,38)
15Invoiced Quantity SearchInvoiced QuantityNormalDecimal12Invoiced Quantitydecimal(38,38)
16Output Quantity SearchOutput QuantityNormalDecimal12Output Quantitydecimal(38,38)
17Scrap Quantity SearchScrap QuantityNormalDecimal12Scrap Quantitydecimal(38,38)
19Concurrent Capacity SearchConcurrent CapacityNormalDecimal12Concurrent Capacitydecimal(38,38)
28Cap. Unit of Measure Code SearchCap. Unit of Measure CodeNormalCode10Cap_ Unit of Measure Codenvarchar(20)
Key to join to the Capacity Unit of Measure table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Cap_ Unit of Measure Code]
       ,[Capacity Unit of Measure].[Code]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Capacity Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Unit of Measure]
              ON
                     [Capacity Ledger Entry].[Cap_ Unit of Measure Code] = [Capacity Unit of Measure].[Code]
29Qty. per Cap. Unit of Measure SearchQty. per Cap. Unit of MeasureNormalDecimal12Qty_ per Cap_ Unit of Measuredecimal(38,38)
33Global Dimension 1 Code SearchGlobal Dimension 1 CodeNormalCode20Global Dimension 1 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Global Dimension 1 Code]
       ,[Dimension].[Code]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
              ON
                     [Capacity Ledger Entry].[Global Dimension 1 Code] = [Dimension].[Code]
34Global Dimension 2 Code SearchGlobal Dimension 2 CodeNormalCode20Global Dimension 2 Codenvarchar(40)
Key to join to the Dimension table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Global Dimension 2 Code]
       ,[Dimension].[Code]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
              ON
                     [Capacity Ledger Entry].[Global Dimension 2 Code] = [Dimension].[Code]
39Last Output Line SearchLast Output LineNormalBoolean4Last Output Linetinyint
42Completely Invoiced SearchCompletely InvoicedNormalBoolean4Completely Invoicedtinyint
43Starting Time SearchStarting TimeNormalTime4Starting Timedatetime
44Ending Time SearchEnding TimeNormalTime4Ending Timedatetime
52Routing No. SearchRouting No.NormalCode20Routing No_nvarchar(40)
Key to join to the Routing Header table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Routing No_]
       ,[Routing Header].[No_]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Routing Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Header]
              ON
                     [Capacity Ledger Entry].[Routing No_] = [Routing Header].[No_]
53Routing Reference No. SearchRouting Reference No.NormalInteger4Routing Reference No_int
56Item No. SearchItem No.NormalCode20Item No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Item No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
              ON
                     [Capacity Ledger Entry].[Item No_] = [Item].[No_]
57Variant Code SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Variant Code]
       ,[Item Variant].[Code]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
              ON
                     [Capacity Ledger Entry].[Variant Code] = [Item Variant].[Code]
58Unit of Measure Code SearchUnit of Measure CodeNormalCode10Unit of Measure Codenvarchar(20)
59Qty. per Unit of Measure SearchQty. per Unit of MeasureNormalDecimal12Qty_ per Unit of Measuredecimal(38,38)
60Document Date SearchDocument DateNormalDate4Document Datedatetime
61External Document No. SearchExternal Document No.NormalCode35External Document No_nvarchar(70)
65Stop Code SearchStop CodeNormalCode10Stop Codenvarchar(20)
Key to join to the Stop table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Stop Code]
       ,[Stop].[Code]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Stop$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stop]
              ON
                     [Capacity Ledger Entry].[Stop Code] = [Stop].[Code]
66Scrap Code SearchScrap CodeNormalCode10Scrap Codenvarchar(20)
Key to join to the Scrap table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Scrap Code]
       ,[Scrap].[Code]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Scrap$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Scrap]
              ON
                     [Capacity Ledger Entry].[Scrap Code] = [Scrap].[Code]
68Work Center Group Code SearchWork Center Group CodeNormalCode10Work Center Group Codenvarchar(20)
Key to join to the Work Center Group table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Work Center Group Code]
       ,[Work Center Group].[Code]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
              ON
                     [Capacity Ledger Entry].[Work Center Group Code] = [Work Center Group].[Code]
69Work Shift Code SearchWork Shift CodeNormalCode10Work Shift Codenvarchar(20)
Key to join to the Work Shift table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Work Shift Code]
       ,[Work Shift].[Code]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Work Shift$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Shift]
              ON
                     [Capacity Ledger Entry].[Work Shift Code] = [Work Shift].[Code]
71Direct Cost SearchDirect CostFlowFieldDecimal12
72Overhead Cost SearchOverhead CostFlowFieldDecimal12
76Direct Cost (ACY) SearchDirect Cost (ACY)FlowFieldDecimal12
77Overhead Cost (ACY) SearchOverhead Cost (ACY)FlowFieldDecimal12
78Subcontracting SearchSubcontractingNormalBoolean4Subcontractingtinyint
90Order Type SearchOrder TypeNormalOption4Order Typeint
Available options are:
  • ” “
  • “Production”
  • “Transfer”
  • “Service”
  • “Assembly”
91Order No. SearchOrder No.NormalCode20Order No_nvarchar(40)
92Order Line No. SearchOrder Line No.NormalInteger4Order Line No_int
480Dimension Set ID SearchDimension Set IDNormalInteger4Dimension Set IDint
Key to join to the Dimension Set Entry table.

Show/hide example query

SELECT
       [Capacity Ledger Entry].[Dimension Set ID]
       ,[Dimension Set Entry].[Dimension Set ID]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
              ON
                     [Capacity Ledger Entry].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
481Shortcut Dimension 3 Code SearchShortcut Dimension 3 CodeFlowFieldCode20
482Shortcut Dimension 4 Code SearchShortcut Dimension 4 CodeFlowFieldCode20
483Shortcut Dimension 5 Code SearchShortcut Dimension 5 CodeFlowFieldCode20
484Shortcut Dimension 6 Code SearchShortcut Dimension 6 CodeFlowFieldCode20
485Shortcut Dimension 7 Code SearchShortcut Dimension 7 CodeFlowFieldCode20
486Shortcut Dimension 8 Code SearchShortcut Dimension 8 CodeFlowFieldCode20
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
       [Capacity Ledger Entry].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [User] AS [User]
              ON
                     [Capacity Ledger Entry].[$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
       [Capacity Ledger Entry].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Capacity Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Ledger Entry]
LEFT JOIN
       [User] AS [User]
              ON
                     [Capacity Ledger Entry].[$systemModifiedBy] = [User].[User Security ID]

Show/hide tables related from Capacity Ledger Entry table

Leave a Reply

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