Skip to main content
Skip table of contents

clearValues

Versionshinweise

18.2

Code

GROOVY
void WorkSpaceScriptUtils.clearValues(IContainer entry, String... fieldNames)

Beschreibung

Setzt für die übergebenen Feldnamen den Standard Leerwert in einen Datensatz.

Parameter

  • entry - Ein Datensatz.
  • fieldNames - Eine kommaseparierte Liste von internen Feldnamen. Z.B. "MatchCode.Customer".

Beispiele

GROOVY
IScriptWorkSpace ws = WorkSpaceScriptUtils.search("searchPlainKey", "Test", 1.0);
IContainer entry = WorkSpaceScriptUtils.getEntry(ws, 0);
WorkSpaceScriptUtils.clearValues(entry, "MatchCode.Customer", "EmployeeSales.Customer");
JavaScript errors detected

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

If this problem persists, please contact our support.