preload

How to use loops in Dexterity Macro

Posted by Albert Gareev on Dec 21, 2009 | Categories: Great PlainsHow to

All related posts: Reference Page – GP/QTP Automation 

Answer

According to the documentation, there are no loop operators defined in Microsoft Dynamics Great Plains Dexterity Macros.

However, the macro language provides other commands to workaround the issues in the most required cases.

Workarounds

1. Capture values of GUI fields (in a loop)

Use DumpFieldBeginDumpFieldEnd commands.

2. Window synchronization

Use ActivateWindow command, repeated 5-10 times

3. GUI Control synchronization and triggering

Use MoveTo command, repeated a few times.

Move focus in or away to trigger event handlers.

Reference

MS Dynamics Great Plains: Built-in Macro System


  • Leave a Reply

    * Required
    ** Your Email is never shared

Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported
This work by Albert Gareev is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported.