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

Announcements

No record found.

News and Announcements icon
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 208

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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 671 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 434 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 241 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans