Rebate help

Hi, I bought an IB g4 in early september and messed up my rebate stuff so apple gave me an exception and let me do it over again. I am filling ou the form for the printer rebate but cant read my receipt, its printed badly. I have a HP DeskJet 5740, an need the APPLE part number, not the HP one. Could somebody please find this for me so I can finish my form?

Here's a summary of the various part numbers for the iBook.
Hope this helps! http://www.apple.com/ibook/specs.html
*Edit, I think I misread your question and your looking for the Apple part number for the printer, if this is the case, I ran it thru the apple store and came up with the following: HP DeskJet 5940 Photo Printer
Part Number: TE734LL/A

Similar Messages

  • No idea where to post this - rebate help?

    Sorry if this is COMPLETELY the wrong place to post this, but I'm not sure where the best place for help would be. I ordered Office 2004 Student and Teacher on Nov. 23, 2007, and it was supposed to have a $100 rebate. How do I get the rebate? We're looking for a form or something but we can't find one. We also ordered an iMac at the time, and it came with a $101 rebate that showed up on the receipt. Was there a mistake somewhere?

    If the iMac came with a rebate then you'd have to call Apple about that. As for the Office rebate, if it came from the retailer you purchased the thing from then you'd have to discuss it with them, or if it was a Microsoft rebate then you'd have to contact them about it.

  • Vendor Rebate - Help

    As I got some knowledge on customer reabate, i feel the only difference between customer and vendor is as follows
      credit side settlement in case of vendor rebate
      debit side settlement in case of customer rebate
    I need to do such setting in spro subsequent settlement
    I have attached a doc- test data which i uploaded in the below link
    [http://www.2shared.com/file/4102422/65c3ab68/test_data.html]
    when I am settling the vendor settlement through MEB2 transaction error encountered!
    I have done the configuration twice with minimal change. Even after -surprisngly i am end up with same error. what to do i don't know?
    only picture in my mind is SAP SDN guys.
    Do anybody got idea about concept of purchase rebate --i mean vendor rebate.?
    Please help me in this regard.

    As I got some knowledge on customer reabate, i feel the only difference between customer and vendor is as follows
      credit side settlement in case of vendor rebate
      debit side settlement in case of customer rebate
    I need to do such setting in spro subsequent settlement
    I have attached a doc- test data which i uploaded in the below link
    [http://www.2shared.com/file/4102422/65c3ab68/test_data.html]
    when I am settling the vendor settlement through MEB2 transaction error encountered!
    I have done the configuration twice with minimal change. Even after -surprisngly i am end up with same error. what to do i don't know?
    only picture in my mind is SAP SDN guys.
    Do anybody got idea about concept of purchase rebate --i mean vendor rebate.?
    Please help me in this regard.

  • UPC rebate help/apple  care protection plan

    I'm confused as to which UPC they want. It's the one with the serial/part numbers right?
    There are like 3 or 4 labels on my box.
    And on my Ipod, do they want me to cut out the little tiny UPC label to the Ipod box? (i could only find a shipping label on the actual cardboard box that it came in.)
    All these random labels are confusing me.
    Also, with the apple care protection plan, it came with a CD. do i need to install that onto my computer, or is it just a back up cd?
    help would be appreciated!

    called the apple store and figured it out.
    thanks.

  • Indirect sales rebate or indirect extended sales rebate

    hi friends,
                        Anyone worked on indirect sales rebate help me out with the process scenario of indirect sales rebate or indirect extended sales rebate. i do have the configuration document but want to know where or for what scenario its used.
    my req:
              Manufacturer --> distributor --> endcustomer.
    1. distributor buys from manufacturer and gets some coupons along with material directly proportionate to the value of invoice.
       eg.
              invoice value--rs. 1 lakh
                                     he will get 10 coupon A or 5 coupon B. or both
    2. Then he sells the same to  end customer with his own conditions.(sale between distributor and end customer not captured in SAP as of now.)
    3. anytime the end customer may come to the MANUFACTURER with the coupons(not to the distributor from whom he purchased his goods) and will get his coupon redeemed, by buying Free of Charge items for the total value of coupon he possess.
    4. coupons need to be validated ie. checked whether its been bought from the distributor to whom the manufacturer has sold it to and not from any other distributor.
    > is indirect sales rebate or extenced sales rebate (both r same i believe) applicable here. if so how??
    if not-- help me with best way to go ahead with the scenario.
                 thanks in advance..
    leo

    Hi Leo,
    The scenario with coupons / points is managed in SAP CRM and is part of Loyalty Management:
    /people/bhushan.khadpe/blog/2008/11/13/sap-crm-70-loyalty-management-high-volume-execution
    I am sorry to say that the indirect sales rebate, extended or not, will not solve your need.
    Indirect rebates are used to credit distributors based on sales done on third-party customers (the customers of the distributors). These sales will be registered in SAP using a "pendulum list" and indirect rebate agreement give credit based on indirect sales volume (these are proforma billing documents generated from the pendulum list data).
    My understanding is that any company that wants to manage coupons / points natively in the SAP ERP has to program this functionality itself in the ERP or to interface SAP ERP with a specialized external application.
    SAP recommended solution is to implement SAP CRM, but IMHO that is an overkill for many medium size companies.
    I wish there would be a way to implement specific CRM functions natively in SAP ERP, like Trade Promotion Management or Points Management, so the Customer could stick with a single ERP / CRM system
    Best Regards,
    Franck

  • Please help me in this issue "rebate \management"

    Dear all,
    I have a problem, please kindly help me on my issue.
    For the rebate process, my client requires for their customers once the time period is over he dont want to raise the credit memo reuqest on the behalf of credit memo client want to replace the goods at free of cost to their customers.
    Kindly help me in this issue
    rama murthy.g

    img-s&D - billing- rebates-rebateagreement type .in the rebate agreement control settings ,in the final settlement field ,u put free of goods sales document type
    if useful give me rewards
    thanks
    raj

  • Maybe its just me but verizon had my rebate for a month and some change and  still haven gotten it i got this contract on july 10, and my samsunsung galaxy s4 does nothing but shut off on me constatntly and they wont even help..any suggestions because im

    maybe its just me but verizon had my rebate for a month and some change and  still haven gotten it i got this contract on july 10, and my samsunsung galaxy s4 does nothing but shut off on me constatntly and they wont even help..any suggestions because im looking into a lawsuit now so aggravating..my phone is def on a blank sceen right now

    JCLouis, 
    We saw your story and are very worried about what we read! This isn't like us at all and we are here to help sort it all out. We recommend calling the Rebate Center to check on the status. Their number is 1-800-457-0864.
    We can help you right here with your phone! How often does it turn off? Is it just that the screen goes black or does it completely power down? Also, does it start back up by itself if it does power down?
    SarahO_VZW
    Follow us on Twitter @VZWSupport

  • Need help for the $200 promo rebate for trade-in of I Phone 4

    Need help for the $200 promo rebate for trade-in of I Phone 4.  Unable to preregister when I ordered the new 6  in September.  Now can not contact VZW recycle program regarding.

    When I ordered my phone on Sept. 13th in a Verizon store, I had to ask the salesman how I went about getting the $200 rebate. He said shipping materials would come with the new phones. When I received the confirmation e-mail of my order, it contained a link for the rebate. Fortunately I clicked on the link, filled out the form online, and received the packing materials to send my phone in shortly after. My phones came in on Oct. 14th and I sent 3 of them back. So far I have received a gift card for $200 for 2 of the phones; the other is showing not received. I don't know what your situation is, but I think the promotion ended Oct. 15th. If I had listened to the salesman I think I would be out of luck as well. I hope I am wrong for your sake.

  • Please Help!    Frustrating rebate question

    I'm sorry for posting this here, but I did not see any other relevant board to post on.
    I just bought a Macbook and got a printer that I THOUGHT was included in the $100 mail-in rebate. When I added my computer to the cart I scrolled down to see other stuff the site recommended adding, which is when I saw the $100 mail-in rebate with a suggested printer in the box, so I decided to buy the printer only to find out that the printer (Epson Stylus CX5800F) was not included in the rebate!
    I am not sure who I can talk to but I am very angry! I think that is VERY misleading for them to list a printer (with an "Add to My Cart" button next to it!!!) in a box advertising a printer that is not even qualified for that rebate!
    I did some searching and found out that Apple ran a similiar rebate until the end of July in which this specific printer WAS qualified for the rebate and I am assuming someone forgot to change this item as one that would show with an add to cart button.
    I'm frustrated and have had no luck finding help and would appreciate if someone could lead me in the right direction. :-/ Thank you...

    I e-mailed Apple about this problem, since I am more
    of an e-mail than a phone person, and they e-mailed
    me back the VERY next day and are now issuing a $100
    refund to my credit card. I hope that if anyone else
    had this same problem that you get your money back!
    Thanks for your help.
    Awesome, sounds like it worked out for you. Guess it pays to be patient huh?

  • Help needed Urgently- Rebate based on collected amount

    Dear all,
    I come across scenario while discussiion with client that they require rebate with collection. Details of the requirement are given below:
    1. SAP rebates run on billed values & set the accrual in rebate agreement on the rate what we have specified in the rebate agreement. Requirement is that, If i have billed on 1000$ & my accrual value is 100$ with the rate of 10%. If i collected 800$ instead of 1000$, then i need to pay the accrual on the basis of 800$ not on the basis of 1000$. It means i have to adjust accrual amount on the basis of 800$. Conclusion is that i have to pay not 100$ accrual instead less then 100$ on the basis of 800$ which i collected.
    2. In month 1 have billed on 5000$, my accrual amount is 500$ with rate of 10%. In the 2nd month i have to bill 1000$ and i have given an discount of 500$, it means my billed value is 500$ and my accrual amount is 50$@10%. In month 3 again i billed 500$ and my accrual amount is 50$@10%.
    Requirement is that, when i am going to pay the accrual to client, i should pay correct accrual for which he is entitled for. Means i should pay 100$ accrual not 600$ because i have already given an discount of 500$. Discount which i have given already of 500$ should need to be offest with the first month accrual of 500$. So remaning accrual is 100$.
    Great if somebody can help me out for the solutioning of the above requirements.

    Thanks Ivano,
    Somebody has started the conversation.
    Let me put my questions again.
    This requirement is nothing to do with Payment procedure in the agreement type.
    1. In any month if i billed 1000$, so my account receivable would be 1000$. My rebate for that month is 100$ at the rate of 10%. During customer receipt if i collected against my invoice 900$ instead of 1000$, my accrual needs to be corrected 90$ instead of 100$.
    I know this can not be fullfilled by standard SAP, by any thoughts on this welcomed.
    2. I know Rebate can be settled partially or full settlement by payment method( by cheque, bank transfer, or by credit memo) we have configure in rebate agreement type. But here requirement is totally different.
    Here, i need to pay the Rebate as a Discount instead of by cheque or by credit memo. While doing the partial or full settlement system will take into account collected accrual up to that day & apply as a discount to the final bill.
    Scenario is like that sometimes customer asked to give us the discount on bill for whatever they accrued so far.
    This is again cannot solved by standard SAP, but any thought by any body welcome. We have already thought that we need to enhance the solution.
    Solution needed urgently.

  • I'm getting the run-around. Can someone please help me with a rebate problem?

    I purchased a Samsung W/D from Best Buy with the free vacuum offer. It was delivered and I submitted my rebate request. The submission page said to wait 6 to 8 weeks for processing. I waited 8 weeks and then became concerned. When I called the rebate center they said they had no record of my submission. Obviously, the online process failed. I understand technology doesn't always work, but the operator and manager told me I would now not be able to get my rebate and only offered a mailing address to complain. I am EXTREMELY frustrated. First, because the only reason I purchased these units was for the rebate and now I cannot return them to Best Buy because of the time elapsed. Second, if I was aware that there was a problem with the submission I would have been able to fix the situation. The website said all was OK, and all the information said to wait 6-8 weeks. Why would I have checked in before that time? Now I'm told I'm too late to fix it??? All I want is the vacuum cleaner I was promised when I purchased the W/D. Can someone please help me?

    Hello ChadMelton,
    I have a hard time passing up offers for free products, so I understand how such an offer could influence your decision to buy. I'm wholly disappointed to read, though, that your rebate experience didn't go smoothly and that the manufacturer seems to have been less than cooperative. I would be frustrated too under such circumstances!
    I was unable to locate your purchase using the information you provided when you signed up for Best Buy Unboxed. I would like to look into this situation on your behalf, but will need more information to begin. If you will please send me a private message that includes your full name, telephone number, order number and/or the Customer Service PIN from your purchase receipt, I'll get started.
    I'm very grateful that you wrote to us with your concerns.
    Sincerely,

  • Help with rebate form

    The form asked for eligible equipment phone number.  I transferred my upgrade from one phone to another number.  The receipt shows "eligible mdn"  for my old number and "activating mdn" for my new phone that I transferred it to.  I called and emailed verizon rebates and received two different answers.  One person said used old number and other said use new number on form.  I I use wrong number, then the rebate will be invalid......What do I do?

    The eligible equipment phone number would be the number of the eligible line - so the line you used to purchase the phone would be the one. Once the phone is purchased and the contract extended, you can activate the phone on any line... use the "eligible MDN".

  • Please help me with selecting the right institute for me

    HI All,
    Please help me which institute I should select for my SAP SD training?
    ONE INSTITUTE COVERING THE FOLLOWING TOPICS:
    Sales overview
    Enterprise structure related to SD
    Master data, like Customer master data, material master data, condition master data and Output master data.
    Partner determination
    Sales document types
    Item categories
    Schedule line categories
    Pricing: Condition table, access sequence, Condition type, pricing procedure
    Stock Posting
    Free goods
    Bills of Material
    Material determination
    Material Listing and Exclusion
    Incompletion logs
    Revenue account determination
    Credit management
    Outline agreements like quantity contract, value contract and scheduling agreements
    Shipping process like Shipping point determination, Route determination, Shipping conditions picking ,PGI
    Delivery types
    Delivery item categories
    Invoice process
    Billing types
    Special sales processes like cash sales, rush orders ,consignment process and Third party process
    Return sales process
    Credit memo process
    Debit memo process
    Availability check
    Rebate processing
    Intercompany sales
    Output determination
    Copy control
    Integration with MM,FI
    Technical topics like ABAP tables, user exits and IDOC’s
    Real time scenario’s
                   OR
    OTHER INSTITUTE COVERING THE FOLLOWING TOPICS:
    1. Introduction to Supply chain management
    2. Introduction to SAP ERP package
    3. Introduction to ASAP implementation methodology
    4. Lecture Demo on Basic navigation skills in SAP R/3
    5. SAP landscape. Tips and tricks
    6. Introduction to Enterprise structure in SD
    7. Overview of Material master records
    8. Demo on ROH, HAL and FERT creation
    9. Hands on exercise on creation of material mastesr records in SAP
    10. Introduction to SD master data (Business partners, conditions and outputs)
    11. Introduction to order processing and Demo
    12. Hands on exercises on sales order processing
    13. Introduction to delivery process, picking and post goods issue process
    14. Introduction to stock transport orders and inter-company stock transport Orders
    15. Exercises on delivery with respect to sales orders
    16. Introduction to billing process (Customer billing, Inter-company, Proforma, Credit memo and Debit memo)
    17. Introduction pricing procedure, condition records, condition tables and access sequence.
    18. Configuration on SD sales order types, delivery and billing
    19. Warehouse management overview
    20. Introduction to SAP WM configuration
    21. Demo by instructor on configuration
    22. Develop configuration scripts
    23. Introduction to develop BPP
    24. Hands on exercises to students
    25. Introduction to WM master data
    26. Introduction to transaction data in WM
    27. Hands on exercises on creation of master data elements in WM
    28. Hands on exercises to students on WM transaction data
    29. Introduction to CTS process (SE10, SCC1)
    30. Demo on WM business scenarios and integration points
    31. Introduction to develop integration test scenarios. Develop test scripts
    32. Introduction to OSS notes and SAP Help
    33. Introduction to EAI tools, FID, RF Gun, MDE, SAP console and hand held devices
    34. Introduction to SAP bold on tools (SRM, CRM, BW, SEM, GTS, CIC, FSCM, DP, SNP, PP/DS, GATP, CIF and Plug in)
    35. Introduction to quick reference guides, cheat sheet, FAQ, work instructions, job aides, transaction aides, work instructions and change management
    36.Interface between SD & FI
    37.C forms, H forms
    38.Excise Related Invoices
    39.CIN configuration (taxes)
    40. Debugging with help of ABAP Tool
    41.Excise Returns Process with pricing details
    42.Order, Delivery, Billing, exicise, Output types configuration

    You should talk to various institute.

  • Problem with Trade-In Phone Rebate

    I purchased a a new phone and was told I could send my old phone in for the $200 trade-in rebate.  I followed all the directions, got it turned in on time, and then a couple of weeks later I received an email saying I wasn't getting the $200, instead it was going to be $182 because the phone was marked as lost/stolen.  However, my rebate was to arrive within 3 weeks.  It's been almost 2 months now, and I called today.  I was told it was locked up and the rebate would not be sent out because of the lost/stolen status.  They said I needed to resolve that.  This phone was my son's.  He bought it brand new, and then a couple of years later upgraded to an Iphone 5.  He never reported it as stolen/lost.  However, the rebate center says they can't do anything about it, we will need to contact Apple.  Apple will require the EIN? number, which I would get on the phone, if I had it.  It is at the rebate center.  No one can clear it so I'm screwed out of the rebate.  When i called, I was forwarded to different people several times only to be looped right back to the first placed I'd called.  Everyone kept saying they couldn't do anything to clear it, but no one could tell me how I could get this cleared up.  The phone was never lost or stolen, but they keep saying I have to call the place where we originally called to report it lost or stolen.  Hello!!!!  It was never reported as lost or stolen.  So I don't know where to go from here.  Can anyone help me?

    Has your son tried logging in to his iCloud account to see if the phone still shows (assuming he had Find My Phone activated)? Or contacting Apple to see if the phone still shows as registered to him? Then he can maybe verify that he did not report the phone as stolen (I'be never reported an iPhone as stolen but doesn't it have to be reported to the carrier?). Not sure if any of this will help but it's worth a try

  • Please help me i have to finish this by tonight

    Hi Herewith I have enclosed the code.. I am not sure where i am going wrong..moreover i am very new to this technologies.. i need to finish this by tonight.. anyone helps that will be great..
    here is my problem.. i need to check a rebate id which exists in the database.. if it exists I have to update the value and if doesn't exits i have to insert a new row..
    My jsp will contails 10 rows.. Once after submit.. I have to check with the database whetehr that rebate_sku_num exits.. if exits i need to update that row.. if not i have to insert a new record.. here is my code.. please give some solution.. thanks
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.servlet.SingleThreadModel;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import java.io.IOException;
    import java.sql.ResultSet;
    import java.io.*;
    import java.util.*;
    import java.util.Date;
    import java.text.*;
    public class AddRebate extends HttpServlet implements SingleThreadModel {
    public void init(ServletConfig servletconfig) throws ServletException {
    super.init(servletconfig);
    public void doPost(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
    throws ServletException, IOException {
    HttpSession session;
    session = httpservletrequest.getSession(true);
    String user_name;
    String divisionCode;
    String rebate_sku_num[];
    String selectedMonth;
    String amount[];
    String message = "";
    String Query="";
    String RebateId="";
    boolean flag = true;
    // from here
    Calendar todaysdate = new GregorianCalendar();
    SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy");
    SimpleDateFormat sdf1 = new SimpleDateFormat("MM/dd/yyyy HH:MM:SS");     
    System.out.println("today's date: " + sdf.format(todaysdate.getTime()));
    String entryDate = sdf.format(todaysdate.getTime());
    String entryDate1 = sdf1.format(todaysdate.getTime());
    System.out.println("entering date is " +entryDate) ; 
    System.out.println("entering date is " +entryDate1) ; 
    // to here
    user_name = (String) session.getAttribute("user_name");
    divisionCode = (String) session.getAttribute("division_code");
    selectedMonth = httpservletrequest.getParameter("selectedMonth");
    rebate_sku_num = httpservletrequest.getParameterValues("rebateId");
    amount = httpservletrequest.getParameterValues("amount");
    System.out.println("AddRebate : doPost() : selectedMonth = " + selectedMonth);
    System.out.println("AddRebate : doPost() : rebate_sku_num = " + rebate_sku_num);
    System.out.println("AddRebate : doPost() : amount = " + amount);
    flag =true;
    if (flag) {
    // from here
    try {
    String s = "select REBATE_SKU_NUM from EASMSA_REBATE_SKU_DETAILS_TB";
    System.out.println("AdjustmentServlet : doGet() : getting maximum adjustment ID query : " + s);
    ResultSet resultset = DatabaseConnection.executeQuery(s);
    if (resultset != null) {
    while (resultset.next()) {
    RebateId = resultset.getString("REBATE_SKU_NUM");
    System.out.println("the REBATE_SKU_NUM is " + RebateId);
    }else{
    System.out.println("AdjustmentServlet : doGet() : getting maximum adjustment ID : resltset is null " );
    } catch (Exception exception1) {
    System.out.println("AdjustmentServlet : doGet() : exception in getting max of adjustment id");
    exception1.printStackTrace();
    // to herer
    for (int i = 0; i < rebate_sku_num.length; i++) {
    if ((rebate_sku_num[i] != RebateId)) {
    System.out.println("get the values" +rebate_sku_num);
    System.out.println("get the values" + RebateId);
    Query = "INSERT INTO EASMSA_REBATE_SKU_DETAILS_TB " +
    "( REBATE_SKU_NUM, REBATE_DATE, REBATE_AMT, CREATED_BY," +
    "CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE ) VALUES (" +
    "'" + rebate_sku_num[i] + "', " +
    "TO_Date( '" + "30/" + selectedMonth + "', 'dd/MM/YYYY HH:MI:SS AM'), " +
    "'" + amount[i] + "' , '" + user_name + "'" +
    ", TO_Date( '" + entryDate + "', 'MM/dd/YYYY HH:MI:SS AM')" +
    ", '" + user_name + "'," +
    " TO_Date( '" + entryDate + "', 'MM/dd/YYYY HH:MI:SS AM'))";
    System.out.println("query is executed" +Query);
    }else if ((rebate_sku_num[i] == RebateId )){
    Query = "update EASMSA_REBATE_SKU_DETAILS_TB set REBATE_AMT=" + amount[i] + " where REBATE_SKU_NUM='" + rebate_sku_num[i] + "'";
    System.out.println("query is executed for updation" +Query);
    try {
    if (DatabaseConnection.executeUpdate(Query) == 0) {
    System.out.println(" AddRebate : doPost() : rollback: error in executing update query= " + Query);
    DatabaseConnection.rollBack();
    message = "Some problem in updating transactions. Please try again later.";
    flag = false;
    break;
    } else {
    System.out.println("AddRebate : doPost() : update sucessfull");
    message = "Rebate Transactions has been updated.";
    flag = true;
    } catch (Exception ex) {
    System.out.println("AddRebate : doPost() : exception in update query");
    message = "Some problem in updating transactions. Please try again later.";
    flag = false;
    ex.printStackTrace();
    session.setAttribute("message", message);
    httpservletresponse.sendRedirect("Welcome1.jsp?s=y");
    return;

    hey try this code,i made changes in ur code,ur logic wasnt good on it
    thanks hithesh
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    import javax.servlet.SingleThreadModel;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import java.io.IOException;
    import java.sql.ResultSet;
    import java.io.*;
    import java.util.*;
    import java.util.Date;
    import java.text.*;
    public class AddRebate extends HttpServlet implements SingleThreadModel {
    public void init(ServletConfig servletconfig) throws ServletException {
    super.init(servletconfig);
    public void doPost(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
    throws ServletException, IOException {
    HttpSession session;
    session = httpservletrequest.getSession(true);
    String user_name;
    String divisionCode;
    String rebate_sku_num[];
    String selectedMonth;
    String amount[];
    String message = "";
    String Query="";
    String RebateId[];
    boolean flag = true;
    // from here
    Calendar todaysdate = new GregorianCalendar();
    SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy");
    SimpleDateFormat sdf1 = new SimpleDateFormat("MM/dd/yyyy HH:MM:SS");
    System.out.println("today's date: " + sdf.format(todaysdate.getTime()));
    String entryDate = sdf.format(todaysdate.getTime());
    String entryDate1 = sdf1.format(todaysdate.getTime());
    System.out.println("entering date is " +entryDate) ;
    System.out.println("entering date is " +entryDate1) ;
    // to here
    user_name = (String) session.getAttribute("user_name");
    divisionCode = (String) session.getAttribute("division_code");
    selectedMonth = httpservletrequest.getParameter("selectedMonth");
    rebate_sku_num = httpservletrequest.getParameterValues("rebateId");
    amount = httpservletrequest.getParameterValues("amount");
    System.out.println("AddRebate : doPost() : selectedMonth = " + selectedMonth);
    System.out.println("AddRebate : doPost() : rebate_sku_num = " + rebate_sku_num);
    System.out.println("AddRebate : doPost() : amount = " + amount);
    flag =true;
    if (flag) {
    // from here
    try {
    String s = "select REBATE_SKU_NUM from EASMSA_REBATE_SKU_DETAILS_TB";
    System.out.println("AdjustmentServlet : doGet() : getting maximum adjustment ID query : " + s);
    ResultSet resultset = DatabaseConnection.executeQuery(s);
    if (resultset != null) {
    int j=0;
    while (resultset.next()) {
    RebateId[j] = resultset.getString("REBATE_SKU_NUM");
    System.out.println("the REBATE_SKU_NUM is " + RebateId[j]);
    j++;
    }else{
    System.out.println("AdjustmentServlet : doGet() : getting maximum adjustment ID : resltset is null " );
    } catch (Exception exception1) {
    System.out.println("AdjustmentServlet : doGet() : exception in getting max of adjustment id");
    exception1.printStackTrace();
    // to herer
    for(int i=0; i<rebate_sku_num.length,i++){
         boolean flag=false;
         for (int j = 0; j < RebateId.length; j++) {
              if ((rebate_sku_num[i] == RebateId[j])) {
                   flag=true;//u found this id in database,so u need to update
                   break;
         if(!flag){//if not found,add into database
              System.out.println("get the values" +rebate_sku_num);
              System.out.println("get the values" + RebateId);
              Query = "INSERT INTO EASMSA_REBATE_SKU_DETAILS_TB " +
                   "( REBATE_SKU_NUM, REBATE_DATE, REBATE_AMT, CREATED_BY," +
                   "CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE ) VALUES (" +
                   "'" + rebate_sku_num + "', " +
                   "TO_Date( '" + "30/" + selectedMonth + "', 'dd/MM/YYYY HH:MI:SS AM'), " +
                   "'" + amount + "' , '" + user_name + "'" +
                   ", TO_Date( '" + entryDate + "', 'MM/dd/YYYY HH:MI:SS AM')" +
                   ", '" + user_name + "'," +
                   " TO_Date( '" + entryDate + "', 'MM/dd/YYYY HH:MI:SS AM'))";
              System.out.println("query is executed" +Query);
         else //if found just update the database
                   Query = "update EASMSA_REBATE_SKU_DETAILS_TB set REBATE_AMT=" + amount + " where REBATE_SKU_NUM='" + rebate_sku_num + "'";
                   System.out.println("query is executed for updation" +Query);
         try {
              if (DatabaseConnection.executeUpdate(Query) == 0) {
                   System.out.println(" AddRebate : doPost() : rollback: error in executing update query= " + Query);
                   DatabaseConnection.rollBack();
                   message = "Some problem in updating transactions. Please try again later.";
                   flag = false;
                   break;
              } else {
                   System.out.println("AddRebate : doPost() : update sucessfull");
                   message = "Rebate Transactions has been updated.";
                   flag = true;
         } catch (Exception ex) {
              System.out.println("AddRebate : doPost() : exception in update query");
              message = "Some problem in updating transactions. Please try again later.";
              flag = false;
              ex.printStackTrace();
    session.setAttribute("message", message);
    httpservletresponse.sendRedirect("Welcome1.jsp?s=y");
    return;

Maybe you are looking for

  • Connecting to a far-away Tiger laptop

    My daughter is away at school and needs some help with her laptop running 10.4. What's the best way(s) to do screen sharing without Leopard on both ends? I would upgrade her but her iBook doesn't meet the system requirements. Thanks

  • Excise (sales return) scenario PLEASE HELP

    Hi All We have a scenario, form our factory (exciseable) plant we have transfered the goods to our shop ( non Excise). And sold the material at VAT. Under sales replacement Policy we have taken the sales return at shop. Now we have to transfer the ma

  • Part of Excel file not converting

    I am batch creating Excel files to PDF using Adobe Acrobat Pro (9).  My settings are such that all tabs convert, but I have "parts" of one of the worksheet tabs that do not fully create.  In my Excel settings I am repeating columns A-D on each page a

  • FEATURE

    Explain me about the word Feature  in ABAP-HR?

  • Few concern about dataguard

    Hi Support Team, I have few concern about dataguard : 1) How many standby DR we can create for single Primary server ? 2) In which DB Server "Primary and Standy" : FAL_CLIENT and FAL_SERVER parameter is optional ? 2) What happen if in standby DR: we