Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Unapply prepayment for a cancelled PO

(0) ShareShare
ReportReport
Posted on by

A prepayment was applied to a PO but the PO has been cancelled. The prepayment did not got unapply by itself and when we try to use the Apply Payables Documents window and entered the payment number we got this message: (You can't choose this document because it is part of a recovered batch or is still in the process of posting). Any suggestions?

*This post is locked for comments

  • Angel Nuñez Profile Picture
    on at
    RE: Unapply prepayment for a cancelled PO

    Hi Frank,

    I'm keeping this thread alive because I haven't been able to get a solution. I emailed Mariano Gomez but he never replied. I'm hoping someone out there have a script to move the PO back to open from history. If it's only insert into the POP10's and remove from the POP30's I probably can do it, but I'm not sure what other tables could be involved.

    Thanks

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,506 Super User 2025 Season 1 on at
    RE: Unapply prepayment for a cancelled PO

    Okay, you're going to need to get that PO moved back to the open tables from history.  I thought I had a script for that but I can't locate it.  Send Mariano Gomez an email - mgomez@intellpartners.com - I think he's the one I go the script from.   Once the PO is back in the open tables, hopefully you'll be able to reset the PO status to Released and go on from there.

  • Angel Nuñez Profile Picture
    on at
    RE: Unapply prepayment for a cancelled PO

    Frank, I tried you suggestion but it didn't work. The PO is in history by the way. The prepayment shows open and unapplied on the Transactions by Vendor inquiry window, but I got the attached error when I try to apply or unapply it on the Apply Payables Documents window. The PO is cancelled. I have run reconcile already. Should I try check links?

    Image-2.jpg

  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,506 Super User 2025 Season 1 on at
    RE: Unapply prepayment for a cancelled PO

    Yes, it makes sense Angel.  You might have to manually reset the PO to released in the tables (header and line), then unapply the payment and re-cancel the PO.  I would do this in a test company first to confirm it works.

  • Angel Nuñez Profile Picture
    on at
    RE: Unapply prepayment for a cancelled PO

    Thanks for your reply Frank but this is not a batch issue, I have checked SY00500 and SY00800 just to make sure. The prepayment was applied successfully to the PO while it still had the 'released' status. Probably we should have unapplied the prepayment before the PO was cancelled, but we did the opposite. When we go the  Apply Payables Documents window we can't even see the payment there, which means that it is still applied to the cancelled PO. Does that makes sense?

  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,506 Super User 2025 Season 1 on at
    RE: Unapply prepayment for a cancelled PO

    It sounds similar to a hung batch issue.  Refer to this link to see if the recovery methods work in this instance - support.microsoft.com/.../en-us

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,221 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,982 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans