ATO Sales Buffer

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

Table Type: Company

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

Table Number: 915

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

Show/hide an example select of all columns

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

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Type]
   ,[Order No_]
   ,[Item No_]
   ,[Parent Item No_]
   ,[Quantity]
   ,[Sales Cost]
   ,[Sales Amount]
   ,[Profit _]
   ,[Parent Description]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$ATO Sales Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]

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

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

Show/hide columns in ATO Sales Buffer table

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

Show/hide example query

SELECT
       [ATO Sales Buffer].[Item No_]
       ,[Item].[No_]
FROM
       [CRONUS UK Ltd_$ATO Sales Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [ATO Sales Buffer]
LEFT JOIN
       [CRONUS UK Ltd_$Item$c526b3e9-b8ca-4683-81ba-fcd5f6b1472a] AS [Item]
              ON
                     [ATO Sales Buffer].[Item No_] = [Item].[No_]
5Parent Item No_ Primary Key Searchnvarchar(40)
6Quantity Searchdecimal(38,38)
7Sales Cost Searchdecimal(38,38)
8Sales Amount Searchdecimal(38,38)
9Profit _ Searchdecimal(38,38)
10Parent Description Searchnvarchar(200)
11$systemId Searchuniqueidentifier
12$systemCreatedAt Searchdatetime
13$systemCreatedBy Searchuniqueidentifier
14$systemModifiedAt Searchdatetime
15$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from ATO Sales Buffer table

Leave a Reply

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