flds2>arp->fldcount
Neil
3-1-18
Can anyone tell me exactly what the error "flds2>arp->fldcount" means? (Standard ERP v 8.4)


Once a client attempts to connect to the server this error appears and shuts down. All I could discern is it is related to the fields defined in the hal compared to the database.

I can only reproduce it in client-server mode and only it appeared when I added data to a newly added field in an existing block.

This is the block I suspect is causing the issue:

BlockBegin(PMBlock,-,"");
NewAutosyncHBlock(kSyncDirectionToClient);
RecordField(Math,M4Matrix,0,0);
ArrayBegin(Math,-,1);
... existing fields ...
ArrayField(LastNo,M4Long,0,0); //Added Field
ArrayField(Reporting,M4Set,96,0); //Added Field
EndArray;
EndBlock;

Both client and server have the halcust and an export->import has been done.

My question is what exactly triggers this error and is there any way to debug it further than this generic error message?

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
Lilian Wanyoike
Hi, We have a customer who creates on account receipts against a customer account. Another team is required to allocate these receipts to specific invoice records. Prepayments will not work as t...
15:49 6 Oct 2025
Piotr Wycichowski
Hi! I am not able to run SERP client on Mac (Sonoma), when the folder is outside of Applications. When and why it happens? I know, that some users with the same system haven't such problem. ...
14:54 19 Sep 2025