Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/6081
Table Type: Company
Table Name: Serv. Price Group Setup
Database Table Name: CRONUS UK Ltd_$Serv_ Price Group Setup$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 Serv. Price Group Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Service Price Group Code]
,[Fault Area Code]
,[Cust_ Price Group Code]
,[Currency Code]
,[Starting Date]
,[Serv_ Price Adjmt_ Gr_ Code]
,[Include Discounts]
,[Adjustment Type]
,[Amount]
,[Include VAT]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Serv. Price Group Setup]
LEFT JOIN
[CRONUS UK Ltd_$Service Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Price Group]
ON
[Serv. Price Group Setup].[Service Price Group Code] = [Service Price Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Fault Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fault Area]
ON
[Serv. Price Group Setup].[Fault Area Code] = [Fault Area].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Serv. Price Group Setup].[Currency Code] = [Currency].[Code]
LEFT JOIN
[User] AS [User]
ON
[Serv. Price Group Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Serv. Price Group Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Serv. Price Group Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | 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 [Serv. Price Group Setup].[Service Price Group Code] ,[Service Price Group].[Code] FROM [CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Serv. Price Group Setup] LEFT JOIN [CRONUS UK Ltd_$Service Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Price Group] ON [Serv. Price Group Setup].[Service Price Group Code] = [Service Price Group].[Code] | |||||||
2 | Fault Area Code | Fault Area Code | Normal | Code | 10 | Fault Area Code | nvarchar(20) |
Key to join to the Fault Area table.Show/hide example querySELECT [Serv. Price Group Setup].[Fault Area Code] ,[Fault Area].[Code] FROM [CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Serv. Price Group Setup] LEFT JOIN [CRONUS UK Ltd_$Fault Area$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fault Area] ON [Serv. Price Group Setup].[Fault Area Code] = [Fault Area].[Code] | |||||||
3 | Cust. Price Group Code | Cust. Price Group Code | Normal | Code | 10 | Cust_ Price Group Code | nvarchar(20) |
Key to join to the Customer Price Group table.Show/hide example querySELECT [Serv. Price Group Setup].[Cust_ Price Group Code] ,[Customer Price Group].[Code] FROM [CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Serv. Price Group Setup] LEFT JOIN [CRONUS UK Ltd_$Customer Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Price Group] ON [Serv. Price Group Setup].[Cust_ Price Group Code] = [Customer Price Group].[Code] | |||||||
4 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Serv. Price Group Setup].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Serv. Price Group Setup] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Serv. Price Group Setup].[Currency Code] = [Currency].[Code] | |||||||
5 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
6 | Serv. Price Adjmt. Gr. Code | Serv. Price Adjmt. Gr. Code | Normal | Code | 10 | Serv_ Price Adjmt_ Gr_ Code | nvarchar(20) |
Key to join to the Service Price Adjustment Group table.Show/hide example querySELECT [Serv. Price Group Setup].[Serv_ Price Adjmt_ Gr_ Code] ,[Service Price Adjustment Group].[Code] FROM [CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Serv. Price Group Setup] LEFT JOIN [CRONUS UK Ltd_$Service Price Adjustment Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Price Adjustment Group] ON [Serv. Price Group Setup].[Serv_ Price Adjmt_ Gr_ Code] = [Service Price Adjustment Group].[Code] | |||||||
7 | Include Discounts | Include Discounts | Normal | Boolean | 4 | Include Discounts | tinyint |
8 | Adjustment Type | Adjustment Type | Normal | Option | 4 | Adjustment Type | int |
Available options are:
| |||||||
9 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
10 | Include VAT | Include Tax | Normal | Boolean | 4 | Include VAT | tinyint |
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 [Serv. Price Group Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Serv_ Price Group Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Serv. Price Group Setup] LEFT JOIN [User] AS [User] ON [Serv. Price Group Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |