Note: When I create a new sales order it also gets created in my enquiry card also.
With this function I am able to copy notes my sales order to enquire:
if rec_SalesHeader.HasLinks then
recEnquiries.CopyLinks(rec_SalesHeader);
recEnquiries.Insert();
InsertSalesLine(recEnquiries.No);
end
else begin
if rec_SalesHeader.HasLinks then begin
recordlink.SetRange("Record ID", recEnquiries.RecordId);
if recordlink.FindSet() then begin
recEnquiries.DeleteLinks();
end;
recEnquiries.CopyLinks(rec_SalesHeader);
end;
end;
But I want to copy notes from enquiry to sales header(vise versa), how it's possible, I used the same function just change the table name,still not getting copied,so what can be done.
Please suggest any solution.
Thankyou
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,104 Most Valuable Professional
nmaenpaa 101,156