The system freezes when you try to delete a void check batch

This article provides a solution to an issue where the system freezes when you try to delete a void check batch.

Applies to:   Microsoft Dynamics SL 2011 Service Pack 1, Microsoft Dynamics SL 2011 Service Pack 2
Original KB number:   3049880

Symptoms

You open Void Check Entry (03.040.00). Then you try to delete an unreleased void check batch. When you do it, the system freezes.

Resolution

Run the following SQL statement in SQL Server Management Studio:

alter Proc Batch_Mod_Rlsed @parm1 varchar ( 10), @parm2 varchar ( 2) as
       Select * from Batch  with (nolock)
           where BatNbr  = @parm1
             and Module = @parm2
                 and Rlsed = 1 and status<>'V'