среда, 21 мая 2014 г.

SN stuff

//Apply Template from sys_templates (server-side script - business rule)
current.applyTemplate("ISS_TEMPLATE8");

//insert row in table (client-side script - client script)
function onSubmit() {
   //Type appropriate comment here, and begin script below
    if(g_form.getValue('u_service5')=="test12"){
        var rec1 = new GlideRecord("issue");   
        rec1.initialize();
        rec1.parent = g_form.getValue('number');
        rec1.short_description = "lalalal";
        rec1.insert();
       
    }
}

Комментариев нет: