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)

Error opening Employee Maintenance in Dexterity Test Mode

(0) ShareShare
ReportReport
Posted on by

When I open the Employee Maintenance in GP2015 Test Mode I get an error:

Unhandled script exception:
SCRIPTS - data area

EXCEPTION_CLASS_SCRIPT_ERROR
SCRIPT_CMD_OLD

Debug gives:
'UPR_Employee_MNT Inactive_CHG on form UPR_Employee_MNT'

I have tried everything I could think of. I copied all the dll's from the GP to the Dex folder, I copied the Dex.ini. Even when I open the Dynamics.dic from the GP folder in Dexterity I get that error, so it has nothing to do with my customization.

I tried a few other windows and they all work fine.

Does anybody have any idea what's going on, and what I should do? I am developing a customization that involves the Employee Maintenance and it would be a major pain to have to create a new chunk every time I want to test something. 

*This post is locked for comments

I have the same question (0)
  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at
    RE: Error opening Employee Maintenance in Dexterity Test Mode

    What customization you have done to Employee Maintenance?

    If you already have deployed your customization, remove your product from GP and then test Employee window to confirm if issue is because of your customization or not.

  • Community Member Profile Picture
    on at
    RE: Error opening Employee Maintenance in Dexterity Test Mode

    Thanks Almas, but if you read my post carefully I'm not having the problem in run-time but in test mode, and I am not using my dictionary but the straight unchanged GP dictionary.

  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,069 Most Valuable Professional on at
    RE: Error opening Employee Maintenance in Dexterity Test Mode

    Hi Patrice

    There is a bug in the GP code that can be replicated by opening Employee Maintenance in Test Mode.

    Go to the Debug menu and turn off Show Debug Messages to avoid getting the error.

    I can get it to in my system

    Unhandled script exception:

    Attempt to use old()/diff() from a field that does not have focus.

    EXCEPTION_CLASS_SCRIPT_ERROR

    SCRIPT_CMD_OLD

    David

  • Almas Mahfooz Profile Picture
    11,009 User Group Leader on at
    RE: Error opening Employee Maintenance in Dexterity Test Mode

    You were talking about chunk creation and mentioned customization so I got impression that may be you have already added your product and then getting error.Anyways I think David post may help you.

  • Community Member Profile Picture
    on at
    RE: Error opening Employee Maintenance in Dexterity Test Mode

    Thanks David. I should have thought of that, except that on my system it did not mention the old/diff error, otherwise I would have. And I always have the Show Debug Messages turned on because I make extensive use of assertions in my code.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans