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

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

I'm giving you an example. Here is how you do it starting with 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()
From OrderPriceInfo which 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 iterate through adjustments, to get pricingmodel(which is promotion) and coupon applied on order
PricingAdjustment (ATG Java API)
PricingAdjustment (ATG Java API)
Hope this gives you an idea where to start with.
-karthik

Similar Messages

  • In iMovie 11, how can you cut/paste a clip that has subtitles and actually have the subtitles get cut/pasted. When I try, the subtitles disappear into the void and I have to do the subtitling all over again.

    In iMovie 11, how can you cut/paste a clip that has subtitles and actually have the subtitles get cut/pasted. When I try, the subtitles disappear into the void and I have to do the subtitling all over again.

    If you think this is a bug, you can report it here:
    Apple - Mac OS X - Feedback

  • How can i hide phone apps so that if kids take my mobile the couldnt be able to make calls. At the same time when someone call me I could be able to attend call. is there any control to lock phone's apps or hide it.

    how can i hide phone apps so that if kids take my mobile the couldnt be able to make calls. At the same time when someone call me I could be able to attend call. is there any control to lock phone's apps or hide it.

    Hi there
    Apple doesnt give this feauture and there are certain apps in app store under utilities which provide password facility under this app and u can store photos videos and orther stuff and lock so
    Kids will be not able to access this single app ortherwise there is no such feature of locking apps feature given by apple
    <Edited By Host>

  • How can I configure an outgoing server that has a different password than the rest of my email account?

    I have a work email account where the password for my incoming server is different than the password for my outgoing server. I cannot find how to change this in the outgoing server settings on thunderbird. Any help would be very appreciated!

    Try to add another SMTP server using correct password then tell the mail account to use that smtp server.
    * Tools > Account settings > Outgoing Server (SMTP)
    * click on 'Add'
    * enter a Description so you can easily tell which server this is.
    * enter server details.
    * userbame = full email address
    * password = correct smtp password.
    * click on OK
    Then tell your mail account to use that smtp server.
    * select the mail account name in left column
    * bottom right section 'Outgoing server (SMTP)
    * click on drop down and select the smtp server you just added.
    * click on OK to save changes to Account Settings.
    Note: Account Settings can be located via various methods:
    Menu Bar
    * Tools > Account settings
    Mail Toolbar:
    * menu icon > Options > Account Settings
    FolderPane:
    * right click on mail account and select 'Settings'

  • How can I tel a story , so that when you read a line the tekst slowy goes up

    Hello,..
    to start the movie, l want to tell a story first ( 2 A4 of tekst)  and it must be so that if you read a few line they slowly will go up so that you can read the rest.
    Help
    thanks
    jan van straten

    The simplest option is to use the Rolling Credits title in iMovie. Rolling Credits has a left and right component (so you can do "Role" and "Played By")
    So to tell a story, you would use the left boxes only.
    You could also use the Far Far Away title for a Star Wars type effect, but with the Star Wars title it is dificult to read the whole thing as it travels off into space.

  • How can I get a .cgi file that keeps downloading to work in the browser?

    When I click on the .gif "Mod 3" on the URL below, Firefox (and Safari) just download a .cgi file to my desktop. I don't know if I CAN get this link to work, but I'd like to.
    http://osr.rice.edu/consent/mod2soc/mod2sec7.html#q2_5
    Tried monkeying around with the Applications preferences, but doesn't seem relevant. Doesn't give me an option to do anything other than download the file when I click the link. I tried Safari too, just to see if that'd make any difference, and it didn't.

    That is a problem with the code on that page.<br />
    It is a perl script that needs to run on that server, but the link seems to be missing (GET) parameters that the script should evaluate. If there are no such parameters passed to the script then you get such a download pop-up.
    What should happen if you click that button?

  • How can I get a digital WDT that includes all samples, not just the one for the current time step...?

    See block labeled ''digital data'' in my attachment for reference. Currently, only the digital data point for the current time step can be seen (it is deleted before the next one appears). However, I would like it display all the samples in the table like in the example found at this link under ''Digital Waveform Control'':
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/fp_controls_indicators/ 
    Many thanks for any suggestions! I am new to Labview, so I appreciate your help.
    Solved!
    Go to Solution.
    Attachments:
    myproject.vi ‏220 KB

    Hey westerman111,
    If you're looking to produce have your display include the solution information from previous solver steps, you will need to buffer the previous data. The way to implement this in a Control Design & Simulation Loop is using the Memory.vi found under Control Design & Simulation > Simulation > Utilities > Memory.vi. It will allow you to save previous information generated in the simulation environment for letter solution steps.
    I've attached an example that should get you started in using the Memory.vi.
    I would also make sure that what you're looking to accomplish is suitable for the Control & Simulation Loop. I know you mentioned you were new to LabVIEW so I wanted to make sure you were heading off in the right direction. Is there a particular reason why you are using the Control & Simulation Loop instead of a standard While or For Loop? The Control Design & Simulation loop is unique in that it calculates the solution of a dynamic system at a prescribed time step and ODE solver. It also provides the tools to interact with the model you are solving during execution. However, if you are simply looking to perform data acquisition and measurements (instead of dynamic model simulation) I would recommend using standard LabVIEW functions.
    Here are some useful references for getting start with both LabVIEW and the Control Design and Simulation Module.
    Tutorial: Getting Started with Simulation (Control Design and Simulation Module)
    http://zone.ni.com/reference/en-XX/help/371894G-01/lvsimhowto/sim_h_gs/
    Getting Started with LabVIEW
    http://digital.ni.com/manuals.nsf/websearch/ba2fb433a7940e7a862579d40070cc2c
    Tim A.
    National Instruments
    Attachments:
    myproject_edit.vi ‏249 KB

  • Where can I find the coupon code required for registration?

    Where can I find the coupon code required for registration? I purchased the design standard at Officeworks in Australia and given the box a thorough check, but unless there is a number not labelled 'coupon code', it's definitely not there. I am using this product personally and not for business so I have no IT dept to assist.

    Find a serial number
    For anything else contact support directly or work things out with your reseller.
    Mylenium

  • Why does it say my coupon code is "Invalid coupon code. Please check the coupon code and re-enter."

    When I enter my coupon code to get my serial number it says "Invalid coupon code. Please check the coupon code and re-enter." It is the correct coupon code. And I have just deactivated my lisence on my old computer.

    If you had not deactivated it on the old computer and it is a Windows machine there would have been a chance of getting it using Belarc Advisor
    (http://www.belarc.com/free_download.html).  I do not know if you can still do so.
    You can try contacting Adobe support via chat and see if they can help.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • How can i identify the environment name or database name in the PL/SQL code

    Hi,
    I am using UTL_FILE to genearate the files.,
    My problem is, I have to design the common sql file , which can be executed in 2 diffrent environments ( Say QA & DEV ) , with no parameters. It has to identify the environment and based on the environment , it has to generate the concern files.,
    The only change needs to be incorporated is , file names , which will change based on the environment.,
    can nay one tell me , how can i identify the environment name or database name in the PL/SQL code ??
    Raja

    In this case, USEC_GI_DEV.NA.XXXNET.NET is a TNS alias. That alias exists only on the client machine. There is no way to access that information on the database server.
    You would have to find something in the v$database or v$instance table that uniquely identifies the database (and you may need some help from the DBAs to do this because you need to ensure that the data element you choose is compatible with whatever refresh process(es) are used in your environment).
    Now, if you are writing a stand-alone SQL*Plus script, SQL*Plus, as a client tool, does have access to the TNS alias in later versions. But that is a client-side determination, not a server-side determination.
    Justin

  • I have very little space left on the hard drive on my macbook, on my storage report it says "other" is taking up more than two thirds of the space on the hardrive. How can I identify what these files are?

    I have very little space left on the hard drive on my macbook, on my storage report it says "other" is taking up more than two thirds of the space on the hardrive. How can I identify what these files are?

    Hello,
    There is free software you can download that gives you a graphical image of what files are used on your hard drive. http://www.derlien.com/
    This may help you clean down your hard drive for more space.
    Best of luck

  • How can I write a code that triggers when clicking on Save button

    I want to hide certain fields inside my tracking list, if the login user is not part of the “Managers” group.
    To do so I want to add the following Page-load code inside a web part :-
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    {SPGroup group = site.Groups["Managers"];
    bool isUser = site.IsCurrentUserMemberOfGroup(group.ID);
    if (isUser)
    {textbox.Visible=false;}}
    And the following custom code that triggers when saving the form :-
    using (SPSite site = new SPSite(SPContext.Current.Site.Url))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["ListName"];web.AllowUnsafeUpdates = true;
    SPListItem item = list.Items[SPContext.Current.ListItem.UniqueId];
    txtTitle.Text = item["Title"] as string;item.Update();web.AllowUnsafeUpdates = false;
    But I am not sure where exactly I should add the custom code for the save button ? I tried writing it inside the Oninit method , but I got many errors as shown below:-
    So can anyone advice how i should write the web part to include the Page load & the custom save button code?
    second question in general is my above approach considered valid , i mean to hide/show list columns using web parts ?

    Hi,
    According to your post, my understanding is that you want to hide/show list columns based on specify the permission for Users, SharePoint Groups or Active Directory Groups.
    Here is a solution from CodePlex for your reference:
    SharePoint 2013 Column & View Permission
    https://sp2013columnpermission.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How can I identify and delete duplicates on the latest version of itunes?

    How can I identify and delete duplicates on the lastest version of iTunes?

    The show duplicates/show exact duplicates features have been left out of iTunes 11. Rumor suggests they will be restored in the next build. In the meantime I have written two Windows scripts to make playlists of Duplicates and Exact Duplicates, either from a selection of tracks or the entire library. Note that, as with the iTunes feature, this list makes no distinction between "originals" and "dupes", you have to decide which is which.
    There is also my DeDuper script for automatically removing duplicate copies but keeping one remaining copy of each set. This can preserve ratings, play counts, playlist membership, etc. which are lost in a manual clean up. Please take note of the warning to backup your library before deduping. See this thread for background on deduping and the script.
    If you want to manually remove duplicate tracks use shift-delete to remove selected tracks from the library as well as the playlist. Keep one of each repeated group of files and don't send the others to the recycle bin unless you are sure that there are multiple files on the disc as opposed to multiple entries to the same file. Same advice to backup applies.
    tt2

  • How can I identify "unrequested" downloads which arrive without appearing in the Downloads window

    Frequently during quiet periods while online, data downloads occur as can be observed by the data transfer indicator flashing on the modem. They have not been preceded by requests for updates, requests for specific downloads, or by announcements from any source. They usually resume if the modem is switched off for a while, and then switched on again. 50 MB has come down over the last half hour. There is usually no warning from my firewall and other security software, which does not mean that the downloads are definitely safe. This interferes with sensitive connections to banks, for instance. I have found no obvious clues while browsing folders, and there are many hidden folders in Windows 7. How can I identify the data online, preferably, or on my harddrive later ? Opening the Downloads window after the start of a session of mystery files does not help.

    See [[Firefox makes unrequested connections]]

  • My iPad with this security code and forgot it,how can I get him ?  Is that 4 digit code

    my iPad with this security code and forgot it,how can I get him ?  Is that 4 digit code.

    Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

Maybe you are looking for

  • Entities from tables (JPA EJB 3.0) creation problem

    I have a problem to get all the entities created in JDev 10.1.3.3 on UBuntu Linux, JDK 1.5.11. I think that some relations missing also. When I try to connect from my Win XP machine to the same DB (Oracle XE) everything is fine. JDev on Win machine u

  • Create a filename based on form content

    Hello, I always have a hard time explaining my question's but here goes. I have a button which saves a form once filled out. I would like to take the thinking out of this when it comes to naming the file and it create the name based on a numerical fi

  • Add "Bid Invitation" field to PO create (ME21N)

    Hi Gurus, I have a request to add the 'bid invitation" field (AUSNR)  as optional entry to the PO and Requisition during creating.  I thought all I had to do is add it to table T162X (I put in position 210) and then configure it as required/optional/

  • IMac 27" + [old] 22" Cinema Display

    has anyone done this yet? thinking about upgrading to the iMac 27" and using one of my [still great condition] 22" Cinema Displays. yup, the ones with the clear plastic frame. thanks

  • Into clause of the explain_plan

    hello, does anybody know if the "into" clause of the explain_plan(the plan_table parameter ) is editable on sql developer ? thanks