Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5718
Table Type: Company
Table Name: Nonstock Item
Database Table Name: CRONUS UK Ltd_$Nonstock Item$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 Nonstock Item can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Manufacturer Code]
,[Vendor No_]
,[Vendor Item No_]
,[Description]
,[Unit of Measure]
,[Published Cost]
,[Negotiated Cost]
,[Unit Price]
,[Gross Weight]
,[Net Weight]
,[Item Template Code]
,[Product Group Code]
,[Last Date Modified]
,[Bar Code]
,[Item No_]
,[Item No_ Series]
,[No_ Series]
,[Item Templ_ Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item]
LEFT JOIN
[CRONUS UK Ltd_$Manufacturer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Manufacturer]
ON
[Nonstock Item].[Manufacturer Code] = [Manufacturer].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure]
ON
[Nonstock Item].[Unit of Measure] = [Unit of Measure].[Code]
LEFT JOIN
[User] AS [User]
ON
[Nonstock Item].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Nonstock Item].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Nonstock Item table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Code | 20 | Entry No_ | nvarchar(40) |
2 | Manufacturer Code | Manufacturer Code | Normal | Code | 10 | Manufacturer Code | nvarchar(20) |
Key to join to the Manufacturer table.Show/hide example querySELECT [Nonstock Item].[Manufacturer Code] ,[Manufacturer].[Code] FROM [CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item] LEFT JOIN [CRONUS UK Ltd_$Manufacturer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Manufacturer] ON [Nonstock Item].[Manufacturer Code] = [Manufacturer].[Code] | |||||||
3 | Vendor No. | Vendor No. | Normal | Code | 20 | Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example querySELECT [Nonstock Item].[Vendor No_] ,[Vendor].[No_] FROM [CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [Nonstock Item].[Vendor No_] = [Vendor].[No_] | |||||||
4 | Vendor Item No. | Vendor Item No. | Normal | Code | 50 | Vendor Item No_ | nvarchar(100) |
5 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
6 | Unit of Measure | Unit of Measure | Normal | Code | 10 | Unit of Measure | nvarchar(20) |
Key to join to the Unit of Measure table.Show/hide example querySELECT [Nonstock Item].[Unit of Measure] ,[Unit of Measure].[Code] FROM [CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item] LEFT JOIN [CRONUS UK Ltd_$Unit of Measure$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Unit of Measure] ON [Nonstock Item].[Unit of Measure] = [Unit of Measure].[Code] | |||||||
7 | Published Cost | Published Cost | Normal | Decimal | 12 | Published Cost | decimal(38,38) |
8 | Negotiated Cost | Negotiated Cost | Normal | Decimal | 12 | Negotiated Cost | decimal(38,38) |
9 | Unit Price | Unit Price | Normal | Decimal | 12 | Unit Price | decimal(38,38) |
10 | Gross Weight | Gross Weight | Normal | Decimal | 12 | Gross Weight | decimal(38,38) |
11 | Net Weight | Net Weight | Normal | Decimal | 12 | Net Weight | decimal(38,38) |
12 | Item Template Code | Item Template Code | Normal | Code | 10 | Item Template Code | nvarchar(20) |
13 | Product Group Code | Product Group Code | Normal | Code | 10 | Product Group Code | nvarchar(20) |
14 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
15 | Bar Code | Bar Code | Normal | Code | 20 | Bar Code | nvarchar(40) |
16 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Nonstock Item].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Nonstock Item].[Item No_] = [Item].[No_] | |||||||
17 | Item No. Series | Item No. Series | Normal | Code | 20 | Item No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Nonstock Item].[Item No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Nonstock Item].[Item No_ Series] = [No. Series].[Code] | |||||||
53 | Comment | Comment | FlowField | Boolean | 4 | ||
97 | No. Series | No. Series | Normal | Code | 20 | No_ Series | nvarchar(40) |
Key to join to the No. Series table.Show/hide example querySELECT [Nonstock Item].[No_ Series] ,[No. Series].[Code] FROM [CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item] LEFT JOIN [CRONUS UK Ltd_$No_ Series$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [No. Series] ON [Nonstock Item].[No_ Series] = [No. Series].[Code] | |||||||
98 | Item Templ. Code | Item Template Code | Normal | Code | 20 | Item Templ_ Code | nvarchar(40) |
Key to join to the Item Templ. table.Show/hide example querySELECT [Nonstock Item].[Item Templ_ Code] ,[Item Templ.].[Code] FROM [CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item] LEFT JOIN [CRONUS UK Ltd_$Item Templ_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Templ.] ON [Nonstock Item].[Item Templ_ Code] = [Item Templ.].[Code] | |||||||
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 [Nonstock Item].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Nonstock Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Nonstock Item] LEFT JOIN [User] AS [User] ON [Nonstock Item].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |