Too many keys on CUVc
Paul Timms
8-31-17
I have moved some HAL from 8.3 to 8.4, without changing anything. On starting up Standard ERP 8.4, I get an error message: "Too many keys on CUVc" and Standard ERP doesn't run.


The section of datadef.hal is below:


RecordAddBegin(CUVc,"XX_CUVc");

RecordField(VATSupply,M4Str,20,0);
SubsetKeyBegin2(CodeNoSuppl);
StoreInBaseKey;
AppendFieldToKeyName(SalesGroup);

AppendFieldToKeyName(SalesMan);
KeySegment(Code);
KeySegment(blockedFlag);

KeySegment(VEType);
SubsetKeyBegin2(NameNoSuppl);
StoreInBaseKey;
AppendFieldToKeyName(SalesGroup);
AppendFieldToKeyName(SalesMan);
KeySegment(Name);
KeySegment(Code);
KeySegment(blockedFlag);
KeySegment(VEType);
EndRecordAdd;

If I comment out one or the other of the keys, it runs without error. Why does it complain when there are two keys?

Paul
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Gastón Salomone
Hi, I cannot find any information on about this feature on hansamanual. That is the purpose, is it working, how it works or how must be configured to work ? For REST API many web request per...
23:47 3 Oct 2024
Paul Timms
Thanks Bror-Erik, it's hard to replicate so we won't know for sure until we upgrade the customer with this issue....
10:37 30 Sep 2024