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,536
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 Only 1 Basic Action not working?
by  DotWAD   Go to last post Go to first unread
Last post: Yesterday at 6:17:05 PM(UTC)
Lansweeper Mapped Drives Incorrect
by  cycleheat  
Go to last post Go to first unread
Last post: Yesterday at 5:21:32 PM(UTC)
Lansweeper Help on creating report list from security groups
by  sc00bs   Go to last post Go to first unread
Last post: Yesterday at 4:52:39 PM(UTC)
Lansweeper Will someone at Lansweeper please take my money?
by  sbAYVdQu  
Go to last post Go to first unread
Last post: Yesterday at 3:31:33 PM(UTC)
Lansweeper Monitor open process
by  Renato   Go to last post Go to first unread
Last post: Yesterday at 3:10:48 PM(UTC)
Lansweeper Duplicate assets (Servers)
by  kjstech  
Go to last post Go to first unread
Last post: Yesterday at 2:34:14 PM(UTC)
Lansweeper Office 365 32bit vs 64bit?
by  CyberCitizen   Go to last post Go to first unread
Last post: Yesterday at 7:22:38 AM(UTC)
Lansweeper "add cc user" doesn't show the correct listings
by  JLPingree  
Go to last post Go to first unread
Last post: 7/6/2020 8:12:44 PM(UTC)