IBM Support

How does Ship Order Total coupon in Call Center for Commerce 9.3 work?

Technical Blog Post


Abstract

How does Ship Order Total coupon in Call Center for Commerce 9.3 work?

Body

Ship Order Total coupon “changes the total shipping cost charged to customer based on the order's total”.

This coupon can be configured in IBM Sterling Business Center.

The coupon gets applied on order header level shipping charges. If you want to apply the coupon on line level shipping charges these need to be aggregated to header level. To aggregate line level shipping charges to header level, implement calculateShippingChargeUE so that it returns order total shipping charge.

Order level pricing rules have a flag which determines whether or not to distribute pricing adjustments to line items. This is flag Distribute Adjustments among the all eligible lines. Check this flag to calculate prorated adjustments across lines so that discounts are distributed across order lines. Header level adjustments are distributed to line items based on the weighted average by price. Consider following example:

 

Order

 

Line1 – Item1 price 300.00 euros, Standard Shipping cost 6.00 euros

Line2 – Item2 price 100.00 euros, Express Shipping cost 10.00 euros

 

Total Shipping charge on order = 16.00 euros

 

Lets say Ship Order Total coupon is configured to apply 50% discount on shipping charge. In example above this would be 8.00 euros.

 

Ship Order Total coupon will distribute discount by weight of the price, so in this case:

 

Line 1 - Shipping discount = (300/400)*8 = 6.00 euros

Line 2 - Shipping discount = (100/400)*8 = 2.00 euros

 

 

However, you might want to distributes shipping charge discount among order lines by weight of the shipping charges on the line, in which case the discounts would be:

 

 

Line 1 - Shipping discount =(6/16)*8 = 3.00 euros

Line 2 - Shipping discount =(10/16)*8 = 5.00 euros

 

or simply 50% of the original shipping charges.

 

To achieve this please explore usage of overrideGetOrderPriceUE, in this case to massage the shipping charge distributions.

 

More information regarding the pricing rules topic can be found here:

http://www-01.ibm.com/support/knowledgecenter/SS6PEW_9.3.0/com.ibm.help.om.admin.pricing.doc/c_ShippingChargeCalculation.html?lang=en

http://www-01.ibm.com/support/knowledgecenter/SS6PEW_9.3.0/com.ibm.help.cpq.config.pricing.engine.doc/c_DiscountDistributionInAnOrder.html

and in chapters Pricing Administration (OMS) and Pricing (CCC).

 

 

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11124667