Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/337
Table Type: Company
Table Name: Reservation Entry
Database Table Name: CRONUS UK Ltd_$Reservation 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 Reservation Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Item No_]
,[Location Code]
,[Quantity (Base)]
,[Reservation Status]
,[Description]
,[Creation Date]
,[Transferred from Entry No_]
,[Source Type]
,[Source Subtype]
,[Source ID]
,[Source Batch Name]
,[Source Prod_ Order Line]
,[Source Ref_ No_]
,[Item Ledger Entry No_]
,[Expected Receipt Date]
,[Shipment Date]
,[Serial No_]
,[Created By]
,[Changed By]
,[Positive]
,[Qty_ per Unit of Measure]
,[Quantity]
,[Binding]
,[Suppressed Action Msg_]
,[Planning Flexibility]
,[Appl_-to Item Entry]
,[Warranty Date]
,[Expiration Date]
,[Qty_ to Handle (Base)]
,[Qty_ to Invoice (Base)]
,[Quantity Invoiced (Base)]
,[New Serial No_]
,[New Lot No_]
,[Disallow Cancellation]
,[Lot No_]
,[Variant Code]
,[Appl_-from Item Entry]
,[Correction]
,[New Expiration Date]
,[Item Tracking]
,[Untracked Surplus]
,[Package No_]
,[New Package No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reservation Entry]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Reservation Entry].[Location Code] = [Location].[Code]
LEFT JOIN
[User] AS [User]
ON
[Reservation Entry].[Created By] = [User].[User Name]
LEFT JOIN
[User] AS [User]
ON
[Reservation Entry].[Changed By] = [User].[User Name]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Reservation Entry].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Reservation Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Reservation Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Reservation 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 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Reservation Entry].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reservation Entry] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Reservation Entry].[Item No_] = [Item].[No_] | |||||||
3 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Reservation Entry].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reservation Entry] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Reservation Entry].[Location Code] = [Location].[Code] | |||||||
4 | Quantity (Base) | Quantity (Base) | Normal | Decimal | 12 | Quantity (Base) | decimal(38,38) |
5 | Reservation Status | Reservation Status | Normal | Option | 4 | Reservation Status | int |
Available options are:
| |||||||
7 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
8 | Creation Date | Creation Date | Normal | Date | 4 | Creation Date | datetime |
9 | Transferred from Entry No. | Transferred from Entry No. | Normal | Integer | 4 | Transferred from Entry No_ | int |
10 | Source Type | Source Type | Normal | Integer | 4 | Source Type | int |
11 | Source Subtype | Source Subtype | Normal | Option | 4 | Source Subtype | int |
Available options are:
| |||||||
12 | Source ID | Source ID | Normal | Code | 20 | Source ID | nvarchar(40) |
13 | Source Batch Name | Source Batch Name | Normal | Code | 10 | Source Batch Name | nvarchar(20) |
14 | Source Prod. Order Line | Source Prod. Order Line | Normal | Integer | 4 | Source Prod_ Order Line | int |
15 | Source Ref. No. | Source Ref. No. | Normal | Integer | 4 | Source Ref_ No_ | int |
16 | Item Ledger Entry No. | Item Ledger Entry No. | Normal | Integer | 4 | Item Ledger Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example querySELECT [Reservation Entry].[Item Ledger Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reservation Entry] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Reservation Entry].[Item Ledger Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
22 | Expected Receipt Date | Expected Receipt Date | Normal | Date | 4 | Expected Receipt Date | datetime |
23 | Shipment Date | Shipment Date | Normal | Date | 4 | Shipment Date | datetime |
24 | Serial No. | Serial No. | Normal | Code | 50 | Serial No_ | nvarchar(100) |
25 | Created By | Created By | Normal | Code | 50 | Created By | nvarchar(100) |
Key to join to the User table.Show/hide example querySELECT [Reservation Entry].[Created By] ,[User].[User Name] FROM [CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reservation Entry] LEFT JOIN [User] AS [User] ON [Reservation Entry].[Created By] = [User].[User Name] | |||||||
27 | Changed By | Changed By | Normal | Code | 50 | Changed By | nvarchar(100) |
Key to join to the User table.Show/hide example querySELECT [Reservation Entry].[Changed By] ,[User].[User Name] FROM [CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reservation Entry] LEFT JOIN [User] AS [User] ON [Reservation Entry].[Changed By] = [User].[User Name] | |||||||
28 | Positive | Positive | Normal | Boolean | 4 | Positive | tinyint |
29 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
30 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
31 | Action Message Adjustment | Action Message Adjustment | FlowField | Decimal | 12 | ||
32 | Binding | Binding | Normal | Option | 4 | Binding | int |
Available options are:
| |||||||
33 | Suppressed Action Msg. | Suppressed Action Msg. | Normal | Boolean | 4 | Suppressed Action Msg_ | tinyint |
34 | Planning Flexibility | Planning Flexibility | Normal | Option | 4 | Planning Flexibility | int |
Available options are:
| |||||||
38 | Appl.-to Item Entry | Appl.-to Item Entry | Normal | Integer | 4 | Appl_-to Item Entry | int |
40 | Warranty Date | Warranty Date | Normal | Date | 4 | Warranty Date | datetime |
41 | Expiration Date | Expiration Date | Normal | Date | 4 | Expiration Date | datetime |
50 | Qty. to Handle (Base) | Qty. to Handle (Base) | Normal | Decimal | 12 | Qty_ to Handle (Base) | decimal(38,38) |
51 | Qty. to Invoice (Base) | Qty. to Invoice (Base) | Normal | Decimal | 12 | Qty_ to Invoice (Base) | decimal(38,38) |
53 | Quantity Invoiced (Base) | Quantity Invoiced (Base) | Normal | Decimal | 12 | Quantity Invoiced (Base) | decimal(38,38) |
80 | New Serial No. | New Serial No. | Normal | Code | 50 | New Serial No_ | nvarchar(100) |
81 | New Lot No. | New Lot No. | Normal | Code | 50 | New Lot No_ | nvarchar(100) |
900 | Disallow Cancellation | Disallow Cancelation | Normal | Boolean | 4 | Disallow Cancellation | tinyint |
5400 | Lot No. | Lot No. | Normal | Code | 50 | Lot No_ | nvarchar(100) |
5401 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Reservation Entry].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reservation Entry] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Reservation Entry].[Variant Code] = [Item Variant].[Code] | |||||||
5811 | Appl.-from Item Entry | Appl.-from Item Entry | Normal | Integer | 4 | Appl_-from Item Entry | int |
5817 | Correction | Correction | Normal | Boolean | 4 | Correction | tinyint |
6505 | New Expiration Date | New Expiration Date | Normal | Date | 4 | New Expiration Date | datetime |
6510 | Item Tracking | Item Tracking | Normal | Option | 4 | Item Tracking | int |
Available options are:
| |||||||
6511 | Untracked Surplus | Untracked Surplus | Normal | Boolean | 4 | Untracked Surplus | tinyint |
6515 | Package No. | Package No. | Normal | Code | 50 | Package No_ | nvarchar(100) |
6516 | New Package No. | New Package No. | Normal | Code | 50 | New Package No_ | nvarchar(100) |
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 [Reservation Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Reservation Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Reservation Entry] LEFT JOIN [User] AS [User] ON [Reservation Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |