Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Unanswered

PV error System Message 6002

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.

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

    It did for me :)

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

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