Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Conditional Macro

Posted on by Microsoft Employee

Hello All!

I am posting this thread to ask if there is any possible way to add a condition in my macro for example.

When i am in sales transaction entry and i am keying in items manually sometimes i get the "shortage entry" window pop up on certain items. Others i do not have the problem with. 

Is there any way that i can add some code to basically say IF new active window THEN hit OK, ELSE continue

Let me know if you need further information

Thank you!

*This post is locked for comments

  • Verified answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,915 Most Valuable Professional on at
    RE: Conditional Macro

    Dexterity Macros do not have any conditional functionality.

    You would need to use VBA or Dexterity code to achieve conditional code.

    David

  • RE: Conditional Macro

    Hi,

    Do you wanted to write the full macro to do the sales transactions or just wanted a macro to handle shortage entry window popup while doing manually transaction entry.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans