Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5933
Table Type: Company
Table Name: Service Order Posting Buffer
Database Table Name: CRONUS UK Ltd_$Service Order Posting 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 Service Order Posting Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Service Order No_]
,[Entry Type]
,[Posting Group Type]
,[No_]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Gen_ Bus_ Posting Group]
,[Gen_ Prod_ Posting Group]
,[Unit of Measure Code]
,[Work Type Code]
,[Quantity]
,[Total Cost]
,[Total Price]
,[Appl_-to Service Entry]
,[Service Contract No_]
,[Service Item No_]
,[Qty_ to Invoice]
,[Location Code]
,[Dimension Entry No_]
,[Line Discount _]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Service Order Posting 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_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Service Order Posting Buffer].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Service Order Posting Buffer].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type]
ON
[Service Order Posting Buffer].[Work Type Code] = [Work Type].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Service Order Posting Buffer].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Service Order Posting Buffer].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Service Order Posting Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Service Order Posting Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Service Order Posting Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Service Order No. | Service Order No. | Normal | Code | 20 | Service Order No_ | nvarchar(40) |
2 | Entry Type | Entry Type | Normal | Option | 4 | Entry Type | int |
Available options are:
| |||||||
3 | Posting Group Type | Posting Group Type | Normal | Option | 4 | Posting Group Type | int |
Available options are:
| |||||||
4 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
6 | Global Dimension 1 Code | Global Dimension 1 Code | Normal | Code | 20 | Global Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Service Order Posting Buffer].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Service Order Posting Buffer].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
7 | Global Dimension 2 Code | Global Dimension 2 Code | Normal | Code | 20 | Global Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Service Order Posting Buffer].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Service Order Posting Buffer].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
8 | Gen. Bus. Posting Group | Gen. Bus. Posting Group | Normal | Code | 20 | Gen_ Bus_ Posting Group | nvarchar(40) |
Key to join to the Gen. Business Posting Group table.Show/hide example querySELECT [Service Order Posting Buffer].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [Service Order Posting Buffer].[Gen_ Bus_ Posting Group] = [Gen. Business Posting Group].[Code] | |||||||
9 | Gen. Prod. Posting Group | Gen. Prod. Posting Group | Normal | Code | 20 | Gen_ Prod_ Posting Group | nvarchar(40) |
Key to join to the Gen. Product Posting Group table.Show/hide example querySELECT [Service Order Posting Buffer].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [Service Order Posting Buffer].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
10 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
11 | 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 [Service Order Posting Buffer].[Work Type Code] ,[Work Type].[Code] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type] ON [Service Order Posting Buffer].[Work Type Code] = [Work Type].[Code] | |||||||
13 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
14 | Total Cost | Total Cost | Normal | Decimal | 12 | Total Cost | decimal(38,38) |
15 | Total Price | Total Price | Normal | Decimal | 12 | Total Price | decimal(38,38) |
16 | Appl.-to Service Entry | Appl.-to Service Entry | Normal | Integer | 4 | Appl_-to Service Entry | int |
17 | Service Contract No. | Service Contract No. | Normal | Code | 20 | Service Contract No_ | nvarchar(40) |
18 | Service Item No. | Service Item No. | Normal | Code | 20 | Service Item No_ | nvarchar(40) |
Key to join to the Service Item table.Show/hide example querySELECT [Service Order Posting Buffer].[Service Item No_] ,[Service Item].[No_] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] ON [Service Order Posting Buffer].[Service Item No_] = [Service Item].[No_] | |||||||
21 | Qty. to Invoice | Qty. to Invoice | Normal | Decimal | 12 | Qty_ to Invoice | decimal(38,38) |
22 | Location Code | Location Code | Normal | Code | 20 | Location Code | nvarchar(40) |
Key to join to the Location table.Show/hide example querySELECT [Service Order Posting Buffer].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Service Order Posting Buffer].[Location Code] = [Location].[Code] | |||||||
23 | Dimension Entry No. | Dimension Entry No. | Normal | Integer | 4 | Dimension Entry No_ | int |
24 | Line Discount % | Line Discount % | Normal | Decimal | 12 | Line Discount _ | decimal(38,38) |
480 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Service Order Posting Buffer].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Service Order Posting Buffer].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
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 [Service Order Posting Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Service Order Posting Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Order Posting Buffer] LEFT JOIN [User] AS [User] ON [Service Order Posting Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |