Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/203
Table Type: Company
Table Name: Res. Ledger Entry
Database Table Name: CRONUS UK Ltd_$Res_ Ledger Entry$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 Res. Ledger Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Entry Type]
,[Document No_]
,[Posting Date]
,[Resource No_]
,[Resource Group No_]
,[Description]
,[Work Type Code]
,[Job No_]
,[Unit of Measure Code]
,[Quantity]
,[Direct Unit Cost]
,[Unit Cost]
,[Total Cost]
,[Unit Price]
,[Total Price]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[User ID]
,[Source Code]
,[Chargeable]
,[Journal Batch Name]
,[Reason Code]
,[Gen_ Bus_ Posting Group]
,[Gen_ Prod_ Posting Group]
,[Document Date]
,[External Document No_]
,[No_ Series]
,[Source Type]
,[Source No_]
,[Qty_ per Unit of Measure]
,[Quantity (Base)]
,[Order Type]
,[Order No_]
,[Order Line No_]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry]
LEFT JOIN
[CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type]
ON
[Res. Ledger Entry].[Work Type Code] = [Work Type].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Res. Ledger Entry].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Res. Ledger Entry].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
ON
[Res. Ledger Entry].[Source Code] = [Source Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code]
ON
[Res. Ledger Entry].[Reason Code] = [Reason Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Res. Ledger Entry].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Res. Ledger Entry].[Shortcut Dimension 3 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Res. Ledger Entry].[Shortcut Dimension 4 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Res. Ledger Entry].[Shortcut Dimension 5 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Res. Ledger Entry].[Shortcut Dimension 6 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Res. Ledger Entry].[Shortcut Dimension 7 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Res. Ledger Entry].[Shortcut Dimension 8 Code] = [Dimension].[Code]
LEFT JOIN
[User] AS [User]
ON
[Res. Ledger Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Res. Ledger Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Res. Ledger Entry 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 | Entry Type ![]() ![]() | Entry Type | Normal | Option | 4 | Entry Type | int |
Available options are:
| |||||||
3 | Document No. ![]() | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
4 | Posting Date ![]() | Posting Date | Normal | Date | 4 | Posting Date | datetime |
5 | Resource No. ![]() | Resource No. | Normal | Code | 20 | Resource No_ | nvarchar(40) |
Key to join to the Resource table.Show/hide example querySELECT [Res. Ledger Entry].[Resource No_] ,[Resource].[No_] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Resource$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource] ON [Res. Ledger Entry].[Resource No_] = [Resource].[No_] | |||||||
6 | Resource Group No. ![]() | Resource Group No. | Normal | Code | 20 | Resource Group No_ | nvarchar(40) |
Key to join to the Resource Group table.Show/hide example querySELECT [Res. Ledger Entry].[Resource Group No_] ,[Resource Group].[No_] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Group] ON [Res. Ledger Entry].[Resource Group No_] = [Resource Group].[No_] | |||||||
7 | Description ![]() | Description | Normal | Text | 100 | Description | nvarchar(200) |
8 | Work Type Code ![]() | Work Type Code | Normal | Code | 10 | Work Type Code | nvarchar(20) |
Key to join to the Work Type table.Show/hide example querySELECT [Res. Ledger Entry].[Work Type Code] ,[Work Type].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type] ON [Res. Ledger Entry].[Work Type Code] = [Work Type].[Code] | |||||||
9 | Job No. ![]() | Job No. | Normal | Code | 20 | Job No_ | nvarchar(40) |
Key to join to the Job table.Show/hide example querySELECT [Res. Ledger Entry].[Job No_] ,[Job].[No_] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job] ON [Res. Ledger Entry].[Job No_] = [Job].[No_] | |||||||
10 | Unit of Measure Code ![]() | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
11 | Quantity ![]() | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
12 | Direct Unit Cost ![]() | Direct Unit Cost | Normal | Decimal | 12 | Direct Unit Cost | decimal(38,38) |
13 | Unit Cost ![]() | Unit Cost | Normal | Decimal | 12 | Unit Cost | decimal(38,38) |
14 | Total Cost ![]() | Total Cost | Normal | Decimal | 12 | Total Cost | decimal(38,38) |
15 | Unit Price ![]() | Unit Price | Normal | Decimal | 12 | Unit Price | decimal(38,38) |
16 | Total Price ![]() | Total Price | Normal | Decimal | 12 | Total Price | decimal(38,38) |
17 | Global Dimension 1 Code ![]() | Global Dimension 1 Code | Normal | Code | 20 | Global Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Res. Ledger Entry].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Res. Ledger Entry].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
18 | Global Dimension 2 Code ![]() | Global Dimension 2 Code | Normal | Code | 20 | Global Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT [Res. Ledger Entry].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Res. Ledger Entry].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
20 | User ID ![]() | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
21 | Source Code ![]() | Source Code | Normal | Code | 10 | Source Code | nvarchar(20) |
Key to join to the Source Code table.Show/hide example querySELECT [Res. Ledger Entry].[Source Code] ,[Source Code].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code] ON [Res. Ledger Entry].[Source Code] = [Source Code].[Code] | |||||||
22 | Chargeable ![]() | Chargeable | Normal | Boolean | 4 | Chargeable | tinyint |
23 | Journal Batch Name ![]() | Journal Batch Name | Normal | Code | 10 | Journal Batch Name | nvarchar(20) |
24 | Reason Code ![]() | Reason Code | Normal | Code | 10 | Reason Code | nvarchar(20) |
Key to join to the Reason Code table.Show/hide example querySELECT [Res. Ledger Entry].[Reason Code] ,[Reason Code].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Reason Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reason Code] ON [Res. Ledger Entry].[Reason Code] = [Reason Code].[Code] | |||||||
25 | Gen. Bus. Posting Group ![]() | Gen. Bus. Posting Group | Normal | Code | 20 | Gen_ Bus_ Posting Group | nvarchar(40) |
Key to join to the Gen. Business Posting Group table.Show/hide example querySELECT [Res. Ledger Entry].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [Res. Ledger Entry].[Gen_ Bus_ Posting Group] = [Gen. Business Posting Group].[Code] | |||||||
26 | Gen. Prod. Posting Group ![]() | Gen. Prod. Posting Group | Normal | Code | 20 | Gen_ Prod_ Posting Group | nvarchar(40) |
Key to join to the Gen. Product Posting Group table.Show/hide example querySELECT [Res. Ledger Entry].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [Res. Ledger Entry].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
27 | Document Date ![]() | Document Date | Normal | Date | 4 | Document Date | datetime |
28 | External Document No. ![]() | External Document No. | Normal | Code | 35 | External Document No_ | nvarchar(70) |
29 | No. Series ![]() | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Res. Ledger Entry].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Res. Ledger Entry].[No_ Series] = [No. Series].[Code] | |||||||
30 | Source Type ![]() | Source Type | Normal | Option | 4 | Source Type | int |
Available options are:
| |||||||
31 | Source No. ![]() | Source No. | Normal | Code | 20 | Source No_ | nvarchar(40) |
32 | Qty. per Unit of Measure ![]() | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
33 | Quantity (Base) ![]() | Quantity (Base) | Normal | Decimal | 12 | Quantity (Base) | decimal(38,38) |
90 | Order Type ![]() | Order Type | Normal | Option | 4 | Order Type | int |
Available options are:
| |||||||
91 | Order No. ![]() | Order No. | Normal | Code | 20 | Order No_ | nvarchar(40) |
92 | Order Line No. ![]() | Order Line No. | Normal | Integer | 4 | Order Line No_ | int |
480 | Dimension Set ID ![]() | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Res. Ledger Entry].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Res. Ledger Entry].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
481 | Shortcut Dimension 3 Code ![]() | Shortcut Dimension 3 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Res. Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Res. Ledger Entry].[] = [Dimension].[Code] | |||||||
482 | Shortcut Dimension 4 Code ![]() | Shortcut Dimension 4 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Res. Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Res. Ledger Entry].[] = [Dimension].[Code] | |||||||
483 | Shortcut Dimension 5 Code ![]() | Shortcut Dimension 5 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Res. Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Res. Ledger Entry].[] = [Dimension].[Code] | |||||||
484 | Shortcut Dimension 6 Code ![]() | Shortcut Dimension 6 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Res. Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Res. Ledger Entry].[] = [Dimension].[Code] | |||||||
485 | Shortcut Dimension 7 Code ![]() | Shortcut Dimension 7 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Res. Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Res. Ledger Entry].[] = [Dimension].[Code] | |||||||
486 | Shortcut Dimension 8 Code ![]() | Shortcut Dimension 8 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example querySELECT [Res. Ledger Entry].[] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [Res. Ledger Entry].[] = [Dimension].[Code] | |||||||
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 [Res. Ledger Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Res_ Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Res. Ledger Entry] LEFT JOIN [User] AS [User] ON [Res. Ledger Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |