Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

Closed PP Documents still appear on the Vendor Period Trial Balance

Posted on by 40

Hello,

How do you get rid of PP documents that continue to show on the Vendor Period Trial Balance? I've verified the APDoc table and found that the following fields have are all been properly updated but the document still shows.

OpenDoc=0, PerClosed=201505, DocBal=0, CuryDocBal=0, Selected=0

I also checked the APAdjust table AdjAmt field for the document and it shows 0.

This is happening in SL2011 FP2.

Thanks,

Dan.

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Closed PP Documents still appear on the Vendor Period Trial Balance

    Dan, I now follow what you were first saying.  I had not related "PP" to mean pre-payment.  I do not run across the use of pre-payment entries with my clients so I am not sure if I can answer your question.  I do know that this report uses a complex view called vr_03651 that calculates the document balance based on several criteria.  I would suggest that you use SQL Management to show the text of that view (sp_helptext vr_03651) and follow the logic of that view to get your reason that the document is still showing a balance.  There are several other fields (beyond what you indicated in this post) that come into play with this view.

  • DanWats Profile Picture
    DanWats 40 on at
    RE: Closed PP Documents still appear on the Vendor Period Trial Balance

    Thanks Rick for the suggestion. However, the AdjAmt in APAdjust can actually be zero especially for Prepayment doc types. When you apply a prepayment to a voucher, there'll be a record that links to the voucher no. (AdjdRefNbr) the check no. (AdjgRefNbr) that was used to pay the prepayment. This record has the AdjAmt greater than 0. There'll also be a record that links to the PP voucher no. (AdjdRefNbr) the check no. (AdjgRefNbr) that was used to pay the prepayment. This record has the AdjAmt equal 0. Both records will have the same manual check batch number.

    That's what I was able to observe.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Closed PP Documents still appear on the Vendor Period Trial Balance

    Dan,

    Unless you had a typo in your post, the AdjAmt in the APAdjust table should be a value greater than zero.  It is normally the amount that was applied to the voucher or credit adjustment.  If the value is, indeed, 0 then there is the source of your problem in that the period trial balance report recalculates the voucher balance based on the records in APAdjust.  The other fields in APAdjust that can play a part are the PerAppl and the AdjPerPost fields.  If the AdjAmt is 0.00 then that suggests that either someone modified the APDoc fields or something went wrong when the check that paid the voucher was created.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans