How can we identify the code that triggered the promotion discount in order?

Hello

As we can create coupons and promotions assign them to give discounts. How can we identity coupon code that is added to the promotion which caused the discount in order?

Kind regards

Chede

I give you an example. Here's how you do it from the order level promotions. OrderImpl (object) (API below give you orderpirceinfo and second link gives adjustments.)

http://docs.Oracle.com/CD/E35319_01/platform.10-2/APIDoc/ATG/commerce/order/OrderImpl.html#getPriceInfo )

OrderPriceInfo that extends AmountInfo, the following method gives adjustments

http://docs.Oracle.com/CD/E35319_01/platform.10-2/APIDoc/ATG/Commerce/pricing/AmountInfo.html#getAdjustments )

Now browse adjustments, for pricingmodel (i.e. promotion) and coupon applied on order

PricingAdjustment (ATG Java API)

PricingAdjustment (ATG Java API)

Hope that gives you an idea where to start.

-Kiss

Tags: Oracle Applications

Similar Questions

Maybe you are looking for

  • HP ZR30w monitor cannot display 2560 x 1600 video resolution on DisplayPort

    I develop a dispatcher DisplayPort (1 Rx and Tx multiple) I found that if the online scan total vertical video sent by my DP splitter is same, ZR30w cannot show video. If the total scan line is odd, it can display. It is still a question for a monito

  • Failures of intermittent keyboard

    My laptop keyboard Dell StudioXPS has intermittent situations in which the center of the keyboard is not typing. For example, all the other buttons work, but the M, N, H, U, Y, 6 and 7 will stop typing. I then use the on-screen keyboard to type these

  • Recovered the new Connect whitebox, but unable to connect to the PC

    Thank you to all the guys who advises on the recovery tool. I bought a whitebox Connect today and was about to pack come back tomorrow when I came across the posts on this site. I've updated and everything seemed to go smoothly. The reason for the re

  • Update failed to uninstalled product

    I have Windows 7 SP1 and SQL Server 2012 installed, I had.  Windows Update failed to install kb3045318, an update of security for SQL Server 2012.  I no longer need to SQL Server 2012 and has so decided, rather than trying to apply the kb3045318, it

  • put this licensed software

    Hey there! I have three computers with my sign. I paid subscription of one year for "creative cloud."Two computers work well with all applications, but one of them answers "none found subscription." What's wrong?I use MACHelp, please[Duplicate messag