Skip to main content
Skip table of contents

contains (WorkSpaceScriptUtils)

Versionshinweise

18.1

Code

GROOVY
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

GROOVY
if(WorkSpaceScriptUtils.contains(entry, "MatchCode.Customer"))
{
	String matchCode = WorkSpaceScriptUtils.getValue(entry, "MatchCode.Customer");
	...
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.