PRE function on revenue records

Does the PRE function not work on revenue records? I have a simple workflow that emails someone when the qty has changed. The email is not showing the previous qty though.
Any suggestions?
Edited by: DavidG2 on Dec 3, 2009 9:05 AM

Hi. I have tried below in my env and it works.
workflow condition:
[<Revenue>] != PRE('<Revenue>')
Email Content:
%%%IIf([<Revenue>] != PRE('<Revenue>'), "Before:" + PRE('<Revenue>')+" After:"+[<Revenue>], "Before:   After:")%%%
*Pls change != to correct operator (< & >) because when i put it here, its dissapeared.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Using PRE Function to report field changes

    Hi Everyone,
    As they reporting on audit trail is not available, I was wondering if there was a work around using the PRE function (or any other way) in analytics.
    We're looking to track Revenue changes with respect to Opportunities (so, if Opp A's Revenue ever changed since the first time the $ amount was submitted) - we're especially interested in reporting on weekly changes. If the weekly isn't possible, tracking any change would be helpful.
    Any suggestions?
    Thanks!

    Why not create a workflow using the PRE() function to record the changes in a Task, you could then report on that task.
    cheers
    Alex

  • Workflow Help - Using PRE function

    Hi,
    I need to create a workflow on "when modified record saved" trigger event using PRE function. I am currently using this syntax :
    (FieldValue('<IndexedPick0>')='Central') AND (FieldValue('<SalesStage>')='Qualified') OR (FieldValue('<SalesStage>')= 'Approach') OR (FieldValue('<SalesStage>')= 'Quote') OR (FieldValue('<SalesStage>')='Negotiation')
    What we want this workflow to do is to send an email only when a sales stage is modified or changed to the values above in the syntax, not anything else on the opportunity page.
    Waiting for a response.
    Thanks in advance
    Ahmed

    Hi !
    Try this :
    *&#91;&lt;IndexedPick0&gt;&#93; = 'Central' AND &#91;&lt;SalesStage&gt;&#93; &lt;&gt; PRE('&lt;SalesStage&gt;') AND (&#91;&lt;SalesStage&gt;&#93; = 'Qualified' OR &#91;&lt;SalesStage&gt;&#93; = 'Approach' OR &#91;&lt;SalesStage&gt;&#93; = 'Quote' OR &#91;&lt;SalesStage&gt;&#93; = 'Negotiation')*
    This will trigger only when salestage is modified to 1 of the 4 stages and indexedpick0 = 'Central'.
    Hope this will help, feel free to ask more !
    Max

  • Different behavior from the PRE function based on BMRS and WMRS

    Hi All,
    We are seeing different behavior from the PRE function based on whether the type is Before Modified Record Saved or When Modified Record Saved. Should the PRE function work the same for both as long as there is not a Wait action in the WMRS workflow?
    (((PRE('<plTier_ITAG>') <> [<plTier_ITAG>]) AND ([<plTier_ITAG>] = '2 - BA')) AND [<IndexedPick4>] = 'FSCM')
    Explaination: The Tier field changes AND now equals Tier 2, AND Application is equal to 'FSCM'
    The same expression fires only as designed in BRMS, but in WMRS it fires every time a SR is in Tier 2 and IndexedPick4 = 'FSCM', regardless of whether a change was made to the Tier field.

    Try changing your syntax around to something like -:
    PRE('<plTier_ITAG>') {NOT EQUAL} '2 - BA' AND [<plTier_ITAG>] = '2 - BA' AND [<IndexedPick4>] = 'FSCM'
    +i.e. Previous value of Tier is not equal to "2 - BA" and current value of Tier equals "2 - BA" and IndexedPick4 equals "FSCM". Replace {NOT EQUAL} with the appropriate syntax+
    Regards,
    Cam

  • I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    Good work, thanks for the report.

  • Can't use function in creating record group

    Gurus,
    This question is for developers. Is this true one can't use
    function in creating record group. I am using form5.
    thanks,
    ZW

    I figured out the issue... they changed the way Group Calls are limited.
    Here's a full explaination - and a suggestion for a behavior fix: http://community.skype.com/t5/Windows-desktop-client/Please-Fix-Group-Video-Voice-Calling-Limit-Beha...
    Long story short, you can't do a video calling at all if the group has more than 10 people in it total (including you).
    Also, you can't do voice calling in groups with more than 25 people.
    Text chats are limited to 300 people (or so I've been told by Skype employees). I've been in a chat with over 100 participants though so I know it goes that high at least.

  • How to access Revenue records

    <b>[This thread was migrated from the On Demand Developer Forum in the old Siebel Community] </b>
    algocode
    New Contributor
    I try connecting to Revenue records with web services using the same user
    ID with which I'm able to create Service Revenue Details information from
    the CRM OnDeman user interface but instead, I get an error message saying
    "Access denied.(SBL-DAT-00553)";(SBL-EAI-04376).
    Why can't the web service read the revenue records that I am able to
    create or update manually from the CRM OnDemand portal, with the same ID?
    Product: General: IT Organizations and Processes
    10-27-2006 11:25 AM
    Re: how to access Revenue records
    algocode
    New Contributor
    Inside a class extending System.Web.UI.Page, I use the
    secure.crmondemand.com/OnDemand/user/account.wsdl?WSDLOBJ=account web
    service to
    1. Create a list of accounts and specify the fields returned by the
    result set;
    2. Create an AccountWS_AccountQueryPage_Input object;
    3. Retrieve an AccountWS_AccountQueryPage_Output object;
    These are the three methods involved:
    protected void Page_Load(object sender, System.EventArgs e)
    Account1[] objListOfAccount;
    //Initialize the ListOfAccount Arrays and Sub-Arrays
    objListOfAccount = createListOfAccount("";
    //Specify the Account Search Criteria
    objListOfAccount[0].AccountName = "LIKE '" + data["Account"] + "*'";
    //Tell OnDemand What Account fileds should be returned in the result set
    objListOfAccount[0].AccountId = "";
    objListOfAccount[0].Location = "";
    //Tell OnDemand What fields to return on the Opportunity Child
    objListOfAccount[0].ListOfOpportunity[0].OpportunityId = "";
    objListOfAccount[0].ListOfOpportunity[0].OpportunityName = "";
    objListOfAccount[0].ListOfOpportunity[0].CurrencyCode = "";
    //Tell OnDemand What fields to return on the Opportunity Service Child
    objListOfAccount[0].ListOfRevenue[0].RevenueId = "";
    objListOfAccount[0].ListOfRevenue[0].OpportunityName = "";
    objListOfAccount[0].ListOfRevenue[0].NumberOfPeriods = "";
    objListOfAccount[0].ListOfRevenue[0].Frequency = "";
    objListOfAccount[0].ListOfRevenue[0].StartCloseDate = "";
    //Call the Account Query
    AccountWS_AccountQueryPage_Input objAccQryParam =
    new
    AccountWS_AccountQueryPage_Input();
    objAccQryParam.ListOfAccount = objListOfAccount;
    objAccQryParam.PageSize = "90";
    AccountWS_AccountQueryPage_Output objQryOutput =
    RetrieveQueryPageOutput(objAccQryParam, session);
    public Account1[] createListOfAccount(string pstrAccountDimensions)
    int intAccountCount = 1;
    int intOpportunityCount = 20;
    int intRevenueCount = 10;
    try
    Account1[] rtnListOfAccount = new Account1[intAccountCount];
    for (int intAccIdx = 0; intAccIdx < intAccountCount; intAccIdx++)
    rtnListOfAccount[intAccIdx] = new Account1();
    rtnListOfAccount[intAccIdx].ListOfOpportunity =
    new
    Opportunity[intOpportunityCount];
    rtnListOfAccount[intAccIdx].ListOfRevenue =
    new Revenue[intRevenueCount];
    for (int intOppIdx = 0; intOppIdx < intOpportunityCount;
    intOppIdx++)
    rtnListOfAccount[intAccIdx].ListOfOpportunity[intOppIdx] =
    new Opportunity();
    for (int intRevIdx = 0; intRevIdx < intRevenueCount; intRevIdx++)
    rtnListOfAccount[intAccIdx].ListOfRevenue[intRevIdx] =
    new Revenue();
    return rtnListOfAccount;
    catch (Exception objExcep)
    throw objExcep;
    public AccountWS_AccountQueryPage_Output RetrieveQueryPageOutput(
    AccountWS_AccountQueryPage_Input qpinput,
    Session session)
    AccountWS_AccountQueryPage_Output qpoutput = null;
    // instantiate the proxy service
    Account accountProxy = new Account();
    try
    // set up the target URL & set the session cookie
    accountProxy.Url = session.GetURL();
    accountProxy.CookieContainer = session.GetCookieContainer();
    qpoutput = accountProxy.AccountQueryPage(qpinput);
    catch (Exception e)
    Response.Write("<br/><br/>" + e.InnerException);
    Response.Write("<br/><br/>" + e.Message);
    Response.Write("<br/><br/>" + e.StackTrace);
    return qpoutput;
    10-27-2006 02:31 PM
    Re: how to access Revenue records
    algocode
    New Contributor
    I found another way to access Revenue records. Instead of accessing the
    ListOfRevenue field of the Account web service, I access the ListOfProduct
    field of the Opportunity web service. I also instantiate Opportunity2
    objects so that the code to get a list of opportunities and products
    (containing revenue fields) becomes
    Opportunity2[] rtnListOfOpportunity = new
    Opportunity2[intOpportunityCount];
    try
    for (int intOppIdx = 0; intOppIdx < intOpportunityCount;
    intOppIdx++)
    rtnListOfOpportunity[intOppIdx] = new Opportunity2();
    rtnListOfOpportunity[intOppIdx].ListOfProduct =
    new Product[intProductCount];
    for (int intProdIdx = 0; intProdIdx < intProductCount;
    intProdIdx++)
    rtnListOfOpportunity[intOppIdx].ListOfProduct[intProdIdx] =
    new Product();
    return rtnListOfOpportunity;
    10-28-2006 11:17 AM
    Re: how to access Revenue records
    Echo
    Valued Contributor
    Weird. I'm not a big C# programmer but the code looks right. I'm curious -
    could you post some soap loads of the request. I'm wondering if there's
    something weird going on with the proxy.
    10-31-2006 12:00 AM

    I Assume the following is your sample data
    Table Name: Tab1
    RegID CustID Registration_Start      Registration_End
    1      1      01/04/2005           07/04/2005
    2      2      01/03/2005           29/05/2005
    3      1      21/03/2005           29/03/2005
    4      1      01/03/2005           21/03/2005
    Note : For the Regid "4" I have changed the Registration_End to 21/03/2005. It was earlier 21/04/2005.
    Coming to the query, you need to generate the list of regid that have gaps.
    Try the following query:
    SELECT c.*
    FROM tab1 c
    WHERE c.reg_id NOT IN (
    SELECT a.reg_id
    FROM tab1 a, tab1 b
    WHERE a.cust_id = b.cust_id
    AND a.registration_end = b.registration_start
    Note: I am sorry I didn't have access to the data base to execute my query. Correct me if I am wrong.
    Regards,
    Somu

  • All functions in FUNCLIB record can be moved to Application Class?

    I am new comer for PeopleCode. I find many functions are put into a work record, like FUNCLIB. I want to know if some logics only are able to be coded in work record as function due to some restrictions or convenience. If yes, what are the restrictions and conveniences? If not, any one function in one record can be moved to Application Class? Please help to answer. Thanks in advance.

    My two cents on this is that the FUNCLIB_ convention is a legacy convention, which was rolled out prior to the existence of application packages. As one can imagine, there is a large effort involved in pulling out FUNCLIB_ code and re-directing all of the calls to application classes.
    I work with application classes where possible; there are nice OOP features and things are more tightly defined e.g. you can't just define a bunch of variables and have the '&randomstring is auto-defined' messages appear during PC validation in an App Class.
    If you are writing something new, then I would encourage you to use application packages and classes. If you are thinking of re-writing code that exists in a FUNCLIB record event, then you will just need to ensure that you've identified all the calls and so on.
    Hope this helps
    John

  • Book Assignment based on Product Revenue Record

    I am trying to figure out a way to assign opportunities to product books based on the product selected in the product revenue field. You can select Revenue as a record type and select the product name as part of the condition. And then assign "revenue" to a book. But I am confused since revenue is part of the oppty record are you assigning the oppty to the book or are you actually assigning just the revenue portion.
    Any help will be appreciated.
    Thanks,
    Caryn

    Caryn, are you trying to use workflow to assign
    Opportunities to a book based on the associated
    Revenue Products? Yes
    If I have 2 different product revenue records on an opportunity for product A and product B. I would like the opportunity added to the product A book and product B book. I am trying to accomplish visibility rights for the product line managers in Marketing.

  • Error in a formula function (routine 66 ), record 4,161 RSAR 535

    Hi Experts,
    I am facing this issue while loading form DSO to Cube. So i am using
    Maximum Number of Errors per Pack  more then 1000 to skip the error records.
    In Error stack i get the below error :
    Error in a formula function (routine 66 ), record 4,161 RSAR 535
    Can any body help me on this.
    Thanks in advance
    Mohan.

    i am doing datamart load ie DSO to cube
    so while loading in DTP in update tab i have selected max no of error recods to be skipes = 9000 this will ignore the records if at all there are error records in the flow.
    i know there are few records. but what i want is to identify wht the error in the record is
    when i try to chk the records in Error stack if i selet  a record to change with change mode i also get a pop up with the error msg
    Re: Error in a formula function (routine 66 ), record 4,161 RSAR 535
    Which i dont really under stand what and were the error is
    i even compared the data of correct record which is alredy processed to the cube.
    I could not find much difference
    mohan.

  • Error in a formula function (routine ROUTINE_9998), record 0

    Hi Experts,
    i have an issue while loading from cube to ODS. The load fails with the following message:
    Data records for package 1 selected in PSA - 1 error(s)
    Record 0 :Error in a formula function (routine ROUTINE_9998 ), record 0
    Please help me... Thanks in Advance!

    Hi,
    Prob, it could be passing invalid date to DATE_WEEKDAY!() function.
    Regards,
    -Vj
    Edited by: Vijaya Bhaskar Bodanapu on Jan 16, 2009 3:24 PM
    Edited by: Vijaya Bhaskar Bodanapu on Jan 16, 2009 3:25 PM

  • Error in a formula function (routine ROUTINE_0002 ), record 1

    Dear Guru's
    I am trying to load data into a ODS and i am facing the following problem in  the PSA maintance it self.
    *@5C@     Error in a formula function (routine ROUTINE_0002 ), record 1     RSAU     510     *
    So any one please give me some suggestions........
    Thanks in Adv,
    Dev

    Hi Srinivas dev,
        Just check the key define for the ODS, and the Record for that line where it is giving error at PSA. I think there is no value for the Key maintain for the ODS.
    Assign Points if helpful.
    Regards,
    Rajdeep Rane.

  • Record 1 :Error in a formula function (routine ROUTINE_0001 ), record 1

    Hi ALL,
                   i ran the infopackge.load was failed.failed request is showing Record 1 :Error in a formula function (routine ROUTINE_0001 ), record 1 .why this error is coming.how can i solve this issue?
    Thanks,
    chandu

    Hi Chandra,
    Must be error in transfer rules. Conversion error in transfer routine or format error in file.If it is go to debugger and check.
    Hope you have got the hint
    thanks
    udaykiran

  • JoinFieldValue Revenue Record Type

    I have been trying to either create a workflow, or enter a Default Value, on a custom field under Opportunity.
    I am trying the following JoinFieldValue('<Revenue>',[<OpportunityId>], '<Custom_Qty>') <--There are brackets around <OpportunityId>, just not displaying in thread.
    I got the syntax and record type from the online help, but I am getting an error "Field name ‘Revenue’ is invalid(SBL-SBL-00000)".
    We are using Revenue Record Type.
    Can someone please assist?
    Thanks!

    CRMOD has contacted me back and says that Revenue is not available for JoinFieldValue, but the online help file shows otherwise. Anyone else see that they do have Revenue listed under the Record Type?
    https://secure-ausomxdsa.crmondemand.com/docs/1.10.0.1080.0.00/enu/help/index.htm?toc.htm?ebjoinfieldvaluehelp.html
    not sure if you will be able to get to the link above, but that is the documentation that I am looking at.

  • Can books of business be assinged to the revenue record?

    We are trying to assign a book of business to a revenue record. It does not seem possible. Our products are split up by divisions and we want product managers to see the opportunity revenue records that are in their division.
    Is this possible or does anyone have any suggestions?
    Message was edited by:
    DavidG

    A good strategy would be to create appropraite Analytics Reports. Most of the managers would anyway require summary data.
    Subsequently you might want to provide drill down to these opportunities for whihc you might want to investigate assignment manager or assign the opportunities to multiple books of buisness.
    - Prakash

Maybe you are looking for

  • Data Federator on Unix - Need to connect to Informix

    Hi, We are planning to Deploy Data Federator in Linux - SuSE 64 bit environment. We also have a need to connect to Informix and Teradata databases. According to the supported platforms document, only ODBC drivers are available to connect to Informix

  • Compress a Video in Premiere Elements 13

    Hi, I am very new to premiere elements 13, and have created a video and am trying to export it.  It is a 3 minute video shot with a rebel t3i in .mov format and I need to export to a file that is less than 30 mb to upload to a website.  I have import

  • Deleting Photos from iPhoto on the iPad

    After selecting photos in iPhoto in the edit mode the Delete button is not active. Is this a bug or am I doing something wrong?

  • Business Model and Mapping layer

    I am trying to create a logical dimension table by dragging the corresponding table from the physical layer. However, in the business model layer it shows up with a yellow icon indicating it is a logical fact table. Please help me how I create a logi

  • Bex Broadcasting and variable variant

    Hello, I have a workbook with queries using 0CALDAY. I want send by email in Broadcasting, I need get the current day for 0CALDAY but the variant dont have the posibility of D (Dynamics Variable) only the option T is in the match-code. (I cannot put