Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/343
Table Type: Company
Table Name: Item Application Entry History
Database Table Name: CRONUS UK Ltd_$Item Application Entry History$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 Item Application Entry History can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Item Ledger Entry No_]
,[Inbound Item Entry No_]
,[Outbound Item Entry No_]
,[Primary Entry No_]
,[Quantity]
,[Posting Date]
,[Transferred-from Entry No_]
,[Creation Date]
,[Created By User]
,[Last Modified Date]
,[Last Modified By User]
,[Deleted Date]
,[Deleted By User]
,[Cost Application]
,[Output Completely Invd_ Date]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History]
LEFT JOIN
[User] AS [User]
ON
[Item Application Entry History].[Created By User] = [User].[User Name]
LEFT JOIN
[User] AS [User]
ON
[Item Application Entry History].[Last Modified By User] = [User].[User Name]
LEFT JOIN
[User] AS [User]
ON
[Item Application Entry History].[Deleted By User] = [User].[User Name]
LEFT JOIN
[User] AS [User]
ON
[Item Application Entry History].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Item Application Entry History].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Item Application Entry History table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
2 | Item Ledger Entry No. | Item Ledger Entry No. | Normal | Integer | 4 | Item Ledger Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example querySELECT [Item Application Entry History].[Item Ledger Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Item Application Entry History].[Item Ledger Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
3 | Inbound Item Entry No. | Inbound Item Entry No. | Normal | Integer | 4 | Inbound Item Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example querySELECT [Item Application Entry History].[Inbound Item Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Item Application Entry History].[Inbound Item Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
4 | Outbound Item Entry No. | Outbound Item Entry No. | Normal | Integer | 4 | Outbound Item Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example querySELECT [Item Application Entry History].[Outbound Item Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Item Application Entry History].[Outbound Item Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
9 | Primary Entry No. | Primary Entry No. | Normal | Integer | 4 | Primary Entry No_ | int |
11 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
21 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
23 | Transferred-from Entry No. | Transferred-from Entry No. | Normal | Integer | 4 | Transferred-from Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example querySELECT [Item Application Entry History].[Transferred-from Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Item Application Entry History].[Transferred-from Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
25 | Creation Date | Creation Date | Normal | DateTime | 8 | Creation Date | datetime |
26 | Created By User | Created By User | Normal | Code | 50 | Created By User | nvarchar(100) |
Key to join to the User table.Show/hide example querySELECT [Item Application Entry History].[Created By User] ,[User].[User Name] FROM [CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History] LEFT JOIN [User] AS [User] ON [Item Application Entry History].[Created By User] = [User].[User Name] | |||||||
27 | Last Modified Date | Last Modified Date | Normal | DateTime | 8 | Last Modified Date | datetime |
28 | Last Modified By User | Last Modified By User | Normal | Code | 50 | Last Modified By User | nvarchar(100) |
Key to join to the User table.Show/hide example querySELECT [Item Application Entry History].[Last Modified By User] ,[User].[User Name] FROM [CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History] LEFT JOIN [User] AS [User] ON [Item Application Entry History].[Last Modified By User] = [User].[User Name] | |||||||
29 | Deleted Date | Deleted Date | Normal | DateTime | 8 | Deleted Date | datetime |
30 | Deleted By User | Deleted By User | Normal | Code | 50 | Deleted By User | nvarchar(100) |
Key to join to the User table.Show/hide example querySELECT [Item Application Entry History].[Deleted By User] ,[User].[User Name] FROM [CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History] LEFT JOIN [User] AS [User] ON [Item Application Entry History].[Deleted By User] = [User].[User Name] | |||||||
5800 | Cost Application | Cost Application | Normal | Boolean | 4 | Cost Application | tinyint |
5804 | Output Completely Invd. Date | Output Completely Invd. Date | Normal | Date | 4 | Output Completely Invd_ 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 [Item Application Entry History].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Item Application Entry History$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Application Entry History] LEFT JOIN [User] AS [User] ON [Item Application Entry History].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |