Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

How to inactive the account?

Posted on by 200

I want to find the list of account based on account segment and want to inactive all these account.

*This post is locked for comments

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: How to inactive the account?

    yes, smart list can show you the current balance.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to inactive the account?

    Thanks for the quick responses and my apologies for not replying before.   The SQL side is getting beyond my skills really, but I agree making 2  macros seems a sensible way to go.  Is there a way to see is they have balances using a smartlist?

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: How to inactive the account?

    I like CloudShifter's answer. You could also join the two macros together in a giant macro so that you only need one macro. You'll need to run the macro before anyone has a chance to change the balances :)

    This is really a good candidate for using SQL to actually create the macro. SQL can check to see if the account has a balance and then write the appropriate code. The two lists is really the best idea in my opinion.

    Kind regards,

    Leslie

  • CloudShifter Profile Picture
    CloudShifter on at
    RE: How to inactive the account?

    Separate your list into accounts that have balances and those that don't and create 2 macros.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to inactive the account?

    Hi all,

    I have a similar issue to this (trying to make multiple accounts inactive, but no real pattern to the accounts).

    I've set up a macro which will make the accounts inactive and seems to work in general.  However, the problem I now have is that for some accounts, a pop up box appears to say the account has a balance and do I want to continue.  The macro is set to say yes to continuing.  However if that pop up box doesnt appear the macro falls over.  

    So I guess I need a line in the macro to say "if the popup box appears then A, if not then B".

    Any ideas of how this could be done?  

    Many thanks

    Paul

  • Suggested answer
    RE: How to inactive the account?

    Hi Jay,

    If you have large data I would recommend to do this through a macro .  

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to inactive the account?

    I have a list of accounts that don't fall into a particular range and the mass modify wouldn't really apply here. I tried to use IM to update that field but my accounts have balances. Is there another way to mass update this and bypass the message of the account has balances?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to inactive the account?

    Leslie is right - the mass modify option works nicely and you should get a report on it.

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: How to inactive the account?

    Hi,

    Use the GL Mass Modify feature. You can identify the segment range and inactivate them all in a single process.

    Kind regards,

    Leslie

  • Krunal Panchal Profile Picture
    Krunal Panchal 200 on at
    RE: How to inactive the account?

    Thank for writing FRANK HAMELLY.

    Actually I want to achieve this using the Dynamic GP web service.

    It would be great if you can help on my one of forum: community.dynamics.com/.../109032.aspx

    Regards,

    Krunal Panchal

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