contains (WorkSpaceScriptUtils)
Versionshinweise | 18.1 |
---|
Code
boolean WorkSpaceScriptUtils.contains(IContainer entry, String fieldName)
Beschreibung
Prüft ob sich das übergebene Feld im übergebenen Datensatz befindet.
Parameter
entry
- Ein Datensatz.fieldName
- Ein interner Feldname, z.B. "MatchCode.Customer".
Rückgabe
true
wenn das Feld im IContainer
enthalten ist, andernfalls false
.
Beispiele
if(WorkSpaceScriptUtils.contains(entry, "MatchCode.Customer"))
{
String matchCode = WorkSpaceScriptUtils.getValue(entry, "MatchCode.Customer");
...
}