Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Automating coupon (discount) application

Hi,

I'm looking to make use of the coupons facility within webtools, but in some cases I would like to apply the coupon automatically to a basket. For instance, giving an over % discount based on the subtotal. Does anyone have any code examples of how to manipulate these objects?. Presumably using this approach side steps the problems with trying to populate the NPOrder.OrderDiscount directly, and the fact that it is over ridden each time calculate is called?.

I would rather not have to resort to applying discounts per line if I can help it, as this could possibly be more complex than it seems, especially as we have qty breaks and the like setup.

Thanks.

Martin.

Former Member
Not what you were looking for? View more on this topic or Ask a question