Capacity Constrained Resource

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

Table Type: Company

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

Table Number: 99000866

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Capacity No_]
   ,[Capacity Type]
   ,[Name]
   ,[Critical Load _]
   ,[Dampener (_ of Total Capacity)]
   ,[Work Center No_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Capacity Constrained Resource$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [] AS [Capacity Constrained Resource]
LEFT JOIN
   [CRONUS UK Ltd_$Work Shift$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Shift]
      ON
         [Capacity Constrained Resource].[Work Shift Filter] = [Work Shift].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Capacity Constrained Resource].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Capacity Constrained Resource].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Capacity Constrained Resource table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Capacity No. SearchCapacity No.NormalCode20Capacity No_nvarchar(40)
2Capacity Type Primary Key SearchCapacity TypeNormalOption4Capacity Typeint
Available options are:
  • “Work Center”
  • “Machine Center”
3Name Primary Key SearchNameNormalText100Namenvarchar(200)
10Critical Load % SearchCritical Load %NormalDecimal12Critical Load _decimal(38,38)
11Dampener (% of Total Capacity) SearchDampener (% of Total Capacity)NormalDecimal12Dampener (_ of Total Capacity)decimal(38,38)
14Work Center No. SearchWork Center No.NormalCode20Work Center No_nvarchar(40)
Key to join to the Work Center table.

Show/hide example query

SELECT
	       [Capacity Constrained Resource].[Work Center No_]
	       ,[Work Center].[No_]
	FROM
	       [CRONUS UK Ltd_$Capacity Constrained Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Constrained Resource]
	LEFT JOIN
	       [CRONUS UK Ltd_$Work Center$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Center]
	              ON
	                     [Capacity Constrained Resource].[Work Center No_] = [Work Center].[No_]
39Date Filter SearchDate FilterFlowFilterDate4
40Work Shift Filter SearchWork Shift FilterFlowFilterCode10
Key to join to the Work Shift table.

Show/hide example query

SELECT
	       [Capacity Constrained Resource].[]
	       ,[Work Shift].[Code]
	FROM
	       [CRONUS UK Ltd_$Capacity Constrained Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Constrained Resource]
	LEFT JOIN
	       [CRONUS UK Ltd_$Work Shift$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Shift]
	              ON
	                     [Capacity Constrained Resource].[] = [Work Shift].[Code]
42Capacity (Effective) SearchCapacity (Effective)FlowFieldDecimal12
44Prod. Order Need Qty. SearchProd. Order Need Qty.FlowFieldDecimal12
46Work Center Load Qty. SearchWork Center Load Qty.FlowFieldDecimal12
48Prod. Order Need Qty. for Plan SearchProd. Order Need Qty. for PlanFlowFieldDecimal12
49Work Center Load Qty. for Plan SearchWork Center Load Qty. for PlanFlowFieldDecimal12
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 Constrained Resource].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Capacity Constrained Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Capacity Constrained Resource]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Capacity Constrained Resource].[$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 *