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 :
Small and medium business | Business Central, N...
Suggested Answer

auto create purchase order from sales order by using job queue

(0) ShareShare
ReportReport
Posted on by

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. 

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    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.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    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.

  • Suvarna Profile Picture
    on at

    Hi Inge M. Bruvik,

    Thanks for your reply.... First I will try with Power Automate.

  • Suvarna Profile Picture
    on at

    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?

    pastedimage1658840086964v1.png

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 741 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 514 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 336 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans