Notification

Icon
Error

Warranty scanning errors

Posted: Saturday, April 9, 2016 11:41:27 PM(UTC)
Susan.A

Susan.A

Member Administration Original PosterPosts: 1,535
1
Like
The report below lists Dell, Fujitsu, HP, IBM, Lenovo and Toshiba assets whose last warranty scan was unsuccessful, as well as possible warranty scanning errors that occurred. The report below will only list assets that meet all of the following criteria:
  • The asset's manufacturer is Dell, Fujitsu, HP, IBM, Lenovo or Toshiba.
  • The most recent attempt to scan the asset's warranty failed.

Code:
Select Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tblAssets.Domain,
  tsysAssetTypes.AssetTypename As AssetType,
  tblAssets.Username,
  tblAssets.Userdomain,
  tblAssets.IPAddress,
  tblAssetCustom.Manufacturer,
  tblAssetCustom.Model,
  tblAssetCustom.Serialnumber,
  tblAssetCustom.SystemSKU,
  tblAssetCustom.PurchaseDate,
  tblAssetCustom.Warrantydate,
  tblWarranty.LastWarrantyTry,
  tblWarranty.LastWarrantySuccess,
  tblAssets.ServiceVersion As LansweeperVersion,
  tblWarranty.Error,
  tsysAssetTypes.AssetTypeIcon10 As icon
From tblAssets
  Left Join tblWarranty On tblAssets.AssetID = tblWarranty.AssetId
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where (tblAssetCustom.Manufacturer Like '%dell%' Or
    tblAssetCustom.Manufacturer Like '%fujitsu%' Or
    tblAssetCustom.Manufacturer Like '%HP%' Or tblAssetCustom.Manufacturer Like
    '%hewlett%packard%' Or tblAssetCustom.Manufacturer Like '%IBM%' Or
    tblAssetCustom.Manufacturer Like '%lenovo%' Or
    tblAssetCustom.Manufacturer Like '%toshiba%') And
  (tblWarranty.LastWarrantySuccess Is Null Or tblWarranty.LastWarrantySuccess =
    '' Or tblWarranty.LastWarrantySuccess < tblWarranty.LastWarrantyTry)
Order By tblAssets.Domain,
  tblAssets.AssetName

Active Discussions

Lansweeper Scan timeout... How long?
by  RobertB   Go to last post Go to first unread
Last post: Yesterday at 11:23:30 PM(UTC)
Lansweeper Lansweeper support levels
by  aldo22  
Go to last post Go to first unread
Last post: Yesterday at 9:31:00 PM(UTC)
Lansweeper selection of database for migration
by  aldo22   Go to last post Go to first unread
Last post: Yesterday at 9:25:36 PM(UTC)
Lansweeper Deployment Threads
by  RobertB  
Go to last post Go to first unread
Last post: Yesterday at 5:06:47 PM(UTC)
Lansweeper Bulk remove old domain users from Lansweeper
by  Erik.T   Go to last post Go to first unread
Last post: Yesterday at 3:42:00 PM(UTC)
Lansweeper Weekly tasks
by  LithiumKid1976  
Go to last post Go to first unread
Last post: Yesterday at 3:29:56 PM(UTC)
Lansweeper Bulk user deletion
by  Erik.T   Go to last post Go to first unread
Last post: Yesterday at 9:36:03 AM(UTC)
Lansweeper Tracking assets like docking station, mouse and keyboards
by  CyberCitizen  
Go to last post Go to first unread
Last post: Yesterday at 2:43:18 AM(UTC)