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
Hello, Kindly please report the bug so that we can further investigate and resolve it. Thank you. Best regards, Benjamin...
11:31 3 May 2024
Hi, No changes should have been made that would increase client's HDB file. Please try to delete HANSA.HDB from client folder and reconnect to server and check if it will grow to 30MB again. ...
10:14 30 Apr 2024