Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Dynamics GP2015 "Field on window is inactive or disabled. (Line#29)" in Fixed Assets Macro Import

Posted on by 365

Good evening,

I  getting an error on the Fixed Assets import macro when it gets to the currency field: “Field on window is inactive or disabled. (Line#20)” and stop on Acquisition Date field, please help.

Thanks,

  Mr. García

*This post is locked for comments

  • mgarcia Profile Picture
    mgarcia 365 on at
    RE: Dynamics GP2015 "Field on window is inactive or disabled. (Line#29)" in Fixed Assets Macro Import

    Thanks for your help.

  • Verified answer
    L Vail Profile Picture
    L Vail 65,271 on at
    RE: Dynamics GP2015 "Field on window is inactive or disabled. (Line#29)" in Fixed Assets Macro Import

    You could also 'Step' through your macro (shift F8) at a pause. Put the following in your Dex.ini file to reveal the Advanced Macro Menu.

    ShowAdvancedMacroMenu=TRUE

    Select the Status item on the menu and you will have access to many more macro tools.

    Here's what the window looks like and a short explanation of the features:

    AdvancedMacroMenu.png

    1.  Shows you the name of the macro currently being recorded and what line it’s on.

    2.  Shows you the name of the macro currently being played, and what line it’s on.

    3.  Turns off the complete redraw and hides the interface flash thereby making the macro run twice (at least) as fast.

    4.  The line in the macro you want to jump to. The display below will start at the jump line. You can restart a macro to begin playing at the jump to line

    5. The number of lines to display in the scrolling window.

    6. Indicate where you want the macro to pause while it’s playing. This is a good way to debug the macro or stop it from executing after a certain point is reached

    7.  The actual lines of the macro according to the lines displayed

    Kind regards,

    Leslie

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: Dynamics GP2015 "Field on window is inactive or disabled. (Line#29)" in Fixed Assets Macro Import

    As the message describes, the macro is trying to interact with a field that is, at the time that line of the macro runs, inactive or disabled.

    This can be because a previous part of the macro did not behave as expected. Often fields are greyed out (disabled) until the correct data has been completed in other parts of the GP form. So if invalid data is entered, the field do not enable and thus when the macro moves to the next field it can't, raising such an error.

    I'd suggest trying to manually enter the same information into the form that the macro is trying to use at that point in the macro, to see if it is a validation error or other interplay between form elements. Follow the same route through the form that the macro describes as you test.

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