web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • Tim Wappat Profile Picture
    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.

  • Community Member Profile Picture
    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
    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 ?

  • Community Member Profile Picture
    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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
babubaskaran@outlook.com Profile Picture

babubaskaran@outloo... 2

#1
Yng Lih Profile Picture

Yng Lih 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans