Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Is there a way to inactivate CLASSID's in the system, which will flow down to inactivate the vendors associated with the CLASSID?

Posted on by 345

 We have 7000 vendors that need to be inactivated and we have an option to do an integration but inactivating the CLASSID would be simpler.

*This post is locked for comments

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    Re: Is there a way to inactivate CLASSID's in the system, which will flow down to inactivate the vendors associated with the CLASSID?

    I would juut run this script in SQL.

    UPDATE PM00200

    SET VENDSTTS=2

    where VNDCLSID='YourVendorClass'

    Make sure you have a backup just in case. You can substitute your vendor class ID into the where clause.

  • Chris Benfatto Profile Picture
    Chris Benfatto 345 on at
    Re: Is there a way to inactivate CLASSID's in the system, which will flow down to inactivate the vendors associated with the CLASSID?

    The vendors that have current activity under the classes we need to inactivate have been moved to new classes already.  Right now there is no current activity on the vendors we need to inactivate.  But if there is no way to inactivate a CLASSID, we are going to have to go with an integration to update the vendor status to INACTIVE for the records required.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    Re: Is there a way to inactivate CLASSID's in the system, which will flow down to inactivate the vendors associated with the CLASSID?

    Inactivating a vendor also takes into consideration any open activity with the vendor. There is no 'Inactive' button on the vendor class so there is nothing to roll down. You could create a SQL script that will flip the flag for you for the classes selected but you want make sure there is no open activity for these vendors. You could then add a little VBA code to prevent any activity for these classes of vendors.

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