1. Scripts for record detail

    Artikel: AN0001889Aktualisiert:

    Hiding columns at creation of the record

    function OnAfterLoadColumns()
    {
       if ( OGDataRowId == null)
       {
           OGColumns.GetByCode('approved-by').Visible = false;
           OGColumns.GetByCode('status').Visible = false;
       }
    }

    Mandatory column at record creation

    1. Create a rule Before existing record save.
    2. Enter followig expression into the Script for condition with the given column: OGActualDataRow['project'] == null
    3. Enter into the Error message e.g. "You have to select Project before saving the record"
×