Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

PV error System Message 6002

(0) ShareShare
ReportReport
Posted on by 155

Hi All,
I’ve had an issue on AP quick voucher and prepayment screen, there is an error message when I choose the RefNbr (press F3 and click Ok).
Did anyone ever experiencing this?..
please tell me how to solve this issue.
Any help is highly appreciated.

Below are the Error message :

System Message 6002
Auto numbering is in effect, entry in field will be overridden.

*This post is locked for comments

  • pstgeorge Profile Picture
    30 on at
    RE: PV error System Message 6002

    It did for me :)

  • Carolyn Kolpien Profile Picture
    on at
    Re: PV error System Message 6002

    Hello Musa88,

    This issue is caused by bug 25107.  Run the script below on the application database to fix the issue.  The stored procedure causes the error if your company ID is greater than 4 characters in length.

    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

    Let me know if this fixes the problem.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Featured topics

Product updates

Dynamics 365 release plans