Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP forum
Suggested answer

eConnect

Posted on by 20
I have This Error : /Unable to increment next document number from document type setup after 1000 attempts (RM40401)/ 
 
//
 
 
 
  • Suggested answer
    lancebrigham Profile Picture
    lancebrigham 119 on at
    eConnect
    Hi, run this to see what current next payment number is and what current max payment number is from RM00401. You may need to update what's in RM40401 for RMDTYPAL=9 to be what should be next payment number. If it's more than 1,000 iterations behind and all 1,000 iterations are actually used, then you'll get that error you see. 
     
    SELECT DOCNUMBR
    FROM RM40401
    WHERE RMDTYPAL=9
     
    SELECT MAX(DOCNUMBR)
    FROM RM00401
    WHERE RMDTYPAL=9
     
    Let me know if any questions.
     
    Thanks,
    Lance Brigham
    Velosio

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans