[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Unsure that Route is working


Quoting daniel castro (suppressed):
> Hi list,
> 
> I have been digging around in order route directive, I am trying to send an 
> e-mail to each product vendor saying that an order has been made.
> 
> For this I found a perl rutine that separates each item and looks at the 
> vendor and sets the route for that vendor, like this:
> 
>  [perl table=products]
>    my %route;
>    my $item;
>    foreach $item (@{$Items}) {
>        my $code = $item->{code};
>        my $keycode = $Tag->data('products', 'vendor', $code);
>        $item->{mv_order_route} = $keycode;
>    }
>    return;
> [/perl]

Or you just do:

	AutoModifier  :vendor:mv_order_route

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <suppressed>

Experience is what allows you to recognize a mistake the second
time you make it. -- unknown
_______________________________________________
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.