Is there a way to detect duplicate values in a cus...
# general
l
Is there a way to detect duplicate values in a custom field and in a standard field without scripting? Maybe WF? Detecting the duplicate at the time of entry and not after it was saved.
n
A WF will do this. I have a similar one that looks for duplicated use of customer order numbers. In my case I am using After Field Edit.
l
Great! What's the condition? Is it based on a saved search?
n
TRIGGER ON After Field Edit TRIGGERING CLIENT FIELDS PO/Check # CONDITION Customer : {my_custom_field} contains PO/Check #
l
Wow. Thank you!
Do you have a custom field on the customer record? Is that a concatenation of the PO Numbers?
n
Yes correct. From memory we only consider a certain period of previous transactions. This sped up the check.
l
Makes sense. Thank you!