Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

How to reverse an AP prepayment that was applied to an AC document

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is there any way to reverse the prepayment application when an AC document was created and a prepayment was applied to the document?

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to reverse an AP prepayment that was applied to an AC document

    Well, theoretically, you should be able to unapply there.  I   tested in 2011 sp1 and ALSO found that I could not unapply as I should have been able to do.

    Then I found bug 17814 which reports this.  Here is the workaround.

    Run this script against the application database.  

    alter PROCEDURE AP_VO_for_UP

           @VendId varchar(15),

           @CuryId varchar(4),

           @RefNbr varchar(10)

    AS

    SELECT  *

    FROM    APDoc

    WHERE   Status='A'

    AND     VendID LIKE @VendID

    AND     CuryId LIKE @CuryId

    AND     Rlsed=1

    AND     RefNbr LIKE @RefNbr

    AND     DocType in ('VO','AC')

    AND     LTRIM(PrePay_RefNbr) <>''

    ORDER BY RefNbr

    ------------------------------------------------

    The credit memo still won't show up in the PV list, but you should be able to manually enter the reference number.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to reverse an AP prepayment that was applied to an AC document

    Hello Elaine

    Thank you for your answer, the problem is that in the screen Prepayment Application it only shows documents type VO, and what I need to do is reapply a pre-payment that was applied to a credit adjustment document.

    The customer is running Dynamics SL 7 SP3

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to reverse an AP prepayment that was applied to an AC document

    The screen name is Prepayment Application.

    Under operation type, pick Reversal

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to reverse an AP prepayment that was applied to an AC document

    MMaapf,

    In the Application/Reversal screen you can either apply a prepay or Unapply (reverse a prepay)

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,735 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans