Sales Line Discount

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

Table Type: Company

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

Table Number: 7004

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 Line Discount can be queried.

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Type]
   ,[Code]
   ,[Sales Type]
   ,[Sales Code]
   ,[Starting Date]
   ,[Currency Code]
   ,[Variant Code]
   ,[Unit of Measure Code]
   ,[Minimum Quantity]
   ,[Line Discount _]
   ,[Ending Date]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Sales Line Discount$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 Line Discount$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Line Discount]
LEFT JOIN
   [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
      ON
         [Sales Line Discount].[Currency Code] = [Currency].[Code]
LEFT JOIN
   [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
      ON
         [Sales Line Discount].[Unit of Measure Code] = [Unit of Measure].[Code]

Show/hide columns in Sales Line Discount table

Column IDColumn NameData Type
1timestamp Searchtimestamp
2Type Primary Key Searchint
3Code Primary Key Searchnvarchar(40)
4Sales Type Primary Key Searchint
5Sales Code Primary Key Searchnvarchar(40)
6Starting Date Primary Key Searchdatetime
7Currency Code Primary Key Searchnvarchar(20)
Key to join to the Currency table.

Show/hide example query

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

Show/hide example query

SELECT
       [Sales Line Discount].[Unit of Measure Code]
       ,[Unit of Measure].[Code]
FROM
       [CRONUS UK Ltd_$Sales Line Discount$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Line Discount]
LEFT JOIN
       [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
              ON
                     [Sales Line Discount].[Unit of Measure Code] = [Unit of Measure].[Code]
10Minimum Quantity Primary Key Searchdecimal(38,38)
11Line Discount _ Searchdecimal(38,38)
12Ending Date Searchdatetime
13$systemId Searchuniqueidentifier
14$systemCreatedAt Searchdatetime
15$systemCreatedBy Searchuniqueidentifier
16$systemModifiedAt Searchdatetime
17$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Sales Line Discount table

Leave a Reply

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