Need to capture a Status date and keep it unchanged if I change the status

Hi,
I have a task list with multiple status like NOT STARTED, IN PROGRESS, WAITING FOR PROOF, WAITING ON SOMEONE ELSE, APPROVED, COMPLETED.
Now, I wanted to capture the WAITING FOR PROOF date so that I can compare it with TASK DUE date and set if it is "On Due" or Over Due" so I used the following syntax:
=IF(OR(Status="Waiting for proof",Status="Waiting on someone else"),DATE(YEAR(Modified),MONTH(Modified),DAY(Modified)))
This works, but if I change the status from WAITING FOR PROOF to COMPLETED, the captured date is changed to "No" which I do not want to happen. I want to retain the same date captured even if I change the status.
Many thanks,
Vasanth


Vasanth, your issue is because you are using the "modified" field whichchanges anytime you open the record. What you may need to add is a datefield that you control and will hold the date you which to compare against. You could initially capture the "created" date in that field then update it ONLY if specific field changes happen so you can change the Status field without disturbing your date comparison. This would require some calculated fields to update this date field only when it is necessary. Good luck!

Similar Messages

  • How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    HI,
    How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    Thanks Florin,
    Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
    Points have been rewarded for your help.
    Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
    Note: The Exit will be executed if "exit_cancelled"  statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
    Please check the link for adding the code in Work Item Exits.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
    Please find the Code:
    method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
    Get the context of the workitem
      me->wi_context = im_workitem_context.
    After execution of the workitem call the method AFTER_EXECUTION
      if im_event_name eq swrco_event_after_execution.
        me->after_execution( ).
      endif.
    endmethod.
    METHOD AFTER_EXECUTION.
    This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
      DATA: LCL_L_WID TYPE SWW_WIID,
            L_STATUS TYPE SWR_WISTAT-STATUS,
            L_NEW_STATUS  TYPE SWR_WISTAT,
            L_SWR_MESSAG  TYPE STANDARD TABLE OF SWR_MESSAG,
            L_SWR_MSTRUC  TYPE STANDARD TABLE OF SWR_MSTRUC.
    Get work item
      CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
        RECEIVING
          RE_WORKITEM = LCL_L_WID.
      L_STATUS = 'READY'.
      CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
        EXPORTING
          WORKITEM_ID    = LCL_L_WID
          STATUS         = L_STATUS
          USER           = SY-UNAME
          LANGUAGE       = SY-LANGU
          DO_COMMIT      = 'X'
        IMPORTING
          NEW_STATUS     = L_NEW_STATUS
         RETURN_CODE    = SY-SUBRC
        TABLES
          MESSAGE_LINES  = L_SWR_MESSAG
          MESSAGE_STRUCT = L_SWR_MSTRUC.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDMETHOD.
    Thank You Once Again,
    Ajay Kumar Chippa

  • Has anyone else had a problem with data? after updating my phone to the new update, i have all this data, and keep getting notifications that my data is getting high. i never had this problem before.

    has anyone else had a problem with data? after updating my phone to the new update, i have all this data, and keep getting notifications that my data is getting high. i never had this problem before.

    fair enough.  No need for any unnecessary posts either.  You issue had been addressed ad nauseum already in this forum had you bothered to search this forum (as forum etiquette would dictate) before posting.
    In any case, I hope that your problem was solved.

  • Service order is on product deliver status ,then i want to display product delivery status date and time on result list ?

    Hi Team,
    service order is on product deliver status ,then i want to display product delivery status date and time on result list ?My requirement is i want to display product delivery status date and time based on delivery status we need to display the date and time .how to do it.? basically i have created the productu delivery status field in search and result through AET.
    Now the fields will be available in BTADMINH.
    how to set based on status delivery to get the date and time .
    Thanks
    Kalpana

    HI Ajay,
    I have added code in BT116h_srvo,attributes - LCSTATUS,method -  SET_LCSTATUS.but after change status f8 ..but the value is not filled in result list..so i need to write the logic in EH_ONSAVE or some other..could you please help here..what change i need to do..
    IF
    <nval> = 'E0004'.
    DATA : lv_date TYPE dats.
    DATA : lv_time TYPE tims.
    lv_date = sy-datum.
    lv_time = sy-uzeit.
    DATA : lr_parent TYPE REF TO cl_crm_bol_entity,
    lr_adminh TYPE REF TO cl_crm_bol_entity,
    lr_root TYPE REF TO cl_crm_bol_entity,
    lv_process_type TYPE crmt_process_type,
    lv_parent_name TYPE crmt_ext_obj_name,
    lr_current TYPE REF TO cl_crm_bol_entity.
    lr_current ?= current.
    lr_parent ?= lr_current->get_parent( ).
    CHECK lr_parent IS BOUND.
    CALL METHOD lr_parent->get_parent
    RECEIVING
    rv_result = lr_adminh.
    CHECK lr_adminh IS BOUND.
    TRY.
    CALL METHOD lr_adminh->set_property
    EXPORTING
    iv_attr_name = '/itcit/F0010'
    iv_value = lv_date. "value.
    CATCH cx_sy_conversion_error .
    ENDTRY.
    TRY.
    CALL METHOD lr_adminh->set_property
    EXPORTING
    iv_attr_name = '/itcit/F0011'
    iv_value = lv_time.
    CATCH cx_sy_conversion_error .
    ENDTRY.
    ENDIF.
    Thanks
    kalpana

  • HT4539 I want to download all the music I purchased through my iphone and computer from the first date i had iphone to date, and keep it in both my computer and iphone.

    Need help, I want to download all the music I purchased through my iphone and computer from the first date i had iphone to date, and keep it in both my computer and iphone.

    You cannot synch the other way, with the exception of songs purchased on iTunes.
    What you need to do is move the iTunes library from the computer to which you've been synching your phone and put it on your new MacBook. 

  • User status Date and  time

    Hi EXPERTS,
    In notification when we change user status, system logs date and time in action log
    I want to know in which table does user status date and time can be found.
    Regards
    Anil Kumar

    Anil Kumar,
    I'm not a t a system right now, but have a look at JEST and JCDS.
    PeteA

  • Getting an error message: "if you are here, it is probably because your computer's clock is wrong."  Ergo, I can't get to the page I need.  My clock's date and time are right.  After re-booting, went to wrong time zone, which I changed-- still getting msg

    Getting an error message: "if you are here, it is probably because your computer's clock is wrong."  Ergo, I can't get to the page I need.  My clock's date and time are right, but time zone was wrong-- changed & saved it, but still getting error msg

    'Requires=network.target' wasn't in it so I added it but nothing's changed. I've left it in because openVPN does require network.
    As I said, I had this problem with a script so I don't think it's anything specific to openVPN. I had a weird occurrence this morning however. When I started the computer up this morning  openVPN worked just fine. However when the computer rebooted openVPN couldn't resolve the host address again.

  • Apple TV only showing trying to change date and time. I have recently changed to a new wifi provider and need to change the settings in tha ATV box.

    Apple TV only showing trying to change date and time. I have recently changed to a new wifi provider and need to change the settings in tha ATV box.

    Welcome to the Apple Community.
    Assuming this is not the first time you have used your Apple TV
    You might try restarting the Apple TV by removing ALL the cables for 30 seconds.
    Also try restarting the router. (Also try removing it’s power cord for at least 30 seconds)
    If the problem persists, try a restore, you may want to try the previous procedures several times before doing this.
    If restoring from the Apple TV doesn't help, try restoring from iTunes using a USB cable.
    If this is a new Apple TV, in addition to trying the above, it may also be that your network router is not allowing access to the timeserver, check that your router allows access over port 123.

  • HT204150 Hi, I made a mistake by allowing facebook to download all my contacts in my address book. Now i need to clean my address book and keep only my original contacts. If i do it on my macbook, will it reflect on my iphone?

    Hi, I made a mistake by allowing facebook to download all my contacts in my address book. Now i need to clean my address book and keep only my original contacts. If i do it on my macbook, will it reflect on my iphone? Or will my iphone redownload all the contacts i deleted when i connect it to my macbook or through the cloud?
    when working with icloud, is there a primary device (macbok, ipad...) on which if the changes are made, they reflect on all other devices?

    I see.  If you are syncing contacts with iCloud on both your Mac and your iPhone, deleting a contact from either device will delete them from icloud.com and all other devices. 
    What's really going on with iCloud is that your contacts actually reside on the iCloud server.  Your Mac and iPhone are merely reading the current contact list as it exists on the server.  When you delete a contact (or make any other change) on either device, you are making these changes on the server.  As a result, all other devices "syncing" contacts with the same iCloud account will read this change.  When you log onto icloud.com, you are viewing the server from your browser.

  • HT1418 I have iPod4 and cannot see day-to-day appointments, etc on PC Outlook calendar.  Only repeated items (birthdays, anniversaries, etc.) are visible.  Where is the rest of my data and how do I restore it to the only calendar I have in Outlook?

    I have iPod4 and cannot see day-to-day appointments, etc on PC Outlook calendar.  Only repeated items (birthdays, anniversaries, etc.) are visible.  Where is the rest of my data and how do I restore it to the only calendar I have in Outlook?
    Thanks

    Hello Schimi. The Time Capsule is a kind of product that offer you two possibility:
    - To use the TC as a router or as an external HD.
    The difference between WPA and WPA 2 are:
    - They are two kinds of internet connection.
    WPA uses dynamic key encryption , which means that the key is constantly changing and makes the invasion of a wireless network more difficult than WEP . WPA is considered one of the highest levels of wireless security for your network and is recommended if your devices support this kind of encryption . Newer routers offer WPA2 security . WPA2 is compatible with WPA , but offers higher security level . In fact, it meets the high standards of many government agencies . If the router and computer support WPA2 , this should be your choice.
    If you need any help or if you find some difficult setting up it you can contact Apple Support.
    I am sure that they can help you with that.
    I am sory for the delay. I holpe that you solve your issue.

  • I am trying to download a calendar into ical and keep getting this message-Some of the events in this calendar have alerts that open files or applications.  What am I doing wrong???

    I am trying to download a calendar into ical and keep getting this message-Some of the events in this calendar have alerts that open files or applications. Remove alerts or cancel 
    What am I doing wrong or missing??

    I have this same problem in October of 2013. I am unable to import .ics files into Lion that I exported from my Snow Leopard MacBookPro without losing all of my future events (which all have alerts attached). All of the events from BEFORE today's date are successfully importing, presumably because they are no longer expected to trigger alerts via Apple Mail. After my first unsuccessful attempt, I learned that iCal was communicating with iCloud by default. I have since turned off iCloud, but I have not found a solution to the problem. Harvey

  • I am trying to uninstall itunes and keep getting a reject that reads "the feature you are trying to use is on a network resource that is unavailable."  Its windows...help!

    I am trying to uninstall itunes and keep getting an error that reads "the feature you are trying to use is on a network resource that is unavailable."  Itunes on windows.  Help!

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • HT4993 i am trying to install msnbc app from the app store and keep getting an error message.  The app will not install.  What can i do?

    i am trying to install msnbc app from the app store and keep getting an error message.  The app will not install.  What can i do?

    This is asked and answered many times each day.  The forum search bar is on the right side of this page.
    Disable your firewall/security software and try again.

  • I have a mid year 2007 24 inch iMac and will be purchasing a new 27 inch Retina iMac, what is the easiest way to transfer the data and files from my old machine to the new one?

    I have a mid year 2007 24 inch iMac and will be purchasing a new 27 inch Retina iMac, what is the easiest way to transfer the data and files from my old machine to the new one?

    Following up on this thread,
    I have a new iMac on the way and my current is from 2008, never had a problem but I am sure there are internal issues that I would prefer not to transfer.
    I have no issues other then the slowness in certain programs and that is the main reason to buy a new one.
    Programs like numbers and pages seem to take a longer time to open after I update to Yosemite.
    I only use 272GB of 500 GB, my memory is 4GB and I am upgrading to 8Gb and bought the 4.0 processor.
    Question:
    Is there a way to manually transfer items or would that be a waste of time in that if there are issues they could be anywhere and would transfer anyway?

  • PowerShell Script to get the details Like Scope,Last Deployed date and Name for a Solution Deployed in the Farm.

    Hi Experts,
    I am trying to  build a PowerShell Script to get the details Like Scope,Last Deployed date and Name for a Solution Deployed in the Farm.
    Can anyone advise on this please.
    Regards

    Get-SPSolution|Select Name,Scope,LastOperationResult,LastOperationEndTime|Export-CSV "SPInstalledSolutions.csv" -NoTypeInformation
    SPSolution properties
    Get-SPSolution
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

Maybe you are looking for

  • Libxml2.dll - Entrypoint not found

    Everytime I get the libxml2.dll issue fixed, a new iTunes updates seems to bring it back.  Is there anyway to fix this once and for all?  This is a long running issue and I would have thought it would have been sorted out by now.  This should not sti

  • Having trouble syncing my itunes to my iphone 5

    itunes sync gets stuck on "waiting for changes to be applied"

  • How do I delete old WiFi Accounts?

    I have two Macs running Mavericks and an iPhone and iPad both running iOS 7. I can't delete old WiFi accounts with no password that I no longer wish to connect to. Every time I delete them in System Preferences, they keep coming back. I've disabled i

  • Apps on CC menu

    I subscribe to a single apps: Dreamweaver CC.  On the Adobe CC Menu there are Apps that have "Try" or "Install" buttons. Are those Apps with "Install" next to them (Bridge CC, Adobe Scout CC, Extension Manager CC, etc)  available for a single apps su

  • Agent Binding to NIC with multiple Bonded NICs and VLANS

    Hi I am having an issue with agent communication where the agent installs on a server, but is then unable to communicate correctly with the primary servers. This error is typically reported through the Zenworks agent status in ZCC "Unable to connect