Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/6529
Table Type: Company
Table Name: Record Buffer
Database Table Name: CRONUS UK Ltd_$Record 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 Record Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Record Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Table No_]
,[Table Name]
,[Record Identifier]
,[Search Record ID]
,[Primary Key]
,[Primary Key Field 1 No_]
,[Primary Key Field 1 Value]
,[Primary Key Field 2 No_]
,[Primary Key Field 2 Value]
,[Primary Key Field 3 No_]
,[Primary Key Field 3 Value]
,[Level]
,[Serial No_]
,[Lot No_]
,[Item No_]
,[Variant Code]
,[Package No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Record 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_$Record Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Record Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Record Buffer].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Record Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Record Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Record Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
3 | Table No. | Table No. | Normal | Integer | 4 | Table No_ | int |
4 | Table Name | Table Name | Normal | Text | 250 | Table Name | nvarchar(500) |
5 | Record Identifier | Record Identifier | Normal | RecordID | 448 | Record Identifier | varbinary(448) |
6 | Search Record ID | Search Record ID | Normal | Code | 100 | Search Record ID | nvarchar(200) |
7 | Primary Key | Primary Key | Normal | Text | 250 | Primary Key | nvarchar(500) |
8 | Primary Key Field 1 No. | Primary Key Field 1 No. | Normal | Integer | 4 | Primary Key Field 1 No_ | int |
9 | Primary Key Field 1 Name | Primary Key Field 1 Name | FlowField | Text | 80 | ||
10 | Primary Key Field 1 Value | Primary Key Field 1 Value | Normal | Text | 50 | Primary Key Field 1 Value | nvarchar(100) |
11 | Primary Key Field 2 No. | Primary Key Field 2 No. | Normal | Integer | 4 | Primary Key Field 2 No_ | int |
12 | Primary Key Field 2 Name | Primary Key Field 2 Name | FlowField | Text | 80 | ||
13 | Primary Key Field 2 Value | Primary Key Field 2 Value | Normal | Text | 50 | Primary Key Field 2 Value | nvarchar(100) |
14 | Primary Key Field 3 No. | Primary Key Field 3 No. | Normal | Integer | 4 | Primary Key Field 3 No_ | int |
15 | Primary Key Field 3 Name | Primary Key Field 3 Name | FlowField | Text | 80 | ||
16 | Primary Key Field 3 Value | Primary Key Field 3 Value | Normal | Text | 50 | Primary Key Field 3 Value | nvarchar(100) |
17 | Level | Level | Normal | Integer | 4 | Level | int |
20 | Serial No. | Serial No. | Normal | Code | 50 | Serial No_ | nvarchar(100) |
21 | Lot No. | Lot No. | Normal | Code | 50 | Lot No_ | nvarchar(100) |
22 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Record Buffer].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Record Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Record Buffer] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Record Buffer].[Item No_] = [Item].[No_] | |||||||
23 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Record Buffer].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Record Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Record Buffer] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Record Buffer].[Variant Code] = [Item Variant].[Code] | |||||||
6515 | Package No. | Package No. | Normal | Code | 50 | Package No_ | nvarchar(100) |
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 [Record Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Record Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Record Buffer] LEFT JOIN [User] AS [User] ON [Record Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |