Comms Express- Vacation End Date

Communication Express 6.3 update 1 - patch level: 122794-17
I need some help in understanding how the vacation message end date works in CE. In the "Options - Mail Vacation Message" section I set my "Stop vacation notice on:" setting to March 1, 2009. However in my actual LDAP record I see:
vacationEndDate: 20090302045959Z
My timezone setting is America/New_York. That is GMT -5. So, translating that, my actual vacation messages would stop March 1, 2009 23:59:59 right? That is 1 second from March 2. It seems to me that this is 24 hours off of what I would expect. The wording says "Stop vacation notice on" so I would assume if I set it to March 1 it would stop right at March 1 not 1 second from the end of that day. Am I just mis-reading this or is somthing possibly amiss in my config?

sheger77 wrote:
First off, is the behavior actually correct/expected or is this a bug in the software?The software is behaving as it was written. Whether that behaviour is "correct" is a matter of opinion.
When choosing a "Stop vacation notice on:" date, is it expected to be at 23:59:59 of that date like I am seeing? Based on the wording in CE and Convergence I would expect it to be 00:00:00 of the date selected.So there are three options then:
1) Change the wording to reflect the behaviour
2) Change the behaviour to better reflect the wording
3) Change both the wording and the behaviour
I will note in passing that the behaviour of vacation message start/end time is not consistent across the various webmail interfaces (Messenger Express, Comms Express, Convergence).
Messenger Express
=> Doesn't allow the user to set the same date so I had to set Mar 11th as the start date and Mar 12th as the end date
=> vacationStartDate: 20090310130000Z
=> vacationEndDate: 20090311130000Z
Comms Express
=> Start/Stop date set to Mar 11th
=> vacationStartDate: 20090311040000Z
=> vacationEndDate: 20090312035959Z
Convergence
=> Start/Stop date set to Mar 11th
=> vacationStartDate: 20090310170000Z
=> vacationEndDate: 20090311165900Z
Note: These were all set with the same account on the same server.
I'm trying to determine if opening a support case is necessary here.Yes you should -- however you need to know what you as the customer want and why.
If the behavior is expected then I just need to let my users know.The behaviour can of course be changed. Changing the behaviour of the vacation message functionality is less likely to happen with UWC/CE vs. Convergence. Changing the wording of the message is more likely to occur.
If there is anyway to change either the wording or better yet the calculation, then I would like to pursue that.You could always customise your own UWC/CE installation to change the wording.
Regards,
Shane.

Similar Messages

  • SQL 2012 Express end date of distribution

    For SQL Server Express 2012 is there an end date for when a customer is no longer allowed to distribute it?
    If so, what is that date? And where can we find it posted on a MS web page?
    Does the customer need to register for SQL 2012 Express to get the redistribution rights as well?
    Thanks

    Hi Nikki,
    As is mentioned in the article
    Microsoft Support Lifecycle, SQL Server 2012 Express is supported until 2017, and the extended support end date of SQL Server 2012 Express is 12/07/2022.
    However, SQL Server Express exists as a free SQL Server edition, fully compatible with and easily upgradeable to higher SQL Server editions. You can download SQL Server 2012 Express directly from below link and install it on your computer.
    http://www.microsoft.com/en-us/download/details.aspx?id=29062
    Thanks,
    Lydia Zhang

  • How Do I Filter a Report Using a Multi Select List Box and Specifying Date Between Begin Date and End Date

    Hope someone can help.  I have tried to find the best way to do this and can't seem to make sense of anything.  I'm using an Access 2013 Database and I have a report that is based on a query.  I've created a Report Criteria Form.  I
    need the user to be able to select multiple items in a list box and also to enter a Begin Date and End Date.  I then need my report to return only the records that meet all selected criteria.  It works fine with a ComboBox and 1 selection but can't
    get it to work with a List Box so they can select multiple items.  Any help is greatly appreciated while I still have hair left. 

    The query should return all records.
    Let's say you have the following controls on your report criteria form:
    txtStart: text box, formatted as a date.
    txtEnd: text box, formatted as a date.
    lbxMulti: multi-select list box.
    cmdOpenReport: command button used to open the report.
    The text boxes are used to filter the date/time field DateField, and the list box to filter the number field SomeField.
    The report to be opened is rptReport.
    The On Click event procedure for the command button could look like this:
    Private Sub cmdOpenReport_Click()
    Dim strWhere As String
    Dim strIn As String
    Dim varItm As Variant
    On Error GoTo ErrHandler
    If Not IsNull(Me.txtStart) Then
    strWhere = strWhere & " AND [DateField]>=#" & Format(Me.txtStart, "yyyy-mm-dd") & "#"
    End If
    If Not IsNull(Me.txtEnd) Then
    strWhere = strWhere & " AND [DateField]<=#" & Format(Me.txtEnd, "yyyy-mm-dd") & "#"
    End If
    For Each varItm In Me.lbxMulti.ItemsSelected
    strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    Next varItm
    If strIn <> "" Then
    ' Remove initial comma
    strIn = Mid(strIn, 2)
    strWhere = strWhere & " AND [SomeField] In (" & strWhere & ")"
    End If
    If strWhere <> "" Then
    ' Remove initial " AND "
    strWhere = Mid(strWhere, 6)
    End If
    DoCmd.OpenReport ReportName:="rptMyReport", View:=acViewPreview, WhereCondition:=strWhere
    Exit Sub
    ErrHandler:
    If Err = 2501 Then
    ' Report cancelled - ignore
    Else
    MsgBox Err.Description, vbExclamation
    End If
    End Sub
    If SomeField is a text field instead of a number field, change the line
            strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    to
            strIn = strIn & "," & Chr(34) & Me.lbxMulti.ItemData(varItm) & Chr(34)
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to set a default start and/or end date for New Events based on trigger date.

    I'm using the CalendarActivityListener to get current row when clicking on an existing event. As per previous posts this listener gives you access to event detail including Start Date, End Date, etc.
    However, what I want to do is to default the start (and end) dates for New Events based on the trigger date.
    I've tried the CalendarListener and can grab the Trigger Date from it - however, I can't see a way to pass this directly to the popup/dialog I'm using to create the new event.
    At present I'm putting the TriggerDate into the ADFContext session scope e.g. ADFContext.getCurrent().getSessionScope().put("TriggerDate",calendarEvent.getTriggerDate());
    Then, I've tried multiple approaches to try and "get" the TriggerDate from session scope to drop it into my new Calendar Event basically, I'm trying to default the InputField(s) associated with the Start Date using the value from the session - I've tried
    1. setting the default value for the InputField in the jspx using a binding expression i.e. value="#{sessionScope.TriggerDate}" - this actually sets the value appropriately when the jspx is rendered but, when I go to create I get a NPE and I can't debug. I assumed that it might be a Date type issue - it would appear that CalendarListener provides a date of type java.util.Date and that the StartDate attribute of my VO/EO/table is a DATE and therefore requires oracle.jbo.domain.Date so I tried casting it - to no effect
    2. Using a Groovy expression *(StartDate==null?adf.context.sessionScope.TriggerDate:StartDate)* in my calendar's EventVO to default the Start Date to the same result
    Any thoughts or ideas?

    John,
    Thanks for that suggestion - could not get it to work. However, I did manage a different approach. I finally determined the sequence of events in terms of how the various events and listeners fire (I think).
    Basically, the CalendarActivityListener fires, followed by the listener associated with the Calendar object's Create facet, followed finally by the CalendarEventListener - the final is where the TriggerEvent is available and then finally, control is passed to the popup/dialog in the Create facet. So, my approach of trying to set/get the TriggerDate in the user's HTTP session was doomed to failure because it was being get before it had been set :(
    Anyway, I ended up adding a bit of code to the CalendarEvent listener - it grabs the current BindingContext, navigates through the DCBindingContainer to derive an Iterator for the ViewObject which drives the calendar and then grabs the currently active row. I then do a few tests to make sure we're working with a "new" row because I don't want to alter start & end dates associated with an existing calendar entry and then I define the Start and End dates to be the Trigger Date.
    Works just fine. Snippet from the listener follows
    BindingContext bindingContext = BindingContext.getCurrent();+
    *if ( bindingContext != null )    {*+
    DCBindingContainer dcBindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();+
    DCIteratorBinding iterator = dcBindings.findIteratorBinding("EventsView1Iterator");+
    Row currentRow = iterator.getCurrentRow();+
    if ( currentRow.getAttribute("StartDate") == null)+
    currentRow.setAttribute("StartDate", calendarEvent.getTriggerDate());+
    if (currentRow.getAttribute("EndDate")==null)+
    currentRow.setAttribute("EndDate", calendarEvent.getTriggerDate());+
    *}*

  • Calculate Start and End date in Connect By -- When Hirerchy Changes

    /* Formatted on 5/20/2013 9:53:00 AM (QP5 v5.115.810.9015) */
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Hello , Can some one Please help me or Guide me in calculating Start and End dates for the below logic
    I want to calculate the Manager Hirerchy for the given Agent.
    Then Below Query is working fine and its giving me the desired results
    But when there is a change in the Manager Hirerchy or Manager gets Promoted
    Then i need to calculate the start date and end date.
    CREATE TABLE PERSON_DTL
      SID                 VARCHAR2(10 BYTE),
      EMP_MGRS_ID         VARCHAR2(10 BYTE),
      START_EFFECTIVE_DT  DATE,
      END_EFFECTIVE_DT    DATE
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M100', 'M107', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M101', 'M102', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('A100', 'M100', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M100', 'M101', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('05/18/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M107', 'M102', TO_DATE('05/20/2013 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M102', 'M103', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M103', 'M104', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('A101', 'M105', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    Insert into PERSON_DTL
       (SID, EMP_MGRS_ID, START_EFFECTIVE_DT, END_EFFECTIVE_DT)
    Values
       ('M105', 'M106', TO_DATE('01/01/2010 00:00:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('12/31/9999 00:00:00', 'MM/DD/YYYY HH24:MI:SS'));
    COMMIT;
    SELECT   CONNECT_BY_ROOT (b.sid) agent_sid,
                 TRIM (
                    LEADING ',' FROM    SYS_CONNECT_BY_PATH (b.sid, ',')
                                     || ','
                                     || b.emp_mgrs_id
                    PATH,
                 START_EFFECTIVE_DT Start_dt,
                 END_EFFECTIVE_DT End_dt
          FROM   PERSON_DTL b
         WHERE   CONNECT_BY_ISLEAF = 1
    START WITH   sid IN ('A101', 'A100')
    CONNECT BY   PRIOR b.emp_mgrs_id = b.sid
    This is the results that i am getting now.
    AGENT_SID    PATH                       START_DT    END_DT
    A100    A100,M100,M101,M102,M103,M104    1/1/2010    12/31/9999
    A100    A100,M100,M107,M102,M103,M104    1/1/2010    12/31/9999
    A101    A101,M105,M106                   1/1/2010    12/31/9999
    Results Required
    A100    A100,M100,M101,M102,M103,M104    1/1/2010    5/18/2013
    A100    A100,M100,M107,M102,M103,M104    5/20/2013   12/31/9999
    A101    A101,M105,M106                   1/1/2010    12/31/9999

    May be this..
    SQL> select agent_sid,max(path) path,max(start_dt) start_dt,
      2         min(end_dt) end_dt
      3  from
      4  (
      5    select agent_sid,path,start_dt,end_dt,
      6           sum(flg) over(order by rn) sm
      7    from
      8    (
      9      select agent_sid,
    10             path,
    11             start_dt,
    12             end_dt,rn,
    13             case when path like lag(path) over(order by rn)||'%' then 0 else 1 end flg
    14      from
    15      (
    16        SELECT   CONNECT_BY_ROOT (b.sid) agent_sid,
    17                 TRIM (
    18                    LEADING ',' FROM    SYS_CONNECT_BY_PATH (b.sid, ',')
    19                                     || ','
    20                                     || b.emp_mgrs_id
    21                 )
    22                  PATH,
    23                 START_EFFECTIVE_DT Start_dt,
    24                 END_EFFECTIVE_DT End_dt,rownum rn
    25        FROM   PERSON_DTL b
    26        START WITH   sid IN ('A101', 'A100')
    27        CONNECT BY   PRIOR b.emp_mgrs_id = b.sid
    28      )
    29    )
    30  )
    31  group by agent_sid,sm
    32  order by agent_sid;
    AGENT_SID  PATH                                     START_DT  END_DT
    A100       A100,M100,M101,M102,M103,M104            01-JAN-10 18-MAY-13
    A100       A100,M100,M107,M102,M103,M104            20-MAY-13 31-DEC-99
    A101       A101,M105,M106                           01-JAN-10 31-DEC-99Edited by: jeneesh on May 20, 2013 7:54 PM
    Not thoroughly tested.And not sure whether an easy way exists..

  • Start/End Date parameters that check day of week and using to set default values.

    Hi,
    I've got a report that presents data between a start and an end date.
    I want it to check if it's a monday and present data from the previous week, otherwise present data from this week.
    For the "Default" value of parameter @startdate, I've got the following expression:
    =iif(WeekdayName(DatePart("w", Today)) = "Monday",DateAdd("d",-8,Today()),DATEADD("d", 1 - DATEPART(DateInterval.WeekDay, Today(),FirstDayOfWeek.Sunday), Today()))
    for @enddate I've got default value:
    =iif(WeekdayName(DatePart("w", Today)) = "Monday",DateAdd("d",-1,Today()),DATEADD("d", 7 - DATEPART(DateInterval.WeekDay, Today(),FirstDayOfWeek.Sunday), Today()))
    but it doesn't appear to be working, I've checked 
    WeekdayName(DatePart("w", Today))
    as an expression in a text box and it evaluates to Monday but my IIF statement above always uses the DATEADD line therefore not returning "Monday" as the value (even though it is).
    Is it a problem that the parameters are of Data/Time data type and I'm trying to evaluate as type text?
    Any help would be appreciated.
    Thanks :)

    StartDate
    =IIf(DateDiff(DateInterval.Day,CDate("01/01/1900"),Today) Mod 7 =0,DateAdd(DateInterval.WeekOfYear,DateDiff(DateInterval.WeekOfYear,CDate("01/01/1900"),Today)-1,CDate("01/01/1900")),DateAdd(DateInterval.WeekOfYear,DateDiff(DateInterval.WeekOfYear,CDate("01/01/1900"),Today),CDate("01/01/1900")))
    EndDate
    =IIf(DateDiff(DateInterval.Day,CDate("01/01/1900"),Today) Mod 7 =0,DateAdd(DateInterval.Day,-1,DateAdd(DateInterval.WeekOfYear,DateDiff(DateInterval.WeekOfYear,CDate("01/01/1900"),Today),CDate("01/01/1900"))),DateAdd(DateInterval.Day,-1,DateAdd(DateInterval.WeekOfYear,DateDiff(DateInterval.WeekOfYear,CDate("01/01/1900"),Today)+1,CDate("01/01/1900"))))
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    Hi, 
    This one works but it results to be between monday and saturday, how to make it between sunday and saturday?

  • Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE

    Hi,
    I need to change date of a contract and for the same I am using Bapi "BAPI_CUSTOMERCONTRACT_CHANGE".
    I am passing the following Parameters to the BAPI.
    SALESDOCUMENT  -- Have passed the Contract Number in this.
    CONTRACT_HEADER_IN -- Have passed the values of the following fields ::
    COLLECT_NO -- Sales Document number
    Sales_Org  -- Sales Organization
    Distribution Channes -- Dist. Channel
    Division -- Division
    CT_VALID_T -- New date which I want as the contract end date.
    CONTRACT_HEADER_INX -- Following values have been paased in this Structure.
    UPDATEFLAG -- 'U'.
    CT_VALID_T -- 'X'.
    Now when I run the BAPI with these inputs I get the output as ' Field 'GUEEN' cannot be copied, because it is not ready for input'.This is a information message. But the changes are not reflected in the contract. I have done the commit work after BAPI.
    When I changes the value for CT_VALID_T flag from 'X' to 'U' the message mentioned above does not come but the end result is same and changes are not reflected in the contract.
    I would be really helpful to you if get any kind of helf to know ehy the output is not coming.
    Thanks a Lot for your kind help!!!!
    Regards,
    Lalit Kabra

    Hi Lalit,
    The value for CT_VALID_T flag has to be 'X' in the CONTRACT_HEADER_INX structure.
    In this case, you receive an informative message "Field 'GUEEN' cannot be copied, because it is not ready for input'"
    That is the problem. You cannot change this field because your functional team has this field as "not ready for input" in change mode.
    Can you change this field in transaction VA42? If you can't modify it in dialog, you can't modify it with BAPI.
    Regards,

  • Simple validation on start and end dates

    Apex 4.2
    I am trying to create a validation script on my start date and end date. A simple validation that says the start date selected has to be less than the end date. Because apex treats my date fields as strings, using a pl/sql expression such as P101_START_DATE <= P101_END_DATE doesn't work. This may seem like an easy issue but I am having trouble creating this simple validation. Any help would be greatly appreciated. Thanks in advance!

    i had tried this a few times but I kept getting an invalid numer to character error. Maybe my syntax was off. Let me try again.
    I must have had syntax errors. I tried it again, the way you typed it out and it worked. Before I was using '/' instead of '-' to separate the date fields.
    Thanks again!!

  • JDev 10.1.3: ADF - How to end-date a record

    I am fairly new to ADF, but I have a question about end-dating a record. I have a table with a start and end date on a record. I have created a method that will allow the user to copy a record. I have an ADF read-only table, they select the record and click the copy button. This then displays an ADF form that allows the user to clone that record and make any changes to it. The user can enter a start date for this record. Could someone point me in the right direction or provide some documentation on how to then be able to go back and end-date the originally selected record with the start-date that the user just entered? I thought maybe I could override the doDML method in the Entity Object, but I am unsure how to find the original record that the user had selected?

    Well done on getting the bits together, let's consider your code next.
    0) You refer to attribute 29. This is going to get you in trouble if the attr index ever gets re-arranged. Instead you could probably do something like:
    Fees001RowImpl row = (Fees001RowImpl)getCurrentRow();
    ...then you can refer to the row attribute accessor:
    row.getX() (where X is your attribute name ... this assumes you've created the RowImpl class for the VO).
    (with apologies I've had to guess at some of your class names here, so you may need to tweek the class names to match your exact code)
    1) Why in endDateRecr() are you calling createRootApplicationModule()? This will create a separate transaction with the db and is probably the reason you're not seeing your record until refresh. If the client interface method is in your ViewObjectImpl you should be able to just call getApplicationModule(). Something like the following:
    AppModuleImpl am = (AppModuleImpl)getApplicationModule();
    This should also give you the advantage that you can now refer to the Fees001ViewObject directly like this:
    Fees001ViewObject vo = am.getFees001View1();
    ....and that'll isolate you from a name change of the view object which you've hardcoded in the findViewObject call.
    2) You loop through the Fees001 VO. Instead you could use vo.getKey() to find your exact row (assuming you have the PK).
    3) You set the fee attribute 2 + 3; similar to above you could cast the fee row to an instance of Fee001RowImpl then call the actual setter methods provided for each attribute, isolating you from any changes in the order index of the attributes.
    4) Any reason you're explicitly committing within the model layer method? This is similar to the argument that you should never commit inside a database pl/sql package as it's not obvious to the outside caller that this is occurring. Instead leave the commit for your UI ActionListener.
    Hope this helps. As I said it's a little hard to give you exact code as I don't know your object names etc, but hopefully will steer you in the right direction.
    CM.

  • Stacked area chart with start and end dates

    Hi,
    I'm trying to create a stacked area chart from values that have a start date and an end date. I'd like the area to be drawn as a sum of the values at each x-axis date interval. So if I have data like:
    Start              
    End               
    Value
    2013-01-01      2015-01-01     
    100
    2013-09-01      2014-01-01     
    200
    2013-01-01      2016-01-01     
    300
    What I need is to have the chart show the area y-axis at 400 from the start up to 2013-09-01 where it would rise to 600. At 2014-01-01 it would drop back down to 400 and at 2015-01-01 it would drop to 300 until the end.
    Is this possible without calculating the sums for each date beforehand?

    Hi Erba,
    According to your description, it seems that you need add Start and End fields with the same level (without group relationship) to the x-axis in stacked area chart. As per my understanding, we couldn’t add multiple fields in one group at the same level.
    So in order to work around this issue, we can modify the dataset to combine the Start and End field into one filed, then add the new filed to x-axis. For more details, please refer to the steps below:
    Modify the dataset with the following query statement:
    select Start as date , Value as value
    from table_name
    union
    select [End] as date, (0-Value) as value
    from table_name 
    Drag a Stacked Area Chart to design surface.
    Insert value field to Values pane, then modify it with the expression below:
    =runningvalue(Fields!vlaue.Value,sum,"DataSet_name")
    Insert date field to Category Group pane.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Calculate End Date

    Hi,
    I have 3 fields Start Date (Date Type), Term Length (Number) & End Date (Date Type). The user enters a start date and the contract term length in months, I need to calculate the end date.
    For e.g. *09/12/2012 + 5 = 02/12/2013* -- -- NOT+ -- _09/17/2012_.
    Basically add the number of months to the date and calculate the end date, but the default in CRMOD is adding the number as no. of days not month.
    Is there any way I can do this using workflows. (I need the data displayed on the layout).
    I thought of using the "Month" function to extract the value and add the no. of months, but it threw an error that it cannot work with 1 parameter.... I assume it is reporting only function and will not work in workflows. Is there any way/logic by using Julian Day/Month or some other function to do this calculation?
    If not possible using workflows, as a last resort is it doable using reports?
    Thank You

    Gaurav,
    Try this :
    Create a Workflow and use the below expression on the field you want to update
    Expr:- [<StartDate>]+[<TermLength>]*30
    30 is the number of days in a month, this is a simple approach. If you want to use the actual number of months (which I think is your requirement) from that start date to the end date based on the number of months selected in Term Length, you will have to so some more If's and else, use the IIf function to validate this.
    Ex: IIf(Month value of Start date is 1/January and the number of months selected in term length is 5 then you will have to build your logic around that to get number of months in each of those 5 months and use the sum of that in the code above.
    Good Luck!
    Royston

  • Need regular expression for oracle date format 'DD-MON-YYYY'

    Hi,
    Can anybody tell me the regular expression to validate date in 'DD-MON-YYYY'.
    My concept is i have a table with just two columns item_name and item_date
    Both fields are varchar2 and i want to fetch those records from this table which have valid date format('DD-MON-YYYY').

    If it must be a regexp, this is a starter for you, note it carries the caveats mentioned by both posters above and in the linked thread
    mkr02@ORA11GMK> with data as (select '10-jan-2012' dt from dual
      2  union all select '10-111-2012' from dual
      3  union all select 'mm-jan-2012' from dual
      4  union all select '10-jan-12' from dual)
      5  select
      6  dt,
      7  case when regexp_like(dt,'[[:digit:]]{2}-[[:alpha:]]{3}-[[:digit:]]{4}','i') then 1 else 0 end chk
      8  from data
      9  /
    DT                 CHK
    10-jan-2012          1
    10-111-2012          0
    mm-jan-2012          0
    10-jan-12            0It will not validate content, only string format.
    And to emphasis the points made in the linked thread - dates in text columns is poor design. Always.

  • Month end dates caluclation

    Hi guys,
    can any give me an idea..
    i have between calendar prompt...
    when i select from date and to date..
    i need the month end dates of that selected period..
    for example
    from date: 05-may-12 and to date: -19-oct-12
    i need to display May 31st,june 30th,july 31st, august 31st,september 3oth
    can any guide me pls
    Edited by: Bhargav K on Jun 4, 2013 11:19 AM

    Assuming you are using two column prompts 'FromDate' and 'ToDate', try using the following expression as the column formula in your report.
    TIMESTAMPADD( SQL_TSI_DAY , -(1), TIMESTAMPADD( SQL_TSI_MONTH , 1, TIMESTAMPADD( SQL_TSI_DAY , DAYOFMONTH( <FromDate_column>) * -(1) + 1,<FromDate_column>)))
    For the report create two filters, one on FromDate_column and the other on ToDate_column both filtered as is prompted
    Now when you use this report in a dashboard with the dashboard prompt containing the From and To data column prompts, the report will list all the month end dates between the selected range.
    Hope this helps

  • Allow certain users to capture quotation after bid end date

    Hi
    Is it possible to allow certain users to be able to capture quotation on behalf of suppliers using surrogate bid after the end date has been reached but before the opening date? How would I do this?
    Regards

    Hi
    As the end date and opening date are at the header level common to all bidders/vendors, we cannot manually capture quotation for specific suppliers using surrogate bidding. I dont think there is even a BADI for this.
    Rgds
    Reddy

  • Change infotypes end date when delete leaving action for employee

    Hello,
    I created new infotype and when employee leaves its end date is changed for leaving date.
    When leaving action is deleted ther is some least of infotypes that user can sign so the end date of selected infotypes will be changed to 31.12.9999. How can i add my infotipe to this list?
    Thank you,
    Paulina

    Hi,
    Maintain IT 0041 where in that table maintain employee start date of hiring and leaving date of employee bze in IT 0000 the dates will change as per action lets say if employee hire that date will be in IT 0000 action and if employee gets promotion date or leaving date that will store in IT 0000 by delimiting other actions
    So maintain IT 0041 where you can pull dates from there if you maintain
    End date will always be 31.12.9999 so check action start date you will get in sequence
    Thanks
    Edited by: Vibinsap on Mar 9, 2012 7:12 AM

Maybe you are looking for