File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1007,38 +1007,6 @@ CREATE PROCEDURE [dbo].[uspConsumeEnrollments](
10071007 END
10081008
10091009 SELECT @PolicyImported = ISNULL (COUNT (1 ),0 ) FROM @tblPolicy WHERE isOffline = 1
1010-
1011-
1012-
1013-
1014-
1015-
1016- IF EXISTS (SELECT COUNT (1 )
1017- FROM tblInsuree
1018- WHERE ValidityTo IS NULL
1019- AND IsHead = 1
1020- GROUP BY FamilyID
1021- HAVING COUNT (1 ) > 1 )
1022-
1023- -- Added by Amani
1024- BEGIN
1025- DELETE FROM @tblResult;
1026- SET @FamilyImported = 0 ;
1027- SET @FamilyRejected = 0 ;
1028- SET @FamiliesUpd = 0 ;
1029- SET @InsureeImported = 0 ;
1030- SET @InsureeUpd = 0 ;
1031- SET @PolicyImported = 0 ;
1032- SET @PolicyImported = 0 ;
1033- SET @PolicyRejected = 0 ;
1034- SET @PremiumImported = 0
1035- INSERT INTO @tblResult VALUES
1036- (N ' <h3 style="color:red;">Double HOF Found. <br />Please contact your IT manager for further assistant.</h3>' )
1037- -- GOTO EndOfTheProcess;
1038-
1039- RAISERROR (N ' -5' ,16 ,1 )
1040- END
1041-
10421010
10431011 COMMIT TRAN ENROLL;
10441012
You can’t perform that action at this time.
0 commit comments