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 :
Microsoft Dynamics NAV (Archived)
Answered

How to automate the purchase quote into purchase order

(0) ShareShare
ReportReport
Posted on by 1,751

Hi 

I want to automate task of creating purchase order from purchase quote .

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    how? using job queues?

    or you want to make build orders?

  • javedakhtar Profile Picture
    1,751 on at

    yes

  • Suggested answer
    Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    what is yes? I have posted 2 options..

  • javedakhtar Profile Picture
    1,751 on at

    i have to make build orders

  • Verified answer
    Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    you have to create an action in Sales Quotes page and select the Quotes and send them to codeunit 86 with a repeat loop. make sure that there wont be any repeated confirmations are messages etc.

  • javedakhtar Profile Picture
    1,751 on at

    Hi,

    Sorry to ask you ,but why should i create a action in sales quotes , if am trying to make a purchase order from purchase quote

  • Suggested answer
    Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at

    sorry, I was referring in Sales side like sales Quote to Sales Order.

    you need to add action in Purchase Quote

  • Verified answer
    Suresh Kulla Profile Picture
    50,269 Super User 2026 Season 1 on at

    If you want to automate it without human intervention then create a new report/codeunit and loop through each purchase quote and call the function which gets called on the Make Order.

    Make sure you hide all the dialog boxes in the existing codeunit 96 using GUIALLOWED

    If you use Codeunit you can add code like this : This is just an example

    PurchQuoteToOrder is of type codeunit 96

    PurchHeader is of Type Table 38

    PurchHeader.RESET;

    PurchHeader.SETRANGE("Document Type",PurchHeader."Document Type"::Quote);

    IF PurchHeader.FINDSET THEN

    REPEAT

    PurchQuoteToOrder.RUN(Rec);

    UNTIL PurchHeader.NEXT = 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

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans