Generating more dead locks on this query, suggest to Tune the query to avoid getting error on alert.
Select LBrCode,
Cat,
CatType,
Code1,
Code2,
Lnodate,
Descr,
LastNo
From D001005
Where LBrCode = :V00001
And Cat = :V00002
And CatType = :V00003
And Code1 = :V00004
And Code2 = :V00005
And Lnodate = :V00006 for UPDATE WAIT 20