Prod. Order Capacity Need

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

Table Type: Company

Table Name: Prod. Order Capacity Need
Database Table Name: CRONUS UK Ltd_$Prod_ Order Capacity Need$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5410

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 Prod. Order Capacity Need can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Status]
   ,[Prod_ Order No_]
   ,[Routing No_]
   ,[Line No_]
   ,[Operation No_]
   ,[Type]
   ,[No_]
   ,[Work Center No_]
   ,[Work Center Group Code]
   ,[Routing Reference No_]
   ,[Date]
   ,[Starting Time]
   ,[Ending Time]
   ,[Allocated Time]
   ,[Send-Ahead Type]
   ,[Time Type]
   ,[Needed Time]
   ,[Needed Time (ms)]
   ,[Lot Size]
   ,[Concurrent Capacities]
   ,[Efficiency]
   ,[Starting Date-Time]
   ,[Ending Date-Time]
   ,[Worksheet Template Name]
   ,[Worksheet Batch Name]
   ,[Worksheet Line No_]
   ,[Active]
   ,[Requested Only]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Prod_ Order Capacity Need$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Prod_ Order Capacity Need$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Capacity Need]
LEFT JOIN
   [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
      ON
         [Prod. Order Capacity Need].[Work Center Group Code] = [Work Center Group].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Prod. Order Capacity Need].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Prod. Order Capacity Need].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Prod. Order Capacity Need table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Status Primary Key SearchStatusNormalOption4Statusint
Available options are:
  • “Simulated”
  • “Planned”
  • “Firm Planned”
  • “Released”
  • “Finished”
2Prod. Order No. Primary Key SearchProd. Order No.NormalCode20Prod_ Order No_nvarchar(40)
3Routing No. Primary Key SearchRouting No.NormalCode20Routing No_nvarchar(40)
Key to join to the Routing Header table.

Show/hide example query

SELECT
       [Prod. Order Capacity Need].[Routing No_]
       ,[Routing Header].[No_]
FROM
       [CRONUS UK Ltd_$Prod_ Order Capacity Need$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Capacity Need]
LEFT JOIN
       [CRONUS UK Ltd_$Routing Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Header]
              ON
                     [Prod. Order Capacity Need].[Routing No_] = [Routing Header].[No_]
4Line No. Primary Key SearchLine No.NormalInteger4Line No_int
5Operation No. Primary Key SearchOperation No.NormalCode10Operation No_nvarchar(20)
6Type SearchTypeNormalOption4Typeint
Available options are:
  • “Work Center”
  • “Machine Center”
7No. SearchNo.NormalCode20No_nvarchar(40)
8Work Center No. SearchWork Center No.NormalCode20Work Center No_nvarchar(40)
Key to join to the Work Center table.

Show/hide example query

SELECT
       [Prod. Order Capacity Need].[Work Center No_]
       ,[Work Center].[No_]
FROM
       [CRONUS UK Ltd_$Prod_ Order Capacity Need$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Capacity Need]
LEFT JOIN
       [CRONUS UK Ltd_$Work Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center]
              ON
                     [Prod. Order Capacity Need].[Work Center No_] = [Work Center].[No_]
9Work 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
       [Prod. Order Capacity Need].[Work Center Group Code]
       ,[Work Center Group].[Code]
FROM
       [CRONUS UK Ltd_$Prod_ Order Capacity Need$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Capacity Need]
LEFT JOIN
       [CRONUS UK Ltd_$Work Center Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center Group]
              ON
                     [Prod. Order Capacity Need].[Work Center Group Code] = [Work Center Group].[Code]
10Routing Reference No. Primary Key SearchRouting Reference No.NormalInteger4Routing Reference No_int
11Date SearchDateNormalDate4Datedatetime
12Starting Time SearchStarting TimeNormalTime4Starting Timedatetime
13Ending Time SearchEnding TimeNormalTime4Ending Timedatetime
14Allocated Time SearchAllocated TimeNormalDecimal12Allocated Timedecimal(38,38)
16Send-Ahead Type SearchSend-Ahead TypeNormalOption4Send-Ahead Typeint
Available options are:
  • ” “
  • “Input”
  • “Output”
  • “Both”
17Time Type SearchTime TypeNormalOption4Time Typeint
Available options are:
  • “Setup Time”
  • “Run Time”
  • “Wait Time”
  • “Move Time”
  • “Queue Time”
18Needed Time SearchNeeded TimeNormalDecimal12Needed Timedecimal(38,38)
19Needed Time (ms) SearchNeeded Time (ms)NormalDecimal12Needed Time (ms)decimal(38,38)
21Lot Size SearchLot SizeNormalDecimal12Lot Sizedecimal(38,38)
22Concurrent Capacities SearchConcurrent CapacitiesNormalDecimal12Concurrent Capacitiesdecimal(38,38)
23Efficiency SearchEfficiencyNormalDecimal12Efficiencydecimal(38,38)
26Starting Date-Time SearchStarting Date-TimeNormalDateTime8Starting Date-Timedatetime
27Ending Date-Time SearchEnding Date-TimeNormalDateTime8Ending Date-Timedatetime
31Worksheet Template Name SearchWorksheet Template NameNormalCode10Worksheet Template Namenvarchar(20)
32Worksheet Batch Name SearchWorksheet Batch NameNormalCode10Worksheet Batch Namenvarchar(20)
33Worksheet Line No. SearchWorksheet Line No.NormalInteger4Worksheet Line No_int
41Active SearchActiveNormalBoolean4Activetinyint
42Requested Only Primary Key SearchRequested OnlyNormalBoolean4Requested Onlytinyint
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
       [Prod. Order Capacity Need].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Prod_ Order Capacity Need$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Capacity Need]
LEFT JOIN
       [User] AS [User]
              ON
                     [Prod. Order Capacity Need].[$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
       [Prod. Order Capacity Need].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Prod_ Order Capacity Need$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Prod. Order Capacity Need]
LEFT JOIN
       [User] AS [User]
              ON
                     [Prod. Order Capacity Need].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

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