|
Home > Archive > Commerce Server General > October 2004 > CS2002 - Issue with Multiple Shipments
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
CS2002 - Issue with Multiple Shipments
|
|
| Joy Esther 2004-08-30, 5:55 pm |
| Hi,
We need to provide the functionality of Shipping an Order to Multiple
Addresses. Each Shipping could be to a different state and different shipping
method also could be selected. And this means each Shipping can have
different tax and shipping cost calculated at the end of Order Processing.
By default, Retail2002, allows us to calculate the total only for the Order
Level and not at the Shipping Address Level.
Is the any way out or work around to do get this accomplished ? Let me know
your comments.
Thanks
Joy
| |
|
| I think that the totals are calculated for each shipment (should be done in the pipeline component), you just need to display them, correct? You need to break the order into it's shipments. This is how I did it:
set Shipments = mscsOrderGrp.Value.ORDERFORMS(OrderFormName).Shipments
for intShipmentCnt = 0 to Shipment.Count - 1
orderShipment = Shipments (intShipmentCnt)
' what ever you want to print from the shipment
next
Some other things you might need to know:
orderShipment("_cy_subtotal_total")
orderShipment("_cy_shipping_total")
orderShipment("_cy_tax_total")
- Earme |
|
|
|
|