LP_VALIDATE_CUST_MERGE

HI,

We are looking into customizing this procedure to avoid merging of records are not duplicates. Can somebody shed some light on where this procedure is placed (called within another procedure or something) within Tessitura. This will give us understanding of effects of this procedure run. Thanks for your time and help.

Cheers

Harpreet

Parents
  • We have had a customized LP_Validate_Cust_Merge for quite some time now.

    However, with V12.1 we have started to get an error message every time the RaiseError is called.

    On the client side it looks like this.

    Invalid Entry

    Merge not permitted by LP_VALIDATE_CUST_MERGE.

    Warning: Null value is eliminated by an aggregate of other SET operation.

    Anyone else run into this?

    Anyone else have a quick solution?

     

    Here is the type of code that is throwing the error.

    if ( not (@Ug_contest like 'PlanM%' and @Ug_contest <> 'PlanMgr') and @delete_id_count > 0)

      Begin

         RAISERROR  ('Merge not possible: Only Membership can merge  %s', 16,1,@msg1)

         RETURN

      End

  • Unknown said:

    Merge not permitted by LP_VALIDATE_CUST_MERGE.

    By default LP_VALIDATE_CUST_MERGE and LP_CONST_MERGE have old raiseerror syntax that we found that SQL 2012 doesn't like.  In both sprocs I had to look for syntax like, e.g.

    Begin
         RAISERROR 50000 'Merge not possible: Delete ID is an Opera Subscriber and Keep ID is not!
          Try reversing the selection.')
         RETURN
      End

    And replace it with something like

    Begin

         RAISERROR (N'Merge not possible: Delete ID is an Opera Subscriber and Keep ID is not!

         Try reversing the selection.', -1, -1)

         RETURN

    End

     

     



    [edited by: Chris Jensen at 1:33 PM (GMT -6) on 6 Apr 2015]
  • Does anyone have a working LP_VALIDATE_CUST_MERGE that works with SQL Server 2016 at Tessitura 12.5.1 that they would be willing to share?

  • I don't have a solution to this, but now I'm worried.  Do we have a list of everything that breaks when we move from SQL 2008R2 to SQL 2016?

Reply Children