Skip to main content
Question

Alternate Key - receiving error

  • September 14, 2020
  • 4 replies
  • 184 views

Bjones
Sidekick (Customer)
Forum|alt.badge.img+7
  • Sidekick (Customer)
  • 14 replies

Attempting to set an alternate key on a custom field and receiving the following error:

COMPILE_ERROR2: Error during compilation of LU.

 

Error details: -12801 in \CUSTOM LU

CODE\BILLING_CUSTOMER_JOBS_CLT.CRE\ALTERNATE_KEY

 

Has anyone come across this and come to any solution?

4 replies

Technical Outlaws
Hero (Employee)
Forum|alt.badge.img+11

The column which you are setting as the alternate key, has that already got an index defined?  If so, remove the index and repeat the process of setting the alternate key.


Bjones
Sidekick (Customer)
Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • 14 replies
  • September 14, 2020

None of the columns are indexed, this is what has me stumped.

 


Technical Outlaws
Hero (Employee)
Forum|alt.badge.img+11

Have you got conflicting data i.e. duplicate records against the alternate key column.  If so, you will need to clean up the data first as well before setting the alternate key.

There is a similar thread “Custom Form Primary Key” that highlights a similar if not the same issue.


Bjones
Sidekick (Customer)
Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • 14 replies
  • September 14, 2020

I will look into this, thank you for responding!  This has given me hope!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings