web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Topic to user Power Vi...
Copilot Studio
Unanswered

Topic to user Power Virtual Agent in D365 (Topic: I am unable to close the opportunity as there is no active quote?)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

When the user poses this question to the bot, the bot should:

  1. Acknowledge the question
  2. Ask for the Opportunity Number from the user
  3. Check
    1. The status of the Opportunity
    2. Check if there are any Quotes associated with the Opportunity
    3. Check if there are any Orders associated with the Opportunity
  4. If the Opportunity Status = Open and if there are any Order associated with the Opportunity, then
    1. Suggest the user that the Order will have to be deleted and re-created
    2. That the existing Quote will have to be deleted as well
    3. Ask for user confirmation if they would want the bot to do the deletions on their behalf.
  5. If the User agrees for deletion as per step 4.3 then bot should delete the associated Order and Quote in that order
  6. The bot should then suggest the user create the necessary change to the Opportunity and its PL line items. The bot should also inform the user to create and activate the new Quote and then he/she will be able to close the Opportunity
  7. The bot should also present the URL of the Opportunity in question so that the user can jump to the record directly from the chat
  8. The bot should then close the chat with a survey
  9. Email the chat transcript to the user
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
sannavajjala87 Profile Picture

sannavajjala87 206 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 147

#3
Haque Profile Picture

Haque 119

Last 30 days Overall leaderboard