Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5531
Table Type: Company
Table Name: Inventory Page Data
Database Table Name: CRONUS UK Ltd_$Inventory Page Data$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 Inventory Page Data can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Inventory Page Data$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Code]
,[Line No_]
,[Period Type]
,[Period Start]
,[Period End]
,[Period No_]
,[Level]
,[Source Line ID]
,[Item No_]
,[Variant Code]
,[Location Code]
,[Description]
,[Availability Date]
,[Type]
,[Document No_]
,[Source]
,[Remaining Quantity (Base)]
,[Positive]
,[Gross Requirement]
,[Scheduled Receipt]
,[Forecast]
,[Remaining Forecast]
,[Action Message Qty_]
,[Action Message]
,[Source Document ID]
,[Attached to Line No_]
,[Ref_ Order No_]
,[Projected Inventory]
,[Forecasted Projected Inventory]
,[Suggested Projected Inventory]
,[Reserved Requirement]
,[Reserved Receipt]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Inventory Page Data$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Inventory Page Data$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Page Data]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Inventory Page Data].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Inventory Page Data].[Location Code] = [Location].[Code]
LEFT JOIN
[User] AS [User]
ON
[Inventory Page Data].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Inventory Page Data].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Inventory Page Data table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code | Code | Normal | Code | 20 | Code | nvarchar(40) |
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Period Type | Period Type | Normal | Option | 4 | Period Type | int |
Available options are:
| |||||||
4 | Period Start | Period Start | Normal | Date | 4 | Period Start | datetime |
5 | Period End | Period End | Normal | Date | 4 | Period End | datetime |
6 | Period No. | Period No. | Normal | Integer | 4 | Period No_ | int |
7 | Level | Level | Normal | Integer | 4 | Level | int |
9 | Source Line ID | Source Line ID | Normal | RecordID | 448 | Source Line ID | varbinary(448) |
10 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Inventory Page Data].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Inventory Page Data$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Page Data] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Inventory Page Data].[Item No_] = [Item].[No_] | |||||||
11 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Inventory Page Data].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Inventory Page Data$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Page Data] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Inventory Page Data].[Variant Code] = [Item Variant].[Code] | |||||||
12 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Inventory Page Data].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Inventory Page Data$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Page Data] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Inventory Page Data].[Location Code] = [Location].[Code] | |||||||
13 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
14 | Availability Date | Availability Date | Normal | Date | 4 | Availability Date | datetime |
15 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
16 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
19 | Source | Source | Normal | Text | 100 | Source | nvarchar(200) |
20 | Remaining Quantity (Base) | Remaining Quantity (Base) | Normal | Decimal | 12 | Remaining Quantity (Base) | decimal(38,38) |
21 | Positive | Positive | Normal | Boolean | 4 | Positive | tinyint |
22 | Gross Requirement | Gross Requirement | Normal | Decimal | 12 | Gross Requirement | decimal(38,38) |
23 | Scheduled Receipt | Scheduled Receipt | Normal | Decimal | 12 | Scheduled Receipt | decimal(38,38) |
24 | Forecast | Forecast | Normal | Decimal | 12 | Forecast | decimal(38,38) |
25 | Remaining Forecast | Remaining Forecast | Normal | Decimal | 12 | Remaining Forecast | decimal(38,38) |
26 | Action Message Qty. | Action Message Qty. | Normal | Decimal | 12 | Action Message Qty_ | decimal(38,38) |
29 | Action Message | Action Message | Normal | Option | 4 | Action Message | int |
Available options are:
| |||||||
30 | Source Document ID | Source Document ID | Normal | RecordID | 448 | Source Document ID | varbinary(448) |
31 | Attached to Line No. | Attached to Line No. | Normal | Integer | 4 | Attached to Line No_ | int |
34 | Ref. Order No. | Ref. Order No. | Normal | Code | 20 | Ref_ Order No_ | nvarchar(40) |
36 | Projected Inventory | Projected Inventory | Normal | Decimal | 12 | Projected Inventory | decimal(38,38) |
37 | Forecasted Projected Inventory | Forecasted Projected Inventory | Normal | Decimal | 12 | Forecasted Projected Inventory | decimal(38,38) |
38 | Suggested Projected Inventory | Suggested Projected Inventory | Normal | Decimal | 12 | Suggested Projected Inventory | decimal(38,38) |
39 | Reserved Requirement | Reserved Requirement | Normal | Decimal | 12 | Reserved Requirement | decimal(38,38) |
40 | Reserved Receipt | Reserved Receipt | Normal | Decimal | 12 | Reserved Receipt | decimal(38,38) |
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 [Inventory Page Data].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Inventory Page Data$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Page Data] LEFT JOIN [User] AS [User] ON [Inventory Page Data].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |