Hello guys,
My C# plugin is in Quotes. It's on update of "totallineitemamount" and a field called "new_vat". It basically calculates the Total amount of the Quote Products multiplied by the new_vat, and stores it in a field called "Total Amount + VAT".
Problem: The Total Amount of the Quotes ( "totallineitemamount" ) updates from the CRM itself, everytime when a Quote Product is created, but this doesn't change the field that I'm calculating - "Total Amount + VAT". The value in this field stays the same, until I update the new_vat field - And stays the same if I change the totallineitemamount field. Just like the plugin is never being triggered on that occasion.
I'm starting to feel that since the field "totallineitemamount" is updated by a system workflow that takes the values of the Quote Products, my plugin doesn't take this as a step that triggers the calculation.
How can I make this plugin to update itself, when the "totallineitemamount" /Total Amount of Quote Products/ change?
Thanks in Advance, Georgi!