Update Opportunity Totals button on Opprtunity Product Revenue line items

Hello,
In our application, the sales process is managed at the product revenue level. Each product line item goes through various stages and could be in the intiall state or get cancelled as well. I need to exclude these product revenue line items while updating the Revenue amount at the Opprtunity Header. With the <Update Opportunity Totals> button, the total is updated at the header irespective of the product reveneue status. I think I need to build a custome webservice to do that.
I need to find out if the <Update Opportunity Totals> button can be made read-only or removed based on roles and priveledges.
Thanks

Robin,
You can't turn off the button, but OOTB functionality can help you manage this. In our case, we created a workflow for the Revenue Record Type. The workflow watches for changes to the status of any Opty Revenue record, via the "Before modifed record saved" trigger event. When a user changes the status of an Opportunity Product Line Item to a specified value, "Lost" in our case, the workflow automatically updates the Quantity value at the line item to 0, and the Revenue and Expected Revenue values at the Opty Product Line Item level are calculated to be zero accordingly. When the user updates the totals at the Opty level, the totals inlcude only the records that have revenue associated with them at the Opty Prod Line Item level.
I assume your requirements are similar and the same approach could be used in your case.
Good Luck,
Thom

Similar Messages

  • Add logic behind 'Update Opportunity Totals' button in Oracle CRM On Demand

    HI,
    I need to add custom logic behind 'Update Opportunity Totals' button in Oracle CRM On Demand. Can anyone please let me know where can I implement this logic? Where can I find already implemented code of  'Update Opportunity Totals' button.
    Thanks,
    RM

    Pl post this in a Siebel related forum
    HTH
    Srini

  • Update Opportunity Totals - trigger this action

    Is there a way to trigger the Update Opportunity Totals action (so the user does not have to click on the button)?

    Does anyone know if this functionality is available yet?
    I have a customer that would like to know if there is a way to automate the clicking of the "Update Opportunity Totals" button everytime someone changes the product revenue record(s). Their issue is that if a user forgets to click the Update Opportunity Totals button after making a change that the Opportunity totals will be off.
    Is there any work arounds for this?
    Thanks.

  • Disable the Update Opportunity Totals

    Has anyone come up with a way of disabling the "Update Opportunity Totals" button on the Opportunity Page. Without going into detail, under certain circumstances, when our users click the button we come up with incorrect totals. This is due to our implmentation and how we populate the frequency & # of periods, not Oracle.
    I looked into trying to add something in the in HTML Head Additions section of the custom web applet, that would disable just this button, but could not come up with anything.
    The code that is executed when the button is selected is:
    <div tabindex="5" onmouseover="toggleNavButton(this);" onkeypress="onButtonPress(this);" onmouseout="toggleNavButton(this);" class="buttonChildTitleBarTD" onclick="doNavigate('\/OnDemand\/user\/OpportunityDetail?OMTGT=RevenueList&OMCR0=1-19FGQ67&OpptyDetailForm.Id=1-19FGQ67&OMRET0=OpportunityDetail%3focTitle%3dDixie%2bPAS%26OMTGT%3dOpptyDetailForm%26OMTHD%3dOpportunityDetailNav%26ocEdit%3dY%26OpptyDetailForm.Id%3d1-19FGQ67%26OCTYPE%3d%26ocTitleField%3dName&OMCBO=Opportunity&OCTYPE=&OMTHD=UpdateTotals',true, this, null);" id="ProductRevenueChildListTB28508260*1">&#160;Update Opportunity Totals&#160;</div>
    Any thoughts?

    You can't remove the Update opty total button but I had a similar issue, we capture revenue in 2 fields mthly and inital setup and it wouldn't use both and send it to the Opty total so we looked at redesigning it. I have 2 new currency fields and when a record is updated it divides the initial setup by # periods and adds that figure to the monthly figure and puts it in the currency field that displays in related items. The update Opty button then works with the correct numbers. Of course this goes in right after R16 because then I can remove the original Monthly revenue field off the related items section.
    cheers
    Alex

  • Update Opportunity Totals automatic ?

    Hello,
    Pls. is it possible somehow to automate the "click" on the Update Opportunity Totals button in the Opp. ? There is a tendency to forget the click... and the opp. value is not up to date...
    Txs.
    Antonio

    Antonio, this is something that is being considered in a future CRM On Demand release.

  • Modify functionality of "Update Opportunity Totals"

    Hi all,
    We are looking to modify the functionality of the button, "Update Opportunity Totals" in the Opportunities screen.
    Can you share some pointers as to where can I find the flow, and modify the same to change the fields included maybe, and/or modify the calculations in effect ?
    Best Regards

    Hi,
    what you can do is hide the standard button and instead insert a custom button with DOM manipulation (Global Web Applet in Action Bar with onload event). Afterwards you have to Query the Revenues (js query with sso) and update the opportunity (js insert)
    Best Regards
    SL

  • Final total cannot appear when the last line item reached the page end

    Hi All,
    My report included 2 pages. Problem is the final total cannot appear when the last line item reached the page end. (page 2)
    final total will appear on the middle of last page (page 3) when i comment (type    = 'BOTTOM').
    Below is the program.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = 'X'
          form     = 'ZBOTM_VOUCHER'
          language = sy-langu.
      sort itab by vblnr.
      LOOP AT itab INTO wa_itab.
        move wa_itab-vblnr to reguh-vblnr.
        move wa_itab-lifnr to reguh-lifnr.
        move wa_itab-rbetr to reguh-rbetr.
        reguh-rbetr = reguh-rbetr * -1.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window  = 'MAIN'
            element = 'DETAIL'.
        t_rbetr = reguh-rbetr + t_rbetr.
        AT LAST.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              window = 'LINE'.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              element = 'TOTAL'.
              type    = 'BOTTOM'
              WINDOW  = 'MAIN'.
        ENDAT.
    Thanks.

    Hi,
    Where should I include the code for bottom?
    How to open text editor?
    Thanks.
    Edited by: Alice8 on Feb 7, 2011 9:09 AM

  • Mass update of a custom field at Product Revenue level

    We are trying to update a custom field at Product Revenue level using the Opportunity Web Service. The webservice call is timing out as we have thousands of Opportunities.
    I would appreciate if anybody gives input on how we can massively update a custom field using Opportunity Web Service.
    OR
    Is there a way to mass update a custom field at Product Revenue level other than using a web service.
    Thanks for your help!
    -purna

    If you are not very much obsessed with Webservices, the other workaround is the Data Loader Tool. It was discussed earlier in this forum.
    Pl refer-
    Re: Product Revebue Updation
    Hope this helps.
    Rgds,
    Amit Sahu

  • Comparing currency of an Opportunity with product revenue line

    Hello,
    I am trying to build a report that will display all the opportunities and the product revenue records where the currency on opportunity records do not match the corresponding currency on the related pportunity product revenue records.
    Any suggestion.
    Thanks,
    Nitika

    Nitika,
    Create a report with opty currency and opty product currency, open the formula for opty product currency and copy the field value. Add a filter to opty currency, change the operator to not equal to for the value put in 1 select advanced - convert to sql, replace the number 1 with the value of opty product currency so yu have a filter that says opty currency not equal to opty product currency

  • Update a custmer field on time entry product on line item in SAP CRM

    Hi ,
           I want to update a custom field  in Customer_i  during the time of entry a product on that line item, I have not find out any BADI's to do this.  I have check CRMD_ORDERADM_I_BADI and CRMD_CUSTOMER_I_BADI , but those those are trigger when a filds change on corresponding structure and it only update value of field their corresponding structure. Anybody can help me for the same.

    Hi ,
           I want to update a custom field  in Customer_i  during the time of entry a product on that line item, I have not find out any BADI's to do this.  I have check CRMD_ORDERADM_I_BADI and CRMD_CUSTOMER_I_BADI , but those those are trigger when a filds change on corresponding structure and it only update value of field their corresponding structure. Anybody can help me for the same.

  • Stop price update of  delivered but un-invoiced (non-invoiced) line items

    Hi Gurus,
    I need some help regarding price update of line items which are delivered but not invoiced yet.
    Case 1:
    I am calling the FM 'BAPI_SALESORDER_CHANGE' and passing the line item (say 10) whose price needs to be updated. This line item is neither delivered nor invoiced. Result, correct change of price for line item 10.
    Case 2:
    In the above order, i am adding another line item (say 30), which is completely delivered, but I have not yet created an invoice for it. I want that this line item's price should not be changed (as delivery is already created for it). So, in my price update report, I check and filter this line item (10) and pass only line item 30 to the BAPI. Result: not only line item 30 but line item 10 also gets updated with new price!!
    Case 3:
    I created a new line item(40) and created an invoice for it after completely delivering it. When I call the BAPI now, I again filter the line items 30 and 40 and pass only line item 10 which i want to be updated.
    Result:
    Line item 10 - updated with new price
    Line item 30 - updated with new price
    Line item 40 - not updated
    Requirement:
    Any line item that is completely delivered should not be updated with the new price regardless of it having an invoice or not.
    Assumptions:
    I am running a custom report to find the line items that need change and calling the BAPI_SALESORDER_CHANGE and passing those line items to update the price.
    Problem faced:
    This process is updating all line items in the SO that are not invoiced regardless of weather I am passing it to the BAPI or not
    As far as i know, the checking of the invoice is in some standard program, and hence had debugged the BAPI and got the FM SD_SALES_DOCUMENT_SAVE which in my opinion is doing the change. But on further debugging I lost track of the tables which were holding the data as the code is flowing through a number of user exits and standard forms.
    Please help!

    Hi Soumyo,
    In Pricing Update screen, you will find pricing type X, Y and Z which you can use to define your own pricing update scenarios.  Check OSS note 24832. This note provides enough details about each of the update pricing options and also explains on how to use pricing update X, Y, and Z.  Let me know if you need any more help on this.
    Thanks & Regards
    Kapil Sharma
    Author - Configuring SAP ERP Sales and Distribution

  • Production order line item data

    Hello All,
    I am working on production orders co03 rite now.
    I want to access the line item data for a particular order,
    AUFK and AFPO  are not giving the details i need,
    please advise,
    thanks,
    Gaurav

    Dear Gaurav,
    U shud try the Table AUFM to get the details u r looking for.
    U will get your required output.
    Reward points if u feel it was helpful
    Regards
    Srinivasan

  • How to add the total batch quantity in the delivery line item

    Hi ,
    I have one reqirement.the delivery items are having the batch splits.
    Any Specific function module to add the individual line item level batch qty and assign to line item quantity.
    Please suggest me for this requirement.
    Thanks,
    Sri.

    Hi,
       Please check the FM 'VB_BATCH_DETERMINATION' for batch splits.
    Reward points if useful.
    Regards,
    Abhishek

  • How tomaintain product revenue when the oppty is in sales stage Closed/Lost

    When the opportunity is in the closed/lost stage the product revenue is always zero. How can we move the opportunity to closed/lost but still maintain the revenue values for the products.
    We use the product revenue to report opportunity revenue...
    thanks..

    I always use "Opportunity-Product History" for my pipeline reports. In this subject area "Product Revenue" is available for Opportunities which are "Closed/Lost". I would log this as a bug with Oracle as it clearly should not set the Product Revenue to 0 in the Product History subject area.
    In this subject area I can create reports and trace back Opportunity Revenue and Product Revenue. I have multiple pipeline reports running at both levels which are accurate for mutiple deals. If you do decide to use this subject area beware of the following:
    - Dont use the Sales Stage or Probability Successs % at Product level as it does not update as a user steps through the sales stages. Use the opportunity details for accuracy
    - If you want a weighted product revenue calculate this based on the Opportunity Probability % and the Total Product Revenue, do not use the out of the box metrics
    Regarding your second question, Opportunity Revenue puts the total opportunity amount in your pipeline on the date of the opportunity close date. It also gets updated when a user adds a product and presses the "Update Opportunity Totals" button, this sets the Opportunity Revenue to the total of the Product Revenue from the products you entered. Sometimes users forget to press this button and the revenue is out of alignment. Opportunity Revenue can also be updated if you have the setting "Product Averaging" enabled in your company profile, this takes an average of the Product Revenue and updated the Opportunity Total when a user presses the "Update Opportunity Totals" button. These metrics are updated each evening, you are using the History subject areas which take 24hours to refresh. Does that answer your question?

  • Opportunity and Product Revenue

    Hi,
    An opportunity has many product revenue lines. The opporutnity has a close date and each product revenue line has a close date.
    If the opportunity close date changes by 1 month then all the close dates on the product revenue lines need to be changed by a month also.
    I think we have to use webservice, Can any body help me out regd. this requirement.
    Thnx & Reg.

    You may be able to create an integration event and watch the event queue - if close date changes on the Opportunity, run a web service call to update the opportunity products.
    It would be great if this could be done totally within a workflow (no web services) but I don't know if that's possible since it spans objects.

Maybe you are looking for

  • Itunes closes everytime I click on my ipod playlist

    Itunes shuts down everytime I click on anything within my ipod. Because of this I cannot delete anything off of my ipod.

  • Internal Hard drive dismounts when downloading from iTunes Store?

    I am having an issue when I download content from the iTunes Store to my Mac Pro. I have my Media Library on the second Internal Hard drive (an Hitachi). When I download content after a while -usually half-way through a download or after a few minute

  • HFR login in error

    Hi All, I'm using HFR 9.3.1V, I'm able to login to FR studio using admin ID, but while draging a Grid in to report to create a new report it si giving some error: Error: DatasourceIDLogin.LoadDatasourceNames Error: -2147467259 Error Loading Datasourc

  • During typing sporadically keys do not respond immediately.

    Sometimes (not constant) when typing, the key does not respond immediately. If I wait 15-30 sec. Then it responds as we'll as additional keys I may have tapped. Also when attempting to save an email to a specific folder, I tap the "save" icon then in

  • IPhoto Import Script

    I am attempting to write a script (droplet) that when I drop a folder on it, it will import the photos in that folder into iPhoto into an album name that is the name of the folder I dropped on it. Here is what I have so far: --on open (this_folder) t