Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Unable to delete PO - Throwing synch error.

(0) ShareShare
ReportReport
Posted on by 2
Hi Community,
 
We are facing synchronization error on production environment whenever we are deleting record from purchase order. 
So, we decided to restore the DB to dev server, after that we debug the code and find out the error is throwing from the standard PurchLine table >> IsConfirmed method. This method is called from the PurchLineBudgeting_Extension where they have added COC for PurchLine delete method. Below is the screenshot and the error is throwing at a select statement return for PurchLineAllVersions view.
We tried DB synchronization on dev server and its successful but its throwing same error when deleting purchase order. 
Also, we tried opening the PurchLineAllVersions view using table browser and it's not opening throwing errors as table not synchronized properly. Same view is opening from the SQL management studio.
Does anyone have faced the above issue?
 
Thanks.
  • Mithra Profile Picture
    2 on at
    Unable to delete PO - Throwing synch error.
    Thanks for the reply Ramit and Kevin. 
    We have customization in the PO part but not specifically on the delete code. This error is throwing recently, and it was working previously without any error.
    We have created Microsoft ticket for that. If they provide solution, I will post it here.
     
    Thanks.
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Unable to delete PO - Throwing synch error.
    Hi,
    Have you done custom development or modification of the content of this part? Because from the content of the error, this is a problem with the underlying logic of the code, resulting in the code of deleting the PO cannot run smoothly.
    Best regards,
    Kevin
  • Ramit Paul Profile Picture
    22,375 Most Valuable Professional on at
    Unable to delete PO - Throwing synch error.
    1: Is there any customization in the PO area?
    2: if no custom code, have you tried to connect with MS team as sev A ticket as this is a prod 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,238 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans