Sorting issue in Advance table region

Hi All,
Facing issue in sorting.
I have an advance table region , I have set the property
Sort Allowed : Yes ; Sort By View Attribute : View attribute Name
This is working for all the columns but it is failing for date columns.
Data is not getting sorted for date columns.
Output format of Date is : 09-Feb13 09:08:01
Please help.
Do let me know if any further information is required.

Hi All,
Can anyone lookinto this  ...
Am still waiting for an update ...

Similar Messages

  • Issue in Advance Table Region - Plz help!

    Hi All,
    I have a custom page in which I am using a advanced table region.
    The issue is this that the value in advanced table row [Two Fields are there both are MessageTextInput] is getting populated automatically as the page render. Is this is seeded functionality of advanded table???
    If you how to overcome this..
    I have to display row with no value i.e blank. I got to know that if the attribute which is attached to the column of row has value then it show on frontend automatically and if i delete the row then i got it blank.
    Regards,
    Ajay

    IF the values in present in the underlying table, then it will appear in the advanced table as well due to the VO that you are using.
    To create a blank row. You will have to create a new row in the VO and set it as the current row.
    If u want it to be done automatically. You can do this:
    1. select your advancedTable region and choose New--> footer
    2. Select the tableFooter and then right click and select New-- > addTableRow
    3. in the addTableRow item that u just created in step 2 , u can play around with the properties. For auto row insertion, without writing any code set the Insert Rows Automatically property to true and change the Rows to Add property to change the number of blank rows added. The default is 1

  • Sort Functionality in Advanced table.

    Dear Friends,
    I have a OAF page developed with advance table region which has around 7 columns .
    under every column i have created a "sortable header field " also i had set the sort allowed property to TRUE ,
    but still when ever i click on sort button i am unable to sort the column in a advanced table .
    Please give me your suggestion .
    Thanks in Advance,
    Keerthi.k

    When you set sort allowed property to true , the column header has a sort image which when clicked reverses the sort directions.
    Need to create separate headers for the purpose of sorting.
    Regards,
    Guru Krishnan.

  • Urgent::Issue with advanced tables....

    Hi
    i am new to OA framework
    i have view instance (associated with a custom table..i want to insert data into this table using advanced table)with X view attributes..
    among them one is primary key.i set that using a sequence value..
    rest all.. i made them as columns of an advanced table..
    two among the above are form values..
    now i added a footer for adding a row in advanced table region...
    when i click on the add another row ...i am getting this error...please check it...i am stuck here since long time..
    Error: Cannot Display Page
    You cannot complete this task because one of the following events caused a loss of page data:
    * Your login session has expired.
    * A system failure has occurred.

    i added this code in my controller....
    if ((tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    && (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))) {
    am.invokeMethod("createRecordInv");
    and in my am i wrote this..
    public void createRecordInv()
    try
    ARTransactionLineVOImpl vo = getARTransactionLineVO1();
    if (!vo.isPreparedForExecution())
    {   vo.executeQuery();     }
    if (vo != null)
    vo.setMaxFetchSize(0);
    ARTransactionLineVORowImpl row1 = ( ARTransactionLineVORowImpl)vo.createRow();
    if (vo.getFetchedRowCount() == 0)
    vo.insertRow(row1);
    else
    { vo.insertRowAtRangeIndex(vo.getFetchedRowCount(),row1); }
    row1.setNewRowState(row1.STATUS_INITIALIZED);
    OADBTransaction transaction = getOADBTransaction();
    Number CdArScheduleId = transaction.getSequenceValue("CLE_CD_CASH_DOC_AR_INVS_ALL_S");
    ARTransactionLineVORowImpl TransDetailsVORow = (ARTransactionLineVORowImpl)vo.getCurrentRow();
    TransDetailsVORow.setCdArScheduleId(CdArScheduleId);
    catch(Exception ex)
    { ex.getMessage();  }
    i am getting NULL POINTER EXCEPTION.....
    i set some of the values in advanced table prgramatically later using PPR...
    is it ok....
    just look into this n let me know if im wrog some where....

  • How to default Sysdate in Advance table region on clicking Add Another Row

    Hi,
    Can any one please help me how to default Sysdate (MessageTextInput column) in Advance table region on clicking Add Another Row.
    Thanks,
    Mohan

    Got it... thanks mukesh..here it works.Reference to others!!!
    if (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    OAViewObject vo3 = (OAViewObject)am.findViewObject("XxStageLineVO1");
    OARow row1 = (OARow)vo3.getCurrentRow();
    java.util.Date sysdate = pageContext.getCurrentUserDate();
    String convSysDate = pageContext.getOANLSServices().dateToString(sysdate);
    row1.setAttribute("StrtDt", convSysDate);
    }

  • Total in advance table region

    hi all,
    i have one advance table region with total.
    in advance table region displays records(ex my advance table region displays 5 records).
    every number field display the total(this total calculate 5 records data)
    ex:
    1000
    2000
    3000
    4000
    5000
    total 15000
    my page work like above senario.
    but my client requirement is,in 5 records he select any two records and display the 2 records total.
    how to achive this
    plz help me its very urgent...
    Thanks
    Edited by: its urgent on Apr 13, 2012 4:38 AM

    Hi Gurus,
    Please help me. its very urgent
    Thanks

  • How to embed  a advance table region in a seeded page

    Dear Friends
    I need to add a custom region in a seeded page { (po requisition page in worklist)--   /oracle/apps/fnd/wf/worklist/webui/NotifDetailsPG  }
    I want to create a advance table region as custom region. CAN IT BE DONE THROUGH PERSONALIZATION?
    how to import this region .
    does it need apache bounce.
    Can u plz guide me how to achieve this.
    let me know for any clarification, plz help.
    Thanks
    Aravinda

    Hi Jyothi
    Can u plz explain in little detail.Shall I start with custom workspace and jpr or with std. path.
    I created a workspace xxom.oracle.apps.fnd.wf.worklist.webui
    and created vo,am and co .and where i have to move all these classfiles , how the seeded page will take my custom region.
    and how to import .can u plz give details.
    Thanks

  • Deleting Row from Advanced Table Region

    Dear Members,
    I have an OAF Page where I am using Advanced Table Region to display the data of a table.
    As soon as the page opens I am displaying one line in Advanced Table Region. In this region I have also given a button called ADD ANOTHER ROW +(using the feature of ADVANCED TABLE COMPONENTS, FOOTER, TABLE FOOTER , ADD TABLE ROW)+.
    So when user clicks on this button a new row will be added. Now if user wants to delete it how to achieve this.
    Kindly please help me in achieving this functionality.
    Many thanks in advance.
    Best Regards,
    Arun Reddy D.

    Hi Arun,
    First you need to create a button or image called Delete on your Advanced table region.
    Action Type : firePartialAction
    Event: delete
    Then In your CO PFR , write the below code
        if ("delete".equals(pageContext.getParameter(EVENT_PARAM)))
          String rowRef = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
          OARow row = (OARow)am.findRowByRef(rowRef);
          row.remove();
        }Hope this helps. :)
    Thanks,
    SK
    Edited by: SK on Feb 9, 2011 5:21 PM

  • How to create advance table region with columns by code

    hello friends
    i need to create advance table region and columns dynamically ... for that i want to know any code snippet do you have
    please share with me that would be really great help

    Hi ,
    It is not possible through code but
    1.) U can create a new custom OAAdvanced table under a custom region using JDeveloper.
    2.) Create stack layout bean using personalization on the page ,and in extend property of StackLayoutBean mention the complete path of above custom region .
    Thank
    Pratap

  • Issues with Advance Table Add Row New Row not work in some scenarios.

    Hi,
    Wondering if there's any issue with Advanced Tables where it does not create any rows. I don't know if anyone tried this or not. I have one OA Page with Advanced Table and a button that when clicked open a new OA Page in a POP-UP Window. The pop-up page conatins one textbox where u enter a data and this gets saved in one of the VO's transient attribute. Now on the ase page if you don't click a button to open a pop-up page you can Add New Rows in the Advanced Table by clicking Add Row Button. But as soon as you open a popup window and close it Add New Rows button doesn't work and is not creating any new rows. Basically page stops working. Both the POP-UP and the base page share the same AM but have different controllers.
    POP-UP page is a custom page that I open giving the Destination URI value in the button item and target frame _blank.
    I even tried creating rows programmatically for Advance Table but this too doesn't work once u open a pop-up. Also I have used pageContext.putTransactionValue in the pop-up page and am checking and removing this in the base page.
    Any help is appreciated.
    Thanks

    anyone

  • Multiselection issue in advanced table on OAF page

    Hi,
    I have a advanced table on OA Page. To this advanced table, I had added the multi selection table action.
    To the multiselect, i have attached a View Instance and a view attribute.
    There is text input field in the advanced table. If user makes changes to it, an event "updateDate" fires.
    In CO:
    if(event.equals("updateDate")){
    System.out.println("A");
    String rowReference =
    pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable[] param = {rowReference} ;
    am.invokeMethod("DetailsCheckBox", param);
    In AM:
    public void DetailsCheckBox(String rowReference) {
    System.out.println("B");
    oracle.jbo.Row row = findRowByRef(rowReference);
    DetailsVOImpl ivo =
    (DetailsVOImpl) findViewObject("DetailsVO1");
    String chkbox = (String)row.getAttribute("Multiselect");
    System.out.println("multiselect original: "+chkbox);
    if ((chkbox == null)||(chkbox.equals("N"))){
    ivo.setCurrentRow(row);
    row.setAttribute("Multiselect","Y");
    String chkbox1 = (String)row.getAttribute("Multiselect");
    System.out.println("multiselect : "+chkbox1);
    // ivo.reset();
    The issue is that if there are 5 rows getting displayed in the advanced table and i make changes to any of first 4 rows, the checkbox gets checked on page but if i make changes to last row the checkbox is not checked on page, even though the statement String chkbox1 = (String)row.getAttribute("Multiselect"); returns 'Y' in AM.
    Please help. Its urgent.

    Hi Gyan,
    Multiselect attribute is checked for Always Updateable.
    and have done sop for other attributes also, dey are coming for 5th row only.
    also if my VO query returns 27 rows, and advanced table displays 10 rows at a time then pnly 10th row gives this issue. It works fine even for 20th row.
    Observed one more thing, if i first update any other row and then the last row, it works fine.

  • Sorting issue in Classic table

    Hi,
    In my page we have two tables, Header and Detail. On selection of any record on the HeaderTable, corresponding records are fetche of the details table. Sorting is working fine on the details table. We want to implement sorting on the header table as well.
    When i am sorting a table by clicking on one of the Column Header, i am getting the following Warningmessage
    " Warning - The table cannot be sorted because it has pending changes which would be lost. "
    Please let me know, what could be the probable cause of this error.

    It would probably because of selectFag in your header table.
    Goto VORowImpl.java and change setAttributeInternal() to populateAttribute() in setSelectFlagXXXXXX(....) method.
    if the problem is not solved then look for any other setXXX() methods in your Controller and AMs to the HeaderVO.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Issues with Advanced Query Region.

    Hi All,
    I have a Search Page implemented with 5 subtabs. When the page is loaded, in the 5th tab I see Radio Buttons which are actually not part of this page. This issue is not consistently happening. After I navigate to other tabs and perform some operations and come back to this 5th tab, everything looks as it should. Can anyone throw some light on this????
    Thanks in Advance,

    Strange..
    Anyway please delete the xml page file from the instance and redeploy everything. Also make sure you dont have that radio button anywhere (either in page or created through controller). Do check if you have regions extended on the page. Also make sure you are not creating radio buttons through Personalization in the instance. You can check this by disabling the personalization profile.
    Regards
    Sumit

  • Sorting Issue in ALV table

    Hi,
    I have included a ALV table in my application. A column in the table is containing a list of amounts. When i am trying to sort it in ascending or descending order, the values are not listed properly. I am using "PAD_AMT7S" as the data type for the attribute which will accept up to 2 decimals. The issue is,
    if the column is containing values like
    0.00,
    8.75,
    17.00,
    8.50 and
    17.50.
    if i perform ascending type of sorting the values are re-arranged as,
    0.00
    17.00
    17.50
    8.50
    8.75
    and on descending
    8.75
    8.50
    17.50
    17.00
    0.00
    Which are all incorrect. Please provide me your suggestions..
    Thanks,
    Mugundhan

    Hi,
    Are you using the IF_WD_TABLE_METHOD_HNDL for the sort, or you wrote your own code?
    IF_WD_TABLE_METHOD_HNDL worked incorrectly for some special fields, in these cases I had to write the sorting code manually.
    e.g.
    CALL METHOD WDEVENT->GET_STRING
       EXPORTING
         NAME   = 'COL'
       RECEIVING
         VALUE  = lv_col_name.
      CALL METHOD WDEVENT->GET_STRING
       EXPORTING
         NAME   = 'DIRECTION'
       RECEIVING
         VALUE  = lv_direction.
      CASE lv_col_name.
        WHEN 'TABLE_FIELD1'.
          IF lv_direction EQ '00'.
            SORT lt_table BY CURR ASCENDING.
            ELSE.
              SORT lt_table BY CURR  DESCENDING .
          ENDIF.
    Is the table sorted incorrectly here?
    Bye
    N.

  • Sort issue in a table

    Hi all,
    My requirement is i have to sort the data in a table based on a column_name.
    so i took the following steps.
    create table temp_template_fields as select * from template_fields
    order by column_name;
    delete from template_fields;
    insert into template_fields select * from temp_template_fields order by column_name;
    commit;
    drop table temp_template_fields;
    Even then the data in the table template_fields is not getting sorted..
    I dont understand y is it not happenning.. Pls help me ASAP.
    thanks in advance.

    1) Why do you have to sort the data in a table? There are a handful of valid reasons for this (i.e. improving compression), but it's generally not a useful exercise if you have a heap organized table.
    2) How do you know that the data "is not getting sorted"?
    Making a couple of assumptions, I am guessing that you are trying to set up a table that will always return rows in a sorted order when your queries don't specify an ORDER BY clause. That is not possible in Oracle-- the only way to ensure that the rows returned by a query are ordered is to put an ORDER BY clause on the query.
    Justin

Maybe you are looking for