Announcements
Hello
I am facing the problem to fetch all links for specified order in my winforms application.
Lets say we have sales order XXX and in nav client users can add links to this order. Now in my app I want to fetch and display all links related to this XXX order.
Links are stored in Record Link table and are connected with orders via Record ID.
My question is how can I achive that?
Is it possible to fetch links using web services (OData)? (It is possible to fetch order)
Is there a way or schema how to encode the Record ID?
Or only proper way is to write codeunit? (any sample?)
I can not find any informations about that so I will be also thankful for some links to API or samples.
*This post is locked for comments
Here you can find good text by Suresh Kulla about it:
community.dynamics.com/.../how-to-read-write-notes-in-navision-using-c-al
The relation is not so easy...
In C/AL:
Creation of a Record Link for Customer XXX:
Then
Cust.GET('XXX');
RecRef.GETTABLE(Cust);
RecordLink.INIT;
RecordLink."Record ID" := RecRef.RECORDID;
.....
RecordLink.INSERT;
Cust is record type variable Customer
RecRef is RecordRef
RecordLink is record type variable Record Link
André Arnaud de Cal...
294,099
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator