CR11  null date returned as 01/01/2001 instead of 01/01/0001

Post Author: MaryC
CA Forum: General
We are on CR11 running ODBC from an ISeries DB2 DB.  Null dates are stored on the DB as 0001-01-01, but CR is returning as 01/01/2001.
There are hot fixes for CR 8.5 - CR 10 for this, but we have not found anything relating to CR 11.  Has anyone come across this?

i defined FORMS90_USER_DATE_FORMAT FXFMDD.MM.RRRR env-variable in my .login. but nothing happened.
forms online help says:
RRRR enables years between 1950 and 2049 to be entered with the century omitted.
but still: when i enter 1.1.03 to a date field its completed to 01.01.0003 when i leave the field. and i set no format-mask on this date-field.
anyone else has a idea on this?

Similar Messages

  • Null Date Assignment

    Hi,
    I am trying to assign a Null Date to PartnerLink Variable element. The partnerlink is to a Websphere Web Service. In my assignment, I simply do not create a copy operation to the variable element. At runtime this then has the <warrantyDate/> in element. However, the partnerlink errors at runtime with String exception error. It appears as if it is treating the null date element as a string and I am gettting a type mismatch error.
    Is there any way of passing a null date and not getting a string error?
    Thanks
    Error Details below:
    <messages><input><Equipment_Create_Input><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters"><create xmlns="http://equipment.ellipse.enterpriseservice.mincom.com">
    <connectionId>
    <id xmlns="http://ellipse.enterpriseservice.mincom.com">20ceb39a9a0495e1:6587b9ea:11406107bf7:-7ff1</id>
    </connectionId>
    <requestParameters>
    <location>UPRN100061</location>
    <equipmentNo/>
    <districtCode>0001</districtCode>
    <equipmentRef/>
    <serialNumber/>
    <partNo/>
    <ctaxCode/>
    <equipmentNoDescription2>Iain Testing 27072007</equipmentNoDescription2>
    <equipmentNoDescription1>BPEL SPID Creation</equipmentNoDescription1>
    <equipmentClassif16/>
    <drawingNo/>
    <equipmentTypeDescription/>
    <equipmentLocation/>
    <plantNo/>
    <equipmentClassif3/>
    <poNo/>
    <operatorId/>
    <equipmentClassif/>
    <equipmentStatus>OP</equipmentStatus>
    <traceableFlg>false</traceableFlg>
    <stockCode/>
    <compCode/>
    <equipmentClass>20</equipmentClass>
    <plantNames/>
    <shutdownEquipment/>
    <equipmentClassif13/>
    <equipmentClassif14/>
    <taxCode/>
    <purchasePrice>0</purchasePrice>
    <purchaseDate>2007-07-27T10:41:47+00:00</purchaseDate>
    <equipmentType/>
    <equipmentClassif18/>
    <custodian/>
    <equipmentClassif17/>
    <costSegLgth>0</costSegLgth>
    <warrantyDate/>
    <equipmentClassif19/>
    <equipmentGrpId/>
    <equipmentClassif0/>
    <equipmentClassif15/>
    <mnemonic/>
    <equipmentClassif1/>
    <equipmentClassif8/>
    <activeFlag>true</activeFlag>
    <accountCode>SWA013093000</accountCode>
    <equipmentClassif11/>
    <equipmentClassif9/>
    <parentEquipmentRef/>
    <equipmentClassif10/>
    <warrStatVal>0</warrStatVal>
    <prodUnitItem>false</prodUnitItem>
    <equipmentClassif12/>
    <plantCodes/>
    <originalDoc/>
    <segmentUom/>
    <colloqName/>
    <equipmentClassif2/>
    <inputBy>INTEG</inputBy>
    <conAstSegEn>0</conAstSegEn>
    <warrStatType/>
    <equipmentClassif7/>
    <equipmentClassif4/>
    <parentEquipment/>
    <equipmentClassif5/>
    <costingFlag>A</costingFlag>
    <equipmentClassif6/>
    <itemNameCode/>
    <conAstSegSt>0</conAstSegSt>
    <expElement/>
    <plantCode4/>
    <plantCode2>22</plantCode2>
    <plantCode1>01</plantCode1>
    <plantCode0>22222222</plantCode0>
    <plantCode5/>
    <copyEquipment/>
    <plantCode3/>
    </requestParameters>
    <returnWarnings>0</returnWarnings>
    </create>
    </part></Equipment_Create_Input></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Server.generalException</code>
    </part><part name="summary"><summary>java.lang.StringIndexOutOfBoundsException: String index out of range: 0 To see the message containing the parsing error in the log, either enable web service engine tracing or set MessageContext.setHighFidelity(true).</summary>
    </part><part name="detail"><detail>&lt;detail/>
    </detail>
    </part></remoteFault></fault></messages>

    I hope I'm explaining this correctly (take this with a grain of salt). Here goes...
    Oracle decides at the time you create the view whether or not it is updatable/insertable, etc.
    Logically you and I know it returns 1 row, but that doesn't matter. Oracle needs to know at the time you create the view if the table is key preserved. Key preserved means the key stays a key even after the join (think of the result set).
    Your v_task view is not key preserved because it is doing a one to many join, the group by in the other query is irrelevant.
    I can't do an insert in this simple example for the same reason...
    SQL> create table parent
      2  (p_id   number primary key
      3  ,p_name varchar2(10));
    Table created.
    SQL>
    SQL> create table child
      2  (c_id   number primary key
      3  ,p_id   number references parent(p_id)
      4  ,c_name varchar2(10));
    Table created.
    SQL> create view parent_child_view as
      2  select p.*
      3  from   parent p
      4        ,child  c
      5  where  p.p_id = c.p_id;
    View created.
    SQL> insert into parent_child_view values (1,'smith');
    insert into parent_child_view values (1,'smith')
    ERROR at line 1:
    ORA-01779: cannot modify a column which maps to a non key-preserved tableThe Application Developer's Guide has a good section about Modifying Join View and Key Preserved Tables. There are a lot of restrictions.
    I should add this...
    If we change the join view so that we are updating (or inserting) into the child table, that is key preserved.
    SQL> create or replace
      2  view parent_child_view as
      3  select c.*
      4  from   parent p
      5        ,child  c
      6  where  p.p_id = c.p_id;
    View created.
    SQL> insert into parent values (1,'smith');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> insert into parent_child_view values (1,1,'child');
    1 row created.Message was edited by:
    Eric H

  • Null values returned when using request.getParameters(

    I have a html form which allows the user to choose options and select a file to upload. When I use method=Post I get null values returned. When I use method=Get I get my parameter values fine.. but I get an error.
    "Posted content type isn't multipart/form-data"
    I would like to know why I am getting null values returned when using Post. I am using the following to get the values from the name=value passed to the servlet.
    String strIndustry = request.getParameter("frmIndustry");
              String strCompany = request.getParameter("frmCompany");
              String strCollabType = request.getParameter("frmCollaboration");
    I have another form where the user can search information in a database that works just fine w/ either Get or Post
    Or perhaps I am using oreilly MultipartRequest incorrectly??? but I copied it directly from another discussion.. ???
    any thoughts
    Thanks

    taybon:
    you could do it like this. in this case, you submit your form with the parameters (industry, company, collaboration), and upload your file at the same time. and in the target servlet, you can build your MultipartRequest object like this:
    MultipartRequest multi = new MultipartRequest(request, temp_location, 50 * 1024);where variable temp_location stands for a temporatory diretory for file uploading.
    and then you get your parameters, so you can build the directory with them. and after that, you can move your file to that directory using File.renameTo();
    but as i've suggested in my previous posting, i just recommend you upload your file in a separate form. and then you can perform an oridianry doPost form submit with those parameters. or you may have problems with the file uploading. (this is just my personal experiences with Multipart).
    there is one other thing i'd like to mention, file.renameTo() won't work if you need to move files to a network drive in windows. it won't work if you move files across file systems in unix.
    Song xiaofei
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

  • Need help with RANK() on NULL data

    Hi All
    I am using Oracle 10g and running a query with RANK(), but it is not returning a desired output. Pleas HELP!!
    I have a STATUS table that shows the history of order status.. I have a requirement to display the order and the last status date (max). If there is any NULL date for an order then show NULL.
    STATUS
    ORD_NO | STAT | DT
    1 | Open |
    1 | Pending |
    2 | Open |
    2 | Pending |
    3 | Open |1/1/2009
    3 | Pending |1/6/2009
    3 | Close |
    4 | Open |3/2/2009
    4 | Close |3/4/2009
    Result should be (max date for each ORD_NO otherwise NULL):
    ORD_NO |DT
    1 |
    2 |
    3 |
    4 |3/4/2009
    CREATE TABLE Status (ORD_NO NUMBER, STAT VARCHAR2(10), DT DATE);
    INSERT INTO Status VALUES(1, 'Open', NULL);
    INSERT INTO Status VALUES(1, 'Pending', NULL);
    INSERT INTO Status VALUES(2, 'Open', NULL);
    INSERT INTO Status VALUES(2, 'Pending',NULL);
    INSERT INTO Status VALUES(3, 'Open', '1 JAN 2009');
    INSERT INTO Status VALUES(3,'Pending', '6 JAN 2009');
    INSERT INTO Status VALUES(3, 'Close', NULL);
    INSERT INTO Status VALUES(4, 'Open', '2 MAR 2009');
    INSERT INTO Status VALUES(4, 'Close', '4 MAR 2009');
    COMMIT;
    I tried using RANK function to rank all the orders by date. So used ORDER BY cluse on date in descending order thinking that the null dates would be on top and will be grouped together by each ORD_NO.
    SELECT ORD_NO, DT, RANK() OVER (PARTITION BY ORD_NO ORDER BY DT DESC)
    FROM Status;
    ...but the result was something..
    ORD_NO |DT |RANKING
    *1 | | 1*
    *1 | | 1*
    *2 | | 1*
    *2 | | 1*3 | | 1
    3 |1/6/2009 | 2
    3 |1/1/2009 | 3
    4 |3/4/2009 | 1
    4 |3/2/2009 | 2
    I am not sure why didn't the first two ORD_NOs didn't group together and why ranking of 1 was assigned to them. I was assuming something like:
    ORD_NO |DT |RANKING
    *1 | | 1*
    *1 | | 2*
    *2 | | 1*
    *2 | | 1*
    3 | | 1
    3 |1/6/2009 | 2
    3 |1/1/2009 | 3
    4 |3/4/2009 | 1
    4 |3/2/2009 | 2
    Please guide me if I am missing something here?
    Regards
    Sri

    Hi,
    If i well understood, you don't need rank
    SELECT   ord_no, MAX (dt)KEEP (DENSE_RANK LAST ORDER BY dt) dt
        FROM status
    GROUP BY ord_no
    SQL> select * from status;
        ORD_NO STAT       DT
             1 Open
             1 Pending
             2 Open
             2 Pending
             3 Open       2009-01-01
             3 Pending    2009-01-06
             3 Close
             4 Open       2009-03-02
             4 Close      2009-03-04
    9 ligne(s) sélectionnée(s).
    SQL> SELECT   ord_no, MAX (dt)KEEP (DENSE_RANK LAST ORDER BY dt) dt
      2      FROM status
      3  GROUP BY ord_no;
        ORD_NO DT
             1
             2
             3
             4 2009-03-04
    SQL>

  • Null data in tables for charting - Pages

    I would like to chart data with some null values, but Pages always returns zeros which are charted! If there is a null/missing value in Pages, what is it? Note that copy/paste of nulls still returns zeros.
    Thanks

    Pages doesn't do that. Yet. Let's wait for tomorrow and see if there are any improvements, or perhaps an alternative program for building graphical information for more specific needs.
    You may want to do a search on this forum, as well as the Keynote forum for information on this. I believe Brian Peat's site, Keynoteuser.com may have some tips for how to resolve this effect, or at least work around the current limitation.
    Gerry

  • Null Date Issue

    Hi,
    I am trying to assign a Null Date to PartnerLink Variable element. The partnerlink is to a Websphere Web Service. In my assignment, I simply do not create a copy operation to the variable element. At runtime this then has the <warrantyDate/> in element. However, the partnerlink errors at runtime with String exception error. It appears as if it is treating the null date element as a string and I am gettting a type mismatch error.
    Is there any way of passing a null date and not getting a string error?
    Thanks
    Error Details below:
    <messages><input><Equipment_Create_Input><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters"><create xmlns="http://equipment.ellipse.enterpriseservice.mincom.com">
    <connectionId>
    <id xmlns="http://ellipse.enterpriseservice.mincom.com">20ceb39a9a0495e1:6587b9ea:11406107bf7:-7ff1</id>
    </connectionId>
    <requestParameters>
    <location>UPRN100061</location>
    <equipmentNo/>
    <districtCode>0001</districtCode>
    <equipmentRef/>
    <serialNumber/>
    <partNo/>
    <ctaxCode/>
    <equipmentNoDescription2>Iain Testing 27072007</equipmentNoDescription2>
    <equipmentNoDescription1>BPEL SPID Creation</equipmentNoDescription1>
    <equipmentClassif16/>
    <drawingNo/>
    <equipmentTypeDescription/>
    <equipmentLocation/>
    <plantNo/>
    <equipmentClassif3/>
    <poNo/>
    <operatorId/>
    <equipmentClassif/>
    <equipmentStatus>OP</equipmentStatus>
    <traceableFlg>false</traceableFlg>
    <stockCode/>
    <compCode/>
    <equipmentClass>20</equipmentClass>
    <plantNames/>
    <shutdownEquipment/>
    <equipmentClassif13/>
    <equipmentClassif14/>
    <taxCode/>
    <purchasePrice>0</purchasePrice>
    <purchaseDate>2007-07-27T10:41:47+00:00</purchaseDate>
    <equipmentType/>
    <equipmentClassif18/>
    <custodian/>
    <equipmentClassif17/>
    <costSegLgth>0</costSegLgth>
    <warrantyDate/>
    <equipmentClassif19/>
    <equipmentGrpId/>
    <equipmentClassif0/>
    <equipmentClassif15/>
    <mnemonic/>
    <equipmentClassif1/>
    <equipmentClassif8/>
    <activeFlag>true</activeFlag>
    <accountCode>SWA013093000</accountCode>
    <equipmentClassif11/>
    <equipmentClassif9/>
    <parentEquipmentRef/>
    <equipmentClassif10/>
    <warrStatVal>0</warrStatVal>
    <prodUnitItem>false</prodUnitItem>
    <equipmentClassif12/>
    <plantCodes/>
    <originalDoc/>
    <segmentUom/>
    <colloqName/>
    <equipmentClassif2/>
    <inputBy>INTEG</inputBy>
    <conAstSegEn>0</conAstSegEn>
    <warrStatType/>
    <equipmentClassif7/>
    <equipmentClassif4/>
    <parentEquipment/>
    <equipmentClassif5/>
    <costingFlag>A</costingFlag>
    <equipmentClassif6/>
    <itemNameCode/>
    <conAstSegSt>0</conAstSegSt>
    <expElement/>
    <plantCode4/>
    <plantCode2>22</plantCode2>
    <plantCode1>01</plantCode1>
    <plantCode0>22222222</plantCode0>
    <plantCode5/>
    <copyEquipment/>
    <plantCode3/>
    </requestParameters>
    <returnWarnings>0</returnWarnings>
    </create>
    </part></Equipment_Create_Input></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>Server.generalException</code>
    </part><part name="summary"><summary>java.lang.StringIndexOutOfBoundsException: String index out of range: 0 To see the message containing the parsing error in the log, either enable web service engine tracing or set MessageContext.setHighFidelity(true).</summary>
    </part><part name="detail"><detail><detail/>
    </detail>
    </part></remoteFault></fault></messages>

    We had the same problem. To solve it you need to do the following:
    1. 'break' the graphical design option of the xslt by removing the processing instruction from the xslt. ( <?oracle-xsl-mapper ..... ?>). After removing and saving the xslt, restart JDeveloper to prevent it from opening the xslt in design mode.
    2. Add the namespace xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" if it's not already there..
    3. for all elements that you need to send without content ( <element/> ), add an attribute xsi:nil="1" ( <element xsi:nil="1" /> ).
    HTH,
    Bas

  • Null consistently returned by RecordSet.getTimeStamp()

    Hi
    I'm continually getting 'null' being returned by the getTimeStamp(int) method from a ResultSet.
    If I run the stored proc with the required parameters in SQL server, it returns values for the field. Its a DateTime field - so should return this when my code calls it, right?
    Here is a snippet of the code:
          try {             conn = datasrc.getConnection();             cs = conn.prepareCall("{call rsp_employee_get(?,?)}");             cs.setInt(1, id);             cs.setString(2, name);             rs = cs.executeQuery();             if(rs.next()) {                                 employee = new Employee();                 employee.setManagerId(rs.getInt(1));                 employee.setOccupationId(rs.getInt(2));                 employee.setJobTitle(rs.getString(3));                 employee.setPreferredName(rs.getString(4));                 employee.setWorkedFromDate(rs.getTimestamp(5));                 employee.setWorkedToDate(rs.getTimestamp(6));            //this is where my error occurs
    All objects etc have been created correctly, and obviously above is only a snippet.
    The proc returns values as expected, and rs.getTimestamp(5) works fine - however these dates all have the time 00:00:00.000 whereas the field getTimestamp(6) refers to have times of 23:59:59.000... (could this be it??)
    The proc returns a list of employees off the database, past and present - so some do have null values for this field (ie they're current employees) - however, I've checked and its recording them all as null even though they're not null when I run the proc manually.
    I'm getting a bit fed up with it to be honest, hoping someone here has seen it before and can see if I've done something wrong?

    On my production system the same query processes just fine...EXCEPT that the Recordset is "n/a".
    Can you clarify what you mean by "n/a"?
    I can't see how it would make a difference, but you should not hard-code dynamic values into you SQL statement, you should pass them as a parameter.
    So it would seem that it's a CF problem... agree?
    Nope.  CF doesn't know or care about your SQL.  All it does is pass it to the DB driver, and wait for the DB driver to return something to it.
    That said, it might not be a problem with the call, it might be a problem with how it handles what it gets back, I suppose.
    Running with that theory... I wonder if the change to the ORDER BY statement is coincidental, perhaps it's just that it bubbles to the top of the recordset something that CF doesn't like.  Can you remove columns from you SELECT statement one by one, and see if at some point if starts returning data correctly?
    Can you do a trace on the query and verify what the DB is receiving from the driver, and what it's sending back?  I have no idea how to do that in SQLite, sorry.
    Adam

  • No data return from BI7 via MDX drvier in Crystal report

    I have:
    Windows 2000 SP4
    SAP BI7 patch level 16
    SAP GUI 710 patch level 7 (BW3.5 addon patch 3, BI 710 patch 5)
    Crystal report XI R2 SP4
    SAP_Integration_Kit_XI R2-SP4
    and the BW tranports already imported in BI7.
    I can create a report over a Bex query in Crystal report using BW Query driver and retirved datafrom BI7
    Then I tried to create a report over the same Bex query in Crystal report using MDX driver, I got no data return from BI7.
    So I used the RSRTRACE transaction to trace the log when refreshing data in Crystal report, and then go to debug the call 10- GET_CELL_DATA and I have data from the MDX excution in BI7.
    So I think Crystal report can pass the MDX query to BI7 and BI7 can excute it without any problem, the issue is no data return to Crystal report.
    Could anyone help please?
    Thanks.

    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\SAP]
    "TraceDir"="C :\\Crystal Report\\"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\SAP\BW MDX Query Driver]
    "Trace"="Yes"
    "ExcludeSummaries"="Yes"
    Above are the right code in Reg and I have tried "C:\" as well, but still no trace file created.
    I was create the CR MDX report via SAP tool bar (and I create 2 reports base on the same Bex query with MDX and BW query just to compare, that one via BW query return data from BW)
    Thanks a lot.
    Allen
    Edited by: Wen Allen on Aug 25, 2008 5:32 PM

  • Null date subtraction

    In my report, data for one date value is '0/0/00'. but when i drag and drop into report panel it showing blank.Pls reply me.
    and if i substract any other date from  blank date it showing 0 value.Pls reply my question . waiting for ur reply.

    Hi,
    If you need to deal with a NULL date, use Date (0, 0, 0) to check if the date is NULL or not first. 
    So your formula would look something like: 
    If {table.Date1} = Date (0, 0, 0) Then
         {table.Date2}
    Else {table.Date1} - {table.Date2};
    Thanks,
    Brian

  • In Responses, Can I export the data in a pdf form excluding null data?

    In Responses, Can I export the data in a pdf form excluding null data?

    Let me make sure I understand the request...  There is a feature in the Response table to "Save Response as PDF Form" and you'd like to do this excluding the null data (unanswered questions).  If that is correct it is not supported, the "Save Response as PDF form" will save a PDF that is the entire form filled out as the user filled it.
    Thanks,
    Josh

  • BW Error: No Data returned by XI

    Hello
    I am working on an BW(proxy) XI (synchronous)XMII scenario. The scenario is working fine in the DEV environment. I have transported objects to QA when BW is running the query it is givng an error which states no data returned by XI. Is the error due to improper transports on XI side ?
    I tested the scenario for XI to xMII connection and it is working fine. At BW end it is giving error.
    Thanks. I truly appreciate your help in this case.
    Kiran
    Edited by: KIRAN SAKHARDANDE on Apr 1, 2008 12:03 AM

    I performed the sldcheck and I think the error is caused since BW is unable to detect business system BWT
    BW Error 1:
    GET_BUSINESS_SYSTEM_ERROR: An error occured when determining the business sytem NO_BUSINESS_SYSTEM
    BW Error 2:
    No data returned by XI
    I will keep you update with the resolution.
    Thanks.
    Kiran

  • I performed a time machine backup without plugging my labtop into a power source. My computer died and all the settings were changed, ie the clock and date were changed back to 2001. So I tried to restore my computer using a previous time machine backup.

    I performed a time machine backup without plugging my labtop into a power source. My computer died and all the settings were changed, ie the clock and date were changed back to 2001. So I tried to restore my computer using a previous time machine backup. (which I now know was wrong). However, when time machine tried to restore it said there was not enough room to do a backup. It seems that it did a half backup because some essential  files such as system profiler are now missing. Can I undo this restore...? What can I do to fix this

    You need to do a full system restore, per Time Machine - Frequently Asked Question #14.
    If that sends a message, please note the exact wording.

  • Capturing xml data returned from a url post in a jsp page

    Hi,
    We are writing a interface which will capture data returned from an other website. The data returned will be in XML form.
    http://www.ecrm.staging.twii.net/ecrmfeed/ecrmfeedservices.sps?eCRMFeedInputXml=<twii><ecrmfeedinput><data%20method="Login"><username>[email protected]</username><password>password</password></data></ecrmfeedinput></twii>
    When the above url is executed in a browser, it required NT authentication. The username and password is getcouponed. Once the username and password is fed, we can see the output in the form of a xml. We require the xml in a String variable in a jsp page. We need to know the steps on how to execute the url in a jsp page. We used the url object to do the same, but we get a error saying "java.net.UnknownHostException: www.ecrm.staging.twii.net".
    Can anyone help?
    Regards,
    Gopinath.

    Hi,
    I would like to know if I can use the java.net package to get anything out of a website which requires authentication. In this case NT authentication.
    Thanks in advance,
    Gopinath.

  • Why Date() return local and GMT time intermixturely

    I have following code in my Java application:
    Date dt = new Date();
    System.out.println("Local Time: " + dt.toString());
    I got local date (CST) at most time. But I got GMT format date few times within hours' running by the same code and the same running, which will crash my DateFormate later.
    Can anyone tell me why this happened? Is there any way I may use to make sure of that "new Date() will return only one date format, local or GMT"?
    Thanks.

    Do appreciate of your reply. In my application, I do use new Date() and DateFormat.format() like you suggested. But I caught following exception. Then I use Date.toString() to test Date and found that " new Date() return local time (CST time) and GMT time intermixturely". Most time, my application got CST time string and my SimpleDateFormat("yyyy.MM.dd' 'HH:mm:ss:SSS") works well. But few times a running, new Date() return a GMT time string, then I got following exception. I was confused by why one statement "Date dt = new Date();" in one running return both CST and GMT time.
    java.lang.IllegalArgumentException
         at java.util.SimpleTimeZone.getOffset(SimpleTimeZone.java:427)
         at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1173)
         at java.util.Calendar.complete(Calendar.java:1058)
         at java.util.Calendar.get(Calendar.java:916)
         at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:481)
         at java.text.SimpleDateFormat.format(SimpleDateFormat.java:410)
         at java.text.DateFormat.format(DateFormat.java:305)

  • Gantt chart with null dates

    Hi,
    Kylie discovered here that you couldn't have null dates in the project gantt query
    APEX 4.0.2 Project Gantt Chart - Error Code: 2002 Message: Empty input
    As Valentina suggested, I found the actual dates are mandatory, while the chart tolerates missing planned dates - which is a complete reversal of what actual project data would have.
    baseline project gantt with parent-child relationship
    What I found though is if some planned dates are missing, the generated XML seems to default with data from previous rows.
    As detailed in this screenshot, my red lines indicate missing from/to dates (actual data also shown underneath chart)
    https://docs.google.com/file/d/0B_eVXQ_oe4tsRUFXUzA0NmNMUE0/edit?usp=sharing
    NAME    TASK_ID   ACTUAL_START  ACTUAL_END  PROGRESS  DUE_START     DUE_END
    line 1  1810794   07/MAR/2013   11/MAR/2013   100     26/MAR/2013   27/MAR/2013 00:00:00
    line 2  1810780   12/MAR/2013   16/MAR/2013   100     23/MAR/2013   27/MAR/2013 00:00:00
    line 3  1810779   17/MAR/2013   20/MAR/2013          
    line 4  1810773   21/MAR/2013   21/MAR/2013   50      24/MAR/2013  
    line 5  1810774   22/MAR/2013   10/APR/2013   93      16/MAR/2013  
    line 6  1810791   11/APR/2013   20/APR/2013          
    line 7  1810793   21/APR/2013   22/APR/2013   45      21/MAR/2013   The accompanying XML backs up the story, yet my query doesn't feed this data.
    <task id="1810794" parent="" name="line 1" actual_start="2013.03.07 00.00.00" actual_end="2013.03.11 00.00.00" baseline_start="2013.03.26 00.00.00" baseline_end="2013.03.27 00.00.00" progress="100" style="defaultStyle"/>
    <task id="1810780" parent="" name="line 2" actual_start="2013.03.12 00.00.00" actual_end="2013.03.16 00.00.00" baseline_start="2013.03.23 00.00.00" baseline_end="2013.03.27 00.00.00" progress="100" style="defaultStyle"/>
    <task id="1810779" parent="" name="line 3" actual_start="2013.03.17 00.00.00" actual_end="2013.03.20 00.00.00" baseline_start="2013.03.23 00.00.00" baseline_end="2013.03.27 00.00.00" style="defaultStyle"/>
    <task id="1810773" parent="" name="line 4" actual_start="2013.03.21 00.00.00" actual_end="2013.03.21 00.00.00" baseline_start="2013.03.24 00.00.00" baseline_end="2013.03.27 00.00.00" progress="50" style="defaultStyle"/>
    <task id="1810774" parent="" name="line 5" actual_start="2013.03.22 00.00.00" actual_end="2013.04.10 00.00.00" baseline_start="2013.03.16 00.00.00" baseline_end="2013.03.27 00.00.00" progress="93" style="defaultStyle"/>
    <task id="1810791" parent="" name="line 6" actual_start="2013.04.11 00.00.00" actual_end="2013.04.20 00.00.00" baseline_start="2013.03.16 00.00.00" baseline_end="2013.03.27 00.00.00" style="defaultStyle"/>
    <task id="1810793" parent="" name="line 7" actual_start="2013.04.21 00.00.00" actual_end="2013.04.22 00.00.00" baseline_start="2013.03.21 00.00.00" baseline_end="2013.03.27 00.00.00" progress="45" style="defaultStyle"/>Is this expected behaviour?
    Is this a bug?
    Is there a workaround - can I supply my own XML to hopefully override what is being generated?
    Scott

    Hi Ahmed
    Thank you for your reply.
    The time scales in Gantt chart specifically shows the year, month and weeks from the start date of project definition or basic start of WBS.
    Since it is not a decided project, the Gantt chart need to show 0, 1st week, 2nd week, 3rd week etc.
    The actual schedule from PD start date can be produced on actual initiation of project.
    It means, i am looking for having Gantt chart for duration and not for specific start and finish dates.
    warm regards
    ramSiva

Maybe you are looking for

  • SAP SD CIN Query- 6

    Hi Is there any standard working scenario (approach) for any particular list of movement types which are required (configured) only for updating RG1 register(J1I5) and other set of movement types which are for updating RG23 A & C? or any common movem

  • Show/View Options (Command + J) preference file?

    Can anyone tell me where I can find the file that is used to house my Show/View preferences? This would be command + j that has all the options for how large I want my icons and text under them. I had to archive my system folder and when it cam up, i

  • I can't spend all money in itunes

    I Can't spend all money in itunes and app store. I have 5.43€. I can't change a country.

  • Urgent Help with Vintage, Blended Look

    Hey everyone. New to the forum, but wanted to get some advice from the experts. I am desperately trying to achieve this exact vintage, blurred look for a photo set I have, and turn it into a preset or action for later use. Essentially, I want to matc

  • Time is off everyday [Solved]

    Every morning when I boot up the time is 20 minutes ahead of the correct time. How do I correct this problem? Last edited by vinoman2 (2009-09-05 01:27:05)