1. Scripts for record detail

    Article: AN0001889Updated:

    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"
×