a:8:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:36:"fv2_shipping_n3case_keyoff_multiform";s:4:"nome";s:14:"Remove_onClick";s:4:"tipo";s:1:"A";s:5:"parms";s:0:"";s:6:"codigo";s:136:"$varsmit=[var_smit];
if({smit}<>$varsmit)
{	
	$smit_change=$varsmit;
	}
else
	{
	$smit_change='';
	
		}
{smit}=$smit_change;
";}i:1;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:36:"fv2_shipping_n3case_keyoff_multiform";s:4:"nome";s:13:"onAfterDelete";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:14:"update_doit();";}i:2;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:36:"fv2_shipping_n3case_keyoff_multiform";s:4:"nome";s:16:"onAfterDeleteAll";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:14:"update_doit();";}i:3;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:36:"fv2_shipping_n3case_keyoff_multiform";s:4:"nome";s:13:"onAfterInsert";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:14:"update_doit();";}i:4;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:36:"fv2_shipping_n3case_keyoff_multiform";s:4:"nome";s:16:"onAfterInsertAll";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:14:"update_doit();";}i:5;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:36:"fv2_shipping_n3case_keyoff_multiform";s:4:"nome";s:13:"onAfterUpdate";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:14:"update_doit();";}i:6;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:36:"fv2_shipping_n3case_keyoff_multiform";s:4:"nome";s:16:"onAfterUpdateAll";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:14:"update_doit();";}i:7;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:36:"fv2_shipping_n3case_keyoff_multiform";s:4:"nome";s:11:"update_doit";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:309:"$check_sql = "SELECT SUM(yds) FROM conn_mysql.n3case
WHERE conn_mysql.n3case.smit = '[var_smit]'";
sc_lookup(erg,$check_sql);

if(isset({erg[0][0]}))
{
$new_yds={erg[0][0]};
$update_phrase = "
UPDATE doit
set lyards = '{$new_yds}'
WHERE doit.smit = '[var_smit]'
";
sc_exec_sql($update_phrase);
}	";}}