Problem in summarizing data in the group level

I have four groups namely
i) Year Case opened.
ii) Month Case opened
iii) Case Status
iv Case Severity
In the details section there are few details for the report to show namely Case Severity (ie., Level 1, Level2 etc) and Case Status (ie., Opened, Closed and Pending).
In the Case Severity Level i am displaying the count. Till now everything is fine.
Now, a statistics for the month has to be added. I haved the fields in the Group Footer of Month Case Opened.
I need to calculate the total Case Severity of Level 1 in opened status and total of Level 2 in opened status and so on..
Only the last Case Severity value total is shown correctly in statistics  of the month.
Please let me know if there is any suggestions on this.
Thanks in Advance.

No. I havent used.
I tried using a cross tab and i am getting the correct value. But i wanted to use the same logic of crosstab in formula because in crosstab it is showing only the values available in that group.
What i needed is, even if the many case status description not able for a group it should display all the name and the corresponding value should be zero in that case.
Hope i tried to explain the problem properly. Pls let me know your comments.

Similar Messages

  • Ms project 2010 - grouping how to show the duration between dates at the summary level

    Hi we have a ms project plan where we have used grouping to present the task breakdown in a different structure.
    This works great we get at the summary level the start and finish dates correctly but the duration gives us only the Maximum value for the durations of the tasks within the group. (is it possible to change the maximum calculation?)
    We would like to be able to determine the duration at the summary level. Of note if we use functions such as projdatediff(start,finish) this only gives the result at the detail level and does not show at the summary level - even if we check the do the
    calculation for the task and group levels 'use formula' radio button.
    is this a bug???.
    If we use a numeric calculation such as finish-start we get a figure that allows  us to repeat the calculation at the group (summary) level. but firstly we do not actualy know what the numeric value represents. i.e (Finish-Start)*10000 for
    a duration of 0.5 hours = 208.33 ,1 hr= 416.67,1.5 hrs =625, but 8 hrs is giving 10833.33 which is 24 * the 1 hour figure
    duration  finish-start  start           finish
    0.5hrs     208.33    Tue 31/01/12 Tue 31/01/12
    1d          10833.33 Tue 31/01/12 Wed 01/02/12
    8 hrs      10833.33 Tue 31/01/12 Wed 01/02/12
    0.19d     625          Wed 01/02/12 Wed 01/02/12
    1.5 hrs   625          Wed 01/02/12 Wed 01/02/12
    0.13d     416.67     Wed 01/02/12 Wed 01/02/12
    1 hr        416.67     Wed 01/02/12 Wed 01/02/12
    Anyhow looking for suggestions on how to get a calculation of the difference in two dates as units (pref days) into the group level summary.
    Many thanks Mike

      Hi John ,
    This is better ..... Now the Text1  column is the correct duration .. Is it possible just to display the Text 1 Column instead of Duration Column ? is it a right practice in using Microsoft Project or scheduling ? This is an alternate solution
    ...Do you think that there is a solution to  that problem ?
    Task Name
    Text1
    Duration
    % Complete
    Start
    Finish
    F10E ( Level 10 )
    273
    40d
    0%
    10 Apr '12
    10 May '13
    Hospital Admin
    40
    40d
    0%
    10 Apr '12
    05 Jun '12
    Hospital Move- Vacate F10E
    40
    40 d
    0%
    10 Apr '12
    05 Jun '12
    Eastern/Kelson
    238
    40d
    0%
    30 May '12
    10 May '13
    Investigate Above Ceiling Conditions
    20
    20 d
    0%
    30 May '12
    26 Jun '12
    Hoardings
    5
    5 d
    0%
    06 Jun '12
    12 Jun '12
    Demolition (All)
    20
    20 d
    0%
    20 Jun '12
    18 Jul '12
    HVAC- main duct Work, Fire dampers
    40
    40 d
    0%
    19 Jul '12
    14 Sep '12
    Layout Partitions
    5
    5 d
    0%
    19 Jul '12
    25 Jul '12
    Steel stud Framing & Hollow Metal Frames
    30
    30 d
    0%
    17 Sep '12
    29 Oct '12
    Ceiling and Bulk Head Framing
    10
    10 d
    0%
    30 Oct '12
    12 Nov '12
    Mechanical Rough-In to Ceiling
    25
    25 d
    0%
    13 Nov '12
    17 Dec '12
    Taping,Drying & Sanding
    20
    20 d
    0%
    04 Dec '12
    03 Jan '13
    Ceiling and Bulk Head Drywall
    10
    10 d
    0%
    04 Dec '12
    17 Dec '12
    Painting
    15
    15 d
    0%
    04 Jan '13
    24 Jan '13
    T-Bar and Acoustic Ceiling Tile With Devices
    11
    11 d
    0%
    22 Jan '13
    05 Feb '13
    Head Walls system
    7
    7 d
    0%
    25 Jan '13
    04 Feb '13
    P-Lam Corridor Canopy Ceiling
    15
    15 d
    0%
    25 Jan '13
    14 Feb '13
    P-Lam Corridor and Room Canopy Ceiling
    10
    10 d
    0%
    25 Jan '13
    07 Feb '13
    Steel Doors, Wood Doors, Hardware
    15
    15 d
    0%
    08 Mar '13
    28 Mar '13

  • Report Designer error i VS 2013 - "Data at the root level is invalid."

    Hi,
    I am trying to create rdlc file programmatically. Using Memory Table as dataset. Here is my code
    ' For each field in the resultset, add the name to an array listDim m_fields AsArrayList
      m_fields = NewArrayList()
      Dim i AsIntegerFor i = 0 To tbdataset.Tables(0).Columns.Count - 1
          m_fields.Add(tbdataset.Tables(0).Columns(i).ColumnName.ToString)
      Next i
      'Create Report 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition' Open a new RDL file stream for writingDim stream AsFileStream
      stream = File.OpenWrite("D:\MyTestReport2.rdlc")
      Dim writer AsNewXmlTextWriter(stream, Encoding.UTF8)
      ' Causes child elements to be indented
      writer.Formatting = Formatting.Indented
      ' Report element
      writer.WriteProcessingInstruction("xml", "version=""1.0"" encoding=""utf-8""")
      writer.WriteStartElement("Report")
      writer.WriteAttributeString("xmlns", Nothing, "http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition")
      writer.WriteAttributeString("xmlns:rd", "http://schemas.microsoft.com/SQLServer/reporting/reportdesigner")
      writer.WriteStartElement("ReportSections")
      writer.WriteStartElement("ReportSection")
      writer.WriteElementString("Width", "11in")
      writer.WriteStartElement("Body")
      writer.WriteElementString("Height", "5in")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Tablix")
      writer.WriteAttributeString("Name", Nothing, "Tablix1")
      writer.WriteElementString("Top", ".5in")
      writer.WriteElementString("Left", ".5in")
      writer.WriteElementString("Height", ".5in")
      writer.WriteElementString("Width", (m_fields.Count * 1.5).ToString() + "in")
      writer.WriteStartElement("TablixBody")
      ' Tablix Columns
      writer.WriteStartElement("TablixColumns")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixColumn")
          writer.WriteElementString("Width", "1.5in")
          writer.WriteEndElement() ' TableColumnNext fieldName
      writer.WriteEndElement() ' TablixColumns' Header Row
      writer.WriteStartElement("TablixRows")
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, "Header" + fieldName)
          ' writer.WriteAttributeString("CanGrow",  True)' writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          writer.WriteElementString("Value", fieldName)
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow'writer.WriteEndElement() ' TablixRows          Do not close Rows tag here colse it after details'End of Headers'Details Rows'writer.WriteStartElement("TablixRows")         Since Rows tag in header is not closed not need to open fresh tag
      writer.WriteStartElement("TablixRow")
      writer.WriteElementString("Height", ".25in")
      writer.WriteStartElement("TablixCells")
      ForEach fieldName In m_fields
          writer.WriteStartElement("TablixCell")
          writer.WriteStartElement("CellContents")
          writer.WriteStartElement("Textbox")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          '  writer.WriteAttributeString("CanGrow", True)'  writer.WriteAttributeString("Keeptogether", True)
          writer.WriteStartElement("Paragraphs")
          writer.WriteStartElement("Paragraph")
          writer.WriteStartElement("TextRuns")
          writer.WriteStartElement("TextRun")
          'writer.WriteElementString("Value", fieldName)
          writer.WriteElementString("Value", "=Fields!" + fieldName + ".Value")
          writer.WriteStartElement("Style")
          writer.WriteElementString("TextDecoration", "Underline")
          writer.WriteElementString("PaddingTop", "0in")
          writer.WriteElementString("PaddingLeft", "0in")
          writer.WriteElementString("LineHeight", ".5in")
          ''writer.WriteElementString("Width", "1.5in")''writer.WriteElementString("Value", fieldName)
          writer.WriteEndElement() ' Style
          writer.WriteEndElement() ' TextRun
          writer.WriteEndElement() ' TextRuns
          writer.WriteEndElement() ' Paragraph
          writer.WriteEndElement() ' Paragraphs
          writer.WriteEndElement() ' TexBox
          writer.WriteEndElement() ' CellContents
          writer.WriteEndElement() ' TablixCellNext
      writer.WriteEndElement() ' TablixCells
      writer.WriteEndElement() ' TablixRow
      writer.WriteEndElement() ' TablixRows'End of Details Rows
      writer.WriteEndElement() ' TablixBody
      writer.WriteStartElement("TablixRowHierarchy")
      writer.WriteStartElement("TablixMembers")
      writer.WriteStartElement("TablixMember")
      ' Group
      writer.WriteElementString("KeepWithGroup", "After")
      writer.WriteEndElement() ' TablixMember' Detail Group
      writer.WriteStartElement("TablixMember")
      writer.WriteStartElement("Group")
      writer.WriteAttributeString("Name", Nothing, "Details")
      writer.WriteEndElement() ' Group
      writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixRowHierarchy
      writer.WriteStartElement("TablixColumnHierarchy")
      writer.WriteStartElement("TablixMembers")
      'writer.WriteStartElement("TablixMember")ForEach fieldName In m_fields
          writer.WriteStartElement("TablixMember")
          writer.WriteEndElement() ' TablixMemberNext' writer.WriteEndElement() ' TablixMember
      writer.WriteEndElement() ' TablixMembers
      writer.WriteEndElement() ' TablixColumnHierarchy
      writer.WriteElementString("DataSetName", "tbdataset")
      writer.WriteEndElement() ' Tablix
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' Body
      writer.WriteStartElement("Page")
      ' Page Header Element
      writer.WriteStartElement("PageHeader")
      writer.WriteElementString("Height", "1.40cm")
      writer.WriteStartElement("ReportItems")
      writer.WriteStartElement("Textbox")
      writer.WriteAttributeString("Name", Nothing, "Textbox1")
      writer.WriteStartElement("Paragraphs")
      writer.WriteStartElement("Paragraph")
      writer.WriteStartElement("TextRuns")
      writer.WriteStartElement("TextRun")
      writer.WriteElementString("Value", Nothing, "ABC CHS.")
      writer.WriteEndElement() ' TextRun
      writer.WriteEndElement() ' TextRuns
      writer.WriteEndElement() ' Paragraph
      writer.WriteEndElement() ' Paragraphs
      writer.WriteEndElement() ' TextBox
      writer.WriteEndElement() ' ReportItems
      writer.WriteEndElement() ' PageHeader
      writer.WriteEndElement() ' Page
      writer.WriteEndElement() ' ReportSection
      writer.WriteEndElement() ' ReportSections' DataSources
      writer.WriteStartElement("DataSources")
      writer.WriteStartElement("DataSource")
      writer.WriteAttributeString("Name", Nothing, "tbdata")
      writer.WriteStartElement("DataSourceReference")
      writer.WriteEndElement() ' DataSourceReference
      writer.WriteEndElement() ' DataSource
      writer.WriteEndElement() ' DataSources'DataSet
      writer.WriteStartElement("DataSets")
      writer.WriteStartElement("DataSet")
      writer.WriteAttributeString("Name", Nothing, "tbdataset")
      writer.WriteStartElement("Query")
      writer.WriteElementString("DataSourceName", Nothing, "tbdata")
      'writer.WriteElementString("CommandText", Nothing, "/* Local Query */")
      writer.WriteElementString("CommandText", Nothing, "TableDirect")
      writer.WriteEndElement() ' Query'Fields
      writer.WriteStartElement("Fields")
      ForEach fieldName In m_fields
          writer.WriteStartElement("Field")
          writer.WriteAttributeString("Name", Nothing, fieldName)
          writer.WriteElementString("DataField", fieldName)
          writer.WriteElementString("rd:TypeName", fieldName.GetType.ToString)
          writer.WriteEndElement() ' FieldNext
      writer.WriteEndElement() ' Fields' rd datasetinfo
      writer.WriteEndElement() ' DataSet
      writer.WriteEndElement() ' DataSets
      writer.WriteEndElement() ' Report' Flush the writer and close the stream
      writer.Flush()
      stream.Close()
      'Convert to StreamDim myByteArray AsByte() = System.Text.Encoding.UTF8.GetBytes("D:\MyTestReport2.rdlc")
      Dim ms AsNewMemoryStream(myByteArray)
      'Supply Stream to ReportViewer
      ReportViewer1.LocalReport.LoadReportDefinition(ms)
      ReportViewer1.LocalReport.Refresh()When I open rdlc in designer I get following error"Data at the root level is invalid."When I run the aspx I get following error
    An error occurred during local report processing.
    The definition of the report '' is invalid.
    The definition of this report is not valid or supported by this version of Reporting Services.
    The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas.
    Details: Data at the root level is invalid. Line 1, position 1.
    Can anybody guide me?

    Hi RACES,
    Based on your description, I'm afraid that it is not the correct forum for this issue, but maybe I could help you find a more appropriate forum.
    If it is related to the Visual Studio Report Controls, you could select this forum:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=vsreportcontrols
    But if it is the SSRS issue, maybe this forum would be better for you:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
    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.

  • The SharePoint list query is not valid: Data at the root level is invalid. Line 1, position 1. (rsSPDataProviderError)

    Hi there,
    All my reports are throwing below error in a sharepoint site configured with Access services. Does anyone have a clue what's causing it?
    An error has occurred during report processing. (rsProcessingAborted)
     Query execution failed for dataset 'Default'. (rsErrorExecutingCommand)
     The SharePoint list query is not valid: Data at the root level is invalid. Line 1, position 1. (rsSPDataProviderError)
    Thanks
    Manvir

    Hi Manvir,
    For troubleshooting your issue, please go to C:\Inetpub\wwwroot\wss\VirtualDirectories\ find your Web Application (represented by a port number), then delete an unknown folder created by sharepoint, namely vti_cnf from all the folders and sub-folders in
    your web application.
    Reference:
    http://forums.asp.net/t/985790.aspx?Data+at+the+root+level+is+invalid+Line+1+position+1
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Release Management 2013 Server Web Site throwing "Data at the root level is invalid..." error after applying RM 2013 Update 4

    I upgraded our RM Server from 2013 Update 2 to Update 4. During smoke testing, I discovered that the RM approval website would get stuck and display a loading wheel when showing the list of releases. After rebooting the server and uninstalling and reinstalling,
    I eventually got it to load the web site just fine, however the windows event log is displaying thousands of instances of the same error (about once a second).
    Timestamp: 4/2/2015 2:25:05 PM
    Message: Data at the root level is invalid. Line 2, position 1.: \r\n\r\n   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
       at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
       at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
       at System.Xml.XmlTextReaderImpl.Read()
       at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
       at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
       at Microsoft.TeamFoundation.Release.Common.ExtensionMethods.XmlExtensionMethods.ToXDocument(String value, Boolean preserveWhitespace)
       at Microsoft.TeamFoundation.Release.Common.Helpers.WebServiceHelper.ExtractWebMethod(String pathInfo, Stream inputStream)
    Category: General
    Priority: -1
    EventId: 0
    Severity: Error
    Title:
    Machine: [Server Name]
    Application Domain: /LM/W3SVC/2/ROOT-1-130724725961138960
    Process Id: 3448
    Process Name: C:\Windows\SysWOW64\inetsrv\w3wp.exe
    Win32 Thread Id: 1136
    Thread Name:
    Extended Properties:
    This is quite concerning because it leads me to think something else is wrong.  I read somewhere else that .Net Framework 4.5.1 is required for RM, but the system requirements on MSDN don't mention that.  Any help greatly appreciated.
    Specs:
    RM Server: Windows 2012 R2
    Release Management 2013 Update 4
    Connect to TFS Server 2013 Update 2
    We are not using HTTPS:

    Hi Joe519,
    Thanks for your post.
    And thank you for sharing  the experience here. 
    All your participation and support are very important to build such harmonious/ pleasant / learning environment for MSDN community.
    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.

  • Row level access at the Group level assignments

    I know the concept ROW LEVEL security or "Access Restrictions" but I haven't really implemented it before.
    1. Create a Row level security from the BO -UNIVERSE designer from the TOOLS> MANAGE SECURITY>MANAGER ACCESS RESTRICTIONS.
             RESTRICTION-EMPLOYEE ( If user is available in the table then only display the results)
             In the where clause Employees.Employee_Name = @Variable('BOUSER') here the BO user always at the user level ID.
    2. Then assign the above restriction to the USER or GROUP.
    The question what I have.. if I assign the Restriction at the GROUP level, will this condition be applied for all users under that group. Do I need to do anything else.
    Please confirm.

    THose are two different things you are talking about here:
    1) @Variable('BOUSER') is a placeholder that is replaced during the runtime with the ID of the user who is running the report accessing your universe. Adding this expresson somewhere in your universe (does not have to be necessary the where clause of an access restriction) will mean that the generated SQL statement will contain the user ID at the related place.
    2) Access restrictions: You can setup access restriction for users or even groups. If you set those for groups then the restriction will be applied to ALL users being members of this group, when they run a report that uses your universe. If a specific user belongs to 2 different groups for which universe restrictions are applied, then the conflict will be solved according to the settings in your universe. Access restrictions can be used to change the where clause of the generated statements but also for using different credentilas to connect to the database (based on the group) and/or a different set of parameters eg. the maximum bnumber of rows fetched by the universe can vary among different groups.
    Hope this helps.
    Regards,
    Stratos

  • How to replicate session data at the user level?

    Hi all,
    my client has users who use laptop/tablet computers in the field with wireless connections. The application requires the users to complete long multi-page forms where the data is only submitted to the EIS layer at the end of the process. The connections regularly drop out which understandably is a cause of some grief. In addition, the users want to be able to switch to another machine in order to complete their session.
    The 'switching machine' requirement kills the idea of using persistent cookies and session replication unfortunately. So I am faced with the idea of storing the session data (keyed by user id), in serialized form, either on a stand-alone disk which is accessible by each webserver in the cluster or is the database. The problem with the database idea is the performance hit of traversing the EJB and JDBC layers.
    Can anyone suggest the best practice in this case? Or point to an article or tool that covers the problem?
    BTW, the app serves a small (<50) and stable base of authenticated users so scalability is not really an issue whereas failover is.
    Regards,
    Dave.

    > Is it possible to close a PO at the header level
    Po can be closed at Item level and not Header level. You can set Deletion Indicator and further can be archived thru SARA MM_EKKO
    or a way to deactivate the PO so that no new items can be added?
    You can activate Release strategy and Choose a Proper Release indicatory so that no new changes to be carried out.
    Else go for User Exits

  • How Do I - Display a group when there is no data for the group?

    I have a report where I'm grouping on a numeric county number. Currently, if there are no records for that county, that report group doesn't display. My users want each county printed even if it has no data.
    The numeric values for county range from 1 - 85. I'm using CR 11.5 and pulling data from a Teradata database.

    Hi. I had already thought of doing an outer join on the county column of the county look up table. The problem is that this transfers the selecting and counting of the targeted data from the SQL statement to the report, specifically most of the formula fields itself. And given that the report is parameter driven, it would make maintenance of the report not so much fun. The solution ( I think, still have to code it) is to take my original inner join query and UNION it to a query selecting only the county column from the county look up table. I just add null valued columns to match the number of columns in the original query. This way I get at least one county record to satisfy the display of each group and only minimally increase the actual number of records the report has to process.

  • Problem Deleting a row from the bottom level of a tree binding

    We have the following requirement: To allow user to delete an item on an order (which is the lowest level node in tree) by updating the quantity textbox to zero in a jsp page.
    We display a listing of Ad Items for a Department with quantity textboxes. The user enters quantities and clicks on “add to my order” button. The items in which they have entered quantities for are persisted to a database table. The user is then directed to an order summary screen (shown below) where it displays the items and quantities for which they have placed an order for. The quantities are updateable. If the user changes a quantity to zero, we want to remove that item from the Order Items View Object (all VOs described are Entity based).
    Update Screen - click here (http://members.awiweb.com/images/adspl_summary.jpg)
    We are using a 3-level tree binding
    -- Department Level
    ---- Ad Items Level (items that they can order)
    ------ Order Items Level (items that they have ordered)
    Attributes on the Order Items View Object:
    ConfoOrderDeptId (key attribute)
    Itemcode (key attribute)
    DeliveryDate (key attribute)
    Quantity
    Customercode
    Custom method in the app module:
    //Gets the VO for the Order Items Level
    ConfoOrderItemEOVOImpl confoOrderItem = (ConfoOrderItemEOVOImpl)getConfoOrderItemEOVO1();
    //Creates an Object from the values being passed into the custom method.
    //There is a value for each key attribute in the Order Items VO
    Object [] myKeyObj = new Object[]{confoOrderDeptId,itemcode,date};
    Key myKey = new Key(myKeyObj);
    Row [] orderItemRow = confoOrderItem.findByKey(myKey,1);
    //newQty is updated quantity
    if ("0".equals(newQty))
    orderItemRow[0].remove();
    else
         orderItemRow[0].setAttribute("Quantity",newQty);
    The updates (setAttribute) is working fine. The deletes (.remove()) is throwing a null pointer exception (see stack trace below).
    We also tried overloading the setQuantity method in the RowImple class and called this.remove() if the quantity being passed in was zero, but we got the same null pointer result.
    04/08/27 16:57:29 java.lang.NullPointerException
    04/08/27 16:57:29      at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.myUpdateValuesFromRows(JUCtrlHierNodeBinding.java:419)
    04/08/27 16:57:29      at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.updateRowDeleted(JUCtrlHierNodeBinding.java:326)
    04/08/27 16:57:29      at oracle.jbo.uicli.binding.JUIteratorBinding.rowDeleted(JUIteratorBinding.java:220)
    04/08/27 16:57:29      at oracle.jbo.common.RowSetHelper.fireRowDeleted(RowSetHelper.java:222)
    04/08/27 16:57:29      at oracle.jbo.server.ViewRowSetIteratorImpl.deliverRowDeletedEvent(ViewRowSetIteratorImpl.java:3026)
    04/08/27 16:57:29      at oracle.jbo.server.ViewRowSetIteratorImpl.notifyRowDeleted(ViewRowSetIteratorImpl.java:2915)
    04/08/27 16:57:29      at oracle.jbo.server.ViewRowSetImpl.notifyRowDeleted(ViewRowSetImpl.java)
    04/08/27 16:57:29      at oracle.jbo.server.ViewObjectImpl.notifyRowDeleted(ViewObjectImpl.java:6565)
    04/08/27 16:57:29      at oracle.jbo.server.ViewObjectImpl.notifyRowDeleted(ViewObjectImpl.java:6603)
    04/08/27 16:57:29      at oracle.jbo.server.QueryCollection.removeRow(QueryCollection.java:2118)
    04/08/27 16:57:29      at oracle.jbo.server.QueryCollection.afterRemove(QueryCollection.java:2083)
    04/08/27 16:57:29      at oracle.jbo.server.ViewObjectImpl.sourceChanged(ViewObjectImpl.java:7770)
    04/08/27 16:57:29      at oracle.jbo.server.EntityCache.sendEvent(EntityCache.java:616)
    04/08/27 16:57:29      at oracle.jbo.server.EntityCache.deliverEntityEvent(EntityCache.java:642)
    04/08/27 16:57:29      at oracle.jbo.server.EntityCache.notifyStateChange(EntityCache.java:763)
    04/08/27 16:57:29      at oracle.jbo.server.EntityImpl.setState(EntityImpl.java:2875)
    04/08/27 16:57:29      at oracle.jbo.server.EntityImpl.remove(EntityImpl.java:5548)
    04/08/27 16:57:29      at oracle.jbo.server.ViewRowImpl.doRemove(ViewRowImpl.java:1773)
    04/08/27 16:57:29      at oracle.jbo.server.ViewRowImpl.remove(ViewRowImpl.java:1813)
    04/08/27 16:57:29      at com.awiweb.om.model.dataaccess.ConfoOrderItemEOVORowImpl.setQuantity(ConfoOrderItemEOVORowImpl.java:112)
    04/08/27 16:57:29      at com.awiweb.om.model.services.ConfoOrderingAppModuleImpl.updateConfoOrderItemWithValues(ConfoOrderingAppModuleImpl.java:247)
    04/08/27 16:57:29      at com.awiweb.om.view.CurrentOrderSummaryAction.onUpdateCurrentOrder(CurrentOrderSummaryAction.java:39)
    04/08/27 16:57:29      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    04/08/27 16:57:29      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
    04/08/27 16:57:29      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    04/08/27 16:57:29      at java.lang.reflect.Method.invoke(Method.java)
    04/08/27 16:57:29      at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:512)
    04/08/27 16:57:29      at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:211)
    04/08/27 16:57:29      at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:447)
    04/08/27 16:57:29      at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:246)
    04/08/27 16:57:29      at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:440)
    04/08/27 16:57:29      at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:114)
    04/08/27 16:57:29      at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:233)
    04/08/27 16:57:29      at com.awiweb.om.ext.AWIDataAction.handleLifecycle(AWIDataAction.java:191)
    04/08/27 16:57:29      at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:163)
    04/08/27 16:57:29      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    04/08/27 16:57:29      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    04/08/27 16:57:29      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    04/08/27 16:57:29      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
    04/08/27 16:57:29      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    04/08/27 16:57:29      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    04/08/27 16:57:29      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    04/08/27 16:57:30      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    04/08/27 16:57:30      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    04/08/27 16:57:30      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:228)
    04/08/27 16:57:30      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
    04/08/27 16:57:30      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    04/08/27 16:57:30      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    04/08/27 16:57:30      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    04/08/27 16:57:30      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    04/08/27 16:57:30      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    04/08/27 16:57:30      at java.lang.Thread.run(Thread.java:534)

    This looks like a bug in TreeBinding. Please file this as a bug/tar with OracleSupport with your reproducible testcase (or steps to reproduce). Thanks.

  • What is the significance of having a compound master data in the planning levels?

    In "SAP2" model there is PERPRODCUST as a planning level.
    This planning level has PERIOD, PRODUCT, CUSTOMER and PRODUCT-CUSTOMER master data as part of the planning level.
    Wouldn't PERIOD, PRODUCT, CUSTOMER be sufficient? Why is the compound master data required to be added to this planning level.
    Could someone clarify this for me.
    Thank you.

    I'll attempt:
    It depends on if you want to surface the result/value of the compound master data type on the key figures in your planning level.  If you do then you'll need to include it in the planning level.
    If the question is why would I want a compound master data type, then my attempt at that answer is as follows:
    From my understanding, the idea of a compound key figure is that you are able to derive an attribute or attributes that are related to, in this case, two master data types - all without having to 'store' that attribute on the transactional record.
    Here is a simplistic example:
    Master data on PRODUCT (where PRODID is the key)
    PRODID,PRODDESCR,PRODSIZE
    P1,Widget A,Big
    P2,Widget B,Big
    P3,Widget C,Small
    P4,Widget D,Small
    Master data on CUSTOMER (where CUSTID is the key)
    CUSTID,CUSTDESCR,CUSTREGION
    C1,Store A,West
    C2,Store B,West
    C3,Store C,East
    C4,Store D,East
    Master data on compound MDT PRODUCT-CUSTOMER (where PRODID and CUSTID are the key)
    PRODID,CUSTID,SALESREGION
    P1,C1,BIG_WEST
    P1,C2,BIG_WEST
    P1,C3,BIG_EAST
    P1,C4,BIG_EAST
    P2,C1,BIG_WEST
    P2,C2,BIG_WEST
    P2,C3,BIG_EAST
    P2,C4,BIG_EAST
    P3,C1,SMALL_WEST
    P3,C2,SMALL_WEST
    P3,C3,SMALL_EAST
    P3,C4,SMALL_EAST
    P4,C1,SMALL_WEST
    P4,C2,SMALL_WEST
    P4,C3,SMALL_EAST
    P4,C4,SMALL_EAST
    Finally you have some transactional data for the Key Figure on the planning level (ex: Sales)
    PRODID,CUSTID,SALES
    P1,C1,10
    P3,C4,15
    P4,C3,30
    P1,C3,20
    P2,C2,15
    *Note that you don't need to 'store' the sales region attribute on the record
    Then on your report, you can pick the SALESREGION and get your aggregated values:
    SALESREGION,SALES
    BIG_WEST,25
    BIG_EAST,20
    SMALL_WEST,0
    SMALL_EAST,45

  • Time Stamp problem while writing data into the excel file

    Hii, All
                  I am taking the data from the DAQ card of the TOPSCCC with the 8 ms of scanrate for each channel and there are total 16 no of Analog channels in the Card, now i am acquiring the data from the card, time stamping it and writing it into the excel file, which is tab delimited, now the problem is, the data which are in the excel file have the same timestamp for 4 to 5 continuous records, instead we want each data with the different and continuous time stamp with same difference of time stamp between two records, mean if it is difference of 8 ms then it should be the 8 ms for all, but here it is taking the differnce of 16 ms for two samples and giving same time stamp for four to five records and that shouldn't happen, here i am attaching my vi, drivers for the cards and Excel file with the data, can you please give me any suggestion how to do it?
           Please help me i require this suggestion as early as possible, i am requiring it urgently.
    Thanks in Advance,
    Nishant
    Attachments:
    2026vi.llb ‏319 KB
    2026_ScanMultAD_Demo_time.vi ‏80 KB
    Data.xls ‏357 KB

    Hello Nishant,
    that's what I meant:
    Message Edited by GerdW on 05-16-2006 10:32 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    timestamp-array.png ‏2 KB

  • Requirement to get Inventory data at the Daily level (non-cumulative KF)

    Hello All,
    Kindly provide ur suggesstions on the issue mentioned below:
    We require the Inventory data at a daily level. Also we require that the non-cumulatve Key Figures such as 0TOTALSTOCK, etc. be available to us in the BW itself, since this is required for further processing.
    PS: Right now we are using RSCRM_BAPI to execute the qurey and store the data into a table, but it fails for non-cumulative keyfigures. Kindly suggest if ther are other ways which can suffice the requirement mentioned above.
    Thank you.
    Regards,
    Kunal Gandhi

    Another one?
    You should read this link: https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement

  • Task level data at the Project level?

    Hi all,
        I have a custom date field in Project 2010 that if certain text is displayed in the task name, this field is populated by the task finish date.
    Essentially this task is connected within Project Server to an external 'deliverable'.
    I need to grab this date and have it at the Project  Information level - is this possible?
    Even using Enterprise flags, I still could not obtain the task date at a Project level.
    Any thoughts much appreciated.
    -CL

    Rob,
    Maybe my latest post on this need may be of interest. How to show Implementation Milestone Dates in Project Center. #msproject
    http://aboutmsproject.com/how-to-show-implementation-milestone-dates-in-project-center/  I'm able to use formulas to bring task data up to the Project level.
    Treb Gatte, Project MVP |
    http://AboutMSProject.com |
    @tumbleroad

  • Problem in uploading data for the Tcode CA02

    Hi,
    I am trying to upload the data for the Tcode ca02  and i am facing a problem i.e. the uploading for the for the 18th  inspection characterstic is not able to being uploaded. I had checked the code of it  and the logic is there.
    It was previously uploading the data for it,but iit is not doing now. I had cheked the program of the screen also the fields are also present..

    would u plz send code.so i can check

  • Help to get max date of the group

    Hi, How I can get the max(date1) for the group on the basis of Code1,Code2,Code3.
    Code1    Code2   Code3     Date1         RTCODE
    A           A1        A2         1/1/2012     SER
    A           A1        A2         1/1/2013     SER
    A           A1        A2         1/1/2015     TER
    B          B1        B2         1/1/2011       JTS
    B          B1        B2         1/1/2012      JTR
    C          C1       C2         1/1/2010      HYR
    C          C1       C2         1/1/2011       JST
    Expected results from query should be:
    Code1    Code2   Code3     Date1         RTCODE
    A           A1        A2         1/1/2015      TER
    B           B1        B2         1/1/2012      JTR
    C          C1       C2          1/1/2011       JST

    Hi,
    You can try this:
    CREATE TABLE #T
    CODE1 VARCHAR(5),
    CODE2 VARCHAR(5),
    CODE3 VARCHAR(5),
    DATE1 DATE,
    RTCODE VARCHAR(5)
    --DROP TABLE #T
    INSERT INTO #T
    VALUES
    ('A','A1','A2','20120101','SER'),
    ('A','A1','A2','20130101','SER'),
    ('A','A1','A2','20150101','TER'),
    ('B','B1','B2','20110101','JTS'),
    ('B','B1','B2','20120101','JTR'),
    ('C','C1','C2','20100101','HYR'),
    ('C','C1','C2','20110101','JST');
    --TRUNCATE TABLE #T
    WITH TEST AS
    SELECT CODE1, CODE2, CODE3, MAX(DATE1) AS DT_MAX
    FROM #T
    GROUP BY CODE1, CODE2, CODE3
    SELECT T.CODE1,T.CODE2, T.CODE3, T.DT_MAX,#T.RTCODE
    FROM TEST AS T
    INNER JOIN #T ON T.CODE1=#T.CODE1
    AND T.CODE2=#T.CODE2
    AND T.CODE3=#T.CODE3
    AND T.DT_MAX=#T.DATE1
    ORDER BY T.CODE1,T.CODE2,T.CODE3
    Regards,
    Reshma
    Please Vote as Helpful if an answer is helpful and/or Please mark Proposed as Answer or Mark As Answer when question is answered

Maybe you are looking for

  • Report with undefined number of columns

    Hello, I'm using VB.NET and Crystal Reports 2008 for my Windows application. I've a new report to implement. It's a budgetting report in a table form, which shows the amount of money allocated to a certain projects over a range of years. In each row

  • Question about migrating dreamweaver to new computer

    I'm somewhat of a novice when it comes to dreamweaver and I recently had to go out and get a new computer after cracking the screen of my old laptop.  Now I need to migrate dreamweaver onto my new system but also want to retain the directory structur

  • How do you set up a Bluetooth GPS on the ipad 2

    I purchase I.trek M5 but the ipad does not pick up the device.

  • MSS Iview Problem -Any  Experts help please

    I've configured ESS BP in my Portal successfully and it's running perfectly fine. Now i've imported MSS also without any problems. Now the issue is when i'm launching the My Staff iViews it gives me a message "Could not connect to the R/3 System" . T

  • I have been trying to install Photoshop CS2 but it fails, why?

    It is always at the same loading point, "control packet" and then it crashes, why? I got the idea from here -> Grab Photoshop and CS2 For Absolutely Free Right Here And it is not a virus, promise Anyway, I have installed Photoshop CS2 on my other com