Using FormCalc to Automate Date Calculations

How do I use FormCalc to add days to a date and automatically calculate a second date?

Thanks for the feedback, but I've checked this out in depth before coming to this discussion group. It does not show me how to calculate the date as I need it. I have a timeline document where users will enter an initial date. Based on the initial date, I want to automatically calculate the milestone dates by adding the number of days in wait time. For example, the user will enter Jan 1, 2013. The first milestone should occur 3 days later, so the calculation would add 3 days to the initial date and automatically return a date of Jan 4, 2013. There are a number of milestones and automatic dates that occur throughout this 80-day timeline.
Do you have any idea of what that calculation would be?

Similar Messages

  • Unwanted automatic date calculation

    I have an entity object that has a date type of field in it. I have created a view object and an application module based on it. when i test the application module, if i put a date such as 2000-10-61 (default format of yyyy-mm-dd), then instead of giving an error, the extra days are simply rolled over into the next month, and a new date is calculated and stored (2000-10-60 becomes approximately 2000-11-30). How can i avoid this?

    Thank you for the quick response!  I have never backed up the phone nor restored to factory data reset.  It's a new device.  I've had it for about a month.  I am the only user of this phone.  There are no kids in the house.
    I suspect what's happening is that it is very easy to get to the settings page from the front panel, and that if the I put the phone in my pants pocket, it doesn't take much to get into settings mode and from there to the date settings and from there turning off those automatic time/date settings.  I've notice other settings get turned off as well, so it's not just the date and timezone.  If there was some way to make it harder to get to the settings page, that would help a lot.  Maybe if that link were hidden, or just not on the front panel?
    The first time this happened I was on a trip to a different time zone.  I set the alarm clock to wake me up for the flight back home, and when did went off it was 32 minutes late.  The next time it happened I had set an alarm clock for a morning business meeting and it got me there an hour early.  And then it happened again this week but now I check the time every night, so I caught it.
    I was using a blackberry for years before this phone, and they made the settings pages well hidden.  So I was hoping there was a way they could be hidden better on this phone.

  • Object references using FormCalc

    Hello
    Does anyone know of the FormCalc equivilant to the following javascript code?
    var a = event.target.getField("form[0].page[1].field1");
    Basically what I am doing is manipulating the data in field1 form several other fields. The other fields all use FormCalc, to do some calculations.
    For example say field2 has the following javascript:
    var a = event.target;
    var lcv;
    var total = 0;
    for (lcv = 0; lcv < 10; lcv++)
    total = total + a.getField("form[0].page[1].field1["+lcv+"]").value;
    I would like to do the samething using FormCalc (I have some other fields that use FormCalc to do stuff, but I need to also do the same kind of sumation) without having to hard code all the fields.
    Thanks
    Ben
    P.S. if you know the synax for a for loop in FormCalc that would be helpful also, but not critical since I can use a while loop.

    Chris,
    I did not think FormCalc supported what I needed but I was hoping I was wrong and therefore hoped to avoid having to query the field directly because the area I am working over basically equates to a 2 dimensional array (but its is not actually one) with a considerable number of fields, I was hoping not to have to hard code the field names for direct access, but if I must, I must, since in need FormCalc functions in part of my validation ( I use parse and format, as well as R&Ltrim) before the calculations.
    I check page 23 for the FormCalc reference guide which comes with 7.0 and it talks about how to access elements in a tree, not the syntax of a for loop. If you have a simple example that would suffice.
    Thanks
    Ben

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

  • How to use Dynamic date calculation in some transactions.

    Hello everyone.
    I have to create some dynamic variants using the dynamic date calculation. The problem is that in some transactions it´s not possible to use some variables that can round a value. For example: in transaction /SAPAPO/MC90, I need to fix 3 months in the horizon like this: From date: 01.01.2009  To date 31.03.2009. The current month is 01.01.2009. Next month the current month will be february, so the horizon would be 01.02.2009 to 30.04.2009.
    In 5.1 version, it´s impossible to fix the months, because the options that appear in the match code are:
    Current Date
    Current date +/- ??? days
    current date +/- ??? work days
    First day of current month
    nth working day of current month
    First day of next month
    First day of previous month
    Last day of previous month
    Last Day of the Current Month
    Does anybody knows how to do this? This is happening in other transactions to.
    Thanks a lot
    Regards
    Angela

    I am not sure where you are looking for..but here is what I can do it in MC90 Tcode:
    1. when you try to save the variant, in the variant screen check the two boxes under "Current date" field for Selection Variables attributes "L"
    2. Then click on Selection variables option and click on the "D" variable so that it turns to green
    3. Drop down in the first current date field, select "Current +/- ??? days. here if you want to start from today's date maintain 0 days
    4. In the second Current date field maintain 90 days in "Current +/- ??? days.
    5. save it
    please let me know if I misunderstod the issue

  • Time is delayed by 10 minutes when you use Automatically Date & Time

    Time is delayed by 10 minutes when you use Automatically Date & Time in France

    It is not carrier as all my Apple products where up to 10 minutes fast. I had to reset each product to the correct time. I'm in New Zealand.

  • How to display today date using formcalc

    Hi all,
    how to display today date using formcalc, eg April 20, 2009?
    Thanskks

    Num2Date(Date(), "DD/MMM/YYYY", "de_GB")

  • Use difference between 2 dates in calculation

    Hello,
    I want to create a calculation that compares between each month in the year of the forecast and 'Hire Date', so if our year starts in jan-2011. I want to get the difference between jan-2011 and hire date, next month it should get difference between feb-2011 and hire date and so on. The calculation below is trying to check if the difference is more than or equal 1 year.
    I have an account named 'Hire Date' of Date type.
    I'm trying to write a calculation as follows:
    @DateDiff("Hire date",*Current_Date*",DP_Year) >=1)
    I need the "Current Date" to contain the full formated date as hire date. I was thinking of producing the current date for example: 01-Jan-2010 to be used in the calculation as follows:
    IF(@DateDiff("Hire date",(@CONCATENATE("01",@CONCATENATE(@CURRMBR("PERIOD"),(@CONCATENATE("-",@CURRMBR("YEAR"))))),DP_Year) >=1)
    a=b*c;
    end if;
    Am I on the right track or there's any straight function function or method that can return the current month-year being proccessed in the calculation and use it directly in datediff calculation? or there's any method other than datediff to perform the same ?
    Thank you.

    I know that it takes date as input parameters, and this is what I was trying from the beginning until my last message that I was pretty sure I'm using it correctly but its not working correctly and returns zero, I started wondering if it's not working with members of date type!, and actually it came to be true as per Oracle support confirmation below! :
    "Oracle Support - March 1, 2011 5:06:21 PM GMT+02:00 [ODM Research]
    Issue is related to enhancement request
    Bug 9576187 - PLN SHOULD SAVE DATES AS ESSBASE DATE SO DATE FUNCTIONS CAN BE LEVERAGED IN HBRS
    Oracle Support - March 1, 2011 5:12:12 PM GMT+02:00 [ODM Question]
    The Essbase function "@DateDiff" is not returning the expected result when used with Planning date members.
    Oracle Support - March 1, 2011 5:16:42 PM GMT+02:00 [ODM Answer]
    Essbase saves dates as a number representing the seconds elapsed since midnight, January 1, 1970 (POSIX format). However, Planning saves the dates as a 6-digit number.
    Since all native Essbase date functionalities (@DATEDIFF, @DATEDIFF, @DATEPART etc.) require their date parameters in the POSIX format, Planning dates cannot be processed with Calculation Scripts and Business Rules.
    There is currently an enhancement request pending which aims to address this issue. However, currently there is no indication of whether this enhancement is going to be incorporated into a future release.
    Enhancement Request:
    BUG 9576187 - PLN SHOULD SAVE DATES AS ESSBASE DATE SO DATE FUNCTIONS CAN BE LEVERAGED IN HBRS
    Oracle Support - March 1, 2011 5:26:45 PM GMT+02:00 [ODM Action Plan]
    Unfortunately, the Essbase date functions (@DATEDIFF, @DATEDIFF, @DATEPART etc.) are not supposed to work with Planning members of type date. There is currently an enhancement pending. I will follow up this enhancement request to get clarification on whether it's actually considered for future releases.
    I will keep you updated.
    Oracle Support - March 2, 2011 10:32:20 AM GMT+02:00 [ODM Action Plan]
    With Oracle EPM 11, those new date functionalities have been introduced to Essbase. As previously outline, any date function in Essbase expect the date to be in the POSIX format but Planning's date form consists of 6-digit number. Hyperion Planning and Essbase are two independent products which are available as part of one suite. Although Hyperion Planning requires Essbase, it does not necessarily support every functionality available in Essbase. A couple of years back, when Hyperion Planning's date format was definded, it didn't use Essbase. Unfortunately at the time, Planning development decided to use a 6-digit number rather than the POSIX format. During the past couple of years, efforts have been made to "sync" Planning and Essbase to provide a seemliness experience. The mentioned enhancement request serves the purpose to make it possible to use the Essbase date functions against Planning date members.
    Please understand that this issue is not a technical problem as such. Any suggestions concerning a possible approach in order to achieve a date comparison falls into the scope of functional consultancy. The only possible workaround I can see, is to write a rule which follows the same logic as a POSIX date converter in order to be able to use the resulting date values in conjunction with the Essbase date functions as well as to be able to save the corresponding date value in a 6-digit format to Planning date members."

  • How to use Replacement Path Variables to perform Date Calculations

    Hi Experts,
    Can anyone make me clear about:How to use Replacement Path Variables to perform Date Calculations???????
    Thankyou in advance..
    shankar

    In left panel select the time Dimension
    Then hit new variable in that
    give the Name and Description for the Variable
    In processing by hit Replacement Path
    In reference characterisitcs use Calendar Day...
    As ur intention is to use it for Date
    Then in adjacent tab use
    Replace variable with Query / Variable
    Then u can use Offset length and offset start for controoling the display of your variable.
    Use as single, multiple single, interval, selection option as uwish
    HIt okey
    and you are good to go

  • Samsung Galaxy S 5 - using automatic date and time

    Using automatic date and time sets the date to November 27, 2014 instead of the correct date of September 25, 2014. What's going on? I haven't ever had a problem with this setting before.

    Clear phone system cache & place phone in Airplane mode then do a power down (not a restart) of the phone. Next remove both SIM card and battery & wait for 1 minute or so. Then reinstall the SIM & battery and power phone on. If your signal is strong this should reset your data channel to the correct time. 

  • TS3297 I find the instructions to use automatic date/time in ts3297 to be totally unacceptable.

    I do things on my MBP (software builds) that REQUIRE consistent timestamps. I also travel extensively, which frequently results in "going backwards in time' (flying east to west). Updating date/time automatically causes total confusion for my builds, among other things.
    I haven't debugged (yet) the same error message on my iPhone 4 which _does_ have 'automatic date/time' set.
    My iPhone 4S and original iPad seem to work just fine. The 4S has automatic date/time, original iPad has manual date/time.
    All ios devices are 5.1.1, MBP is Mountain Lion. In other words, no software updates required for any device.
    The interesting thing, it's only updates.... Now that _does_ require date/time info, but I would expect to see 'no updates found', not 'unable to connect'.

    Okay, checked the iPhone 4 debug steps.
    Not my ISP, I can press 'featured' in the App Store and see what's up. Safari works, etc.
    Doesn't matter whether connection is Wi-fi or 3g, fails.
    Powered down/up, no change. Switched from automatic to manual and back, no change.
    Went back to MBP, the OSX app store works just fine. It found I needed to update iTunes on my MBP. We'll see what happens after that. Can't expect it to solve my iPhone 4 issue, though.
    Download time for iTunes update is 35+ minutes (hotel connection). I'll be back.....

  • Calculating batch sizes using past and future data

    Hello all,
    I have been a business analyst for the past 10 years on SAP working in many of the different areas surrounding supplychain.
    I am looking for a way of ensuring that the business that I am working in are ordering parts in the most efficient batch sizes.
    Is there a way in which I can use past consumption, order data and future demand to determine any adjustments that need to be made in the current batch sizes that we use.
    Thanking you in advance,
    Mark

    check this:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/f4/7d27eb44af11d182b40000e829fbfe/frameset.htm

  • Data calculations in Indesign CS5

    I am wondering if there is a way to have indesign do date calculations. For instance, I enter a departure date for a trip into the document. The fine print in the document needs to have multiple dates filled in that are all a certain number of days before the departure day. 150 days before, 100, and 60. Is there a way to automate this?

    Javascript for InDesign has a Date object: http://jongware.mit.edu/idcs5js/pc_Date.html
    I guess you could use that to do the calculations. You could, for example, have a script that allows you to enter a date and then shows the list of prior-to dates, allowing you to copy them nto your document.
    Of course there is much more possible as well.

  • Can you use SQL as a data source for a project in the same way you can in Excel?

    Excel allows you to create a data source that executes a SQL stored procedure, display that data as a table in a spreadsheet and have that data automatically refresh each time you open the spreadsheet. Is it possible to do the same thing in MS Project, displaying
    the data from the stored procedure as a series of tasks?
    Here's what I'm trying to do - I have a stored procedure that pulls task data meeting a specific criteria from all projects in Project Server. We're currently displaying this data as an Excel report. However, the data includes start dates and durations so
    it would be nice to be able to display it as a Gantt Chart. I've played around with creating a Gantt chart in Excel and have been able to do a very basic one, but it doesn’t quite fit our needs.

    No, You can not use sql as a data source for a project.
    You have 3 options to achieve it:
    1. You can create a Sharepoint list with desired column ,fill desired data in that list then you can create a MS project from Sharepoint List.
    2. You can create a SSRS report in which you can display grantt chart Joe has given you that link.
    3. You can write a macro in MPP which will take data from your excel. In excel you will fetch data from your stored procedure. write a schedule which will run every day to update your data or
    create an excel report in which will update automatically and write macro in mpp which will fetch the data then publish it so that it would be available to team members.
    kirtesh

  • Schedule Line Delivery Date Calculation with Transportation Scheduling

    Hi All,
    We are currently running into a problem where our Sales Order Schedule Line delivery dates are being pushed out too far into the future - because of the Calendar being used to determine the transit time.
    We have 'Delivery Scheduling' and 'Transportation Scheduling' activated for our Sales Document type
    We have Routes that are configured with a 'Transit Time' and a 'Factory Calendar'
    Order Scenario:
    'Factory Calendar' assigned to our 'Route' is setup with only one 'Workday' in a given week e.g. Wednesday
    Our 'Route' has a Transit Time of 2 days
    We create a Sales Order on Monday for a Material that is available in our Plant
    The 'Goods Issue' date is being determined correctly for the next Workday - being Wednesday
    The 'Delivery Date' is extending out over 15 days (2 Wednesdays into the future) - since it is working on 'Calendar Days' and not 'Actual Days'
    Does anyone know of a way (config or other) to only influence the 'Goods Issue' date with the 'Factory Calendar' assigned to the Route, and have the 'Delivery Date' calculated using the Transit Time on the Route and 'Actual Days' rather than Calendar days?
    All help greatly appreciated.
    Thanks,
    Ravelle<i></i>

    Hi Pathik,
    Thanks for your reply.  I have already maintained the Calendars I'm using for this business process in <SCAL> - same as <OY05>. 
    The problem I'm having though is that by assigning a Calendar directly to my route (which I doing to influence the goods issue date - using a 1 Working Day Calendar) it is also taking precedence in determining the Transit time - which in this case I don't want, as I want my Transit time to be determined using a 5 Working Day Calendar.
    I don't think this problem has a config option as a work around...I think the only possibility in this case is a development to achieve the results we need.
    Thanks,
    Ravelle

Maybe you are looking for

  • DVI and HDMI feed to the same HD monitor

    I am adding a Black Magic Hd extreme card to my Mac Pro and currently have a 23" Apple display only for editing with FCP (I've been using a Sony Trinitron 14 " CRT TV for SD monitoring in the past). I can't afford a pro HD monitor so will be going do

  • Can i Create Output Variable for DB Polling in BPEL 11g?

    Hi Team,           I want to create the Output Variable for DB Polling,But when i double click on Reply Activity-->Create New Variable it is giving error message like "Can't Create output variable.The Selected operation doesn't have an Output Message

  • Why does my iphone 5 get stuck in setup mode ?

    help

  • Item Recipe

    We are implementing oracle inventory r12 in cement industry. Is this scenario possible in inventory? Different raw materials are extracted and mixed together to make one that is clinker. A+B+C=D

  • Issues with Failover in SA540?

    One of my partners is having an issue that remains unresolved - the case id is SR 613266147 - SA 540 Security Appliance / Configuration issues.  The client bought 4SA 540s, 3 for production use and 1 spare.  Partner configured and installed and the r