1

Can we hide a related list's record on parent object as soon as record save to database? I have requirement whenever Opportunity Product quantity is greater than 100, my trigger code validate it and make this record alone not visible to end users.

Can any body provide sample trigger code snippet or ideas to hide a related record?

Thanks,

0

This will probably not work with the standard Salesforce Opportunity Product as it works like a Master Detail relationship with the Product owned by the Opportunity owner despite being a lookup relationship.

A good definition of Opportunity Products is already here and its relationships here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.