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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Schedule batch job for purchase order generation

(3) ShareShare
ReportReport
Posted on by 202
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
  • Olena Volodymyrivna Profile Picture
    29 on at
    Hi Simeon,
     
    Did you find what caused the issue?
     
    Thanks.
  • SM-17050844-0 Profile Picture
    202 on at
    Yep, i fixed it for us, but i assume this will be different for others.
    Firs of all do you have any purchasing policy related to purchase order generation ?
    In my case i had to create the batch job only ONCE, not for every single legal entity individually.
     

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 > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 296

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 223 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 145 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans