Skip to main content

Notifications

Announcements

No record found.

Supply Chain Management forum
Answered

Copying attachement to purchase order from sales orders

Posted on by 280

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
    RE: Copying attachement to purchase order from sales orders

    Thank you, partner.

    We developed this feature.

  • Verified answer
    WillWU Profile Picture
    WillWU 22,344 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.  

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans