Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5520
Table Type: Company
Table Name: Unplanned Demand
Database Table Name: CRONUS UK Ltd_$Unplanned Demand$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 Unplanned Demand 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 Unplanned Demand table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Demand Type ![]() | Demand Type | Normal | Option | 4 | Demand Type | int |
Available options are:
| |||||||
2 | Demand SubType ![]() ![]() | Demand SubType | Normal | Option | 4 | Demand SubType | int |
Available options are:
| |||||||
4 | Demand Order No. ![]() ![]() | Demand Order No. | Normal | Code | 20 | Demand Order No_ | nvarchar(40) |
5 | Demand Line No. ![]() ![]() | Demand Line No. | Normal | Integer | 4 | Demand Line No_ | int |
6 | Demand Ref. No. ![]() ![]() | Demand Ref. No. | Normal | Integer | 4 | Demand Ref_ No_ | int |
7 | Sell-to Customer No. ![]() ![]() | Sell-to Customer No. | Normal | Code | 20 | Sell-to Customer No_ | nvarchar(40) |
Key to join to the Customer table.Show/hide example query | |||||||
8 | Description ![]() | Description | Normal | Text | 100 | Description | nvarchar(200) |
9 | Demand Date ![]() | Demand Date | Normal | Date | 4 | Demand Date | datetime |
10 | Status ![]() | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
13 | Item No. ![]() | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example query | |||||||
14 | Variant Code ![]() | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example query | |||||||
15 | Location Code ![]() | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example query | |||||||
16 | Quantity (Base) ![]() | Quantity (Base) | Normal | Decimal | 12 | Quantity (Base) | decimal(38,38) |
17 | Level ![]() | Level | Normal | Integer | 4 | Level | int |
18 | Bin Code ![]() | Bin Code | Normal | Code | 20 | Bin Code | nvarchar(40) |
Key to join to the Bin table.Show/hide example query | |||||||
19 | Qty. per Unit of Measure ![]() | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
20 | Unit of Measure Code ![]() | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
21 | Reserve ![]() | Reserve | Normal | Boolean | 4 | Reserve | tinyint |
22 | Needed Qty. (Base) ![]() | Needed Qty. (Base) | Normal | Decimal | 12 | Needed Qty_ (Base) | decimal(38,38) |
23 | Special Order ![]() | Special Order | Normal | Boolean | 4 | Special Order | tinyint |
24 | Purchasing Code ![]() | Purchasing Code | Normal | Code | 10 | Purchasing Code | nvarchar(20) |
Key to join to the Purchasing 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 |