Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7323
Table Type: Company
Table Name: Posted Whse. Shipment Line
Database Table Name: CRONUS UK Ltd_$Posted Whse_ Shipment Line$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 Posted Whse. Shipment Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Posted Whse_ Shipment Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[No_]
,[Line No_]
,[Source Type]
,[Source Subtype]
,[Source No_]
,[Source Line No_]
,[Source Document]
,[Location Code]
,[Shelf No_]
,[Bin Code]
,[Zone Code]
,[Item No_]
,[Quantity]
,[Qty_ (Base)]
,[Unit of Measure Code]
,[Qty_ per Unit of Measure]
,[Variant Code]
,[Description]
,[Description 2]
,[Due Date]
,[Destination Type]
,[Destination No_]
,[Shipping Advice]
,[Shipment Date]
,[Qty_ Rounding Precision]
,[Qty_ Rounding Precision (Base)]
,[Posted Source Document]
,[Posted Source No_]
,[Posting Date]
,[Whse_ Shipment No_]
,[Whse Shipment Line No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Posted Whse_ Shipment Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Posted Whse_ Shipment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Shipment Line]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Posted Whse. Shipment Line].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
ON
[Posted Whse. Shipment Line].[Bin Code] = [Bin].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Posted Whse. Shipment Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Posted Whse. Shipment Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Posted Whse. Shipment Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Posted Whse. Shipment Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Source Type | Source Type | Normal | Integer | 4 | Source Type | int |
4 | Source Subtype | Source Subtype | Normal | Option | 4 | Source Subtype | int |
Available options are:
| |||||||
6 | Source No. | Source No. | Normal | Code | 20 | Source No_ | nvarchar(40) |
7 | Source Line No. | Source Line No. | Normal | Integer | 4 | Source Line No_ | int |
9 | Source Document | Source Document | Normal | Option | 4 | Source Document | int |
Available options are:
| |||||||
10 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Posted Whse. Shipment Line].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Posted Whse_ Shipment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Shipment Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Posted Whse. Shipment Line].[Location Code] = [Location].[Code] | |||||||
11 | Shelf No. | Shelf No. | Normal | Code | 10 | Shelf No_ | nvarchar(20) |
12 | Bin Code | Bin Code | Normal | Code | 20 | Bin Code | nvarchar(40) |
Key to join to the Bin table.Show/hide example querySELECT [Posted Whse. Shipment Line].[Bin Code] ,[Bin].[Code] FROM [CRONUS UK Ltd_$Posted Whse_ Shipment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Shipment Line] LEFT JOIN [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin] ON [Posted Whse. Shipment Line].[Bin Code] = [Bin].[Code] | |||||||
13 | Zone Code | Zone Code | Normal | Code | 10 | Zone Code | nvarchar(20) |
14 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Posted Whse. Shipment Line].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Posted Whse_ Shipment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Shipment Line] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Posted Whse. Shipment Line].[Item No_] = [Item].[No_] | |||||||
15 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
16 | Qty. (Base) | Qty. (Base) | Normal | Decimal | 12 | Qty_ (Base) | decimal(38,38) |
29 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
30 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
31 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Posted Whse. Shipment Line].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Posted Whse_ Shipment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Shipment Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Posted Whse. Shipment Line].[Variant Code] = [Item Variant].[Code] | |||||||
32 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
33 | Description 2 | Description 2 | Normal | Text | 50 | Description 2 | nvarchar(100) |
36 | Due Date | Due Date | Normal | Date | 4 | Due Date | datetime |
39 | Destination Type | Destination Type | Normal | Option | 4 | Destination Type | int |
Available options are:
| |||||||
40 | Destination No. | Destination No. | Normal | Code | 20 | Destination No_ | nvarchar(40) |
44 | Shipping Advice | Shipping Advice | Normal | Option | 4 | Shipping Advice | int |
Available options are:
| |||||||
45 | Shipment Date | Shipment Date | Normal | Date | 4 | Shipment Date | datetime |
50 | Qty. Rounding Precision | Qty. Rounding Precision | Normal | Decimal | 12 | Qty_ Rounding Precision | decimal(38,38) |
51 | Qty. Rounding Precision (Base) | Qty. Rounding Precision (Base) | Normal | Decimal | 12 | Qty_ Rounding Precision (Base) | decimal(38,38) |
60 | Posted Source Document | Posted Source Document | Normal | Option | 4 | Posted Source Document | int |
Available options are:
| |||||||
61 | Posted Source No. | Posted Source No. | Normal | Code | 20 | Posted Source No_ | nvarchar(40) |
62 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
63 | Whse. Shipment No. | Whse. Shipment No. | Normal | Code | 20 | Whse_ Shipment No_ | nvarchar(40) |
64 | Whse Shipment Line No. | Whse Shipment Line No. | Normal | Integer | 4 | Whse Shipment Line No_ | int |
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 [Posted Whse. Shipment Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Posted Whse_ Shipment Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Shipment Line] LEFT JOIN [User] AS [User] ON [Posted Whse. Shipment Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |