cannot create record links
Aldevinas Katkus
11-24-17
My code is:
if (RecordStore(SDr, false)) then begin
LogText(0, "WayListr " & WayListr.SerNr & " SDr.SerNr " & SDr.SerNr);
CreateRecordLink(WayListr,CurrentCompany,SDr,CurrentCompany);
CreateRecordLink(SDr,CurrentCompany,WayListr,CurrentCompany);
...

Hansa.log has
2017-11-24 11:55:32 AD WayListr 52 SDr.SerNr 78
Record links are not visible in the paperclip, even though SDVc and WaylistVc serNr are correct (they do exist).

RlinkVc register does contain a record:
1    WayListVc    52   
1    sd    78   

Any ideas why these links are not visible?
I have added some new fields to WayListVc and SDVc record structure.
ver. 8.3 2017-07-16 (build 83250800)




Erik Elmgren
12-4-17
Under the paperclip you now find only links to external files and notes. Links to other records you find under the link manager icon next to it (four arrows).

Other than that your code is correct as long as WayListr is read from the database (exists with that serial number) and all records are in the current company (no. 1 from your RLinkVc export snippet).

Erik
Aldevinas Katkus
12-4-17
Oh yes it works, I have missed that four arrows icon.
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 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