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
David Delač
Hi Gastón, Please report a bug in our issue tracker and attach test database that you can repeat this in so I can have a look. Paste subject here once done...
09:46 14 May 2025
Paul Timms
From what I've read, using these will store the updated records in memory and then write them to the database in bulk, instead of each record writing to the database in turn. So perhaps there&apo...
17:53 29 Apr 2025