a:4:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:25:"shipping_n3case_edit_grid";s:4:"nome";s:13:"SMIT_onChange";s:4:"tipo";s:1:"A";s:5:"parms";s:0:"";s:6:"codigo";s:11:"upMaster();";}i:1;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:25:"shipping_n3case_edit_grid";s:4:"nome";s:13:"onAfterInsert";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:0:"";}i:2;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:25:"shipping_n3case_edit_grid";s:4:"nome";s:13:"onAfterUpdate";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:0:"";}i:3;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:25:"shipping_n3case_edit_grid";s:4:"nome";s:8:"upMaster";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:282:"sc_lookup(dataset,"SELECT SUM(yds)
                  FROM n3case 
                   WHERE smit = {smit}");
$master_lyards = {dataset[0][0]};
sc_master_value('lyards', $master_lyards);
sc_exec_sql("UPDATE doit
             SET lyards = $master_lyards
WHERE smit = {smit}");
";}}