Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/7319
Table Type: Company
Table Name: Posted Whse. Receipt Line
Database Table Name: CRONUS UK Ltd_$Posted Whse_ Receipt 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. Receipt Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Posted Whse_ Receipt 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)]
,[Qty_ Put Away]
,[Qty_ Put Away (Base)]
,[Unit of Measure Code]
,[Qty_ per Unit of Measure]
,[Variant Code]
,[Description]
,[Description 2]
,[Due Date]
,[Starting Date]
,[Qty_ Cross-Docked]
,[Qty_ Cross-Docked (Base)]
,[Cross-Dock Zone Code]
,[Cross-Dock Bin Code]
,[Qty_ Rounding Precision]
,[Qty_ Rounding Precision (Base)]
,[Posted Source Document]
,[Posted Source No_]
,[Posting Date]
,[Vendor Shipment No_]
,[Whse_ Receipt No_]
,[Whse Receipt Line No_]
,[Status]
,[Serial No_]
,[Lot No_]
,[Warranty Date]
,[Expiration Date]
,[Package No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Posted Whse_ Receipt 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_ Receipt Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Receipt Line]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Posted Whse. Receipt Line].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
ON
[Posted Whse. Receipt Line].[Bin Code] = [Bin].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Posted Whse. Receipt Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Posted Whse. Receipt Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Posted Whse. Receipt Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Posted Whse. Receipt 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. Receipt Line].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Posted Whse_ Receipt Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Receipt Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Posted Whse. Receipt 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. Receipt Line].[Bin Code] ,[Bin].[Code] FROM [CRONUS UK Ltd_$Posted Whse_ Receipt Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Receipt Line] LEFT JOIN [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin] ON [Posted Whse. Receipt 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. Receipt Line].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Posted Whse_ Receipt Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Receipt Line] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Posted Whse. Receipt 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) |
25 | Qty. Put Away | Qty. Put Away | Normal | Decimal | 12 | Qty_ Put Away | decimal(38,38) |
26 | Qty. Put Away (Base) | Qty. Put Away (Base) | Normal | Decimal | 12 | Qty_ Put Away (Base) | decimal(38,38) |
27 | Put-away Qty. | Put-away Qty. | FlowField | Decimal | 12 | ||
28 | Put-away Qty. (Base) | Put-away Qty. (Base) | FlowField | Decimal | 12 | ||
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. Receipt Line].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Posted Whse_ Receipt Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Receipt Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Posted Whse. Receipt 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 |
37 | Starting Date | Starting Date | Normal | Date | 4 | Starting Date | datetime |
50 | Qty. Cross-Docked | Qty. Cross-Docked | Normal | Decimal | 12 | Qty_ Cross-Docked | decimal(38,38) |
51 | Qty. Cross-Docked (Base) | Qty. Cross-Docked (Base) | Normal | Decimal | 12 | Qty_ Cross-Docked (Base) | decimal(38,38) |
52 | Cross-Dock Zone Code | Cross-Dock Zone Code | Normal | Code | 10 | Cross-Dock Zone Code | nvarchar(20) |
53 | Cross-Dock Bin Code | Cross-Dock Bin Code | Normal | Code | 20 | Cross-Dock Bin Code | nvarchar(40) |
55 | Qty. Rounding Precision | Qty. Rounding Precision | Normal | Decimal | 12 | Qty_ Rounding Precision | decimal(38,38) |
56 | 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 | Vendor Shipment No. | Vendor Shipment No. | Normal | Code | 35 | Vendor Shipment No_ | nvarchar(70) |
64 | Whse. Receipt No. | Whse. Receipt No. | Normal | Code | 20 | Whse_ Receipt No_ | nvarchar(40) |
65 | Whse Receipt Line No. | Whse Receipt Line No. | Normal | Integer | 4 | Whse Receipt Line No_ | int |
66 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
6500 | Serial No. | Serial No. | Normal | Code | 50 | Serial No_ | nvarchar(100) |
6501 | Lot No. | Lot No. | Normal | Code | 50 | Lot No_ | nvarchar(100) |
6502 | Warranty Date | Warranty Date | Normal | Date | 4 | Warranty Date | datetime |
6503 | Expiration Date | Expiration Date | Normal | Date | 4 | Expiration Date | datetime |
6515 | Package No. | Package No. | Normal | Code | 50 | 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 [Posted Whse. Receipt Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Posted Whse_ Receipt Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Posted Whse. Receipt Line] LEFT JOIN [User] AS [User] ON [Posted Whse. Receipt Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |