Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Suggested answer

Do not resend PO COnfirmation

(1) ShareShare
ReportReport
Posted on by 4
Is there a way to NOT resend the PO confirmation? I want to send the first one. any ones after that, I do NOT want to resend to vendor. I was thinking I could use a query (running in batch) when selecting but I don't want it to skip the confirmation, I just want it NOT to re-email or print.
 
Any suggestions are appreciated.
  • Suggested answer
    Guy Terry Profile Picture
    Guy Terry 28,626 Super User 2024 Season 2 on at
    Do not resend PO COnfirmation
    Yes, you can do this. This is the way I did it. There may be other ways. Put two batch tasks in your batch job. Both tasks should run the same class (the PO Confirmation class).
     
    The first task you configure with whatever print options you need to send your POs.
    The second task you configure to run after the first, with printing turned off.
     
    The first task you need to use the query to ensure that it only selects POs which are being confirmed for the first time. I did this by adding a 'Not Exists' join to the Purchase order confirmations table.
     
    The second task you need to use the query to ensure that it only selects POs which already have a confirmation journal. I did this by adding a normal Join to the Purchase order confirmations table, and putting a Range where the Purchase order field on the Purchase order confirmations table is not blank (set the Criteria to !"").
  • Do not resend PO COnfirmation
    First off, this is something I would not recommend doing since we are potentially confirming orders that no longer reflect what is sent to the vendor (e.g., a controller adds a line by mistake to the wrong purchase order). Ideally, some logic should mark the order if it can be confirmed without printing if specific criteria is met.
    Question needs to be asked: 'Why do I want this?'

    That said, it is technically possible to use a batch job IF you have not customized the confirmation batch job.
    I take no responsibility for this, and it needs to be tested thoroughly. And do not run the batch job each minute, consider it a once-a-day thing after work.
     
    I am running with these parameters, and it will only pick up previously confirmed orders that can be approved again, and confirms them without printing:
     
     
    I am using this query by clicking "Select":
     
     
     
     
     

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans