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
David Delač
Hi Aldevinas, Please post your customisations so I can help you....
11:40 20 Feb 2025
Piotr Wycichowski
The register for Order Classes is common for Sales orders and Service orders. When I set an Order Class to create an Activity - it works for Sales Order, while for Service Orders - not. Is any setting...
09:30 18 Feb 2025