Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

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

  • 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,058 Moderator 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 ?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans