Less Than operator not working, Greater Than operator works comparing dates

I need to compare dates to conditionally display a row. If the DateDueJulian_ID5<= AsOfDate_ID47 display otherwise don't. I get all rows but if I reverse the logic >= the condition works and only displays the one matching row.
I am using the Template Builder 10.1.3.4.1 and WORD 2007.
Any help is appreciated!
Thanks
XML Source:
<Header_Section_S3>
<Delinquency_Report_ID225>DELINQUENCY NOTICE</Delinquency_Report_ID225>
<VersionName_ID270>0001</VersionName_ID270>
<Report_or_Video_Title_ID53></Report_or_Video_Title_ID53>
<Remit_To_Text_ID68>Remit To:</Remit_To_Text_ID68>
<RemitToAddressLine1_ID2>XXXXX</RemitToAddressLine1_ID2>
<XX_XX_XX_ID259>2010-08-25</XX_XX_XX_ID259>
<Date__ID258>Date</Date__ID258>
<RemitToAddressLine2_ID5></RemitToAddressLine2_ID5>
<RemitToAddressLine3_ID8></RemitToAddressLine3_ID8>
<As_of_Date__ID46>As of Date</As_of_Date__ID46>
<AsOfDate_ID47>2007-11-29</AsOfDate_ID47>
<A_R_Delinquency_Notice_Detail_Join_S2>
<DocVoucherInvoiceE_ID1>1897265</DocVoucherInvoiceE_ID1>
<DateInvoiceJ_ID3>2007-10-11</DateInvoiceJ_ID3>
<DateDueJulian_ID5>2007-12-10</DateDueJulian_ID5>
<NameRemark_ID7></NameRemark_ID7>
<AmountOpen_ID11></AmountOpen_ID11>
<AddressNumber_ID17></AddressNumber_ID17>
<UniqueKeyIDInternal_ID19></UniqueKeyIDInternal_ID19>
<KAV_CustomerPONumber_ID23></KAV_CustomerPONumber_ID23>
</A_R_Delinquency_Notice_Detail_Join_S2>
<A_R_Delinquency_Notice_Detail_Join_S2>
<DocVoucherInvoiceE_ID1>1897265</DocVoucherInvoiceE_ID1>
<DateInvoiceJ_ID3>2007-10-11</DateInvoiceJ_ID3>
<DateDueJulian_ID5>2007-11-10</DateDueJulian_ID5>
<NameRemark_ID7></NameRemark_ID7>
<AmountOpen_ID11></AmountOpen_ID11>
<AddressNumber_ID17></AddressNumber_ID17>
<UniqueKeyIDInternal_ID19></UniqueKeyIDInternal_ID19>
<KAV_CustomerPONumber_ID23></KAV_CustomerPONumber_ID23>
</A_R_Delinquency_Notice_Detail_Join_S2>
RTF:
<?for-each:Header_Section_S3?>
<?if:DateDueJulian_ID5 <= AsOfDate_ID47?>
<?DocVoucherInvoiceE_ID1?>
<?DateDueJulian_ID5?>
<?AsOfDate_ID47?>
<?end if?>
<?end for-each?>

Found the solution! Use Date_Diff.
<?if:xdoxslt:date_diff('d',DateDueJulian_ID5,AsOfDate_ID47,$_XDOLOCALE,$_XDOTIMEZONE)>=0?>

Similar Messages

  • Is it possible to import less than ALL of the data from a PDF form developed on LiveCycle?

    Is it possible to import less than ALL of the data from a PDF form developed on LiveCycle?

    Please ask in the LiveCycle Designer forum.

  • App Store is not working in Data plan in iPhone 4s

    In my New iPhone 4s App Store is not working in Data plan.Even though i have restarted still the same problem persisits.
    And also If I turn off some apps(Settings-->Use Cellulalar data for ) by using Cellular data for those are not working
    Could someone help me.

    I didn't have any problems with the Malaysia App Store.
    Try this...  install the Mac OS X 10.6.8 Update Combo
    Then restart your Mac.
    Launch the App Store.
    Check the round flag icon bottom left corner of the iTunes window to make sure the correct country is selected. If not, click the flag then select Malaysia.
    It's ok to install the combo even though you are already running v10.6.8.

  • USB not working for data

    Hi, I just realized one of the USB ports of the laptop (powerbook G4) is not working for data transmition, it only works for power, like a cooler.
    Does anybody has any idea?

    USB and FireWire Quick Assist
    http://support.apple.com/kb/HT1151?viewlocale=en_US
    Common fixes for USB device issues (unrecognized, etc.)
    http://www.macfixit.com/article.php?story=20070824012114701
     Cheers, Tom

  • Intelligent barcode font not working in Data Merge?

    Intelligent barcode font not working in Data Merge?
    When using Data Merge I only get a pink box where the code is supposed to go. If I cut and paste the same info into the spot the bar works fine. Anybody ever have this problem?

    It looks like you're working with InDesign, correct? I would try posting your question over in the general InDesign forum: http://forums.adobe.com/community/indesign The folks over there will be able to provide you with more specialized expert help

  • Excel Functions Do Not Work When Data Source is BW

    Hello,
    My platform is, BOBJ BI 4.0. Data source is SAP BW. BW is connected to XCelsius with BEx. My problem is, excel functions do not work when data source is BW. For example, Excel cell A1=quantity1  B1= quantity2   C1= excel function "=A1+B1" When data source is Excel, for example A1=5, B1=9 C1 automatically equals to 14. (There is no problem when data source is Excel) But, in BW, for example when BW set values to A1=5, B1=9, the system does not calculate C1. C1 always equals to initial value, the system does not care any excel calculation when data source is BW.  Any guess for my problem? Thank you for your effort.

    Hi,
    As you are using very simple formula,it will work no matter which source you are consuming.As mentioned,try to place a simple component(Eg:spreadsheet),just to check whether you are getting the right calculated value or not.
    As you are using BW as source,the Preview option will not show the runtime data,so you need to publish in Portal to check whether the calculation happened or not.
    As far as I know only few fromulas are supported in Xcelsius,but these kind of simple formulas are very much supported.
    Rgds,
    Murali

  • Less than or eual to Date issue in dynamic where clause

    Dear All,
    I have a requirement to search the leave balance information, here date as a parameter. When ever we pass the date as a parameter it should be display all the leave balance information till the parameter date.
    Steps I have followed to achieve this requirement
    • Created the VO and query as follows
    SELECT trunc(paa.creation_date) creation_date, paa.date_start, paa.date_end,
    SYSDATE duty_resumption_date, paa.absence_days leave_deducted,
    paa.absence_days leave_added, 'Leave Deucted' detail,
    paa.absence_days balance_remaining,
    fu.user_id
    FROM per_absence_attendances paa, per_all_people_f papf, fnd_user fu
    WHERE 1 = 1
    AND papf.person_id = paa.person_id
    AND papf.person_id = fu.employee_id
    AND fu.user_id=fnd_profile.value('USER_ID')
    And trunc(paa.creation_date) <= TO_DATE((to_char(trunc(to_date(:1)),'DD-MON-YYYY') ),'DD-MON-YYYY')
    •     Created the Advance Search Region
    •     In the controller of the region, I have captured the go button logic and setting the dynamic where clause as below
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    OAQueryBean oaquerybean = (OAQueryBean)webBean.findIndexedChildRecursive("QueryRN");
    if (pageContext.getParameter(oaquerybean.getGoButtonName()) != null)
    OAViewObject oaviewobject = (OAViewObject)am.findViewObject("XXLeaveBalanceVO");
    String creationDate = pageContext.getParameter("CreationDate");
    oaviewobject.setWhereClauseParam(0,creationDate);
    oaviewobject.executeQuery();
    •     But this where condition is working equal condition to the parameter but it is not working less than condition.
    •     When I am running the VO query in Toad it is working the less than condition.
    Please help me out to resolve this issue.
    Thanks in Advance,
    Sai

    Dear Kumar,
    I have changed my vo query as you suggested, now the equal condition also not working and I am getting the following error message
    JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT trunc(paa.creation_date) creation_date, paa.date_start, paa.date_end,
    SYSDATE duty_resumption_date, paa.absence_days leave_deducted,
    paa.absence_days leave_added, 'Leave Deucted' detail,
    paa.absence_days balance_remaining,
    fu.user_id
    FROM per_absence_attendances paa, per_all_people_f papf, fnd_user fu
    WHERE papf.person_id = paa.person_id
    AND papf.person_id = fu.employee_id
    AND fu.user_id=fnd_profile.value('USER_ID')
    And trunc(to_char(paa.creation_date) ,'dd-MMM-yyyy')<= trunc(to_char(:1, 'dd-MMM-yyyy'))) QRSLT WHERE (( CREATION_DATE = :2 )) ORDER BY CREATION_DATE ASC
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:72)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01722: invalid number
    Thanks,
    Sai

  • MIRO posting date less than MIGO / SES posting date

    Hi,
    In our system , user can make MIRO with respect to a PO and give posting date less than posting date of GRN or Service entry sheet. I want that user can give posting date of MIRO document equal to or greater than posting date of GRN / SES of that PO.  How can i do this?
    Regards
    Kalpesh

    Hi,
    Please write a validation in order to avoid the user keying in the pre posting date at the time of MIRO

  • Widows Search not working with Data Deduplication?

    Hi,
    I noticed that many files were missing when searching for them on my Server 2012 Fileserver.
    After some troubleshooting I noticed that the ones missing, had a Size on Disk of 4KB and the "SparseFile" and "ReparsePoint" (PL) Flags set.
    So it looks like they were processed by the enabled Data Deduplication.
    Am I missing something here or is it really the case that deduplicated files cannot be indexed by windows search?

    BTW! "... and mounted those file hierarcies below. 5 reparse points" so I my case I had consolidated the users Space into 5 overall concepts on 1 volume each. In that way I had already reduced my use of volumes.
    So for now I can add a drive letter to each for trying to make Windows Search work.
    But guess I am going to stumble into the same issue then with Windows Search not supporting resparse points again ....because some of the volumes are deduped.
    Great experience as ever working with file virtualization in the Windows client, i.e. Liberaries. Just wonder why the heck MS did not improove that experience ...
    Right now, with Server 2012, find myself "hacking" again this year 2013 ... to try and make Windows work on some basic issues. All the Flex is starting to go away now ... here comes reality ... NOT WORKING.
    NTFS resparse points, long file names, etc. Great Flex! However in theory only. For real when everything is pulled together and the system receives its more or less complete configuration ... unsupported in Windows. Go hack it.
    Please stop doing just components test ... and do complete flight tests also. More hollistic tests please across constraints! With a focus in each test ... from 0 to a fully configured system.
    How can no support in Windows Search for resparse points in NTFS be a miss during introduction of libraries (Windows 7/2008 R2) and now during introduction of data deduplication (Windows 8/2012) ... during just internal tests at MS? And we all have to use
    libraries (thus a remote Windows Search index on remote shares in a domain setup) ... and now Windows 8 WinRT is even more dependent on libraries? How can that be overlooked - or such a basic thing receive no priority - and just get skipped? How can that happen?

  • Windows 8.1 search not working- program- data missing

    Hi :)
    I followed the instructions here 
    http://social.technet.microsoft.com/Forums/windows/en-US/bb1ba41a-80d9-4036-974b-50e81dc99893/windows-81-search-not-working?forum=w8itprogeneral
    but program-data is not in there
    Tried searching for how to correct this but no luck atm
    Any advic eplease
    Cheers :)

    Hi,
    Please show hidden files and then you will see ProgramData, then try the steps in the link you mentioned.
    Please also try this command to repair your PC:
    dism /online /cleanup-image /restorehealth
    Kate Li
    TechNet Community Support

  • Field symbols not working in data transfer VOFM routine

    Hi,
    I have been trying to set a value using field symbols, however for some reasons its not working. I am using a field symbol in a data transfer routine and the value which I am trying to set is a standard field outside the VOFM routine code.
    I am trying to set a  field gla_subrc which is actually a changing parameter.
    The actual paramter is gn_subrc of type sy-subrc and within the form the name is gla_subrc. I need to set this changing parameter gla_subrc using the data transfer routine.
    Is there a specific rule that field symbols dont work for changing paramters within subroutine or is there a specific syntax.
    The syntax I am using is
    ASSIGN ('(SAPLV50S)gla_subrc')  to <fs>. 
    I also used the local program name instead of main program but still that does not work. Tried using the actual parameter as well.
    Can someone please help me in this.
    Thanks & Regards,
    Naresh.

    I need to stop outbound delivery creation against STO using vl10b transaction. The only way to stop creation is using data transfer delivery VOFM routine.
    If i give an error message MESSAGE E001, this will give a hard error which is not acceptable. To avoid this, i use a perform message statment with message id and certain parameters which can displayed in a log.
    However to make sure this message is displayed in log, I am clearing a work area having specific data needed for delivery creation.
    Because of this clear, my error message gets captured in log but along with this another fake message is displayed in log which caused by the clear message.
    The user gets confused as he now sees 2 messages, 1 which is correct and other 1 which is fake and that confuses him.
    Data transfer routine is not the best place to give messages in log but we have very few options. The only way the system can give 1 message is if i set gla_subrc to 1. This is a variable which will help the system understand that the delivery should not be created as there is something wrong because the value is 1. Hence it will stop the creation and instead display whatever message i had passed to the log.
    I need to somehow set this variable to 1 based on lot of analysis that has been done in the past.
    Please let me know if there is any way by which we can fix this.
    Thanks & Regards,
    Naresh.

  • Management Console is not working from Data Services Designer

    Hi,
    Management Console was working fine from DataServices Designer.
    We have reconfigured Tomcat Weserver to a different port.   The Management Console in the DataServices Designer is still pointing towards the old port and not working. Please advise how to change the port settings for the Management Console in the DataService Designer.
    Thanks.
    Raj.

    from the Designer, click on tools menu, select Options
    In the Options window, expand Designer node and select Environment
    Select host:port for the Administrator under (Default Administrator for Metadata Reporting), it should list both old and new ManagementConsole port

  • Read only security not working in Data Manager

    Hello,
    We are on version 5.5 SP6 (5.5.63.71).
    I create a Role named EVERYONE with all Functions = None and all Table and Fields = Read Only.
    I want the user to have read only access in Data Manager so I assigned one Role - EVERYONE.  The user is not assigned any other roles.  When the user logons, they have read/write access to all data. 
    This was working on previous versions.
    Any ideas would be greatly appreciated.
    Thanks
    Tammi

    The user does have security only access.  In Data Manager, the user can change a record but the user will receive an Insufficient Privelages message when they attempt to save the record.

  • SharePoint 2013 site collection search not working but data is indexed correctly.

    I am currently having issues with the default search box on a site. No matter what I type in I can not get it to display any information. However, I see the content indexed in the search admin console. I created a new site with the Basic Search Template
    and I am able to return items in the site using this site page.
    I am looking at http://technet.microsoft.com/en-us/library/jj683115.aspx#BKMK_CreateResutlSource and I must be missing something or doing something wrong because on the site features or site collection features I do not have these settings
    "On the Site Settings page,
    in the Site Collection Administration section,
    click Search Result Sources."
    Any advice would be great.

    I believe you're right. I have also found some other documentation that has helped me. 
    Thanks
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/05/25/alternate-access-mappings-explained.aspx
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/02/20/beware-crawling-the-non-default-zone-for-a-sharepoint-2013-web-application.aspx

  • BeginTimer and EndTimer Not Working In Data-Driven Unit Test Using DataSource Attribute

    Using VS2012 Ultimate I have a unit test with the <DataSource> attribute which passes in values from a CSV file.  I'm wrapping the unit test in a load test.  I expect a Transaction to appear in the load test results for each row in my DataSource
    due to the BeginTimer and EndTimer methods in the unit test.  However, I only get 1 transaction, with response time roughly equal to the overall test time.  For example, if each row in the DataSource takes 1 second to process, then my test time and
    transaction time would be about 10 seconds with 10 rows in the CSV file.
    I've created a load test with Constant Load Pattern, 1 user, and 1 test iteration.  Seeing the behavior described above.
    I have tried with and without and the check for $LoadTestUserContext.  I'm only using that because I get a NotSupportedException when running the unit test on its own.  I can't believe this bug still
    exists, but that is another topic.
    Note also that I cannot see the Debug output in the Output window in VS2012.
    Any tips?  Thank you.
        <TestMethod()>
        <DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\TestData\MyValues.csv", "MyValues#csv", DataAccessMethod.Sequential)>
        Public Sub WebServiceTest()
            Dim service As MySvc = New MySvcClient()
            Dim input As MyInput = New MySvcInput()
            input.A = testContextInstance.DataRow("A")
            input.B = testContextInstance.DataRow("B")
            Dim g As Guid = Guid.NewGuid()
            If TestContext.Properties.Contains("$LoadTestUserContext") Then 'running as load test
                TestContext.BeginTimer("MySvcTrans")
                Debug.WriteLine("Begin Transaction MySvcTrans:  {0}", g)
            End If
            Dim output As MySvcOutput = service.Method(input)
            If TestContext.Properties.Contains("$LoadTestUserContext") Then 'running as load test
                Debug.WriteLine("End Transaction MySvcTrans:  {0}", g)
                TestContext.EndTimer("MySvcTrans")
            End If
            Assert.AreEqual(0, output.ReturnCode)
        End Sub

    Hi John,
    >> I expect a Transaction to appear in the load test results for each row in my DataSource due to the BeginTimer and EndTimer methods in the unit test.  However, I only get 1 transaction, with response time roughly equal to the overall test
    time.
    Could you share me a screen shot about the reslut in load test?
    Could you share us the load test result in "Transaction"Tables?
    About how to use the
    Transaction for unit tests, maybe you could get useful informaiton here:
    http://blogs.msdn.com/b/slumley/archive/2006/04/14/load-testing-web-services-with-unit-tests.aspx
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • MBP Pro Qmaster Start Sharing Greyed Out

    I have fcp studio 2 and MBpro and dual g5. On my G5 in the system preferences for qmaster none of it is greyed out and sharing is on. On my MBP It is all greyed out and I can not select any options or click start. ANy ideas ? On the g5 in activity mo

  • Views on multiple ExtendProxy services in same cluster

    Hi, I would like to load-balance 2 sets of clients for the same cluster such that each client set is balanced separately. The motivation is that one set is quite small and the other is much larger so it can happen that the clients in the smaller set

  • Just loaded CS4 into a new computer with MS 7 64bit

    I am now experiencing bizare colors for images opened in PS. Colors look normal in Adobe RAW window as well as Bridge, thumbnails and "export to web" window. I have been with Photoshop since version 3 and have never seen anything like this. I don't b

  • What the heck is firmware?

    Ok, here's my dumb question for the day... What's firmware? I update software when prompted but nothing else. How do I do this? Thanks....

  • JdbcXADataSource error with RI

    Hi all, I'm trying to get the J2SDKEE1.3 RI server running with Oracle as the back end DB and am having some problems. I've used the j2eeadmin tool to create the XA datasource, but when I start the server I get this error: Binding DataSource, name =