Serv. Price Group Setup

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

Table Number: 6081

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 NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1Service Price Group Code SearchService Price Group CodeNormalCode10Service Price Group Codenvarchar(20)
Key to join to the Service Price Group table.

Show/hide example query

SELECT
	       [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]
2Fault Area Code Primary Key SearchFault Area CodeNormalCode10Fault Area Codenvarchar(20)
Key to join to the Fault Area table.

Show/hide example query

SELECT
	       [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]
3Cust. Price Group Code Primary Key SearchCust. Price Group CodeNormalCode10Cust_ Price Group Codenvarchar(20)
Key to join to the Customer Price Group table.

Show/hide example query

SELECT
	       [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]
4Currency Code Primary Key SearchCurrency CodeNormalCode10Currency Codenvarchar(20)
Key to join to the Currency table.

Show/hide example query

SELECT
	       [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]
5Starting Date Primary Key SearchStarting DateNormalDate4Starting Datedatetime
6Serv. Price Adjmt. Gr. Code Primary Key SearchServ. Price Adjmt. Gr. CodeNormalCode10Serv_ Price Adjmt_ Gr_ Codenvarchar(20)
Key to join to the Service Price Adjustment Group table.

Show/hide example query

SELECT
	       [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]
7Include Discounts SearchInclude DiscountsNormalBoolean4Include Discountstinyint
8Adjustment Type SearchAdjustment TypeNormalOption4Adjustment Typeint
Available options are:
  • “Fixed”
  • “Maximum”
  • “Minimum”
9Amount SearchAmountNormalDecimal12Amountdecimal(38,38)
10Include VAT SearchInclude TaxNormalBoolean4Include VATtinyint
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
	       [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]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier

Show/hide tables related from Serv. Price Group Setup table

Leave a Reply

Your email address will not be published. Required fields are marked *