Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5830
Table Type: Company
Table Name: Availability Calc. Overview
Database Table Name: CRONUS UK Ltd_$Availability Calc_ Overview$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 Availability Calc. Overview 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 Availability Calc. Overview 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 | Type ![]() ![]() | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
3 | Date ![]() | Date | Normal | Date | 4 | Date | datetime |
4 | Item No. ![]() | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example query | |||||||
5 | Location Code ![]() | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example query | |||||||
6 | Variant Code ![]() | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example query | |||||||
7 | Unit of Measure Code ![]() | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
11 | Attached to Entry No. ![]() | Attached to Entry No. | Normal | Integer | 4 | Attached to Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example query | |||||||
13 | Level ![]() | Level | Normal | Integer | 4 | Level | int |
21 | Source Type ![]() | Source Type | Normal | Integer | 4 | Source Type | int |
22 | Source Order Status ![]() | Source Order Status | Normal | Integer | 4 | Source Order Status | int |
23 | Source ID ![]() | Source ID | Normal | Code | 20 | Source ID | nvarchar(40) |
24 | Source Batch Name ![]() | Source Batch Name | Normal | Code | 10 | Source Batch Name | nvarchar(20) |
25 | Source Ref. No. ![]() | Source Ref. No. | Normal | Integer | 4 | Source Ref_ No_ | int |
26 | Source Prod. Order Line ![]() | Source Prod. Order Line | Normal | Integer | 4 | Source Prod_ Order Line | int |
27 | Description ![]() | Description | Normal | Text | 100 | Description | nvarchar(200) |
41 | Quantity ![]() | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
42 | Reserved Quantity ![]() | Reserved Quantity | Normal | Decimal | 12 | Reserved Quantity | decimal(38,38) |
45 | Inventory Running Total ![]() | Inventory Running Total | Normal | Decimal | 12 | Inventory Running Total | decimal(38,38) |
46 | Supply Running Total ![]() | Supply Running Total | Normal | Decimal | 12 | Supply Running Total | decimal(38,38) |
47 | Demand Running Total ![]() | Demand Running Total | Normal | Decimal | 12 | Demand Running Total | decimal(38,38) |
48 | Running Total ![]() | Running Total | Normal | Decimal | 12 | Running Total | decimal(38,38) |
50 | Matches Criteria ![]() | Matches Criteria | Normal | Boolean | 4 | Matches Criteria | 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 |