Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

AP prepayment check canceled

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We have the following situation in Dynamics SL 2011 or Dynamics SL 7

1. AP Prepayment was created

2. Check was generated

3. VO was created and the PP was applied to it

4. The PP check was cancelled

Now we can't reverse the prepayment application nor can we generate another check for the prepayment.

Does anyone knows how to correct this situation?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AP prepayment check canceled

    Hello Nam Dang

    Sorry for not answering you before.

    Thank you for your suggestion, I did follow your advise but I also updated the following fields, perclosed ='' because it had the value of the period when the original check was created and docbal=curydocbal because the docbal had a value of 0 and the curydocbal had the value of the original document.

    so my query looked like:

    update APdoc set opendoc=1,perclosed='' and docbal=curydocbal where Vendid='XXXX' and refnbr='XXXX'

    After this I could generate another check for the prepayment and after clearing the prepaym_refnbr from the original invoice I could again apply the prepayment to the voucher.

    What I couldn't do is after I applied the prepayment to the voucher I tried to unapply the prepayment and I got an error. When I ran the APDebug diagnostic tool, I got the following diagnostic:

    Batch Diagnostics

    UnKnown Error.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AP prepayment check canceled

    It's quite technical requirement to solve this issue because Solomon doesn't support to do it. At present, you will see the PP and VO already showed Doc balance. It mean that we can create check for PP and reapply it but Solomon didn't reopen PP when we void check (It should be opened in this case). So, you can do follow those steps to solve this issue:

    1. Run SQL query with this command

    update APdoc set opendoc=1 where Vendid='XXXX' and refnbr='XXXX'

    note: refnbr is PP refnbr, this step will update status of PP to open

    2. Create check for PP again

    3. Run SQL with this command

    update APdoc set prepay_refnbr='' where Vendid='XXXX' and refnbr='XXXX'

    note: refnbr is VO refnbr, this step will reset VO to allow reapply with PP

    4. Reapply PP and VO

    HTH

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AP prepayment check canceled

    Hello Nam Dang

    The situation is like this

    The prepayment was created and it's check was processed.

    Then the vendor invoice arrived and the prepayment was applied to the voucher.

    Later by mistake they cancelled the check before reversing the prepayment application.

    Now we can't reverse the prepayment application and we also can't generate another check for the prepayment because the PP reference doesn't show on the grid in the manual check screen and if we try to type the reference we get an error message telling us that the reference doesn't exist.

    So the question is How can I correct this situation?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: AP prepayment check canceled

    Hi Miguel

    I don't understand why check was generate, user can cancel it ?. If user really can do it, what about cash ?, is it effected or not ?.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans