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

Notifications

Announcements

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard