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
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 Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Job No. | Job No. | Normal | Code | 20 | Job No_ | nvarchar(40) |
Key to join to the Job table.Show/hide example querySELECT [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_] | |||||||
2 | Job Task No. | Job Task No. | Normal | Code | 20 | Job Task No_ | nvarchar(40) |
3 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
4 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [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] | |||||||
5 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [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] | |||||||
6 | Unit of Measure code | Unit of Measure code | Normal | Code | 10 | Unit of Measure code | nvarchar(20) |
7 | Entry type | Entry type | Normal | Option | 4 | Entry type | int |
Available options are:
| |||||||
8 | Work Type Code | Work Type Code | Normal | Code | 10 | Work Type Code | nvarchar(20) |
Key to join to the Work Type table.Show/hide example querySELECT [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] | |||||||
9 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
10 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
11 | Total Cost | Total Cost | Normal | Decimal | 12 | Total Cost | decimal(38,38) |
12 | Line Amount | Line Amount | Normal | Decimal | 12 | Line Amount | decimal(38,38) |
10010 | Budgeted Quantity | Budgeted Quantity | Normal | Decimal | 12 | ||
10011 | Budgeted Total Cost | Budgeted Total Cost | Normal | Decimal | 12 | ||
10012 | Budgeted Line Amount | Budgeted Line Amount | Normal | Decimal | 12 | ||
10013 | Description | Description | Normal | Text | 50 | ||
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [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] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |