
Hello Community,
Recently a colleague of mine stated that our custom pricing plugin was not working properly, he discovered that when creating quotes, opportunities and invoices using Power Automate the total was always equal to "0",
I started looking into the problem, I noticed through the tracing that indeed the plugin was triggered and all steps were executed successfully yet the result was 0 so I realized that maybe it was triggered before adding quote products to it. (Unlike the manual creation, the quote products are automatically added).
Is there any way to overcome this problem?
I tried calling the calulateprice action to trigger the plugin again using the call unbound action in power automate but apparently the target parameter is a json which I failed to build correctly.
Hello, I would recommend checking the values and data types of the input parameters (in case input values are received) because there could be a conflict in some of the processes. Then, returning "0" seems to me to be the default value.
I also recommend that you check the following link that shows the format to create the JSON: powerusers.microsoft.com/.../112517
Thanks!
Community Support Team - Esteban
If this Post helps, then please consider Accept as solution to help the other members find it more quickly.