Skip to main content



No record found.

Microsoft Dynamics SL forum
Suggested answer

Pre-payment 03.020.00 getting 6002 error auto numbering in effect

Posted on by Microsoft Employee

I didn't complete the check-print when I entered the prepayment. Now I'm trying to go into it to release it but I can't get in. I get the error Auto numbering is in effect, entry in field will be overridden. I can't seem to release this prepayment anywhere. Please help!! How can I go back into a pre-payment or what screen can I go into to release it? 


  • Suggested answer
    CFROTON Profile Picture
    CFROTON 4,710 on at
    RE: Pre-payment 03.020.00 getting 6002 error auto numbering in effect

    Hello JECI,

    I see a bug for 6002 "Auto numbering in effect, entry in field will be overridden" when using possible values to pull up a reference number in the Quick Voucher and Prepayment screen.

    Is this what is happening when you attempt to select the PP?

    . A summary of the solution is detailed below.

       •    Symptom - Msg 6002 when F3 on refnbr in Quick Voucher/Prepayment screen

       •    Cause - Bug 25107.

    System message 6002 when hitting F3 in the reference Nbr field in the Quick Voucher and Prepayment Entry screen if the company ID is greater than 4 characters.

       •    Resolution –(run the application db in Sql server query analyzer)

    Alter Procedure APDoc_QCPP_RefNbr @parm1 varchar(1), @parm2 varchar (10), @parm3 varchar(10) as

    Select * From APDoc

    Where DocClass = @parm1 and CpnyID = @parm2 and (APDoc.DocType = 'VO' OR APDoc.DocType = 'PP')

    and APDoc.RefNbr LIKE @parm3 and Status <> 'V'

    Order by RefNbr

    Thank you!

    Jana MacDonald

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 . . .


André Arnaud de Calavon Profile Picture

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

Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans