Skip to main content

Notifications

Business Central forum
Answered

How to delete the Sales Quote Automatically

Posted on by 75
Hi All,
 
         How to delete the sales quote automatically if the document date of the sales quote is above 30days and its status is open, after deleting need to add it in the archieves also, if anyone knows help, i thought of using the codeunit, I searched for the codeunit but i didnot find any codeunit for that, if anyone know about help, thanks for your advices.
 
Thanks & Regards,
P U Satish.
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    How to delete the Sales Quote Automatically
    Hi, just to add some info.
    Dynamics 365 Business Central: Deleting Expired Sales Quotes
     
     
    Thanks.
    ZHU
  • Verified answer
    Valentin Castravet Profile Picture
    Valentin Castravet 22,181 Super User 2024 Season 2 on at
    How to delete the Sales Quote Automatically
    1. On Sales Quotes start populating the Quote Valid To Date Field
     
     
    You can also have the system automatically populate this field if in the Sales & Receivables Setup Page you populate the Quote Validity Calculation field.  
     
     
    2. Run the Delete Expired Quotes (Report 5172). Using this report you can delete all quotes that have a date valid to date that you specify. Starting with BC V23 you can run this report using the job queue. It wont work in V22.
     
     
     
     
     
  • Suggested answer
    Shauna Langley Profile Picture
    Shauna Langley 672 Super User 2024 Season 2 on at
    How to delete the Sales Quote Automatically
    Hi,
     
    I don't believe there is a function to do that so I think you would need to create some kind of report that could run on the job queue which will delete the sales quotes based on your logic.
     
    On the sales & receivables setup I would switch on archiving for quotes as below.
     
     
    so that the quote will be archived when deleted.
     
     
     
    Hope that helps,
    Shauna

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans