Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Suggested answer

AP prepayment check canceled

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?

  • 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,552 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans