Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Error opening Employee Maintenance in Dexterity Test Mode

Posted on by Microsoft Employee

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

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

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 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.

  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,928 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

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

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans