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 :
Dynamics 365 Community / Forums / Field Service forum / Faulty Dynamics 365 no...
Field Service forum

Faulty Dynamics 365 not deleting "Purchase Order Products" when you delete the "Purchase Order" causing confusion and storage problems. How to fix it?!

(0) ShareShare
ReportReport
Posted on by 360

When you delete a purchase order it leaves the "Purchase Order Products" intact, which leaves a long list of "Purchase Order Products" in the entity list that will impact the storage for clients.

There is that possibility of creating a background workflow to delete all the "Purchase Order Products" that are not associated to a "Purchase Order" but that will just mean more and more workflows that will slow things down for the clients. Does anyone know of a fix. javascript code to delete the related "Purchase Order Products" or a C# "Plugin Code" that can help in doing this?

I would highly appreciate if someone can point me in the right direction (with example code if possible etc). Thanks in advance.

Categories:

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Field Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans