AnsweredAssumed Answered

How to add a custom validation for the create Revenue Line Item subpanel on the Opportunity create page?

Question asked by Remya Vava on Jan 24, 2017

I need to add a custom validation while adding a Revenue LineItem from Opportunity create page.


I tried extending src/modules/RevenueLineItems/clients/base/views/subpanel-for-opportunities-create/subpanel-for-opportunities-create.js, but couldn't make it working to add a validation error to the RevenueLineItem model. I could fetch this list using "this.collection.models" but not sure how to trigger a validation error to the RevenueLineItem.