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
[Document Type]
,[Document No_]
,[Line 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 Partner Code]
,[IC Transaction No_]
,[Transaction Source]
,[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_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Handled IC Outbox Purch. Line].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Handled IC Outbox Purch. Line].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Handled IC Outbox Purch. Line].[Document Type] = [Sales Header].[Document Type]
AND
[Handled IC Outbox Purch. Line].[Document No_] = [Sales Header].[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_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[Handled IC Outbox Purch. Line].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
[User] AS [User]
ON
[Handled IC Outbox Purch. Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Handled IC Outbox Purch. Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Handled IC Outbox Purch. Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Document Type | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
3 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
4 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
11 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
12 | Description 2 | Description 2 | Normal | Text | 50 | Description 2 | nvarchar(100) |
15 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
22 | Direct Unit Cost | Direct Unit Cost | Normal | Decimal | 12 | Direct Unit Cost | decimal(38,38) |
27 | Line Discount % | Line Discount % | Normal | Decimal | 12 | Line Discount _ | decimal(38,38) |
28 | Line Discount Amount | Line Discount Amount | Normal | Decimal | 12 | Line Discount Amount | decimal(38,38) |
30 | Amount Including VAT | Amount Including Tax | Normal | Decimal | 12 | Amount Including VAT | decimal(38,38) |
45 | Job No. | Job No. | Normal | Code | 20 | Job No_ | nvarchar(40) |
Key to join to the Job table.Show/hide example querySELECT [Handled IC Outbox Purch. Line].[Job No_] ,[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].[No_] | |||||||
54 | Indirect Cost % | Indirect Cost % | Normal | Decimal | 12 | Indirect Cost _ | decimal(38,38) |
73 | Drop Shipment | Drop Shipment | Normal | Boolean | 4 | Drop Shipment | tinyint |
91 | Currency Code | Currency Code | Normal | Code | 10 | 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] | |||||||
99 | VAT Base Amount | Tax Base Amount | Normal | Decimal | 12 | VAT Base Amount | decimal(38,38) |
100 | Unit Cost | Unit Cost | Normal | Decimal | 12 | Unit Cost | decimal(38,38) |
103 | Line Amount | Line Amount | Normal | Decimal | 12 | Line Amount | decimal(38,38) |
107 | IC Partner Ref. Type | IC Partner Ref. Type | Normal | Option | 4 | IC Partner Ref_ Type | int |
Available options are:
| |||||||
108 | IC Partner Reference | IC Partner Reference | Normal | Code | 20 | IC Partner Reference | nvarchar(40) |
125 | IC Partner Code | IC Partner Code | Normal | Code | 20 | 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] | |||||||
126 | IC Transaction No. | IC Transaction No. | Normal | Integer | 4 | IC Transaction No_ | int |
127 | Transaction Source | Transaction Source | Normal | Option | 4 | Transaction Source | int |
Available options are:
| |||||||
138 | IC Item Reference No. | IC Item Reference No. | Normal | Code | 50 | IC Item Reference No_ | nvarchar(100) |
5407 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
5790 | Requested Receipt Date | Requested Receipt Date | Normal | Date | 4 | Requested Receipt Date | datetime |
5791 | Promised Receipt Date | Promised Receipt Date | Normal | Date | 4 | Promised Receipt Date | datetime |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Handled IC Outbox Purch. Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Handled IC Outbox Purch_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Outbox Purch. Line] LEFT JOIN [User] AS [User] ON [Handled IC Outbox Purch. Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |