Re: Live Sync custom registers and blocks.
12-19-22
Hello.
SynchronizationIndex; not working with NewAutosyncRegister(kSyncDirectionFull,true); because this function already added this index to main key. Compilation get error:
Key SyncIndex already exists on register SomeRegVc


I found that NewAutosyncRegister(kSyncDirectionFull,true); work in one way - from client to server if open one record and run Force Re-Sync from record menu. Only after this record uploaded to server side. Also I added RActions VcRecordSync and VcRecordShouldBeSynchronised to hal, but logs in this functions newer afected to hansa.log


After Force Re-sync to logs added next rows:

On client: 2022-12-19 22:14:23 PollSync took 1ms, record counts: 1 sent, 0 received, 0 updated, 0 equal, 0 ignored deletes, 0 without action since last message

On server: 2022-12-19 22:14:24 PollSync took 27ms, record counts: 0 sent, 1 received, 0 updated, 0 equal, 0 ignored deletes, 0 without action since last message
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