Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5940
Table Type: Company
Table Name: Service Item
Database Table Name: CRONUS UK Ltd_$Service Item$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 Item can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Serial No_]
,[Service Item Group Code]
,[Description]
,[Description 2]
,[Status]
,[Priority]
,[Customer No_]
,[Ship-to Code]
,[Item No_]
,[Unit of Measure Code]
,[Location of Service Item]
,[Sales Unit Price]
,[Sales Unit Cost]
,[Warranty Starting Date (Labor)]
,[Warranty Ending Date (Labor)]
,[Warranty Starting Date (Parts)]
,[Warranty Ending Date (Parts)]
,[Warranty _ (Parts)]
,[Warranty _ (Labor)]
,[Response Time (Hours)]
,[Installation Date]
,[Sales Date]
,[Last Service Date]
,[Default Contract Value]
,[Default Contract Discount _]
,[Vendor No_]
,[Vendor Item No_]
,[No_ Series]
,[Vendor Item Name]
,[Preferred Resource]
,[Variant Code]
,[Service Price Group Code]
,[Default Contract Cost]
,[Search Description]
,[Sales_Serv_ Shpt_ Document No_]
,[Sales_Serv_ Shpt_ Line No_]
,[Shipment Type]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Service Item$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 Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item]
LEFT JOIN
[CRONUS UK Ltd_$Service Item Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item Group]
ON
[Service Item].[Service Item Group Code] = [Service Item Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Ship-to Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ship-to Address]
ON
[Service Item].[Ship-to Code] = [Ship-to Address].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Item].[Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Item].[City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Item].[Ship-to Post Code] = [Post Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
ON
[Service Item].[Ship-to City] = [Post Code].[City]
LEFT JOIN
[CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource]
ON
[Service Item].[Preferred Resource] = [Resource].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Service Item].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Service Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Price Group]
ON
[Service Item].[Service Price Group Code] = [Service Price Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Service Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Header]
ON
[Service Item].[Service Order Filter] = [Service Header].[No_]
LEFT JOIN
[User] AS [User]
ON
[Service Item].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Service Item].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Service Item table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
2 | Serial No. | Serial No. | Normal | Code | 50 | Serial No_ | nvarchar(100) |
3 | Service Item Group Code | Service Item Group Code | Normal | Code | 10 | Service Item Group Code | nvarchar(20) |
Key to join to the Service Item Group table.Show/hide example querySELECT [Service Item].[Service Item Group Code] ,[Service Item Group].[Code] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Service Item Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item Group] ON [Service Item].[Service Item Group Code] = [Service Item Group].[Code] | |||||||
4 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
5 | Description 2 | Description 2 | Normal | Text | 50 | Description 2 | nvarchar(100) |
6 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
7 | Priority | Priority | Normal | Option | 4 | Priority | int |
Available options are:
| |||||||
8 | Customer No. | Customer No. | Normal | Code | 20 | Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example querySELECT [Service Item].[Customer No_] ,[Customer].[No_] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Customer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer] ON [Service Item].[Customer No_] = [Customer].[No_] | |||||||
9 | Ship-to Code | Ship-to Code | Normal | Code | 10 | Ship-to Code | nvarchar(20) |
Key to join to the Ship-to Address table.Show/hide example querySELECT [Service Item].[Ship-to Code] ,[Ship-to Address].[Code] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Ship-to Address$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Ship-to Address] ON [Service Item].[Ship-to Code] = [Ship-to Address].[Code] | |||||||
10 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Service Item].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Service Item].[Item No_] = [Item].[No_] | |||||||
11 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
12 | Location of Service Item | Location of Service Item | Normal | Text | 30 | Location of Service Item | nvarchar(60) |
13 | Sales Unit Price | Sales Unit Price | Normal | Decimal | 12 | Sales Unit Price | decimal(38,38) |
14 | Sales Unit Cost | Sales Unit Cost | Normal | Decimal | 12 | Sales Unit Cost | decimal(38,38) |
15 | Warranty Starting Date (Labor) | Warranty Starting Date (Labor) | Normal | Date | 4 | Warranty Starting Date (Labor) | datetime |
16 | Warranty Ending Date (Labor) | Warranty Ending Date (Labor) | Normal | Date | 4 | Warranty Ending Date (Labor) | datetime |
17 | Warranty Starting Date (Parts) | Warranty Starting Date (Parts) | Normal | Date | 4 | Warranty Starting Date (Parts) | datetime |
18 | Warranty Ending Date (Parts) | Warranty Ending Date (Parts) | Normal | Date | 4 | Warranty Ending Date (Parts) | datetime |
19 | Warranty % (Parts) | Warranty % (Parts) | Normal | Decimal | 12 | Warranty _ (Parts) | decimal(38,38) |
20 | Warranty % (Labor) | Warranty % (Labor) | Normal | Decimal | 12 | Warranty _ (Labor) | decimal(38,38) |
21 | Response Time (Hours) | Response Time (Hours) | Normal | Decimal | 12 | Response Time (Hours) | decimal(38,38) |
22 | Installation Date | Installation Date | Normal | Date | 4 | Installation Date | datetime |
23 | Sales Date | Sales Date | Normal | Date | 4 | Sales Date | datetime |
24 | Last Service Date | Last Service Date | Normal | Date | 4 | Last Service Date | datetime |
25 | Default Contract Value | Default Contract Value | Normal | Decimal | 12 | Default Contract Value | decimal(38,38) |
26 | Default Contract Discount % | Default Contract Discount % | Normal | Decimal | 12 | Default Contract Discount _ | decimal(38,38) |
28 | No. of Active Contracts | No. of Active Contracts | FlowField | Integer | 4 | ||
33 | Vendor No. | Vendor No. | Normal | Code | 20 | Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example querySELECT [Service Item].[Vendor No_] ,[Vendor].[No_] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [Service Item].[Vendor No_] = [Vendor].[No_] | |||||||
34 | Vendor Item No. | Vendor Item No. | Normal | Code | 50 | Vendor Item No_ | nvarchar(100) |
47 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Service Item].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Service Item].[No_ Series] = [No. Series].[Code] | |||||||
48 | Item Description | Item Description | FlowField | Text | 100 | ||
49 | Name | Name | FlowField | Text | 100 | ||
50 | Address | Address | FlowField | Text | 100 | ||
51 | Address 2 | Address 2 | FlowField | Text | 50 | ||
52 | Post Code | ZIP Code | FlowField | Code | 20 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Item].[] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Item].[] = [Post Code].[Code] | |||||||
53 | City | City | FlowField | Text | 30 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Item].[] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Item].[] = [Post Code].[City] | |||||||
54 | Contact | Contact | FlowField | Text | 100 | ||
55 | Phone No. | Phone No. | FlowField | Text | 30 | ||
56 | Ship-to Name | Ship-to Name | FlowField | Text | 100 | ||
57 | Ship-to Address | Ship-to Address | FlowField | Text | 100 | ||
58 | Ship-to Address 2 | Ship-to Address 2 | FlowField | Text | 50 | ||
59 | Ship-to Post Code | Ship-to ZIP Code | FlowField | Code | 20 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Item].[] ,[Post Code].[Code] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Item].[] = [Post Code].[Code] | |||||||
60 | Ship-to City | Ship-to City | FlowField | Text | 30 | ||
Key to join to the Post Code table.Show/hide example querySELECT [Service Item].[] ,[Post Code].[City] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code] ON [Service Item].[] = [Post Code].[City] | |||||||
61 | Ship-to Contact | Ship-to Contact | FlowField | Text | 100 | ||
62 | Ship-to Phone No. | Ship-to Phone No. | FlowField | Text | 30 | ||
63 | Usage (Cost) | Usage (Cost) | FlowField | Decimal | 12 | ||
64 | Usage (Amount) | Usage (Amount) | FlowField | Decimal | 12 | ||
65 | Invoiced Amount | Invoiced Amount | FlowField | Decimal | 12 | ||
66 | Total Quantity | Total Quantity | FlowField | Decimal | 12 | ||
67 | Total Qty. Invoiced | Total Qty. Invoiced | FlowField | Decimal | 12 | ||
68 | Resources Used | Resources Used | FlowField | Decimal | 12 | ||
69 | Parts Used | Parts Used | FlowField | Decimal | 12 | ||
70 | Cost Used | Cost Used | FlowField | Decimal | 12 | ||
71 | Vendor Name | Vendor Name | FlowField | Text | 100 | ||
72 | Vendor Item Name | Vendor Item Name | Normal | Text | 100 | Vendor Item Name | nvarchar(200) |
73 | Comment | Comment | FlowField | Boolean | 4 | ||
74 | Service Item Components | Service Item Components | FlowField | Boolean | 4 | ||
75 | Preferred Resource | Preferred Resource | Normal | Code | 20 | Preferred Resource | nvarchar(40) |
Key to join to the Resource table.Show/hide example querySELECT [Service Item].[Preferred Resource] ,[Resource].[No_] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] ON [Service Item].[Preferred Resource] = [Resource].[No_] | |||||||
76 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Service Item].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Service Item].[Variant Code] = [Item Variant].[Code] | |||||||
77 | County | State | FlowField | Text | 30 | ||
78 | Ship-to County | Ship-to State | FlowField | Text | 30 | ||
79 | Contract Cost | Contract Cost | FlowField | Decimal | 12 | ||
81 | Country/Region Code | Country/Region Code | FlowField | Code | 10 | ||
82 | Ship-to Country/Region Code | Ship-to Country/Region Code | FlowField | Code | 10 | ||
83 | Name 2 | Name 2 | FlowField | Text | 50 | ||
84 | Ship-to Name 2 | Ship-to Name 2 | FlowField | Text | 50 | ||
85 | Service Price Group Code | Service Price Group Code | Normal | Code | 10 | Service Price Group Code | nvarchar(20) |
Key to join to the Service Price Group table.Show/hide example querySELECT [Service Item].[Service Price Group Code] ,[Service Price Group].[Code] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Service Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Price Group] ON [Service Item].[Service Price Group Code] = [Service Price Group].[Code] | |||||||
86 | Default Contract Cost | Default Contract Cost | Normal | Decimal | 12 | Default Contract Cost | decimal(38,38) |
87 | Prepaid Amount | Prepaid Amount | FlowField | Decimal | 12 | ||
88 | Search Description | Search Description | Normal | Code | 100 | Search Description | nvarchar(200) |
89 | Service Contracts | Service Contracts | FlowField | Boolean | 4 | ||
90 | Total Qty. Consumed | Total Qty. Consumed | FlowField | Decimal | 12 | ||
100 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
101 | Type Filter | Type Filter | FlowFilter | Option | 4 | ||
102 | Contract Filter | Contract Filter | FlowFilter | Code | 20 | ||
103 | Service Order Filter | Service Order Filter | FlowFilter | Code | 20 | ||
Key to join to the Service Header table.Show/hide example querySELECT [Service Item].[] ,[Service Header].[No_] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [CRONUS UK Ltd_$Service Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Header] ON [Service Item].[] = [Service Header].[No_] | |||||||
104 | Sales/Serv. Shpt. Document No. | Sales/Serv. Shpt. Document No. | Normal | Code | 20 | Sales_Serv_ Shpt_ Document No_ | nvarchar(40) |
105 | Sales/Serv. Shpt. Line No. | Sales/Serv. Shpt. Line No. | Normal | Integer | 4 | Sales_Serv_ Shpt_ Line No_ | int |
106 | Shipment Type | Shipment Type | Normal | Option | 4 | Shipment Type | int |
Available options are:
| |||||||
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 Item].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] LEFT JOIN [User] AS [User] ON [Service Item].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |