Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

Need a QUERY to set item message on certain category

Posted on by 312

    Is there a query I could use in ADMINISTRATOR to tell it to assign a particular item message to all products in X category?

  I need a reminder to pop up on some 200+ items, but don't want to manually open each one to pull up the special tab and assign the same bloody item message..

Appreciate any guidance,

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Need a QUERY to set item message on certain category

    Hi John,

    The ID's are internal numbers on each table that defines the row of information. It is not something you would see in manager.

    This is not the query you would use only a sample idea.

    Update item set messageid = 3 where categoryid = 5

    You would need to be able to look at the item message table and identify the ID #, in this sample ID is 3 and then you would need the same info from the catagory table. every database is different in what the ID numbers are.

    If you are not familiar with running SQL querys I would suggest either calling your partner or someone who can do this for you.

    Yes we can do it for you 800-426-5708

  • John Robinson Profile Picture
    John Robinson 312 on at
    Re: Need a QUERY to set item message on certain category

    Category code is 1201

    Item Message has a TITLE field, but I can't find the Message ID #?  Properties only show TITLE, Age Limit and Description for Item messages...

     I understand I would test it on a manager copy of the database first to make sure I don't corrupt my whole database..

    Thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Need a QUERY to set item message on certain category

    The simple answer is yes,

    You would need to know wha tthe category ID# is and the the message ID# is and then run a query that updates item.

    I am hesitant on giving the query. If something is incorrectly entered or wrong ID's are used it could really make a mess.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans