Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Purchase Requisition Error Message: Unhandled script exception: llegal address for field 'Voucher Number' in script '[Not Found]'. Script terminated.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We've been running GP 2016R2 for about 3 months now after upgrading from GP2010 SP4.  When using the Purchase Requisition Transactions List window, we received the following message:

unhandled script exception: llegal address for field 'Voucher Number' in script '[Not Found]'. Script terminated.

GP-Unhandled-Exception.JPG

Any ideas on how to resolve this message?

*This post is locked for comments

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: Purchase Requisition Error Message: Unhandled script exception: llegal address for field 'Voucher Number' in script '[Not Found]'. Script terminated.

    This does look like a product trying to access a field it can't, and particularly suspicious as its from nav list where the developer may not have considered that access route.

    Try looking through the extra products you have installed, disabling them one by one to see if that identifies which is causing the error.

    Customisation status under tools customisation might help.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Purchase Requisition Error Message: Unhandled script exception: llegal address for field 'Voucher Number' in script '[Not Found]'. Script terminated.

    I highly doubt it.  We use Accountable Software's Forms Printer, mc2 AIT product - not enabled for Purchasing, and DynamicZip, which is also not enabled for Purchasing.

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,054 Super User 2024 Season 1 on at
    RE: Purchase Requisition Error Message: Unhandled script exception: llegal address for field 'Voucher Number' in script '[Not Found]'. Script terminated.

    Hi Lamario,

    do you have any 3rd party product that could interfer with the Requisition process of GP ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Purchase Requisition Error Message: Unhandled script exception: llegal address for field 'Voucher Number' in script '[Not Found]'. Script terminated.

    The error message happens on any workstation or user.  We've already deleted temp files, etc.  Any other ideas?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Purchase Requisition Error Message: Unhandled script exception: llegal address for field 'Voucher Number' in script '[Not Found]'. Script terminated.

    Is this happening on all PC's or on particular workstation? If on particular PC, try to Log out from GP and try to delete the temp files from workstation and retry.

    Hope this solve the issue!

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans