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 :
Supply chain | Supply Chain Management, Commerce
Answered

Copying attachement to purchase order from sales orders

(0) ShareShare
ReportReport
Posted on by 286

Hi All,

I am creating a purchase order from 'from a sales order' feature on the All purchase order list page. I am selecting multiple sales orders and all sales order lines have attachments (notes) with them.

When I created PO, notes are not copied from sales order lines to purchase order lines.

What is the solution for it? Am I missing in setup/configuration?

Thanks

I have the same question (0)
  • Verified answer
    WillWU Profile Picture
    22,363 on at

    Hi partner,

    If you are using the Direct Delivery, it is out of box.

    You have to do some customization.

    You can find notes related to this SO in the following relations:

    docuRef.RefTableId = tableNum(SalesTable);

    docuRef.RefRecId = salesTable.RecId;

    docuRef.RefCompanyId.

    Then you can use PurchAutoCreate and PurchCreateFromSalesOrder class to create PO and use DocuRef and DocuActionArchive class to attach the notes to the PO.  

  • Suggested answer
    Muhammad Zaid Profile Picture
    286 on at

    Thank you, partner.

    We developed this feature.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 151 Super User 2026 Season 1

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 106 Super User 2026 Season 1

#3
Zain Mehmood Profile Picture

Zain Mehmood 89 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans