Job Difference Buffer

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

Table Type: Company

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

Table Number: 1019

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [Job No_]
   ,[Job Task No_]
   ,[Type]
   ,[Location Code]
   ,[Variant Code]
   ,[Unit of Measure code]
   ,[Entry type]
   ,[Work Type Code]
   ,[No_]
   ,[Quantity]
   ,[Total Cost]
   ,[Line Amount]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Job Difference 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_$Job Difference Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Difference Buffer]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Job Difference Buffer].[Location Code] = [Location].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
      ON
         [Job Difference Buffer].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type]
      ON
         [Job Difference Buffer].[Work Type Code] = [Work Type].[Code]
LEFT JOIN
   [User] AS [User]
      ON
         [Job Difference Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Job Difference Buffer].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Job Difference Buffer table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Job No. SearchJob No.NormalCode20Job No_nvarchar(40)
Key to join to the Job table.

Show/hide example query

SELECT
	       [Job Difference Buffer].[Job No_]
	       ,[Job].[No_]
	FROM
	       [CRONUS UK Ltd_$Job Difference Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Difference Buffer]
	LEFT JOIN
	       [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
	              ON
	                     [Job Difference Buffer].[Job No_] = [Job].[No_]
2Job Task No. Primary Key SearchJob Task No.NormalCode20Job Task No_nvarchar(40)
3Type Primary Key SearchTypeNormalOption4Typeint
Available options are:
  • “Resource”
  • “Item”
  • “G/L Account”
4Location Code Primary Key SearchLocation CodeNormalCode10Location Codenvarchar(20)
Key to join to the Location table.

Show/hide example query

SELECT
	       [Job Difference Buffer].[Location Code]
	       ,[Location].[Code]
	FROM
	       [CRONUS UK Ltd_$Job Difference Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Difference Buffer]
	LEFT JOIN
	       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
	              ON
	                     [Job Difference Buffer].[Location Code] = [Location].[Code]
5Variant Code Primary Key SearchVariant CodeNormalCode10Variant Codenvarchar(20)
Key to join to the Item Variant table.

Show/hide example query

SELECT
	       [Job Difference Buffer].[Variant Code]
	       ,[Item Variant].[Code]
	FROM
	       [CRONUS UK Ltd_$Job Difference Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Difference Buffer]
	LEFT JOIN
	       [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
	              ON
	                     [Job Difference Buffer].[Variant Code] = [Item Variant].[Code]
6Unit of Measure code Primary Key SearchUnit of Measure codeNormalCode10Unit of Measure codenvarchar(20)
7Entry type Primary Key SearchEntry typeNormalOption4Entry typeint
Available options are:
  • “Budget”
  • “Usage”
8Work Type Code Primary Key SearchWork Type CodeNormalCode10Work Type Codenvarchar(20)
Key to join to the Work Type table.

Show/hide example query

SELECT
	       [Job Difference Buffer].[Work Type Code]
	       ,[Work Type].[Code]
	FROM
	       [CRONUS UK Ltd_$Job Difference Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Difference Buffer]
	LEFT JOIN
	       [CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type]
	              ON
	                     [Job Difference Buffer].[Work Type Code] = [Work Type].[Code]
9No. Primary Key SearchNo.NormalCode20No_nvarchar(40)
10Quantity Primary Key SearchQuantityNormalDecimal12Quantitydecimal(38,38)
11Total Cost SearchTotal CostNormalDecimal12Total Costdecimal(38,38)
12Line Amount SearchLine AmountNormalDecimal12Line Amountdecimal(38,38)
10010Budgeted Quantity SearchBudgeted QuantityNormalDecimal12
10011Budgeted Total Cost SearchBudgeted Total CostNormalDecimal12
10012Budgeted Line Amount SearchBudgeted Line AmountNormalDecimal12
10013Description SearchDescriptionNormalText50
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
	       [Job Difference Buffer].[$systemCreatedBy]
	       ,[User].[User Security ID]
	FROM
	       [CRONUS UK Ltd_$Job Difference Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Difference Buffer]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [Job Difference Buffer].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Job Difference Buffer table

Leave a Reply

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