web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Schedule batch job for purchase order generation

(2) ShareShare
ReportReport
Posted on by 194
Hi all,
 
Hope that you are doing well.
 
I have a question about: Schedule batch job for purchase order generation.
Basically after we create PR a PO is automatically created.
It all worked fine except couple of similar scenarios where instead of a single PO we have many PO's created.
 
In one of the examples the PR has 6 lines and we have 5 PO created.
1 is correct the other 4 are empty.
We also translate the header of the PR to PO and this is correctly done in the first PO, but the next 4 are basically empty.
I was reviewing our configuration and cannot find any reasonable explanation for this - policies, configuration etc it all looks fine and i cannot replicate this as well.
The only thing that is sketchy is the batch job recurrence.
 
Our partners advised us to set the recurrence to 1mint.
Do you think that this could have something to do with the duplicate PO's that are raised based on a single PR ?
 
Any other ideas are much appreciated.
 
Thanks
Simeon Manov.
I have the same question (0)
  • Suggested answer
    Fasih Profile Picture
    416 on at
    Hi,

    As you have mentioned that all the configurations are tried and tested and the system works fine in most of the scenarios, then it is highly likely that the issue, you are facing, is caused by the 1-minute recurrence interval set for the batch job. This short interval can cause the batch job to run multiple times before the previous one finishes, as two or more processes try to do the same thing at the same time, leading to race conditions and duplicate POs.

    To resolve this, Increase the batch job recurrence interval to at least 5–10 minutes to allow enough time for the PR processing to complete before a new job is triggered.

    This is the only sane explanation to your query, considering no custom modification are made to the setup and all the configurations e.g. PR to PO policies are set perfectly.

    Best Regards

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 266 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans