a:4:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:30:"fv2_shipping_n3case_avail_grid";s:4:"nome";s:14:"Select_onClick";s:4:"tipo";s:1:"A";s:5:"parms";s:0:"";s:6:"codigo";s:122:"$smit=[var_smit];
if({smit}<>$smit)
{	
	$do_change=$smit;
	
}
else
	{
	$do_change='';
		}
{smit}=$do_change;

";}i:1;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:30:"fv2_shipping_n3case_avail_grid";s:4:"nome";s:13:"onAfterUpdate";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:13:"pickchange();";}i:2;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:30:"fv2_shipping_n3case_avail_grid";s:4:"nome";s:10:"onNavigate";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:30:"fv2_shipping_n3case_avail_grid";s:4:"nome";s:10:"pickchange";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:454:"$filename='/var/www/veratex.vrtxinc.com/myfile_'.date('m-d-Y_hisa');
	$output_sql = "
select concat(RPAD('ROLL#',23,' '),LPAD('YARDS',10,' '))
union 
select concat( RPAD(concat(`case`,suffix),21,' '),' ',LPAD(yds,10,' '))
INTO OUTFILE '$filename' 
FROM n3case where n3case.smit='[var_smit]'
";
sc_exec_sql($output_sql);
$save_outfile="	
UPDATE doit
SET memo = LOAD_FILE('$filename')
WHERE smit = '[var_smit]'
";
sc_exec_sql($save_outfile);	";}}