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
Pablo ArgentinaPablo Argentina 

URGENT - DUPLICATE VALUES EXEPTIONS

Hi guys, i have a HORRIBLE problem with my custom objects.

 

I have a field where i can only fill values NON duplicated.

Now, i need to change this. I can add duplicated codes only if another field (selection list) is different.

 

For example:

Carrier: Orange

ID: 1234A

 

Now, i want to create a new registry with the following:

Carrier: AT&T

ID: 1234A

 

So, i can create this registry, but if the pick list CARRIER is the same, and the code is the same too, then i'll have an error message!!

 

Any idea??

 

PLEASE HELP ME!!! THANKS!!!!!

:smileyfrustrated:

AmitSahuAmitSahu

Why dont you try formula field for this ?

The formula could be Carrier_Code... If the combination already exists then you would get errors ...

Pablo ArgentinaPablo Argentina

Yes J020, that's the idea, the problem is that i don't know how to type that formula field.

 

some more help please!!!!!!!!!!!!!!