Hi All,
Requirement: Delete all draft quotes when an Opportunity is closed as Won / Lost.
The CRM platform OOB does not allow the user to close Opportunities that have draft/active quotes.
Solution:
I decided that I could use a plugin on the pre-operation of Update / SetState / SetStateDynamicEntity step to intercept the Opportunity Close and delete all the draft quotes before the system closed the Opportunity.
However, my plugin is being executed only AFTERWARDS. As a result, the user still sees the error message from DynamicsCRM about the draft/active quotes.
Maybe I am registering my plugin on the wrong plugin step. I even tried pre-create of OpportunityClose, but no use.
I am using D-CRM Online, version 9.0
I would love to hear some thoughts from the fellow developer!
Cheers & Thanks in advance,
Shidin
*This post is locked for comments
I have the same question (0)