Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5600
Table Type: Company
Table Name: Fixed Asset
Database Table Name: CRONUS UK Ltd_$Fixed Asset$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 Fixed Asset can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[timestamp]
,[No_]
,[Description]
,[Search Description]
,[Description 2]
,[FA Class Code]
,[FA Subclass Code]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Location Code]
,[FA Location Code]
,[Vendor No_]
,[Main Asset_Component]
,[Component of Main Asset]
,[Budgeted Asset]
,[Warranty Date]
,[Responsible Employee]
,[Serial No_]
,[Last Date Modified]
,[Blocked]
,[Picture]
,[Maintenance Vendor No_]
,[Under Maintenance]
,[Next Service Date]
,[Inactive]
,[No_ Series]
,[FA Posting Group]
,[Image]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Fixed Asset].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
ON
[Fixed Asset].[Vendor No_] = [Vendor].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
ON
[Fixed Asset].[Maintenance Vendor No_] = [Vendor].[No_]
Show/hide columns in Fixed Asset table
Column ID | Column Name | Data Type | ||||
---|---|---|---|---|---|---|
1 | timestamp ![]() | timestamp | ||||
2 | No_ ![]() ![]() | nvarchar(40) | ||||
3 | Description ![]() | nvarchar(200) | ||||
4 | Search Description ![]() | nvarchar(200) | ||||
5 | Description 2 ![]() | nvarchar(100) | ||||
6 | FA Class Code ![]() | nvarchar(20) | ||||
7 | FA Subclass Code ![]() | nvarchar(20) | ||||
8 | Global Dimension 1 Code ![]() | nvarchar(40) | ||||
9 | Global Dimension 2 Code ![]() | nvarchar(40) | ||||
10 | Location Code ![]() | nvarchar(20) | ||||
Key to join to the Location table.Show/hide example querySELECT
[Fixed Asset].[Location Code]
,[Location].[Code]
FROM
[CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Fixed Asset].[Location Code] = [Location].[Code] | ||||||
11 | FA Location Code ![]() | nvarchar(20) | ||||
12 | Vendor No_ ![]() | nvarchar(40) | ||||
Key to join to the Vendor table.Show/hide example querySELECT
[Fixed Asset].[Vendor No_]
,[Vendor].[No_]
FROM
[CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset]
LEFT JOIN
[CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
ON
[Fixed Asset].[Vendor No_] = [Vendor].[No_] | ||||||
13 | Main Asset_Component ![]() | int | ||||
14 | Component of Main Asset ![]() | nvarchar(40) | ||||
15 | Budgeted Asset ![]() | tinyint | ||||
16 | Warranty Date ![]() | datetime | ||||
17 | Responsible Employee ![]() | nvarchar(40) | ||||
18 | Serial No_ ![]() | nvarchar(100) | ||||
19 | Last Date Modified ![]() | datetime | ||||
20 | Blocked ![]() | tinyint | ||||
21 | Picture ![]() | image | ||||
22 | Maintenance Vendor No_ ![]() | nvarchar(40) | ||||
Key to join to the Vendor table.Show/hide example querySELECT
[Fixed Asset].[Maintenance Vendor No_]
,[Vendor].[No_]
FROM
[CRONUS UK Ltd_$Fixed Asset$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Fixed Asset]
LEFT JOIN
[CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
ON
[Fixed Asset].[Maintenance Vendor No_] = [Vendor].[No_] | ||||||
23 | Under Maintenance ![]() | tinyint | ||||
24 | Next Service Date ![]() | datetime | ||||
25 | Inactive ![]() | tinyint | ||||
26 | No_ Series ![]() | nvarchar(40) | ||||
27 | FA Posting Group ![]() | nvarchar(40) | ||||
28 | Image ![]() | uniqueidentifier | ||||
29 | $systemId ![]() | uniqueidentifier | ||||
30 | $systemCreatedAt ![]() | datetime | ||||
31 | $systemCreatedBy ![]() | uniqueidentifier | ||||
32 | $systemModifiedAt ![]() | datetime | ||||
33 | $systemModifiedBy ![]() | uniqueidentifier |