Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/439
Table Type: Company
Table Name: Handled IC Inbox Sales Line
Database Table Name: CRONUS UK Ltd_$Handled IC Inbox Sales Line$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 Handled IC Inbox Sales Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[IC Transaction No_]
,[IC Partner Code]
,[Transaction Source]
,[Line No_]
,[Document Type]
,[Document No_]
,[Description]
,[Description 2]
,[Quantity]
,[Unit Price]
,[Line Discount _]
,[Line Discount Amount]
,[Amount Including VAT]
,[Job No_]
,[Drop Shipment]
,[Currency Code]
,[VAT Base Amount]
,[Line Amount]
,[IC Partner Ref_ Type]
,[IC Partner Reference]
,[Item Ref_]
,[IC Item Reference No_]
,[Unit of Measure Code]
,[Requested Delivery Date]
,[Promised Delivery Date]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
LEFT JOIN
[CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[Handled IC Inbox Sales Line].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
ON
[Handled IC Inbox Sales Line].[Job No_] = [Job].[Job No_]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Handled IC Inbox Sales Line].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Handled IC Inbox Sales Line].[Unit of Measure Code] = [Unit of Measure].[Code]
Show/hide columns in Handled IC Inbox Sales Line table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | IC Transaction No_ ![]() ![]() | int | ||||
3 | IC Partner Code ![]() ![]() | nvarchar(40) | ||||
Key to join to the IC Partner table.Show/hide example querySELECT
[Handled IC Inbox Sales Line].[IC Partner Code]
,[IC Partner].[Code]
FROM
[CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
LEFT JOIN
[CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[Handled IC Inbox Sales Line].[IC Partner Code] = [IC Partner].[Code] | ||||||
4 | Transaction Source ![]() ![]() | int | ||||
5 | Line No_ ![]() ![]() | int | ||||
6 | Document Type ![]() | int | ||||
7 | Document No_ ![]() | nvarchar(40) | ||||
8 | Description ![]() | nvarchar(200) | ||||
9 | Description 2 ![]() | nvarchar(100) | ||||
10 | Quantity ![]() | decimal(38,38) | ||||
11 | Unit Price ![]() | decimal(38,38) | ||||
12 | Line Discount _ ![]() | decimal(38,38) | ||||
13 | Line Discount Amount ![]() | decimal(38,38) | ||||
14 | Amount Including VAT ![]() | decimal(38,38) | ||||
15 | Job No_ ![]() | nvarchar(40) | ||||
Key to join to the Job table.Show/hide example querySELECT
[Handled IC Inbox Sales Line].[Job No_]
,[Job].[Job No_]
FROM
[CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
LEFT JOIN
[CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
ON
[Handled IC Inbox Sales Line].[Job No_] = [Job].[Job No_] | ||||||
16 | Drop Shipment ![]() | tinyint | ||||
17 | Currency Code ![]() | nvarchar(20) | ||||
Key to join to the Currency table.Show/hide example querySELECT
[Handled IC Inbox Sales Line].[Currency Code]
,[Currency].[Code]
FROM
[CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Handled IC Inbox Sales Line].[Currency Code] = [Currency].[Code] | ||||||
18 | VAT Base Amount ![]() | decimal(38,38) | ||||
19 | Line Amount ![]() | decimal(38,38) | ||||
20 | IC Partner Ref_ Type ![]() | int | ||||
21 | IC Partner Reference ![]() | nvarchar(40) | ||||
22 | Item Ref_ ![]() | int | ||||
23 | IC Item Reference No_ ![]() | nvarchar(100) | ||||
24 | Unit of Measure Code ![]() | nvarchar(20) | ||||
Key to join to the Unit of Measure table.Show/hide example querySELECT
[Handled IC Inbox Sales Line].[Unit of Measure Code]
,[Unit of Measure].[Code]
FROM
[CRONUS UK Ltd_$Handled IC Inbox Sales Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Sales Line]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Handled IC Inbox Sales Line].[Unit of Measure Code] = [Unit of Measure].[Code] | ||||||
25 | Requested Delivery Date ![]() | datetime | ||||
26 | Promised Delivery Date ![]() | datetime | ||||
27 | $systemId ![]() | uniqueidentifier | ||||
28 | $systemCreatedAt ![]() | datetime | ||||
29 | $systemCreatedBy ![]() | uniqueidentifier | ||||
30 | $systemModifiedAt ![]() | datetime | ||||
31 | $systemModifiedBy ![]() | uniqueidentifier |