a:3:{i:0;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:30:"data_contactaddress_multi_form";s:4:"nome";s:14:"SCODE_onChange";s:4:"tipo";s:1:"A";s:5:"parms";s:0:"";s:6:"codigo";s:14:"scodeupdate();";}i:1;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:30:"data_contactaddress_multi_form";s:4:"nome";s:8:"onRecord";s:4:"tipo";s:1:"E";s:5:"parms";s:0:"";s:6:"codigo";s:14:"scodeupdate();";}i:2;a:7:{s:7:"cod_prj";s:7:"Veratex";s:6:"versao";s:1:"1";s:7:"cod_apl";s:30:"data_contactaddress_multi_form";s:4:"nome";s:11:"scodeupdate";s:4:"tipo";s:1:"M";s:5:"parms";s:0:"";s:6:"codigo";s:886:"$getadd="select prefix,name,address1,address2,city,state,zip_code,country from veratex2.custship
where scode='{scode}'";
sc_lookup(rs,$getadd);	
if (isset({rs[0][0]}))
	{
	$prefix={rs[0][0]};	
		}
else
	{
     $prefix='';
		}
if (isset({rs[0][1]}))
	{
	$name={rs[0][1]};	
		}
else
	{
     $name='';
		}
if (isset({rs[0][2]}))
	{
	{Add1}={rs[0][2]};	
		}
else
	{
     {Add1}='';
		}
if (isset({rs[0][3]}))
	{
	{Add2}={rs[0][3]};	
		}
else
	{
     {Add2}='';
		}
if (isset({rs[0][4]}))
{
$city={rs[0][4]};
}
else
	{
		$city='';
	}
if (isset({rs[0][5]}))
{
	$state={rs[0][5]};
}
else
	{
		$state='';
		}
if (isset({rs[0][6]}))
	{
		$zip={rs[0][6]};
}
else
	{
		$zip='';
			}
{sname}=$prefix.' '.$name;
		{Add3}=$city." ".$state."  ".$zip;

if (isset({rs[0][7]}))
	{
	{Add4}={rs[0][7]};	
		}
else
	{
     {Add4}='';
		}
";}}