Isn't it a bug with SetCompanyCode()
Aldevinas Katkus
9-11-23
Operating system: macOS
Hello, isn't it a bug in Tools\RemoteTools13.hal?
Because company code may not be equal to company number, for example in row 1 we can have a company with code 25.

CreateActFromInvitationRemote2()
...
oldcomp = CurrentCompany;
...
SetCompanyCode(oldcomp,false);

Arzu Erdogdu
9-13-23
Hello,

It is not a bug that Company code is not same as row number this code is entered in. But if any issue is found that it makes a problem as them to report exact steps and backup.
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