[ic] Ups interface for Ups Online Tools

drtester at netzero.com drtester at netzero.com
Tue Jul 18 00:51:53 EDT 2006


Hi Tom,

Can't say I've seen the module you're talking about, but here's my
modified shipping.asc for a bunch of UPS lookups using Business::UPS
online lookups (and marking stuff up):

1DA:    UPS:Next Day Air
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .45
        ui_ship_type    UPSE:1DA
        PriceDivide             1
        service         1DA

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS

2DA:    UPS:Second Day Air
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .45
        ui_ship_type    UPSE:2DA
        PriceDivide             1
        service         2DA
        aggregate       150

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS

3DS:    UPS:Three Day Select
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .45
        ui_ship_type    UPSE:3DS
        PriceDivide             1
        service         3DS
        aggregate       150

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS

1DM:    UPS:Next Day Early AM Air
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .45
        ui_ship_type    UPSE:1DM
        PriceDivide             1
        service         1DM
        aggregate       150

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS

1DP:    UPS:Next Day Air Saver
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .45
        ui_ship_type    UPSE:1DP
        PriceDivide             1
        service         1DP
        aggregate       150

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS

2DM:    UPS:Second Day Early AM Air
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .45
        ui_ship_type    UPSE:2DM
        PriceDivide             1
        service         2DM
        aggregate       150

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS

GNDRES: UPS:Ground
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .6
        ui_ship_type    UPSE:GNDRES
        PriceDivide             1
        service         GNDRES
        aggregate       150

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS

air_pp: UPS:Expedited-International
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .45
        ui_ship_type    UPSE:XPD
        PriceDivide             1
        service         XPD
        aggregate       150

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS

GNDCAN: UPS:Ground-to-Canada
        crit                    weight
        at_least                5
        adder                   @@TOTAL@@ * .6
        ui_ship_type    UPSE:STD
        PriceDivide             1
        service         STD
        aggregate       150

        min                             0
        max                             0
        cost                    e Nothing to ship!

        min                             0
        max                             1000
        cost                    s QueryUPS

        min                             1000
        max                             999999999
        cost                    e Too heavy for UPS



_____________________________________________________________________
PrivatePhone - FREE telephone number & voicemail.
A number so private, you can make it public.
http://www.privatephone.com





More information about the interchange-users mailing list