Hi,
We have a plugin which fires on 'Update' of a CONTRACT. This plugin checks for few attributes (which are used in calculating price) are modified. If they are modified, then a new CONTRACT LINE is created with new price.
This plugin fails while creating a new CONTRACT LINE. The reason we are assumming is that whenever PRICE in contract line is updated, the CRM updates the related CONTRACT. So the plugin fires again and this probably is going into infinite loop.
We also verified this by using -- 'context.depth == 1' parameter, but was not successful.
**Also we tried removing 'Price' related fields of CONTRACT from 'Filtering Attributes' in the plugin registration tool, so that this plugin DOES NOT FIRE when price is updated but with no luck.
Could any one please suggest me with the right direction/procedure in achieving this?
Chandana Koppula