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?
Aldevinas Katkus
7-23-19
I would create an import procedure for the "orderclass" tag.
Paul Timms
7-23-19
I tried that but it still didn't import the data correctly.
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
Gastón Salomone
Hi David, Since this happend in a timed task and its a memory problem, system crash and there are not any messages in hansa.log In hansa log. last lines are following: 2025-04-24 22:48:20 runn...
16:15 25 Apr 2025
Paul Timms
Thanks David! I'll give that a go and confirm if that works. Paul...
10:54 23 Apr 2025