
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2015 10:39 PM
Good Afternoon,
I would like to see the departments that computers belong to. In the report created below the department field is blank. What am I doing wrong?
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tblAssets.Lastseen,
tblAssetCustom.Warrantydate,
tblAssetCustom.Department,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssetCustom.State = 1
I would like to see the departments that computers belong to. In the report created below the department field is blank. What am I doing wrong?
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tblAssets.Lastseen,
tblAssetCustom.Warrantydate,
tblAssetCustom.Department,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssetCustom.State = 1
Solved! Go to Solution.
Labels:
- Labels:
-
Report Center
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2015 09:51 AM
The tblAssetCustom.Department field doesn't contain scanned data; it's reserved for manual data insertion. Unless you manually add data to the field, it will be empty. Be sure to use the database dictionary if you're unsure what a specific field stores.
If you are trying to query the Department attribute from Active Directory: this attribute is currently only scanned for users unfortunately, not computers.
If you are trying to query the Department attribute from Active Directory: this attribute is currently only scanned for users unfortunately, not computers.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2015 09:51 AM
The tblAssetCustom.Department field doesn't contain scanned data; it's reserved for manual data insertion. Unless you manually add data to the field, it will be empty. Be sure to use the database dictionary if you're unsure what a specific field stores.
If you are trying to query the Department attribute from Active Directory: this attribute is currently only scanned for users unfortunately, not computers.
If you are trying to query the Department attribute from Active Directory: this attribute is currently only scanned for users unfortunately, not computers.
