a:12:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:16:"TOTALKC_onChange";s:4:"tipo";s:1:"A";s:5:"parms";s:0:"";s:6:"codigo";s:28:"{cost_lb_k}={totalkc}/{lbs};";}i:1;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:8:"deleteit";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:95:"$delete_grpcs="
DELETE FROM grpcs WHERE invoice='{invoice}'
";
sc_exec_sql($delete_grpcs);
";}i:2;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:13:"onAfterDelete";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:19:"fv2_greige_ngo_form";s:4:"nome";s:13:"onAfterInsert";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:0:"";}i:4;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:13:"onAfterUpdate";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:0:"";}i:5;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:14:"onBeforeDelete";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:11:"deleteit();";}i:6;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:14:"onBeforeInsert";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:0:"";}i:7;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:14:"onBeforeUpdate";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:14:"updategrpcs();";}i:8;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:9:"onLoadAll";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:126:"[var_invoice]={invoice};
[var_costlbg]={cost_lb};
[var_style]={style};
[var_oldpo]={old_po};
[var_shipto]={location};

	";}i:9;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:17:"onValidateSuccess";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:0:"";}i:10;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:11:"refreshform";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:61:"sc_redir( fv2_greige_ngo_form,"var_po={p_o_number}","_self");";}i:11;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:19:"fv2_greige_ngo_form";s:4:"nome";s:11:"updategrpcs";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:186:"$update_grpcs="UPDATE grpcs
SET style='{style}',
    shipto='{location}',
    old_po='{old_po}',
    invoice='{invoice}'
WHERE invoice='[var_invoice]'";
sc_exec_sql($update_grpcs);";}}