Sales Price

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7002

Table Type: Company

Table Name: Sales Price
Database Table Name: CRONUS UK Ltd_$Sales Price$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 7002

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 Sales Price can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Sales Price$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Item No_]
   ,[Sales Type]
   ,[Sales Code]
   ,[Starting Date]
   ,[Currency Code]
   ,[Variant Code]
   ,[Unit of Measure Code]
   ,[Minimum Quantity]
   ,[Unit Price]
   ,[Price Includes VAT]
   ,[Allow Invoice Disc_]
   ,[VAT Bus_ Posting Gr_ (Price)]
   ,[Ending Date]
   ,[Coupled to CRM]
   ,[Allow Line Disc_]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Sales Price$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Sales Price$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Price]
LEFT JOIN
   [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
      ON
         [Sales Price].[Item No_] = [Item].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [Sales Price].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
      ON
         [Sales Price].[Unit of Measure Code] = [Unit of Measure].[Code]

Show/hide columns in Sales Price table

Column IDColumn NameData Type
1timestamp Searchtimestamp
2Item No_ Primary Key Searchnvarchar(40)
Key to join to the Item table.

Show/hide example query

SELECT
       [Sales Price].[Item No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$Sales Price$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Price]
LEFT JOIN
       [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
              ON
                     [Sales Price].[Item No_] = [Item].[No_]
3Sales Type Primary Key Searchint
4Sales Code Primary Key Searchnvarchar(40)
5Starting Date Primary Key Searchdatetime
6Currency Code Primary Key Searchnvarchar(20)
Key to join to the Currency table.

Show/hide example query

SELECT
       [Sales Price].[Currency Code]
       ,[Currency].[Code]
FROM
       [CRONUS UK Ltd_$Sales Price$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Price]
LEFT JOIN
       [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
              ON
                     [Sales Price].[Currency Code] = [Currency].[Code]
7Variant Code Primary Key Searchnvarchar(20)
8Unit of Measure Code Primary Key Searchnvarchar(20)
Key to join to the Unit of Measure table.

Show/hide example query

SELECT
       [Sales Price].[Unit of Measure Code]
       ,[Unit of Measure].[Code]
FROM
       [CRONUS UK Ltd_$Sales Price$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Price]
LEFT JOIN
       [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
              ON
                     [Sales Price].[Unit of Measure Code] = [Unit of Measure].[Code]
9Minimum Quantity Primary Key Searchdecimal(38,38)
10Unit Price Searchdecimal(38,38)
11Price Includes VAT Searchtinyint
12Allow Invoice Disc_ Searchtinyint
13VAT Bus_ Posting Gr_ (Price) Searchnvarchar(40)
14Ending Date Searchdatetime
15Coupled to CRM Searchtinyint
16Allow Line Disc_ Searchtinyint
17$systemId Searchuniqueidentifier
18$systemCreatedAt Searchdatetime
19$systemCreatedBy Searchuniqueidentifier
20$systemModifiedAt Searchdatetime
21$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Sales Price table

Leave a Reply

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