Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to delete purchase order using job

(0) ShareShare
ReportReport
Posted on by

Hi all,

Please help me how to delete purchase order using job. but I don't have lines in the particular purchase order and its approval status is "Approved" status "open order". Is it is possible, assist me?

*This post is locked for comments

  • Verified answer
    Satish Panwar Profile Picture
    Satish Panwar 14,649 on at
    RE: How to delete purchase order using job

    Hi Mohanapriyan,

    You should be able to do it through UI/form as well. What issue you are running into while deleting from UI? Can you share message/screenshot please. I was able to delete approved order (with lines) without any issues. If you are having issues that lines are required, you can just add any item and then try to delete the order instead.

    Thanks,

    Satish Panwar

    Please take time to click 'Yes' against the answers that help you guide in right direction to help other community members.

  • RE: How to delete purchase order using job

    Hi, Sohaib.

    Thanks for your reply. yes it is an only single purchase order.

    Thanks & Regards

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,614 User Group Leader on at
    RE: How to delete purchase order using job

    if it has got no lines, the deletion should be possible. however, as you have mentioned, it has status approved, so validation on deletion might stop you doing that. writing code should be easy for such task.

    but are you thinking to write code for a single PO only..? Or you have mass amount of purchase orders that you want to treat by code?

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... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans