Announcements
No record found.
Hi
I want to automate task of creating purchase order from purchase quote .
*This post is locked for comments
how? using job queues?
or you want to make build orders?
yes
what is yes? I have posted 2 options..
i have to make build orders
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.
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
sorry, I was referring in Sales side like sales Quote to Sales Order.
you need to add action in Purchase Quote
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.