Skip to main content

Notifications

Announcements

No record found.

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 282

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

  • Suggested answer
    Muhammad Zaid Profile Picture
    282 on at
    RE: Copying attachement to purchase order from sales orders

    Thank you, partner.

    We developed this feature.

  • Verified answer
    WillWU Profile Picture
    22,352 on at
    RE: Copying attachement to purchase order from sales orders

    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.  

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,001 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,833 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans