Revised:
IC complained that GNDRES wasn't in the default shipping options in
the country table, so I had to add it to the table.
The code now strips it out then changes commercial to residential if needed.
[perl]
$t_t = $Values->{mv_ship_residential};
$t_mode=$Scratch->{tmp_shipmodes};
$t_mode =~ s/GNDRES//;
if ($t_t =~ m/1/) {
$t_mode =~ s/GNDCOM/GNDRES/;
}
$Scratch->{tmp_shipmodes} = $t_mode;
return "";
[/perl]
Steve
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.