Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/433
Table Type: Company
Table Name: Handled IC Outbox Purch_ Line
Database Table Name: CRONUS UK Ltd_$Handled IC Outbox Purch_ 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 Outbox Purch_ Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Handled IC Outbox Purch_ 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]
,[Direct Unit Cost]
,[Line Discount _]
,[Line Discount Amount]
,[Amount Including VAT]
,[Job No_]
,[Indirect Cost _]
,[Drop Shipment]
,[Currency Code]
,[VAT Base Amount]
,[Unit Cost]
,[Line Amount]
,[IC Partner Ref_ Type]
,[IC Partner Reference]
,[IC Item Reference No_]
,[Unit of Measure Code]
,[Requested Receipt Date]
,[Promised Receipt Date]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Handled IC Outbox Purch_ 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 Outbox Purch_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch_ Line]
LEFT JOIN
[CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[Handled IC Outbox Purch_ Line].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
ON
[Handled IC Outbox Purch_ Line].[Job No_] = [Job].[Job No_]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Handled IC Outbox Purch_ 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 Outbox Purch_ Line].[Unit of Measure Code] = [Unit of Measure].[Code]
Show/hide columns in Handled IC Outbox Purch_ 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 Outbox Purch_ Line].[IC Partner Code]
,[IC Partner].[Code]
FROM
[CRONUS UK Ltd_$Handled IC Outbox Purch_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch_ Line]
LEFT JOIN
[CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[Handled IC Outbox Purch_ 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 | Direct Unit Cost ![]() | 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 Outbox Purch_ Line].[Job No_]
,[Job].[Job No_]
FROM
[CRONUS UK Ltd_$Handled IC Outbox Purch_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch_ Line]
LEFT JOIN
[CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job]
ON
[Handled IC Outbox Purch_ Line].[Job No_] = [Job].[Job No_] | ||||||
16 | Indirect Cost _ ![]() | decimal(38,38) | ||||
17 | Drop Shipment ![]() | tinyint | ||||
18 | Currency Code ![]() | nvarchar(20) | ||||
Key to join to the Currency table.Show/hide example querySELECT
[Handled IC Outbox Purch_ Line].[Currency Code]
,[Currency].[Code]
FROM
[CRONUS UK Ltd_$Handled IC Outbox Purch_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch_ Line]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Handled IC Outbox Purch_ Line].[Currency Code] = [Currency].[Code] | ||||||
19 | VAT Base Amount ![]() | decimal(38,38) | ||||
20 | Unit Cost ![]() | decimal(38,38) | ||||
21 | Line Amount ![]() | decimal(38,38) | ||||
22 | IC Partner Ref_ Type ![]() | int | ||||
23 | IC Partner Reference ![]() | nvarchar(40) | ||||
24 | IC Item Reference No_ ![]() | nvarchar(100) | ||||
25 | Unit of Measure Code ![]() | nvarchar(20) | ||||
Key to join to the Unit of Measure table.Show/hide example querySELECT
[Handled IC Outbox Purch_ Line].[Unit of Measure Code]
,[Unit of Measure].[Code]
FROM
[CRONUS UK Ltd_$Handled IC Outbox Purch_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch_ Line]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Handled IC Outbox Purch_ Line].[Unit of Measure Code] = [Unit of Measure].[Code] | ||||||
26 | Requested Receipt Date ![]() | datetime | ||||
27 | Promised Receipt Date ![]() | datetime | ||||
28 | $systemId ![]() | uniqueidentifier | ||||
29 | $systemCreatedAt ![]() | datetime | ||||
30 | $systemCreatedBy ![]() | uniqueidentifier | ||||
31 | $systemModifiedAt ![]() | datetime | ||||
32 | $systemModifiedBy ![]() | uniqueidentifier |