Planning Buffer

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

Table Type: Company

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

Table Number: 99000846

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 Planning Buffer can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Buffer No_]
   ,[Date]
   ,[Document Type]
   ,[Document No_]
   ,[Item No_]
   ,[Description]
   ,[Gross Requirement]
   ,[Planned Receipts]
   ,[Scheduled Receipts]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Planning Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

SELECT
   *
FROM
   [CRONUS UK Ltd_$Planning Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Buffer]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
      ON
         [Planning Buffer].[Document Type] = [Sales Header Archive].[Document Type]
      AND
         [Planning Buffer].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
      ON
         [Planning Buffer].[Document Type] = [Sales Header].[Document Type]
      AND
         [Planning Buffer].[Document No_] = [Sales Header].[No_]
LEFT JOIN
   [User] AS [User]
      ON
         [Planning Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Planning Buffer].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Planning Buffer table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Buffer No. SearchBuffer No.NormalInteger4Buffer No_int
2Date Primary Key SearchDateNormalDate4Datedatetime
3Document Type SearchDocument TypeNormalOption4Document Typeint
Available options are:
  • “Requisition Line”
  • “Planned Prod. Order Comp.”
  • “Firm Planned Prod. Order Comp.”
  • “Released Prod. Order Comp.”
  • “Planning Comp.”
  • “Sales Order”
  • “Planned Prod. Order”
  • “Planning Line”
  • “Req. Worksheet Line”
  • “Firm Planned Prod. Order”
  • “Released Prod. Order”
  • “Purchase Order”
  • “Quantity at Inventory”
  • “Service Order”
  • “Transfer”
  • “Job Order”
  • “Assembly Order”
  • “Assembly Order Line”
  • “Production Forecast-Sales”
  • “Production Forecast-Component”
4Document No. SearchDocument No.NormalCode20Document No_nvarchar(40)
6Item No. SearchItem No.NormalCode20Item No_nvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
	       [Planning Buffer].[Item No_]
	       ,[Item].[No_]
	FROM
	       [CRONUS UK Ltd_$Planning Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Buffer]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item]
	              ON
	                     [Planning Buffer].[Item No_] = [Item].[No_]
7Description SearchDescriptionNormalText100Descriptionnvarchar(200)
8Gross Requirement SearchGross RequirementNormalDecimal12Gross Requirementdecimal(38,38)
10Planned Receipts SearchPlanned ReceiptsNormalDecimal12Planned Receiptsdecimal(38,38)
11Scheduled Receipts SearchScheduled ReceiptsNormalDecimal12Scheduled Receiptsdecimal(38,38)
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
	       [Planning Buffer].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Planning Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Planning Buffer]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Planning Buffer].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Planning Buffer table

Leave a Reply

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