Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5768
Table Type: Company
Table Name: Whse. Cross-Dock Opportunity
Database Table Name: CRONUS UK Ltd_$Whse_ Cross-Dock Opportunity$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 Whse. Cross-Dock Opportunity can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Whse_ Cross-Dock Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Source Template Name]
,[Source Name_No_]
,[Source Line No_]
,[Line No_]
,[From Source Type]
,[From Source Subtype]
,[From Source No_]
,[From Source Line No_]
,[From Source Subline No_]
,[From Source Document]
,[To Source Type]
,[To Source Subtype]
,[To Source No_]
,[To Source Line No_]
,[To Source Subline No_]
,[To Source Document]
,[Item No_]
,[Variant Code]
,[Unit of Measure Code]
,[Qty_ per Unit of Measure]
,[Location Code]
,[Qty_ Needed]
,[Qty_ Needed (Base)]
,[Qty_ to Cross-Dock]
,[Qty_ to Cross-Dock (Base)]
,[To-Src_ Unit of Measure Code]
,[To-Src_ Qty_ per Unit of Meas_]
,[Due Date]
,[Pick Qty_]
,[Pick Qty_ (Base)]
,[Picked Qty_]
,[Picked Qty_ (Base)]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Whse_ Cross-Dock Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Whse_ Cross-Dock Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Cross-Dock Opportunity]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Whse. Cross-Dock Opportunity].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Whse. Cross-Dock Opportunity].[Location Code] = [Location].[Code]
LEFT JOIN
[User] AS [User]
ON
[Whse. Cross-Dock Opportunity].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Whse. Cross-Dock Opportunity].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Whse. Cross-Dock Opportunity table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Source Template Name | Source Template Name | Normal | Code | 10 | Source Template Name | nvarchar(20) |
2 | Source Name/No. | Source Name/No. | Normal | Code | 20 | Source Name_No_ | nvarchar(40) |
3 | Source Line No. | Source Line No. | Normal | Integer | 4 | Source Line No_ | int |
4 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
5 | From Source Type | From Source Type | Normal | Integer | 4 | From Source Type | int |
6 | From Source Subtype | From Source Subtype | Normal | Option | 4 | From Source Subtype | int |
Available options are:
| |||||||
7 | From Source No. | From Source No. | Normal | Code | 20 | From Source No_ | nvarchar(40) |
8 | From Source Line No. | From Source Line No. | Normal | Integer | 4 | From Source Line No_ | int |
9 | From Source Subline No. | From Source Subline No. | Normal | Integer | 4 | From Source Subline No_ | int |
10 | From Source Document | From Source Document | Normal | Option | 4 | From Source Document | int |
Available options are:
| |||||||
11 | To Source Type | To Source Type | Normal | Integer | 4 | To Source Type | int |
12 | To Source Subtype | To Source Subtype | Normal | Option | 4 | To Source Subtype | int |
Available options are:
| |||||||
13 | To Source No. | To Source No. | Normal | Code | 20 | To Source No_ | nvarchar(40) |
14 | To Source Line No. | To Source Line No. | Normal | Integer | 4 | To Source Line No_ | int |
15 | To Source Subline No. | To Source Subline No. | Normal | Integer | 4 | To Source Subline No_ | int |
16 | To Source Document | To Source Document | Normal | Option | 4 | To Source Document | int |
Available options are:
| |||||||
17 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Whse. Cross-Dock Opportunity].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Whse_ Cross-Dock Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Cross-Dock Opportunity] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Whse. Cross-Dock Opportunity].[Item No_] = [Item].[No_] | |||||||
18 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Whse. Cross-Dock Opportunity].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Whse_ Cross-Dock Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Cross-Dock Opportunity] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Whse. Cross-Dock Opportunity].[Variant Code] = [Item Variant].[Code] | |||||||
19 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
20 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
21 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Whse. Cross-Dock Opportunity].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Whse_ Cross-Dock Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Cross-Dock Opportunity] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Whse. Cross-Dock Opportunity].[Location Code] = [Location].[Code] | |||||||
24 | Qty. Needed | Qty. Needed | Normal | Decimal | 12 | Qty_ Needed | decimal(38,38) |
25 | Qty. Needed (Base) | Qty. Needed (Base) | Normal | Decimal | 12 | Qty_ Needed (Base) | decimal(38,38) |
26 | Qty. to Cross-Dock | Qty. to Cross-Dock | Normal | Decimal | 12 | Qty_ to Cross-Dock | decimal(38,38) |
27 | Qty. to Cross-Dock (Base) | Qty. to Cross-Dock (Base) | Normal | Decimal | 12 | Qty_ to Cross-Dock (Base) | decimal(38,38) |
28 | Qty. Cross-Docked (Base) | Qty. Cross-Docked (Base) | FlowField | Decimal | 12 | ||
29 | Total Qty. Needed (Base) | Total Qty. Needed (Base) | FlowField | Decimal | 12 | ||
36 | Reserved Quantity | Reserved Quantity | FlowField | Decimal | 12 | ||
37 | Reserved Qty. (Base) | Reserved Qty. (Base) | FlowField | Decimal | 12 | ||
39 | To-Src. Unit of Measure Code | To-Src. Unit of Measure Code | Normal | Code | 10 | To-Src_ Unit of Measure Code | nvarchar(20) |
40 | To-Src. Qty. per Unit of Meas. | To-Src. Qty. per Unit of Meas. | Normal | Decimal | 12 | To-Src_ Qty_ per Unit of Meas_ | decimal(38,38) |
41 | Due Date | Due Date | Normal | Date | 4 | Due Date | datetime |
42 | Pick Qty. | Pick Qty. | Normal | Decimal | 12 | Pick Qty_ | decimal(38,38) |
43 | Pick Qty. (Base) | Pick Qty. (Base) | Normal | Decimal | 12 | Pick Qty_ (Base) | decimal(38,38) |
44 | Picked Qty. | Picked Qty. | Normal | Decimal | 12 | Picked Qty_ | decimal(38,38) |
45 | Picked Qty. (Base) | Picked Qty. (Base) | Normal | Decimal | 12 | Picked Qty_ (Base) | 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 [Whse. Cross-Dock Opportunity].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Whse_ Cross-Dock Opportunity$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Whse. Cross-Dock Opportunity] LEFT JOIN [User] AS [User] ON [Whse. Cross-Dock Opportunity].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |