Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5700
Table Type: Company
Table Name: Stockkeeping Unit
Database Table Name: CRONUS UK Ltd_$Stockkeeping Unit$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 Stockkeeping Unit can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Item No_]
,[Variant Code]
,[Location Code]
,[Shelf No_]
,[Unit Cost]
,[Standard Cost]
,[Last Direct Cost]
,[Vendor No_]
,[Vendor Item No_]
,[Lead Time Calculation]
,[Reorder Point]
,[Maximum Inventory]
,[Reorder Quantity]
,[Last Date Modified]
,[Assembly Policy]
,[Transfer-Level Code]
,[Lot Size]
,[Discrete Order Quantity]
,[Minimum Order Quantity]
,[Maximum Order Quantity]
,[Safety Stock Quantity]
,[Order Multiple]
,[Safety Lead Time]
,[Components at Location]
,[Flushing Method]
,[Time Bucket]
,[Reordering Policy]
,[Include Inventory]
,[Manufacturing Policy]
,[Rescheduling Period]
,[Lot Accumulation Period]
,[Dampener Period]
,[Dampener Quantity]
,[Overflow Level]
,[Transfer-from Code]
,[Special Equipment Code]
,[Put-away Template Code]
,[Put-away Unit of Measure Code]
,[Phys Invt Counting Period Code]
,[Last Counting Period Update]
,[Use Cross-Docking]
,[Next Counting Start Date]
,[Next Counting End Date]
,[Routing No_]
,[Production BOM No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Stockkeeping Unit].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Stockkeeping Unit].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Stockkeeping Unit].[Components at Location] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Stockkeeping Unit].[Transfer-from Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Special Equipment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Special Equipment]
ON
[Stockkeeping Unit].[Special Equipment Code] = [Special Equipment].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Put-away Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Put-away Template Header]
ON
[Stockkeeping Unit].[Put-away Template Code] = [Put-away Template Header].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Phys_ Invt_ Counting Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Phys. Invt. Counting Period]
ON
[Stockkeeping Unit].[Phys Invt Counting Period Code] = [Phys. Invt. Counting Period].[Code]
LEFT JOIN
[User] AS [User]
ON
[Stockkeeping Unit].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Stockkeeping Unit].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Stockkeeping Unit table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Stockkeeping Unit].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Stockkeeping Unit].[Item No_] = [Item].[No_] | |||||||
2 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Stockkeeping Unit].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Stockkeeping Unit].[Variant Code] = [Item Variant].[Code] | |||||||
3 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Stockkeeping Unit].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Stockkeeping Unit].[Location Code] = [Location].[Code] | |||||||
4 | Description | Description | FlowField | Text | 100 | ||
5 | Description 2 | Description 2 | FlowField | Text | 50 | ||
6 | Assembly BOM | Assembly BOM | FlowField | Boolean | 4 | ||
12 | Shelf No. | Shelf No. | Normal | Code | 10 | Shelf No_ | nvarchar(20) |
22 | Unit Cost | Unit Cost | Normal | Decimal | 12 | Unit Cost | decimal(38,38) |
24 | Standard Cost | Standard Cost | Normal | Decimal | 12 | Standard Cost | decimal(38,38) |
25 | Last Direct Cost | Last Direct Cost | Normal | Decimal | 12 | Last Direct Cost | decimal(38,38) |
31 | Vendor No. | Vendor No. | Normal | Code | 20 | Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example querySELECT [Stockkeeping Unit].[Vendor No_] ,[Vendor].[No_] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [Stockkeeping Unit].[Vendor No_] = [Vendor].[No_] | |||||||
32 | Vendor Item No. | Vendor Item No. | Normal | Text | 50 | Vendor Item No_ | nvarchar(100) |
33 | Lead Time Calculation | Lead Time Calculation | Normal | DateFormula | 32 | Lead Time Calculation | varchar(32) |
34 | Reorder Point | Reorder Point | Normal | Decimal | 12 | Reorder Point | decimal(38,38) |
35 | Maximum Inventory | Maximum Inventory | Normal | Decimal | 12 | Maximum Inventory | decimal(38,38) |
36 | Reorder Quantity | Reorder Quantity | Normal | Decimal | 12 | Reorder Quantity | decimal(38,38) |
53 | Comment | Comment | FlowField | Boolean | 4 | ||
62 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
64 | Date Filter | Date Filter | FlowFilter | Date | 4 | ||
65 | Global Dimension 1 Filter | Global Dimension 1 Filter | FlowFilter | Code | 20 | ||
66 | Global Dimension 2 Filter | Global Dimension 2 Filter | FlowFilter | Code | 20 | ||
68 | Inventory | Quantity on Hand | FlowField | Decimal | 12 | ||
84 | Qty. on Purch. Order | Qty. on Purch. Order | FlowField | Decimal | 12 | ||
85 | Qty. on Sales Order | Qty. on Sales Order | FlowField | Decimal | 12 | ||
89 | Drop Shipment Filter | Drop Shipment Filter | FlowFilter | Boolean | 4 | ||
910 | Assembly Policy | Assembly Policy | Normal | Option | 4 | Assembly Policy | int |
Available options are:
| |||||||
977 | Qty. on Assembly Order | Qty. on Assembly Order | FlowField | Decimal | 12 | ||
978 | Qty. on Asm. Component | Qty. on Asm. Component | FlowField | Decimal | 12 | ||
1001 | Qty. on Job Order | Qty. on Job Order | FlowField | Decimal | 12 | ||
5400 | Transfer-Level Code | Transfer-Level Code | Normal | Integer | 4 | Transfer-Level Code | int |
5401 | Lot Size | Lot Size | Normal | Decimal | 12 | Lot Size | decimal(38,38) |
5410 | Discrete Order Quantity | Discrete Order Quantity | Normal | Integer | 4 | Discrete Order Quantity | int |
5411 | Minimum Order Quantity | Minimum Order Quantity | Normal | Decimal | 12 | Minimum Order Quantity | decimal(38,38) |
5412 | Maximum Order Quantity | Maximum Order Quantity | Normal | Decimal | 12 | Maximum Order Quantity | decimal(38,38) |
5413 | Safety Stock Quantity | Safety Stock Quantity | Normal | Decimal | 12 | Safety Stock Quantity | decimal(38,38) |
5414 | Order Multiple | Order Multiple | Normal | Decimal | 12 | Order Multiple | decimal(38,38) |
5415 | Safety Lead Time | Safety Lead Time | Normal | DateFormula | 32 | Safety Lead Time | varchar(32) |
5416 | Components at Location | Components at Location | Normal | Code | 10 | Components at Location | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Stockkeeping Unit].[Components at Location] ,[Location].[Code] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Stockkeeping Unit].[Components at Location] = [Location].[Code] | |||||||
5417 | Flushing Method | Flushing Method | Normal | Option | 4 | Flushing Method | int |
Available options are:
| |||||||
5419 | Replenishment System | Replenishment System | Normal | Option | 4 | ||
5420 | Scheduled Receipt (Qty.) | Scheduled Receipt (Qty.) | FlowField | Decimal | 12 | ||
5421 | Scheduled Need (Qty.) | Scheduled Need (Qty.) | FlowField | Decimal | 12 | ||
5423 | Bin Filter | Bin Filter | FlowFilter | Code | 20 | ||
5428 | Time Bucket | Time Bucket | Normal | DateFormula | 32 | Time Bucket | varchar(32) |
5440 | Reordering Policy | Reordering Policy | Normal | Option | 4 | Reordering Policy | int |
Available options are:
| |||||||
5441 | Include Inventory | Include Inventory | Normal | Boolean | 4 | Include Inventory | tinyint |
5442 | Manufacturing Policy | Manufacturing Policy | Normal | Option | 4 | Manufacturing Policy | int |
Available options are:
| |||||||
5443 | Rescheduling Period | Rescheduling Period | Normal | DateFormula | 32 | Rescheduling Period | varchar(32) |
5444 | Lot Accumulation Period | Lot Accumulation Period | Normal | DateFormula | 32 | Lot Accumulation Period | varchar(32) |
5445 | Dampener Period | Dampener Period | Normal | DateFormula | 32 | Dampener Period | varchar(32) |
5446 | Dampener Quantity | Dampener Quantity | Normal | Decimal | 12 | Dampener Quantity | decimal(38,38) |
5447 | Overflow Level | Overflow Level | Normal | Decimal | 12 | Overflow Level | decimal(38,38) |
5700 | Transfer-from Code | Transfer-from Code | Normal | Code | 10 | Transfer-from Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Stockkeeping Unit].[Transfer-from Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Stockkeeping Unit].[Transfer-from Code] = [Location].[Code] | |||||||
5701 | Qty. in Transit | Qty. in Transit | FlowField | Decimal | 12 | ||
5702 | Trans. Ord. Receipt (Qty.) | Trans. Ord. Receipt (Qty.) | FlowField | Decimal | 12 | ||
5703 | Trans. Ord. Shipment (Qty.) | Trans. Ord. Shipment (Qty.) | FlowField | Decimal | 12 | ||
5901 | Qty. on Service Order | Qty. on Service Order | FlowField | Decimal | 12 | ||
7301 | Special Equipment Code | Special Equipment Code | Normal | Code | 10 | Special Equipment Code | nvarchar(20) |
Key to join to the Special Equipment table.Show/hide example querySELECT [Stockkeeping Unit].[Special Equipment Code] ,[Special Equipment].[Code] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Special Equipment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Special Equipment] ON [Stockkeeping Unit].[Special Equipment Code] = [Special Equipment].[Code] | |||||||
7302 | Put-away Template Code | Put-away Template Code | Normal | Code | 10 | Put-away Template Code | nvarchar(20) |
Key to join to the Put-away Template Header table.Show/hide example querySELECT [Stockkeeping Unit].[Put-away Template Code] ,[Put-away Template Header].[Code] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Put-away Template Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Put-away Template Header] ON [Stockkeeping Unit].[Put-away Template Code] = [Put-away Template Header].[Code] | |||||||
7307 | Put-away Unit of Measure Code | Put-away Unit of Measure Code | Normal | Code | 10 | Put-away Unit of Measure Code | nvarchar(20) |
7380 | Phys Invt Counting Period Code | Phys Invt Counting Period Code | Normal | Code | 10 | Phys Invt Counting Period Code | nvarchar(20) |
Key to join to the Phys. Invt. Counting Period table.Show/hide example querySELECT [Stockkeeping Unit].[Phys Invt Counting Period Code] ,[Phys. Invt. Counting Period].[Code] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Phys_ Invt_ Counting Period$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Phys. Invt. Counting Period] ON [Stockkeeping Unit].[Phys Invt Counting Period Code] = [Phys. Invt. Counting Period].[Code] | |||||||
7381 | Last Counting Period Update | Last Counting Period Update | Normal | Date | 4 | Last Counting Period Update | datetime |
7383 | Last Phys. Invt. Date | Last Phys. Invt. Date | FlowField | Date | 4 | ||
7384 | Use Cross-Docking | Use Cross-Docking | Normal | Boolean | 4 | Use Cross-Docking | tinyint |
7385 | Next Counting Start Date | Next Counting Start Date | Normal | Date | 4 | Next Counting Start Date | datetime |
7386 | Next Counting End Date | Next Counting End Date | Normal | Date | 4 | Next Counting End Date | datetime |
99000750 | Routing No. | Routing No. | Normal | Code | 20 | Routing No_ | nvarchar(40) |
Key to join to the Routing Header table.Show/hide example querySELECT [Stockkeeping Unit].[Routing No_] ,[Routing Header].[No_] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Routing Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Routing Header] ON [Stockkeeping Unit].[Routing No_] = [Routing Header].[No_] | |||||||
99000751 | Production BOM No. | Production BOM No. | Normal | Code | 20 | Production BOM No_ | nvarchar(40) |
Key to join to the Production BOM Header table.Show/hide example querySELECT [Stockkeeping Unit].[Production BOM No_] ,[Production BOM Header].[No_] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Production BOM Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production BOM Header] ON [Stockkeeping Unit].[Production BOM No_] = [Production BOM Header].[No_] Show/hide example querySELECT [Stockkeeping Unit].[Production BOM No_] ,[Production BOM Line].[Line No_] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Production BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production BOM Line] ON [Stockkeeping Unit].[Production BOM No_] = [Production BOM Line].[Line No_] Show/hide example querySELECT [Stockkeeping Unit].[Production BOM No_] ,[Production BOM Line].[Production BOM No_] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [CRONUS UK Ltd_$Production BOM Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production BOM Line] ON [Stockkeeping Unit].[Production BOM No_] = [Production BOM Line].[Production BOM No_] | |||||||
99000765 | Planned Order Receipt (Qty.) | Planned Order Receipt (Qty.) | FlowField | Decimal | 12 | ||
99000766 | FP Order Receipt (Qty.) | FP Order Receipt (Qty.) | FlowField | Decimal | 12 | ||
99000767 | Rel. Order Receipt (Qty.) | Rel. Order Receipt (Qty.) | FlowField | Decimal | 12 | ||
99000769 | Planned Order Release (Qty.) | Planned Order Release (Qty.) | FlowField | Decimal | 12 | ||
99000770 | Purch. Req. Receipt (Qty.) | Purch. Req. Receipt (Qty.) | FlowField | Decimal | 12 | ||
99000771 | Purch. Req. Release (Qty.) | Purch. Req. Release (Qty.) | FlowField | Decimal | 12 | ||
99000777 | Qty. on Prod. Order | Qty. on Prod. Order | FlowField | Decimal | 12 | ||
99000778 | Qty. on Component Lines | Qty. on Component Lines | FlowField | Decimal | 12 | ||
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 [Stockkeeping Unit].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Stockkeeping Unit$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Stockkeeping Unit] LEFT JOIN [User] AS [User] ON [Stockkeeping Unit].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |