Discussion:
OrderPrepare or OrderCalculate
(too old to reply)
v***@yahoo.com
2006-11-14 20:08:23 UTC
Permalink
We need the order to be calculated with promotions/discounts and we do not need shipping or taxes. I am aware of the fact that "OrderCalculate" does only subset of what "OrderPrepare" task does. In our case, what would be the best approach, "OrderPrepare" or "OrderCalculate"?
m***@ca.ibm.com
2006-11-16 20:23:30 UTC
Permalink
From looking at the information center, I think OrderCalculate would work.

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.developer.doc/refs/rosordercalculate.htm

However, I am not an expert on this so I have forwarded your question to the developer who can advise. I'll post when I receive an answer.
m***@ca.ibm.com
2006-11-16 20:34:02 UTC
Permalink
this may help as well

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.user.doc/tasks/tshcustcharge.htm
VijayaR
2006-11-16 20:58:07 UTC
Permalink
No need to use OrderPrepare. You can just use "OrderCalculate" with calculationUsageId set to -1, it invokes the promotion engine for just price discounts.

-hope it helps.

Loading...