web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Unhandled script exception:

(0) ShareShare
ReportReport
Posted on by 45

Reviewing Customer Records and received the following message:

Unhandled script exception:

Illegal address for field 'DC_Location' in script 'Display_Record_Customer'. Script terminated.

I can't find any information about the field.

If you know what this means, and how to correct it, please let me know.

Categories:
I have the same question (0)
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at

    Hi Mike

    An Illegal Address Error occurs when Dexterity code is looking for a field that does not exist on the current version of the window.

    It can happen when a (badly written) trigger script does not check if the correct alternate version of a window has been opened and tries to reference a field that is not on the window.

    It can also happen with a Modified window which was from an earlier version and is missing a newly added field.

    You need to check the Alternate Modified security to check you are using the correct version of the window.

    If you have GP Power Tools (as all customers should), you can use Resource Information to identify which dictionary product the script Display_Record_Customer comes from.

    You can also use it to find which dictionary the field DC_Location belongs to.

    The Security Profiler and Security Information windows will be able to confirm which window version is in use and show how to change it.

    Regards

    David

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans