a:16:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:14:"PRICE_onChange";s:4:"tipo";s:1:"A";s:5:"parms";s:0:"";s:6:"codigo";s:12:"updateamt();";}i:1;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:17:"QUOTE_NO_onChange";s:4:"tipo";s:1:"A";s:5:"parms";s:0:"";s:6:"codigo";s:14:"quotechange();";}i:2;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:14:"YARDS_onChange";s:4:"tipo";s:1:"A";s:5:"parms";s:7:"140;100";s:6:"codigo";s:12:"updateamt();";}i:3;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:13:"onAfterDelete";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:12:"updmaster();";}i:4;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:16:"onAfterDeleteAll";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:12:"updmaster();";}i:5;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:13:"onAfterInsert";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:50:"updmaster();
sc_commit_trans();
refreshform();
";}i:6;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:16:"onAfterInsertAll";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:48:"updmaster();
sc_commit_trans();
refreshform();";}i:7;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:13:"onAfterUpdate";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:12:"updmaster();";}i:8;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:16:"onAfterUpdateAll";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:12:"updmaster();";}i:9;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:14:"onBeforeDelete";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:20:"fv2_orders_asst_form";s:4:"nome";s:17:"onBeforeUpdateAll";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:0:"";}i:11;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:8:"onRecord";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:44:"[var_order]={order};
[var_bcode]={bcode};
";}i:12;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:11:"quotechange";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:286:"$getadd="select price,color,color_no from veratex2.prices
where quote_no='{quote_no}'";
sc_lookup(rs,$getadd);	
if (isset({rs[0][0]}))
	{
	{price}={rs[0][0]};	
		}
if (isset({rs[0][1]}))
	{
	{color}={rs[0][1]};	
		}
if (isset({rs[0][2]}))
	{
	{color_no}={rs[0][2]};	
		}
";}i:13;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:11:"refreshform";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:44:"sc_redir("fv2_orders_asst_form","","_self");";}i:14;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:9:"updateamt";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:25:"{amount}={price}*{yards};";}i:15;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:20:"fv2_orders_asst_form";s:4:"nome";s:9:"updmaster";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:319:"$getit="select sum(yards),sum(amount) from asst 
where `order`='[var_order]'";
sc_lookup(rs,$getit);	
$master_field = 'QUANTITY';  
$master_value = {rs[0][0]}; 
sc_master_value($master_field, $master_value);
$master_field = 'amount';  
$master_value = {rs[0][1]}; 
sc_master_value($master_field, $master_value);";}}