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
MansMans 

How to "lock" a company inside Salesforce.

I have 4 different partner companies who are selling our products. Our business rules says that a partner company is not allowed to sell to another partner company customer within 13 months from the last opportunity was closed.

 

Is there a way to "lock" a company in SF so a partner company are not able to register a deal if another company has sold to the customer within the 13 month period?

 

This would help us a lot since our partners not always are following our business rules.

Pradeep_NavatarPradeep_Navatar

In my opinion, this can be restricted by writing a before save trigger.