How to upgrade registers when tag has changed
Paul Timms
7-23-19
I recently upgraded a customer's system from 8.1 to 8.5. In 8.1, they have additional fields in Order Classes and Delivery Modes, added using RecordAddBegin.

When these registers imported into 8.5, the data in the additional fields did not import. Instead, a new order class was created with code $%^!: and every delivery mode had a matrix line with language $%^!: and text DMVc_Custom.

The difference between 8.1 and 8.5 in the source is as follows:

8.1

RecordBegin(OrderClassVc,-,"orderclass");

RecordField(Code,M4Code,5,0);

8.5
RecordBegin(OrderClassVc,-,"orderclass2");
NewAutosyncRegister(kSyncDirectionToClient,true);
RecordField(Code,M4Code,5,0);

Is there a "correct" way to upgrade these registers when the tag has changed and/or NewAutoSyncRegister has been added?
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 Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024