Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

AP Check Number Sequence

(0) ShareShare
ReportReport
Posted on by

While cutting checks, we had inadvertently used the reference number of the document being paid (798668) instead of the next check number (436245). We voided the check in the system, but now when we go to cut new checks, it defaults to 798667.

Is it possible to get the default to go back to our actual check number sequence? We are on SL2015 CU1.

Thanks in advance for any advice.

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: AP Check Number Sequence

    I went with a similar method to this. I updated the APDoc, APTran, and APAdjust tables to change the document/transactions type from "CK" to "EP", electronic payment.

    Thanks,

  • Verified answer
    Community Member Profile Picture
    on at
    RE: AP Check Number Sequence

    Rather than modify the SL code to ignore one reference number used out of sequence, look at updating the incorrect check reference number with a different number, at least one that won't interfere with the next available check sequence. Remember that at a minimum the reference numbers in APDoc, APTran, and APAdjust would require correction. This is independent of the SL version being used.

  • Verified answer
    Mark E Profile Picture
    6,445 on at
    RE: AP Check Number Sequence

    Not really, the stored proc to retrieve the next check nbr will take the max RefNbr value from APDoc for AP Checks (not including Manual "HC" checks).  Only way I can see it working is to modify the "FindLastAPCheck" proc to exclude that RefNbr from the query.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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,430 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,043 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans