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
Piotr Wycichowski
Thanks Gatis, anyway it seems to be reported as bug instead of wish because now it depends on who created task for whom, am I right? /Piotr W....
14:39 15 May 2024
Aldevinas Katkus
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts Not sure why it was duplicated, I clicked "submit"only once....
08:09 10 May 2024