Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/421
Table Type: Company
Table Name: Handled IC Inbox Jnl. Line
Database Table Name: CRONUS UK Ltd_$Handled IC Inbox Jnl_ 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 Jnl. Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Handled IC Inbox Jnl_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Transaction No_]
,[IC Partner Code]
,[Line No_]
,[Account Type]
,[Account No_]
,[Amount]
,[Description]
,[VAT Amount]
,[Currency Code]
,[Due Date]
,[Payment Discount _]
,[Payment Discount Date]
,[Quantity]
,[Transaction Source]
,[Document No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Handled IC Inbox Jnl_ 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 Jnl_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Jnl. Line]
LEFT JOIN
[CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner]
ON
[Handled IC Inbox Jnl. Line].[IC Partner Code] = [IC Partner].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Handled IC Inbox Jnl. Line].[Currency Code] = [Currency].[Code]
LEFT JOIN
[User] AS [User]
ON
[Handled IC Inbox Jnl. Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Handled IC Inbox Jnl. Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Handled IC Inbox Jnl. Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Transaction No. | Transaction No. | Normal | Integer | 4 | Transaction No_ | int |
2 | 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 Inbox Jnl. Line].[IC Partner Code] ,[IC Partner].[Code] FROM [CRONUS UK Ltd_$Handled IC Inbox Jnl_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Jnl. Line] LEFT JOIN [CRONUS UK Ltd_$IC Partner$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [IC Partner] ON [Handled IC Inbox Jnl. Line].[IC Partner Code] = [IC Partner].[Code] | |||||||
3 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
4 | Account Type | Account Type | Normal | Option | 4 | Account Type | int |
Available options are:
| |||||||
5 | Account No. | Account No. | Normal | Code | 20 | Account No_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Handled IC Inbox Jnl. Line].[Account No_] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Handled IC Inbox Jnl_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Jnl. Line] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Handled IC Inbox Jnl. Line].[Account No_] = [G/L Account].[No_] | |||||||
6 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
7 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
8 | VAT Amount | Tax Amount | Normal | Decimal | 12 | VAT Amount | decimal(38,38) |
9 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Handled IC Inbox Jnl. Line].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Handled IC Inbox Jnl_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Jnl. Line] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Handled IC Inbox Jnl. Line].[Currency Code] = [Currency].[Code] | |||||||
11 | Due Date | Due Date | Normal | Date | 4 | Due Date | datetime |
12 | Payment Discount % | Payment Discount % | Normal | Decimal | 12 | Payment Discount _ | decimal(38,38) |
13 | Payment Discount Date | Payment Discount Date | Normal | Date | 4 | Payment Discount Date | datetime |
14 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
15 | Transaction Source | Transaction Source | Normal | Option | 4 | Transaction Source | int |
Available options are:
| |||||||
16 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
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 Inbox Jnl. Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Handled IC Inbox Jnl_ Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Handled IC Inbox Jnl. Line] LEFT JOIN [User] AS [User] ON [Handled IC Inbox Jnl. Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |