Workflow based on created date field in opportunity?

Hi All,
Can we write a workflow based on created date field in opportunity that if a opportunity record has not been modified after say 90 days,what will be the workflow syntax.
I just want an email notification to owner and owner's manager.
Thanks in advance,
Manish.

I think you can use the WAIT workflow using Duration('P90D') then Send Email, triggering it upon save and upon modification. Make sure that the Re-evaluate Rule Conditions After Wait option is checked so that the previous WAIT would be reset upon modification.
Edited by: marcocollado on Aug 31, 2012 5:57 AM

Similar Messages

  • Need Report based on "CUSTOM DATA field @ Shop Order Maintenance"

    Need the REPORT based on CUSTOM DATA field.
    Requirement - I am having the CUSTOM data at Shop Order Maintenance that is called as XXX, I need some report in SAP ME which can display the SFC related to particular Shop order based on XXX Number.

    Hi!
    As far as I remember there is no such base report. So, you may try to create it using SDK or request it as custom enhancement from SAP.
    If you want to create it using SDK, you can find the required data for report in CUSTOM_FIELDS table.
    Regards,
    Alex.

  • XML Forms Builder: Sorting news based on a date field in a XML form

    Hi Experts
    I have a requirement and I am stuck up in finding a solution. I have a XML form and this has been mapped to a folder in KM. It publishes news. In the collection renderer settings there is an option to sort the news ascending or descending based on created/modified criteria.
    The requirement is to sort the news based on a date field in XML form. Can you experts help me in getting the solution for same?
    The users who post the news in our portal needs the information to be sorted based on a date field shown.
    Thank you
    Best regards
    Ramamoorthy D

    Hi Experts
    I have not got any solution for this issue. Can any of you get me some clue to work on this issue with sorting news based on a date field in a XML form?
    I removed the property link from the screen field Input field.
    Thank you
    Best Regards
    Ramamoorthy D

  • Exchange rate should pick from TCURR based on custom date field added in MIGO

    Hi,
    In MIGO, FI document get posted by picking exchange rate based on the posting date. Through BADI(MB_DOCUMENT_BADI) we have added a field called translation date in MIGO screen, while doing GRN exchange rate should pick from TCURR based on translation date instead of posting date. We have tried this logic using substitution (GGB1) in FI accounting it is working fine in FB60 & F-02 transaction but it is not working with MIGO transaction. Please suggest some solution for this.
    Thanks & Regards
    Vinoth Kumar.M

    Hi Maniraj,
    This will a modification to existing system and it is not supported directly.
    There are 2 notes of SAP for modification of translation date of BKPF.
    SAP Note 574583 will activate a BADI kindly refer to it for details.
    http://www.stechno.net/sap-notes.html?view=sapnote&id=574583
    There is another one but is appilcable if material ledger is active in the system
    Regards

  • Search resources based on created date

    Hi,
    I am unable to search the resources based on creation date.
    I used the code as follows.
    sqb = new SearchQueryListBuilder();
    Timestamp ts3 = new Timestamp(d3.getTime());
    String searchCreDt = "default:created(value>"ts3.toString()")";
    sqb.setSelectedCustomProps(searchCreDt);
    qel = sqb.buildSearchQueryList();
    // where d3 is the Date object.
    I am able to get the using sqb.setSelectedStartDate(d1); and sqb.setSelectedEndDate(d2);     
    I am able to get the string type as follows,
    String searchAnd = "default:modifiedby(value=" + modByTxt + ")," + "default:createdby(value=" + creByTxt + ")";
    sqb.setSelectedCustomProps(searchAnd);
    I need the sample code for getting the resources between from and to dates.
    Regards
    Chede

    Please provide me some input.
    Regards
    Chede

  • Created By and Created Date fields not showing up on Custom List form webpart

    Hi,
    I have added Custom Listform WebPart on "DispForm.aspx" of custom list. I need to display, out of box fields "Author" [Created By] and "Created" [Creation Date] on this custom list form webpart, I have added them on the webpart, following is the code behind of aspx page:
    <td width ="400px" valign= "top" class="ms-formbody">
    <xsl: value-of select = "@Author" disable-output-escaping = "yes"/>
    </td>
    However these fields are not showing/populating data on the form ?? Any inputs ???
    Regards

    Hi,
    I think that when you insert a custom list form web part you select “Item” content type, so custom list form is designed to display only the fields that are appropriate for that content type “Item”, but the item content type doesn’t contain the created and created by column, when you add the two columns, it will not find the field value. By default, the two columns will display at the foot of the list form using SharePoint:CreatedModifiedInfo.
    Hope it can help you.
    Xue-Mei Chang

  • Is there a way to calculate a date field based on aother date field in sharepoint list?

    In a SharePoint list, I have a 'Start of Use Date' and need to ensure the 'Review Date' is no more than 14 months after the 'Start of Use Date', but can't figure out the formula.  Can you help?

    You can cast the field values in the SPListItem to DateTime objects and call the AddMonths(int) function to see if the two are more than 14 months apart. For instance:
    DateTime startOfUseDate = (DateTime) item["Start of Use Date"];
    DateTime reviewDate = (DateTime) item["Review Date"];
    if (startOfUseDate.AddMonths(14) >= reviewDate)
    // Review Date IS NOT more than 14 months after Start of Use Date
    else
    // Review Date IS more than 14 months after Start of Use Date
    Danny Jessee
    MCPD - SharePoint Developer 2010
    MCTS - SharePoint 2010, Configuring
    dannyjessee.com/blog

  • Creating date field

    hai every one,
    i want  develop two date fileds.
    i taken two input fields like date1 and date2 and given type as Date.
    here the date input format is like mm/dd/yyyy,  but  i want to change to dd/mm/yyyy.
    And i want to maintain condition like date2 >= date1.
    if it is wrong i need to show error.

    hi
    To Get the Date in your required format use SimpleDateFormatter
    public Date getDate(String dateString)
                // TODO : Implement
                java.util.Date d= null;          
                SimpleDateFormat FORMATTER = new SimpleDateFormat("dd.MM.yyyy");
                try
                   d = FORMATTER.parse(dateString);               
                catch (ParseException e)
                   wdComponentAPI.getMessageManager().reportException("Unable to do operation, error is:"+e,true);               
                return new Date(d.getTime());
    You can use above method to format you date ...
    Now if you want to compare the dates
    methods like after ,before ,equals are available on the date.
    But date1.equals(date2) will return true only when the time of
    the two dates are equals(i.e it see hrs,min,sec,milliseconds..)etc
    If this is the requirement of you You can use it.
    But You just want to compare the Dates are equal,
    Then you have to go for the Calender Object ....
    If any queries or more help needed reply back
    Regards
    Madhavi

  • Getting the last set of records based on a Date Field

    Hi All
    i have the followings data set in a table
    TRACK_ID_GRP     TRACK_ID_NBR     TRACK_SAMPLE_ID     START_DATE
    970150                      129700104071     64260                        8/6/2002
    970150                      229700101893     64261                        8/6/2002
    970150                     149700101893     64262                        8/6/2002
    970150                       97015011     79252                        9/19/2005
    970150                       97015023     79255                        9/19/2005
    970150                       97015013     79253                         9/19/2005
    970150                       97015021     79254                        9/19/2005
    970040                      129900105213     56155                         9/26/2000
    970040                                 1101     29841                        6/9/1998
    970040                       97004023     143349                        10/28/2008
    970040                              2101     29842                        6/9/1998
    970040                        97004021     143348                        10/28/2008
    970040                       97004011     143346                        10/28/2008
    970040                      149700101903     64196                       7/16/2002
    970040                              2301     29844                      6/9/1998
    970040                         97004013     143347                         10/28/2008
    970040                                  1301       29843                        6/9/1998I need to get only those records with the latest date and i'm using the following query
    SELECT t.track_id_grp, t.track_id_nbr, t.track_sample_id,
           MAX (t.start_date) OVER (PARTITION BY t.track_id_grp) AS start_date
      FROM track_table t
    WHERE t.track_id_grp IN ('970150', '970040')And i'm getting the following dataset
    TRACK_ID_GRP     TRACK_ID_NBR     TRACK_SAMPLE_ID     START_DATE
    970040                      1.299E+11     56155     10/28/2008
    970040                      1101                     29841     10/28/2008
    970040                      97004023                     143349     10/28/2008
    970040                      2101                     29842     10/28/2008
    970040                      97004021                     143348     10/28/2008
    970040                      97004011                     143346     10/28/2008
    970040                      1.497E+11     64196     10/28/2008
    970040                      2301                     29844     10/28/2008
    970040                      97004013                     143347     10/28/2008
    970040                      1301                     29843     10/28/2008
    970150                      1.297E+11     64260     9/19/2005
    970150                      97015011                     79252     9/19/2005
    970150                      97015021                     79254     9/19/2005
    970150                      2.297E+11     64261     9/19/2005
    970150                      97015013                     79253     9/19/2005
    970150                      97015023                     79255     9/19/2005
    970150                      149700101903     64262     9/19/2005And i was expecting the following dataset
    TRACK_ID_GRP     TRACK_ID_NBR     TRACK_SAMPLE_ID     START_DATE
    970150                      97015011                             79252     9/19/2005
    970150                      97015023                             79255     9/19/2005
    970150                      97015013                             79253     9/19/2005
    970150                      97015021                             79254     9/19/2005
    970040                      97004023                             143349     10/28/2008
    970040                      97004021                             143348     10/28/2008
    970040                      97004011                             143346     10/28/2008
    970040                      97004013                             143347     10/28/2008I was expecting to get only those records with the latest date, instead i'm getting all the records with the max date in it, please need help or advice.
    Thanks

    Try this -
    SELECT track_id_grp, track_id_nbr, track_sample_id, start_date
      FROM (SELECT t.track_id_grp, t.track_id_nbr, t.track_sample_id,
                   t.start_date,
                   ROW_NUMBER () OVER (PARTITION BY t.track_id_grp, t.track_sample_id ORDER BY t.start_date DESC)
                                                                            AS rn
              FROM track_table t
             WHERE t.track_id_grp IN ('970150', '970040'))
    WHERE rn = 1let me know if that works.
    Edited by: Sri on Apr 28, 2011 9:24 AM

  • Search Page by date field not showing up results

    Hi,
    I am using Jdev 11g and new to adf.
    My applciation needs a search page based on a date field.
    I created a viewcriteria for the object which expects a date field from the user.( the bind variable is of type Date)
    After this i dragged the viewcriteria as af:query (panel with table) on the jspx page.
    Now when i run the application, that is when i enter the date (calendar autogenerated by query component),
    it does not show up any results.
    My date field in the database has a timestamp attached to it, somewhere i read that the timestamp may be causing the problem.
    But i have not found any solution for this one.
    This looks very basic to me, i am sure i am missing soemthing important.
    Besides i even tried the approach of programmaticlly populating the Viewobject(by not using the any query component),
    i can see the Viewobject being populated in the logs( the row count) but on the display page, no rows are shown.
    I am sure i am doing something wrong for this one.
          AppModuleImpl am = this.getAm();
           ViewObject submittalVO = am.findViewObject("AcrSubmittallogView1");
           System.out.println("after getting VO");
           String subDate = this.getSubDate().getValue().toString();
           String query = " to_char(SubmitDtTm,'mm/dd/yyyy') = '"+subDate+"'";
           submittalVO.setWhereClause(query);
           System.out.println("QUERY>>>> "+submittalVO.getQuery());
           submittalVO.executeQuery();
          System.out.println("after executing query "+submittalVO.getRowCount());
           this.setRenderLogTable(true);But i actually want to use the built in query component instead of programmatically doing it.
    Can someone please guide me further.
    Any help will be grt.
    Thanks in advance
    ash
    Edited by: user1175461 on Jul 15, 2010 1:18 PM

    Still not working for me either, here's exactly what I'm doing.
    My query is as follows:
    SELECT
    RO.repair_line_id,
    RO.repair_number,
    SR.customer_po_number, segment1,
    trunc(RO.creation_date) as creation_date,
    I've created a Bind Variable for the creation_date as follows:
    <Variable
    Name="createDate"
    Kind="viewcriteria"
    Type="oracle.jbo.domain.Date"/>
    Which is linked to a view criteria:
    <ViewCriteria
    Name="RepairSearchVVOCriteria"
    ViewObjectName="com.services.cs.vvo.RepairSearchVVO"
    Conjunction="AND">
    <Properties>
    <CustomProperties>
    <Property
    Name="displayOperators"
    Value="InAdvancedMode"/>
    <Property
    Name="autoExecute"
    Value="false"/>
    <Property
    Name="allowConjunctionOverride"
    Value="true"/>
    <Property
    Name="showInList"
    Value="true"/>
    <Property
    Name="mode"
    Value="Basic"/>
    </CustomProperties>
    </Properties>
    <ViewCriteriaRow
    Name="vcrow1"
    UpperColumns="1">
    <ViewCriteriaItem
    Name="CreationDate"
    ViewAttribute="CreationDate"
    Operator="="
    Conjunction="AND"
    Value=":createDate"
    IsBindVarValue="true"
    Required="Optional"/>
    </ViewCriteriaRow>
    </ViewCriteria>
    I then dragged the criteria into the page. When running it I get the following:
    AND SR.customer_id =:psCustomerId) QRSLT WHERE ( ( (CREATION_DATE = :createDate ) ) )
    <ViewObjectImpl><bindParametersForCollection> [3510] Bind params for ViewObject: [com.xxx.services.cs.vvo.RepairSearchVVO]RepairSearchAM.RepairSearchVVO1
    <OracleSQLBuilderImpl><bindParamValue> [3511] Binding param "psCustomerId": 34758
    <OracleSQLBuilderImpl><bindParamValue> [3512] Binding param "createDate": 2010-02-18
    Which never brings back any data. My date's look as follows in the database:
    '18-FEB-10'
    I never get any results for the date. I've also tried using the to_char to format the date as the same format, but that always gives a variety of errors. This is driving me batty =0 Any ideas on why it never pulls back data?
    Thanks, Graeme.

  • Error While using date fields in HIbernate Criteraia

    I am trying a sample applciation using Hibernate with JPA. I am using annotations to map database table with Java class.I am using org.hibernate.Criteria to form where clause. My code looks as follows:
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("PERSISTANCE_UNIT");
    EntityManger em = emf.createEntityManager();
    Session session = em.getDelegate();
    Criteria criteria = session.createCriteria(MyDO.class)
    criteria.add(Restrictions.eq("myDO.date",myDO.getDate()));
    List list = criteria.list();
    I am searching the data base based on the date field (myDO is an instance of MyDO.class which contains the mapping to the data base table). While running the application first time after publishing to server, I am getting the following error. For subsequent running of the application I am not getting any error and the appliaction was running with actual results.
    JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions SQL Error: -181, SQLState: 22007
    JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions THE STRING REPRESENTATION OF A DATETIME VALUE IS NOT A VALID DATETIME VALUE
    org.hibernate.exception.DataException: could not execute query
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.loader.Loader.doList(Loader.java:2223)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
         at org.hibernate.loader.Loader.list(Loader.java:2099)
         at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
         at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
    Can anybody help in fixing the problem.
    Thanks in advance.

    Resolved the issue by setting System date where expected

  • IDoc posted in R/3 but data for Date field has not generated.

    Hi Experts
    This is JDBC to IDoc scenarion.
    Source: MS SQL Server
    Date Data Type: smalldatetime
    Date field Format: yyyy-MM-dd hh:mm:ss --> example: 2009-11-13 00:00:00
    XI Mapping: Source Date --> Transformation --> Target Date
    Transformation: yyyy-MM-dd hh:mm:ss to yyyyMMdd
    Target: R/3 System
    Date Data Type:  ERDAT from VBAK table - Date on Which Record Was Created
    Date field Format: Date field (YYYYMMDD) stored as char(8)
    Check points:
    1. Mapping is working fine in XI and transformation is done with the test data: 2009-11-13 00:00:00  --> to ---> 20091113
    2. In SXMB_MONI the data is processed from the source and the IDoc XML data is generated. In the IDoc XML data the date field is containing the value <DATE>20091113</DATE>
    3. But when I tried to open the IDoc(SE05) in R/3 the date field is empty and no data is generated.
    Request you to let me know why the error is happening.
    Regards
    Ram

    Hi Ram,
    First try to test the same IDOC generated in ECC Box by populating date field value using WE19 and test .
    Or
    Instead of passing date value from SQL Server, Just give a try with  Current Date function in Mapping and test in ECC system.
    then we can think on further analysis.
    Regards,
    Vijay

  • Date field on Selection Screen

    Hi All,
    I need to create Date field (From and To) in the selection screen. The Date format should appear as YYYY-MM-DD.
    I have defined this requirement as below.
    select-options: s_date for sy-datum no-extension default sy-datum.
    Due to above line, date is appearing in DD.MM.YYYY format.
    How to code, so that date should appear in YYYY-MM-DD in the selection screen...????
    Please Help me....
    Regards
    Pavan

    Pavan,
    write below code.
    DATA : WS_DATE like sy-datum.
       select-options: s_date for sy-datum.
    AT SELECTION SCREEN OUTPUT.
        call function 'CONVERT_DATE_TO_INTERN_FORMAT'
      exporting
        datum         = sy-datum
        dtype         = 'DATS'
    IMPORTING
      ERROR         =
        IDATE          =  ws_date.
      MESSG         =
      MSGLN         =
      s_date-low  =  ws_date.
    Pls. reward if useful

  • Lowest value from 2 date fields combined

    Morning!
    Need a way to combine two separate date fields to determine the lowest combined value. The idea being finding an empno's overall seniority by looking at seniority date and birthdate, birthdate settles the tie in the event two empno's have the same seniority date.
    Can't find a way to do this using two date fields, only a single date field.
    I also need a way to continue finding the next empno in seniority after that, and so on. Need to increment some value or get the nextval somehow to find the next highest in seniority until the entire table has been reviewed.
    Thanks folks.

    Hey Thanks!!
    Table= Requests
    Fields: Empno, LastNme, FirstNme, Seniority_DT, Birth_DT,ReqDate,ReqTime,ChoiceNum
    Field values: vchar, vchar, vchar, date,date,date,date-time,vchar
    Examples in above order: 36525,smith,bob,08-jun-80,23-sep-60,15-mar-10,14:00,1
    The idea is that we assign (1) single day per month per employee of overtime based on seniority, and in case of a tie the birthdate settles seniority. Employees make more than one request per month so their empno appears in the table multiple times. Also a single empno can ask for one of two start times per requested day. At most, a single employee can make requests for any one of (12) days per month, on days Sun-Thu they can ask for one of (2) start times and on Fri-Sat they can ask for one of 3 start times. The "choice" field lets them indicate start time in order of preference.
    On each day on each start time, (2) different people work together, so for days 1-5 there are (2) shifts of (2) people each, total of (4) people assigned per day 1-5 and (6) people assigned on days 6-7.
    The needed output is that for Sunday-Thursday (2) people start at 14:00 and another (2) start at 18:00.
    On Friday-Saturday (2) people start at 14:00, (2) people start at 18:00 and (2) people start at 20:00.
    The idea for the report would be:
    Saturday, 13 March 2010
    1400 Bob Smith, Seniority Date
    1400 Ted Jones, Seniority Date
    1800 Tom Williams, Seniority Date
    1800 Karen Hu, Seniority Date
    2000 Mike Smith, Seniority Date
    2000 Jim Thomas, Seniority Date
    Sunday, 14 March 2010
    1400 Ed Davis, Seniority Date
    1400 Ron Thomas, Seniority Date
    1800 Tiger Woods, Seniority Date
    1800 Joe Davis, Seniority Date
    Each person may only work one day per month. In the event that there is a hole where no one put a request in, we need to go back over the remaining requests to fill them in. The original idea was to do this by:
    All choice #1 first, then start over looking at choice #2 and so on until all the days in the upcoming month are full.
    That's about the best I can explain it. The only way I can see is to do it by seniority and choice# then go around again if there's a hole. I just can't figure out how to look at both the seniority date and birthdate to ensure seniority nor can I figure the logic necessary to find the person, check if the spot is available and assign him or if not go to his next preference for that day and check if it's available and then continue to the next guy.
    It may have been simpler to explain the need in detail and ask that the structure and code be done from scratch but that's asking way too much so I thought I'd ask how to solve this problem and keep working on it from there.
    Thanks in advance again!
    ps... Haven't started the coding yet.... just need the code to accomplish finding seniority based on two date fields combined, then I'll start coding the entire thing.
    Edited by: user9320509 on Mar 10, 2010 5:33 AM

  • What is correct format to pass Today as created date parameter

    I have created TFS data set (as drill through report) which is displaying all bugs based on created date. Now, I want to pass date range as parameter from main report so drill through report displays data for the bugs created between given date range. I
    am getting error "string.. can not be converted to date type" I am using following formatting expression at drillthrough report parameter:
    ="[Work Item].[System_CreatedDate].&[" + FORMAT(Parameters!FromWorkItemSystemCreatedDate, "yyyy-MM-dd") + "T00:00:00]"
    Please let me know what type of expression should be used to avoid error. I tried with using CDate()  instead of FORMAT but still getting problem.

    Hi gajeshm,
    According to your description, you want to format the parameter like a date and concatenate the string into a member. Right?
    In Reporting Services, only a date-like string can be converted into a date with a format. In this scenario, the issue is on the string in the parameter as the error message mentioned. If this string can't be recognized as a date, it can never be converted
    into a date. You string should be like "2011/1/1", "2011-1-1","January 1, 2011" and so on. If your string is not like these, you can use left(), right() or other Text functions
    to cut the string and concatenate it into date-like. Then convert and format the string.
    Here are some tips when you working on this scenario:
    If possible, set the Date/Time type for your parameter.
    If it's a multiple value parameter, use =parameters!xxxx.Value(0) in your expression.
    If you just want  to use today as parameter to format, you can use now() instead of using a parameter.
    Reference:
    Expression Examples (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

Maybe you are looking for

  • Not going to sleep when I close the lid

    Hi there, My MacBook Pro is just about 6 months old, I just got it back from an Apple Servicecentre. They exchanged my keybord and total unibody because my enterkey didn't work properly, it was entirely done under guarantee. But now, when I close my

  • Blocking anonymous search if bind fails

    Using DS 5.2 SP4 I have a group that outsourced some apps that are performing LDAP authentication. They do an anonymous bind to find the user's DN and then initiate a new connection, binding as the user and searching for an attribute. The problem I h

  • Server.app constantly timing out (devicemgr, wiki, more)

    Server.app is constantly stating "Reading Profile Manager settings…" or any other service, though Profile Manager and Wiki are the most common. I get errors in the Console such as: Jan  8 08:48:42 office.fireflyeducation.com.au servermgrd[2885]: [288

  • HT1620 What is the security code?

    What is the security code to install the latest iPhone update?

  • Upgrade to Hybrid Harddrive on m7-1015dx

    I want to upgrade my harddrive on my m7-1015dx laptop. In the process of installing the new harddrive and attempting to install windows, i get error saying "Windows setup could not configure windows to run on computer's hardware." I believe the issue