Opportunity Revenue Calculation by using the Opportunity Product revenue

Hello All,
I created one cusotom field on the opportunity, in that i want to populated the value as the result of Opportunity Revenue/#period( it is sum of all the opportunitied from the Opportunity Product detail page). Now what my question is how to get the Period value from the Opportunity Product Revenue page. Could you please suggest on this.
Thanks & regards
Subbu

timestampdiff() is a analytics function, not a expression builder function. They are two different sets of functions and can not be mix matched.
for number of period, you could use:
JulianMonth ( end date) - JulianMonth ( start date)
The relationship of product revenue and oppty is M:1. how are you going to roll up many different number of period in oppty reocord, even with Web services? Therefore, if the start and end date are on product revenue, this average should be on Product Revenue and you are looking at average revenue for each product; if the start and end date are on Opporty, it should be on Opporty and it's average revenue for the opporty .
Cheers!
Shilei

Similar Messages

  • Is it possible to install Lightroom 4.1 on more than one computer using the same product code?

    is it possible to install Lightroom 4.1 on more than one computer using the same product code?

    Yes, your license key is cross platform PC & or Mac you are allowed to have two current installations with one in use at any point in time. You can uninstall / install as many times as is necessary so long as you adhere to the limits.

  • [URGENT] Opportunity.wsdl - how to query the opportunity revenue?

    Hi All,
    I need to write a web services (opportunity.wsdl) to query the Item Revenue from the opportunity. How can be done? Refer the screenshot below,
    The code as below,
    Dim lstOfOppQuery As New ListOfOpportunityQuery
    Dim lstOfProdRevQuery As New ListOfProductRevenueQuery
    lstOfOppQuery.Opportunity = myOppQuery
    lstOfProdRevQuery.ProductRevenue = myProdRevQuery
    'Number of records to fetch
    lstOfOppQuery.pagesize = "100"
    lstOfProdRevQuery.pagesize = "100"
    'Set OpportunityQueryPage_Input
    Dim myOppInput As New OpportunityQueryPage_Input
    'Dim myOppInput1 As New reven
    myOppInput.ListOfOpportunity = lstOfOppQuery
    'myOppInput.ListOfOpportunity = lstOfProdRevQuery
    'Get the output
    Dim myOutput As OpportunityQueryPage_Output
    'Dim myOutput As
    myOutput = accntPrxy.OpportunityQueryPage(myOppInput)
    I able to query the opportunity data but failed to input and output the revenue, please help.
    Please have a guide. Thanks :)
    Edited by: 911468 on 09-Apr-2012 00:32

    This is how I query opportunity & product revenue:
    Opportunity prxySrvc = new Opportunity();
    OpportunityQueryPage_Input objQryParam = new OpportunityQueryPage_Input();
    OpportunityQueryPage_Output objQryOut = new OpportunityQueryPage_Output();
    ListOfOpportunityQuery ListOfOpptyQuery = new ListOfOpportunityQuery();
    OpportunityQuery myOpptyQuery = new OpportunityQuery();
    ListOfProductRevenueQuery ListOfProdRevQuery = new ListOfProductRevenueQuery();
    ProductRevenueQuery myProdRevQuery = new ProductRevenueQuery();
    (query values to return)
    myOpptyQuery.Id = query_field;
    myProdRevQuery.Id = query_field;
    ListOfProdRevQuery.ProductRevenue = myProdRevQuery;
    myOpptyQuery.ListOfProductRevenue = ListOfProdRevQuery;
    ListOfOpptyQuery.Opportunity = myOpptyQuery;
    objQryParam.ListOfOpportunity = ListOfOpptyQuery;
    prxySrvc.Url = mSession.GetURL();
    objQryOut = prxySrvc.OpportunityQueryPage(objQryParam);
    (output data)
    objQryOut.ListOfOpportunity.Opportunity[index].Id
    objQryOut.ListOfOpportunity.Opportunity[index].ListOfProductRevenue.ProductRevenue[childIndex].Id

  • How to use the opportunity stub classes to retrieve the opportunity objects

    Hello ,
    I have downloaded WSDL file for opportunity and i have created the stub classes by using axis as WSDL to java. Can any body suggest me , how can i use those created stub classes to retrieve the opportunity objects ?.
    Thanks,
    --bdr_09
    Edited by: bdr on Feb 3, 2009 1:54 AM

    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Tools8.html#63055

  • Can I use the fields Product allocation and Basic material for bifurcation of material

    Dear Users,
    We have a requirement for bifurcation of material so we need two field in material master for fulfilling the requirement. First requirement is material category like insurance or revenue etc., second requirement is department wise like electrical, maintenance etc, so i have choosen the fields 'Product allocation' in basic data 1 screen in material master for fulfilling department requirement and then in basic data 2 i have choosen 'Basic Material' field for fulfilling material category requirement. My doubt is whether this change will effect the reports and i need to know the effects of such changes.
    Thanks,
    Manoj

    As you are trying to use the standard fields, so you can read the F1 help for these fields.
    Also check in which table and program, the fields are used.
    Read the F1 help and find the table and program by using this document How to find Table name for a Field which is shown structure name on press F1.
    After reading this, If these fields are suitable for your requirement, then you can continue.
    Regards
    Dev

  • How can we use the feilds "Product Attribute" -sales org2 in material maste

    give me any simple scenario/ example where you can use the above feild
    Thanks in advance
    Jaya Ho
    regds

    Hi Sunitha,
    This prevents customers from buying products that they are not allowed or do not want.
    For Example,
    Say Product Attribute 1 = FAT content above 30%.
    And Material 100001 has Fat content above 30%... So you mark Prod Attribute 1 in material master.
    Now you need to mark "Prod Attribute 1" in the customer master (Ship to Party) who does not want to buy materials which has Fat content above 30%.....
    Say you marked Prod Attribute 1 for Customer XXXXX.... and trying to create Sales order for this customer with material 100001... You will get the message as per Sales Doc Type settings.
    So now the system will give you an Error/ Warning/No message as per setting done in Sales Doc Type - Product Attribute message filed in VOV8.
    Hope this will be helpful to you...
    Muthu
    Edited by: Muthupandiyan C on Mar 4, 2009 8:09 PM

  • Calculating FFT using the FFTAverageType variable in DIadem

    Hi,
    I have some doubts about how should I use the averagingType variable. I want to define this variable as "Arithmetic" and get the combined FFT of two trials of the same process, i.e I have two signals which represent the same process.
    What I do is just calculate the FFT of each signal separately. Then I calculate the amplitude of each FFT signal and finally i combine these two signals by doing the mean for each amplitude. I.E if i have signal1FFT = (1 , 2 ......23 ) and signal2FFT = (2,4, ...43 ) the resulting signal should be ( 3/2 , 6/2 ...... 66/2 )
    Am I correct about what this averaging type variable does? When i try to do the same in other mathematic programs I get different results but I don't know exactly what I am doing wrong,
    Thank you so much for the help!

    There are several ways to approach averaging in the FFT environment.
    FFTAverageType is should be "Arithmetic" which means that all FFTs are weighted equal.
    The Exponential averaging is kind of a running average for special calculations which are typically done during a running measurement.
    Much more important is the parameter in "Calculate average from:" (Amplitude or Autospectrum)
    Amplitude is giving a linear result and Autospectrum is giving the result based on squared values. The squared result is the correct result from an energetic point of view.
    Example:
    If you have a sine with a peak of 2 for one second and a peak of 4 for another second, you might want to get and averaged peak of 3.This might be wrong.
    The RMS value of a sine with a peak of 3 would be 2.121.
    The RMS which is representing the energy in a signal is the root of the average of the squared values. The RMS of a signal with half the time 2 and half the time 4 is 2.236. This means, that a sine with the peak of 3.162 for two seconds has the same RMS as the signal with a peak of 2 and 4 for one second each.
    If you average FFTs in DIAdem you need to decide between the linear average (based on the peak Amplitude) and the energetic correct squared average (based on the Autospectrum). Right or wrong depends on your circumstances.
    Usually, other mathematic programs are giving you the choice to decide or they might just use one or the other method.

  • About confirmation of the rights to use the apple product photos on your website.

    I would like to use apple product photos published on your website when I renew my website for new business strategy.
    Usually we have to recieve prior approval from copyright holder before action or publishing on the web in Korea.
    I love apple & products, so I would like to introduce my solution based on the web with yours.
    Please let me know how to recieve prior approval.
    I think It isn't that serious problems, right?
    Helpful to make a new customer of apple products ....~!

    You can try to contact Apple after taking a look at this page:
    http://www.apple.com/legal/trademark/
    And you will need to get approval first.

  • I have buy a CS6 Master collection before,but i have reset my computer yesterday.i forget to deactivate the product, so i can't activate the product now to use the full product?

    why did it happen?

    You are allowed to have two activated installations, so if you already had two activations in use then you cannot actiovate a thrid unless you deactivate one of the other two.  If you only had one activation used up then you should still be able to activate a second installation.
    You should contact Adobe support and have them deactivate the original one that you forgot to.
    Start Here  If after selecting relevant responses you are unable to find a solution, choose "Still need help? Contact us." and the chat contact option.

  • Updating product revenue close date based off opportunity close date

    We do not use the product revenue close date, only the opportunity close date. We need to get the fiscal month of the opportunity close date but we have several reports the need to use the opportunity product history area and that does not contain the fiscal month for the opportunity. If we did a combined report, we cannot offer the user any prompts.
    Does anyone know how to get the opportunity close date fiscal month from the opportunity products area? Is there a way to update the product revenue close date when the opportunity close date it updated?
    Thanks

    Hi David,
    In the universe you describe you have the opportunity 'Close Date'. Use a 'case-when' expression to create the 'Fiscal Month' you need.
    Other than that you can use the JoinFieldValue function in the application to retrieve the opty close date, but that will require you to update product revenue for it to trigger which probably won't work for you.
    Good luck.

  • Performing Intersect on Opportunity History and Opportunity Product Revenue

    I've reviewed as many postings on Intesect and Union as I possibly can, but I'm still stumped.
    In my case, I'd like to put data from the Opportunity History together with the Opportunity Product Revenue History. I can get it somewhat close to what I'd expect, but I'm not quite there.
    What I want to do is report on some info associated with an Opportunity (including Primary Contact info) and associated Opportunity Product Revenue (like Deductible).
    What I THINK I want is an INTERSECTION. Let's say take the info from Opportunity History associated with a particular Opportunity ID and append (add more columns) from Opportunity Product Revenue History that correspond with that Opportunity ID.
    Well, an INTERSECT gives me no results.
    A UNION does give me results, but I get one row that has Opportunity History info followed by another row that has the info for the Opportunity Product Revenue History, but not the Opportunity History. How do I get this to be one row? (I'm assuming I'll still get multiple rows as there can be several Opportunity Product Revenue records per Opportunity.)

    I thought that might get somewhere. I tried a Pivot Table. By default, I still was getting two lines. I tweaked a few things (like using First as the aggregation rule on most of the columns). I got down to one line. It LOOKED good (though I didn't confirm the results). Unfortunately, I ultimately need to download the file. When I downloaded I was back to the two lines for each Opportunity scenario.
    Other ideas?

  • Pull Opportunity Contact Ship Address using Opportunity-Product History

    Hi,
    I am looking for a way to report opportunities and I need to be able to pull the opportunity contact's ship to address. I'm using the Opportunity-Product History view as it is the only one that has the custom fields that I need.
    Any ideas as I didn't see opportunity contact to choose from, much less the address.

    I'm still confused, obviously I don't know how to do a union. It keeps telling me that I must select the same number of columns from both reports. I thought that this would be as simple as a JOIN in SQL...I guess not.
    FYI, I can't find the key contact address anywhere, anyway.

  • 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?

  • Account of the opportunity is not populated after the creation of a task

    Hi,
    In our project, we are using the Opportunity Object after the creation of a task. Our tasks are always related to an existing account.
    I was wondering why when I create an opportunity from a task, the field "Account Name" is not populated by default with the account name related to the task.
    Any ideas?
    Regards,
    Dara
    Edited by: user6469826 on 2 août 2011 11:40

    Contact an electronics repair shop.

  • HT4007 I have just transferred all my raw, jpeg & tiff files into LR4 and using to opportunity to delete old raw files to free up disc space. How can i completely remove a raw file from my msc disc??

    I have just transferred all my raw, jpeg & tiff files into LR4 and using the  opportunity to delete old raw files to free up disc space. How can i completely remove a raw file from my mac disc??

    I'd be careful here: LR references files. It can copy them, like from an SD card to your hard drive, but it doesn't necessarily make duplicates. So when you say you "transferred" those files "into" LR it just means you referenced existing files. And if you delete those they're gone, unless you've made copies. LR does not import files by copying them into a managed library like Aperture does.

Maybe you are looking for

  • Assignment in Billing document displays different value than sort key

    Hello, The billing document is generated from VBRK where no manual intervention is possible. The accounting document which gets generated is directly posted in system. Sort key is used to fill up the assignment field at line item level. In case we ha

  • Firefox does not run smooth while loading websites.

    Firefox does not work smoothly when it is loading any webpage. Specially, when I open new tabs and load new websites while it is still loading last website in other tab, the situation becomes worse. Main problems that occur are - page will not scroll

  • Power button not working with 7.1 update

    Power button not working with 7.1 update

  • Changes in PrPro Forum Structure

    Looks like we got a change in the Forum structure for PrPro (I've seen some changes in other forums too). So far, I have to say that I like it. Only concern would be for those users on CS 4 and Earlier, who might get lost a bit, and just post to the

  • Employee photo upload from BSP

    Dear experts, I'm trying to upload employee photos from a BSP. However, as they have to be stored on the content server and linked to the employee number, I don't know which FM's are need to be called. I'd thank you if you can provide me a step by st