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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

SO confirmation and posting should happened through batch job

(1) ShareShare
ReportReport
Posted on by 326
Hi team,
 
As per the customer requirement, the SO confirmation and posting should happened through batch jobs.
 
So, as per the design , I decided to do through SOF.
 
In loop, when we receive Sales order from Sales table
 
We should use try and catch scope.
 
In try, 
We should call the sales order_confirmation and sales order_invoice to confirm and invoice for each and every sales order.
 
In catch , we captured the failure sales order. So, later we can analysis the same.
 
Is am I correct ?
 
Kindhy let me know if anything wrong.
 
Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Waed Ayyad Profile Picture
    9,176 Super User 2026 Season 1 on at
     
    Why do you want to call them through the code? You can schedule the batch jobs to run for example every 30 minutes or every hour and the jobs will run and update orders, and you can save history of jobs so you can check the failed orders.
     
     

     Thanks
     Waed Ayyad

    If this helped, please mark it as "Verified" for others facing the same issue

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 554 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 492 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 422

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans