Not able to calculate maximum DateTime and minimum DateTime in DataObject

Hi,
I tried using 'Max' and 'Min' function to get the maximum and minimum of a DateTime Field in the data Object but its throws me : BAM-01242:Invalid calculated coloumn.
Can't we use 'Max' and 'Min' function on DateTime field in Data Object or Report in Calculated type?
Thanks in Advance.
Saba

Hi Anju,
Try this...
          <xsl:variable name="monthDiff">
               <xsl:call-template name="monthDifference">
                    <xsl:with-param name="date1" select="/tns:StartDate"/>
                    <xsl:with-param name="date2" select="xp20:current-date()"/>
               </xsl:call-template>
          </xsl:variable>
     <xsl:template name="monthDifference">
          <xsl:param name="date1"/>
          <xsl:param name="date2"/>
          <xsl:value-of select="(xsd:date($date1) - xsd:date($date2))"/>
     </xsl:template>Cheers,
Vlad

Similar Messages

  • I switched on the voice over at its minimum rate and now i am not able to slide the screen and unlock it, i switched on the voice over in ipad 2 ios 6 at its minimum rate and now i am not able to slide the screen and unlock it

    i switched on the voice over at its minimum rate and now i am not able to slide the screen and unlock it, i switched on the voice over in ipad 2 ios 6 at its minimum rate and now i am not able to slide the screen and unlock it  please advise

    You should be able to turn it off on the iPad by using 'a tap-to-select and then double-tap to activate/type process' and 3 fingered scrolling to go into Settings > General > Accessibility and turn it 'off' (so to use the 'slide to unlock' tap the slider and then double-tap it, and to type your passcode tap a digit and then double-tap it etc), or you can do it by connecting to your computer's iTunes : http://support.apple.com/kb/HT4064

  • I'm trying to redeem my itunes gift card and i get the message "session timed out".  does anyone know why i'm not able to redeem my card and why i get this message?

    i'm trying to redeem my itunes gift card and i get the message "session timed out."  does anyone know why i'm not able to redeem my card and why i get this message in stead?

    I've been having the same issues too, and thought it was just my outdated computer or account?!
    Every time I try to purchase a song, "session has timed out" shows up after I click "agree" to the terms!? I seem to be in the exact same scenario as 'SportsBarn' above:  Itunes support have replied repeatedly with the same "solutions" but nothing has helped or even been applicable.  I have an older laptop, 2005 Powerbook running OS X 10.4 Tiger so it's not compatible with the latest iTunes 10.5.2 which requires minimum OS X 10.5. I've been using the balance already in my iTunes account (from redeemed giftcards over the past few years) with no problem, until recently (my last successful purchase was October 2011). I wonder if it's the older OS or just a redemption glitch even with newer computers?

  • To download an App the 3 security questions are required. But at the end, apple is not able to complete the task and gives an error message. No more downloads are possible. What can I do?

    to download an App the 3 security questions are required. But at the end, apple is not able to complete the task and gives an error message. No more downloads are possible. What can I do?

    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Do they launch OK while in Safe Mode?

  • F110- not able to clear the debit and credit entry with the same reference

    Hi,
    I am not able to clear the debit and credit entry with the same reference in F110 even after having the payment terms as immediate payment, payment method is maintained in document no and vendor master data. Both debit and credit entry is appearing in FBL1N as an open item but it is not appearing in F110.
    In Log message appear as 8 days grace period is existing whereas as payment term is just 0001- immediate payment.
    Kindly advice me what could be wrong.
    Thanks,
    Manya.

    Hi,
    Credit and debit balance in vendor account are not cleared automatically when only vendor line item has payment method and credit memo has not payment method. Also when there is not payment method maintained in vendor master data.
    In such case to avoid payment to vendor when vendor has debit balance we perform debit balance check.
    In second scenario when u2018individual paymentu2019 is selected in vendor master data vendor invoice and credit memo are not cleared automatically in F110.
    To setoff vendor credit and debit balance in F110 you to uncheck u2018individual paymentu2019 check in vendor master data > company code data > payment data.
    Thanks!
    Raju

  • I have a problem with my Iphone 4s since I did my first update at your Itunes, the bluetooth and the WiFi it is not workinhg anymore.  It is sad that companies like apple are not able to support thier sofware and business.  I went to a apple store at Sout

    I have a problem with my Iphone 4s since I did my first update at your Itunes, the bluetooth and the WiFi it is not workinhg anymore.
    It is sad that companies like apple are not able to support thier sofware and business.
    I went to a apple store at South Park, Charlotte NC,
    and found out the worst customer service (in my case)
    They don't have answers and don't understand about  "dont let any customer go away sad or mad"
    I explain to them that I did everything they said to fix the problem, even to dounload the iOS 6.1.3
    that was supposed to fix the problem.
    they said fix the problem in other phones but not in mine.
    So here I am with no wifi and bluetooth, with apple technicians and experts that don't know what to do with the problem that the sofware they developed cause in my iphone 4s.
    and the solution is for me to pay $199.00 US dollars for a problem that I did not cause.
    wich means to buy something else from apple to fix a problem that it is not my fault.
    Great! what a convenient solution.
    I would like to have an answer from you guys and see if someone there have a better answer for me that shows support, values and integrity as a grest company with solutions for your customers.
    Dont think that I want a new phone, I want mine fixed if is possible.
    Thank you very much and God Bless you!

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • IN APPLE STORE I WAS NOT ABLE TO UPDATE MY SOFTWARE AND THER IS ALWAYS AN ERROR 13 SHOWN WHILE UPDATING, IN APPLE STORE I WAS NOT ABLE TO UPDATE MY SOFTWARE AND THER IS ALWAYS AN ERROR 13 SHOWN WHILE UPDATING

    In Apple store I was not able to update my software and ther was an error whenever i tried to update it ,error is 13

    Did u try to delete ~/Library/Cookies/com.apple.appstore.plist yet?
    Just an FIY, my first post are not steps, they are different ways of fixing the problem.
    I.E.
    Try #1. ->>Didnt work. Then Try #2. --> if that doesnt contact this post again. I will try to help you as much as I can before the need to reformat is considered.

  • Not able to successfully subscribe to and see the TargetApplicationChosen event fire from Windows Phone 8.1

    Matt,
    Thanks for the reply.
    In my current experience, I am not able to successfully subscribe to and see the TargetApplicationChosen event fire from Windows Phone 8.1.
    In Windows Store 8.1 (Tablet), it works fine.
    Questions
    Is this event expected to fire in Window Phone 8.1 (Universal Apps, Not Silverlight 8.1) ?
    Does this event depend on the target application to supply AppName?
    Thanks for your help. Much appreciated.
    Example Code Block
    //From Page Contstructor or OnNavigatedTo Handler
    _dataTransferManager = DataTransferManager.GetForCurrentView();
    _dataTransferManager.TargetApplicationChosen += DataTransferManagerOnTargetApplicationChosen;
    private void DataTransferManagerOnTargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
    //fires in tablet but not phone

    This is not an answer, Mr. Wong.  The link you referenced refers to the DataTransferManager class being supported only in Native apps, which includes Windows Phone 8.1 RT apps.  All aspects of the DataTransferManager work except for the TargetApplicationChosen
    event under a WP8.1 universal app.  This event does NOT fire in the Windows Phone 8.1 RT API implementation of DataTransferManager.
    You need to reopen this thread and address the issue, please.  The lack of support for this event is problematic for some phone scenarios, most notably supporting NFC Tap and Share.
    Mark Jones, Owner MJ App Factory

  • I am not able to access the "featured" and "top charts" in the app store

    I am not able to access the "featured" and "top charts" icons in the app store.  Everything else works fine.

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

  • I am not able to enter the password and also can not able to open any application in my Mac Book Pro;to log in I have to force shutdown.

    Hi
    My Mac book pro is behaving strangely. I am not able to enter the Password and can't open any application/folder. To log-in I have to give forced shutdown. When ever I try to open any application the screen turns grey (some times) and the window pop up " --------- quit unexpectedly".
    I updated the OS too from the available updates but the problem persists. I have reasonable amont of data in it, which definitely I do not want to loose.
    Kindly let me know how can I come out of the above scenario?

    Hi Susan,
    In that case I will recommend that you consult a local technician/IT team and see if there is some network connectivity issue with your machine.
    - Abhishek Maurya

  • My iPhone is split from front panel on top, and back cover of my is swollen too. I am not able to use my phone and I cannot access my data in the phone. Please suggest what could be the cause of this problem?

    My iPhone is split from front panel on top, and back cover of my is swollen too. I am not able to use my phone and I cannot access my data in the phone. Please suggest what could be the cause of this problem?

    It sounds like the battery might have gone bad, and is swelling and causing the symptoms you describe.  Do not attempt to use the phone, but take it to Apple for evaluation.

  • HT5252 I tried to change my metadata date and got this   Aperture was not able to adjust the date and time of the original file "01769_p_h13ajyrm4bm0944.jpg" because it is locked or you do not have permission to modify it.

    I tried to change the metadata date.  It changed the date on my photo, but when I checked the box that said "also change my original file", it gave me this error message.
    Unable to change original file.  Aperture was not able to adjust the date and time of the original file “01769_p_h13ajyrm4bm0944.jpg” because it is locked or you do not have permission to modify it.
    Wassup?

    What is your Aperture version? The older versions of Aperture 3 had a problem to apply Metadata changes to the original file.
    If you are using the current version Aperture 3.4.5, try to repair the permissions on your Aperture library, if you have not already done so:
    Launch Aperture with the key combination ⌥⌘ held down and select "Repair Permissions" from the First Aid PAnel, that will appear.
    If that does not help, post back with more information on your original files - are the referenced or managed? Where is your Aperture library located? Since when do you have this problem? And what did you do directly before noticed the problem for the first time?
    Regards
    Léonie

  • Aperture was not able to adjust the date and time of the master file "2008-06-22 at 14-41-14.jpg" because it has a format that does not permit date modification.

    I can't seem to find a way to update the date/time of a master file. There is a format issue but I can't seem to figure out how to correct it.
    Aperture was not able to adjust the date and time of the master file “2008-06-22 at 14-41-14.jpg” because it has a format that does not permit date modification.

    Can you post an ipconfig /all from the server and the DC?
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • I am not able to hold a call and make a confrence call in my ios7.0.4 please help

    i am not able to hold a call and make a confrence call in my ios7.0.4 please help

    Conference calling with iPhone requires a GSM carrier.
    From the iPhone User Guide:

  • I bought a cd with Lightroom 5. After installation and registration I am not able to use 'help' function and I cannot update the software. I anyone able to give me a hint how to handle it? Thank you ind advance Karl

    I bought a cd with Lightroom 5. After installation and registration I am not able to use 'help' function and I cannot update the software. Is anyone able to give me a hint how to handle it?
    Thank you in advance
    arl

    Hi Keith, sorry for my late reply.
    Surely I am able to connect to the help function when Icontact the website
    of AdobeLR5.The problem is as follows,
    When I open LR5 on my computer and work with it and try to open the help
    function in the software, I don't get it.
    When I bought the CD I was naiv enough to believe that I get an independent
    working software. I learned in the meantime, that the seller does not allow
    to work with, without being connected to them.
    I don't believe that I am paranoid, but I like to buy something and use it
    without to inform the supplier that I do it. Otherwise I could have bought
    the license fpr LR5 via internet.
    Best regards
    Karl
    2015-01-02 13:42 GMT+01:00 kglad <[email protected]>:
        I bought a cd with Lightroom 5. After installation and registration I
    am not able to use 'help' function and I cannot update the software. I
    anyone able to give me a hint how to handle it? Thank you ind advance Karl
    kglad <https://forums.adobe.com/people/kglad?et=watches.email.outcome>
    marked Keith_Reeder
    <https://forums.adobe.com/people/Keith_Reeder?et=watches.email.outcome>'s
    reply on I bought a cd with Lightroom 5. After installation and
    registration I am not able to use 'help' function and I cannot update the
    software. I anyone able to give me a hint how to handle it? Thank you ind
    advance Karl
    <https://forums.adobe.com/thread/1669640?et=watches.email.outcome> as
    helpful. View the full reply
    <https://forums.adobe.com/message/7059196?et=watches.email.outcome#7059196>

Maybe you are looking for

  • Workflow Error Message: System Account - The Workflow could not set Content Approval Status

    This is the first time I try an approval workflow. I am using a template in MS Word and assigned an approval workflow to it. The approval workflow is only going to one person in this case. When I start the work flow the following 3 error messages sho

  • Java issue with permissions repair

    Hello. I know of the list of issues that I can safely ignore when repairing permissions. However, recently I've had issues with Java on Safari and when I repair permissions, I get this: Repairing permissions for “Chad's Drive” Permissions differ on "

  • Horizontal rolling when connected to S-Video

    When I hook my Mini up to an HD ready tv via s-video (1081i or 420P 420i) the screen reminds me of the TV's when I was a kid and you had to fool around with the horizontal hold. The screen is constantly rolling. The mini works fine on my 17" flat pan

  • Pulse count fieldpoint

    Hi! I need to write a VI with a pulse counter employing fieldpoint. Here's my problem: I have an energy meter with pulse output. I can set pulse frequency, pulse lenght and number of pulses for kWh. I have to read the signal from that instrument but

  • Mail doesn't show anything, it is completely blank

    I know everybody is having problems with Gmail and Mail, I've looked for a solution to this in other posts but haven't found anything. I have a brand new MBPR that I am setting up from scratch, I'm not using my old backup, so I'm not restoring old ma