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 how to add windows and office licenses manually.
by  cesar.ti   Go to last post Go to first unread
Last post: 8/23/2019 7:32:10 PM(UTC)
Lansweeper User roles and permissions
by  RKCar  
Go to last post Go to first unread
Last post: 8/23/2019 6:23:38 PM(UTC)
Lansweeper Deployment condition
by  RKCar   Go to last post Go to first unread
Last post: 8/23/2019 4:07:30 PM(UTC)
Lansweeper HP Printer not showing correctly
by  JacobH  
Go to last post Go to first unread
Last post: 8/23/2019 1:32:54 PM(UTC)
Lansweeper Moving Assets in Location not Saving
by  brodiemac   Go to last post Go to first unread
Last post: 8/23/2019 12:23:04 PM(UTC)
Lansweeper Scanning includes IOS devices even though I exclude them??
by  steveb  
Go to last post Go to first unread
Last post: 8/22/2019 11:05:33 PM(UTC)
Lansweeper lsagent not scanning/sending when using relay
by  Esben.D   Go to last post Go to first unread
Last post: 8/19/2019 12:31:02 PM(UTC)
Lansweeper Check if Netbios is disabled over TCP/IP
by  TaherMD  
Go to last post Go to first unread
Last post: 8/19/2019 6:00:51 AM(UTC)