Skip to main content

Notifications

Microsoft Dynamics RMS (Archived)

Quotes

Posted on by 65

Is there a easy way to remove old QUOTES from RMS?

PS. GAS

*This post is locked for comments

  • Jeff @ Check Point Software Profile Picture
    Jeff @ Check Point ... 13,380 on at
    RE: Quotes

    Try this, change the Daybefore to 30 days or more old

    BACKUP FIRST!!!

    Declare @DayBefore Int

    Set @DayBefore = 30

    Begin Transaction

    Update [OrderEntry] Set QuantityOnOrder = 0 Where OrderID In (Select ID From [Order]

    Where Type = 3 And Closed = 0 And Datediff(Day,[Time],Getdate()) > @DayBefore)

    Update [Order] Set Closed = 1 Where ID In (Select ID From [Order]

    Where Type = 3 And Closed = 0 And Datediff(Day,[Time],Getdate()) > @DayBefore)

    Commit Transaction

    BACKUP FIRST!!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Quotes

    Not in mass quantities.

    You have to recall the quote.  Then remove all the items from the quote.  Then hit Tender and choose to save the quote.  This when then delete the quote because it doesn't contain any items.

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