web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Copy my notes from sales order to Enquiry and enquiry to sales order

(0) ShareShare
ReportReport
Posted on by 200

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

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans