Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5832
Table Type: Company
Table Name: Capacity Ledger Entry
Database Table Name: CRONUS UK Ltd_$Capacity 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 Capacity Ledger Entry can be queried.
Show/hide an example select of all columns
Show/hide an example select of all columns by name
Show/hide an example select of all columns including those from all joined tables
Show/hide columns in Capacity 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 | No. ![]() ![]() | No. | Normal | Code | 20 | No_ | nvarchar(40) |
3 | Posting Date ![]() | Posting Date | Normal | Date | 4 | Posting Date | datetime |
4 | Type ![]() | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
6 | Document No. ![]() | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
7 | Description ![]() | Description | Normal | Text | 100 | Description | nvarchar(200) |
8 | Operation No. ![]() | Operation No. | Normal | Code | 10 | Operation No_ | nvarchar(20) |
9 | Work Center No. ![]() | Work Center No. | Normal | Code | 20 | Work Center No_ | nvarchar(40) |
Key to join to the Work Center table.Show/hide example query | |||||||
10 | Quantity ![]() | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
11 | Setup Time ![]() | Setup Time | Normal | Decimal | 12 | Setup Time | decimal(38,38) |
12 | Run Time ![]() | Run Time | Normal | Decimal | 12 | Run Time | decimal(38,38) |
13 | Stop Time ![]() | Stop Time | Normal | Decimal | 12 | Stop Time | decimal(38,38) |
15 | Invoiced Quantity ![]() | Invoiced Quantity | Normal | Decimal | 12 | Invoiced Quantity | decimal(38,38) |
16 | Output Quantity ![]() | Output Quantity | Normal | Decimal | 12 | Output Quantity | decimal(38,38) |
17 | Scrap Quantity ![]() | Scrap Quantity | Normal | Decimal | 12 | Scrap Quantity | decimal(38,38) |
19 | Concurrent Capacity ![]() | Concurrent Capacity | Normal | Decimal | 12 | Concurrent Capacity | decimal(38,38) |
28 | Cap. Unit of Measure Code ![]() | Cap. Unit of Measure Code | Normal | Code | 10 | Cap_ Unit of Measure Code | nvarchar(20) |
Key to join to the Capacity Unit of Measure table.Show/hide example query | |||||||
29 | Qty. per Cap. Unit of Measure ![]() | Qty. per Cap. Unit of Measure | Normal | Decimal | 12 | Qty_ per Cap_ Unit of Measure | decimal(38,38) |
33 | 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 query | |||||||
34 | 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 query | |||||||
39 | Last Output Line ![]() | Last Output Line | Normal | Boolean | 4 | Last Output Line | tinyint |
42 | Completely Invoiced ![]() | Completely Invoiced | Normal | Boolean | 4 | Completely Invoiced | tinyint |
43 | Starting Time ![]() | Starting Time | Normal | Time | 4 | Starting Time | datetime |
44 | Ending Time ![]() | Ending Time | Normal | Time | 4 | Ending Time | datetime |
52 | Routing No. ![]() | Routing No. | Normal | Code | 20 | Routing No_ | nvarchar(40) |
Key to join to the Routing Header table.Show/hide example query | |||||||
53 | Routing Reference No. ![]() | Routing Reference No. | Normal | Integer | 4 | Routing Reference No_ | int |
56 | Item No. ![]() | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example query | |||||||
57 | Variant Code ![]() | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example query | |||||||
58 | Unit of Measure Code ![]() | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
59 | Qty. per Unit of Measure ![]() | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
60 | Document Date ![]() | Document Date | Normal | Date | 4 | Document Date | datetime |
61 | External Document No. ![]() | External Document No. | Normal | Code | 35 | External Document No_ | nvarchar(70) |
65 | Stop Code ![]() | Stop Code | Normal | Code | 10 | Stop Code | nvarchar(20) |
Key to join to the Stop table.Show/hide example query | |||||||
66 | Scrap Code ![]() | Scrap Code | Normal | Code | 10 | Scrap Code | nvarchar(20) |
Key to join to the Scrap table.Show/hide example query | |||||||
68 | Work Center Group Code ![]() | Work Center Group Code | Normal | Code | 10 | Work Center Group Code | nvarchar(20) |
Key to join to the Work Center Group table.Show/hide example query | |||||||
69 | Work Shift Code ![]() | Work Shift Code | Normal | Code | 10 | Work Shift Code | nvarchar(20) |
Key to join to the Work Shift table.Show/hide example query | |||||||
71 | Direct Cost ![]() | Direct Cost | FlowField | Decimal | 12 | ||
72 | Overhead Cost ![]() | Overhead Cost | FlowField | Decimal | 12 | ||
76 | Direct Cost (ACY) ![]() | Direct Cost (ACY) | FlowField | Decimal | 12 | ||
77 | Overhead Cost (ACY) ![]() | Overhead Cost (ACY) | FlowField | Decimal | 12 | ||
78 | Subcontracting ![]() | Subcontracting | Normal | Boolean | 4 | Subcontracting | tinyint |
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 query | |||||||
481 | Shortcut Dimension 3 Code ![]() | Shortcut Dimension 3 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example query | |||||||
482 | Shortcut Dimension 4 Code ![]() | Shortcut Dimension 4 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example query | |||||||
483 | Shortcut Dimension 5 Code ![]() | Shortcut Dimension 5 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example query | |||||||
484 | Shortcut Dimension 6 Code ![]() | Shortcut Dimension 6 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example query | |||||||
485 | Shortcut Dimension 7 Code ![]() | Shortcut Dimension 7 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example query | |||||||
486 | Shortcut Dimension 8 Code ![]() | Shortcut Dimension 8 Code | FlowField | Code | 20 | ||
Key to join to the Dimension table.Show/hide example query | |||||||
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 query | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |