Professional Documents
Culture Documents
Two Ways To Check Duplicates On Creation of Custom Object Record PDF
Two Ways To Check Duplicates On Creation of Custom Object Record PDF
Option 1:
def findCriteria =
[
fetchStart :0,
fetchSize :-1,
excludeAttribute :false,
filter:
[
conjunction :v_Conjunction,
group:
[[
conjunction :v_Conjunction,
upperCaseCompare :true,
item:
[[
conjunction :v_Conjunction,
upperCaseCompare :true,
1
Delvin's Blog: Two ways to check duplicates on creation of custom object record
attribute :v_FieldToSearchFor01,
operator :v_Operator,
value:
[[
item:resourceName,
]],
]],
item:
[[
conjunction :v_Conjunction,
upperCaseCompare :true,
attribute :v_FieldToSearchFor02,
operator :v_Operator,
value:
[[
item:month,
]],
]],
]],
],
]
def findControl =
[
retrieveAllTranslations :false,
]
}
else{
return true;
}
Option 2:
2
Delvin's Blog: Two ways to check duplicates on creation of custom object record
2 Views