Artikel: AN0001918Aktualisiert:
Die vorgegebene Sprachenversion vom Artikeltext wird angezeigt, weil es kein Text von der ausgewählten Sprache und Version gibt.
Following script evaluates condition as true if the there was a change in column escalate and it contains newly value TRUE.
Where to use this script: Class rule: Script before saving an existing record
var dr = OGActualDataRow;
if ( dr.IsChange('escalate') && dr['escalate'])
{
…
}
Below script will set in column approved value FALSE, if there was a change in columns comment or date.
Where to use this script: Class rule: Script before saving an existing record
var dr = OGActualDataRow;
if ( dr.IsChange('comment') || dr.IsChange('date'))
{
dr['approved'] = false;
}