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
Erik Elmgren
9-13-17
It adds the keys from the master version as well. In 8.4 we added some more keys to CUVc in the master version so your 2 extra keys brought it over the limit of 80. I have increased the limit to 200. This will be available in 8.4 2017-09-13.


Erik
Paul Timms
9-18-17
Thanks Erik, that's working now in 8.4 2017-09-14.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025
Aldevinas Katkus
same v. 2025-02-24. New DB. Just forward balances (purchase, sales invoices) from 2024 and later. In your case does turnover per period differs or just fwd. balance differs and turnover is identical i...
09:56 20 Mar 2025