Announcements
No record found.
Hello,
In Business Central Purchase Order can create from Sales Order. By using Sales Order -> Actions -> Functions -> Create Purchase Document -> Create Purchase Orders. Same process can we do by job queue for automation purpose.
You have two options if you want to do that. Either do AL development to write a report / codeunit that you can run in the job queue.
Or you could possible do it using Power Automate.
But there is no standard function that will let you trigger this from the job queue as far as i know.
Hi Suvarna ,
Inge is right, you have to either create a Report or CU and call it with Job queue, which can call CU - 1314, and its function CreatePurchaseOrder, then you can achieve your task.
Hi Inge M. Bruvik,
Thanks for your reply.... First I will try with Power Automate.
Hi Nitin,
I am creating job queue by using code unit - 1314. I want to put filter condition here with customer number. Can I do this?
I do not think you can use that codeunit directly in a jobqueue like you try to do.
There is some more AL code around it that needs to be written.
What do you want should trigger the creation of purchase doc. Is it the release of the sales order?
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!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,091 Super User 2026 Season 1
YUN ZHU 1,032 Super User 2026 Season 1
Dhiren Nagar 946 Super User 2026 Season 1