Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5410
Table Type: Company
Table Name: Prod. Order Capacity Need
Database Table Name: CRONUS UK Ltd_$Prod_ Order Capacity Need$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 Prod. Order Capacity Need 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 Prod. Order Capacity Need table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Status ![]() | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
2 | Prod. Order No. ![]() ![]() | Prod. Order No. | Normal | Code | 20 | Prod_ Order No_ | nvarchar(40) |
3 | Routing No. ![]() ![]() | Routing No. | Normal | Code | 20 | Routing No_ | nvarchar(40) |
Key to join to the Routing Header table.Show/hide example query | |||||||
4 | Line No. ![]() ![]() | Line No. | Normal | Integer | 4 | Line No_ | int |
5 | Operation No. ![]() ![]() | Operation No. | Normal | Code | 10 | Operation No_ | nvarchar(20) |
6 | Type ![]() ![]() | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
7 | No. ![]() | No. | Normal | Code | 20 | No_ | nvarchar(40) |
8 | 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 | |||||||
9 | 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 | |||||||
10 | Routing Reference No. ![]() | Routing Reference No. | Normal | Integer | 4 | Routing Reference No_ | int |
11 | Date ![]() ![]() | Date | Normal | Date | 4 | Date | datetime |
12 | Starting Time ![]() | Starting Time | Normal | Time | 4 | Starting Time | datetime |
13 | Ending Time ![]() | Ending Time | Normal | Time | 4 | Ending Time | datetime |
14 | Allocated Time ![]() | Allocated Time | Normal | Decimal | 12 | Allocated Time | decimal(38,38) |
16 | Send-Ahead Type ![]() | Send-Ahead Type | Normal | Option | 4 | Send-Ahead Type | int |
Available options are:
| |||||||
17 | Time Type ![]() | Time Type | Normal | Option | 4 | Time Type | int |
Available options are:
| |||||||
18 | Needed Time ![]() | Needed Time | Normal | Decimal | 12 | Needed Time | decimal(38,38) |
19 | Needed Time (ms) ![]() | Needed Time (ms) | Normal | Decimal | 12 | Needed Time (ms) | decimal(38,38) |
21 | Lot Size ![]() | Lot Size | Normal | Decimal | 12 | Lot Size | decimal(38,38) |
22 | Concurrent Capacities ![]() | Concurrent Capacities | Normal | Decimal | 12 | Concurrent Capacities | decimal(38,38) |
23 | Efficiency ![]() | Efficiency | Normal | Decimal | 12 | Efficiency | decimal(38,38) |
26 | Starting Date-Time ![]() | Starting Date-Time | Normal | DateTime | 8 | Starting Date-Time | datetime |
27 | Ending Date-Time ![]() | Ending Date-Time | Normal | DateTime | 8 | Ending Date-Time | datetime |
31 | Worksheet Template Name ![]() | Worksheet Template Name | Normal | Code | 10 | Worksheet Template Name | nvarchar(20) |
32 | Worksheet Batch Name ![]() | Worksheet Batch Name | Normal | Code | 10 | Worksheet Batch Name | nvarchar(20) |
33 | Worksheet Line No. ![]() | Worksheet Line No. | Normal | Integer | 4 | Worksheet Line No_ | int |
41 | Active ![]() | Active | Normal | Boolean | 4 | Active | tinyint |
42 | Requested Only ![]() | Requested Only | Normal | Boolean | 4 | Requested Only | tinyint |
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 |