function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GhilliGhilli 

Hiding the record type

Hi,

 

I have a requirement like this:

 

I have four record types for Opportunities. we can say RT1, RT2, RT3, RT4.

I have a field Type in Account object.

 

I need to display only 3 record types and want to hide the RT4 if the opportunity is created from the account whose type is not partner.

 

If oppty is created from the opportunity tab we can restrict through validation rule.

 

But when creating from the accout related list(whose type is not partner), i need to able to select only 3 record types rather than 4.

 

 

 

Please sugggest a way to do this.

 

 

Thanks,

Ghilli.