Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
francisswest
Champion Sweeper
We purchase machines with 4 year warranties, but we stretch the machines to 7 years of active time. I am hoping there is an easy way to change the "Asset: out of warranty" report to make the warranty date 7 years from the initial warranty start date.

Thoughts?

Thanks!
1 ACCEPTED SOLUTION
Daniel_B
Lansweeper Alumni
You certainly can change the report and let only assets be listed which have a purchase date older than seven years. Save it under a new name, because the modified report won't really be related to manufacturer warranty any more. Please find an example below:

Select Top 1000000 tblAssetCustom.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tsysAssetTypes.AssetTypename,
tblAssetCustom.Model,
tblAssetCustom.Manufacturer,
tblAssetCustom.Serialnumber,
tblAssetCustom.PurchaseDate As [Purchase Date],
tblAssetCustom.Warrantydate As [Warranty Expiration],
tsysAssetTypes.AssetTypeIcon10 As icon
From tblAssetCustom
Inner Join tblAssets On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssetCustom.PurchaseDate < GetDate() - (7 * 365) And
tblAssetCustom.State = 1
Order By [Warranty Expiration] Desc

View solution in original post

2 REPLIES 2
francisswest
Champion Sweeper
Thank you Daniel, that worked perfectly!
Daniel_B
Lansweeper Alumni
You certainly can change the report and let only assets be listed which have a purchase date older than seven years. Save it under a new name, because the modified report won't really be related to manufacturer warranty any more. Please find an example below:

Select Top 1000000 tblAssetCustom.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tsysAssetTypes.AssetTypename,
tblAssetCustom.Model,
tblAssetCustom.Manufacturer,
tblAssetCustom.Serialnumber,
tblAssetCustom.PurchaseDate As [Purchase Date],
tblAssetCustom.Warrantydate As [Warranty Expiration],
tsysAssetTypes.AssetTypeIcon10 As icon
From tblAssetCustom
Inner Join tblAssets On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssetCustom.PurchaseDate < GetDate() - (7 * 365) And
tblAssetCustom.State = 1
Order By [Warranty Expiration] Desc

Reports & Analytics

Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now