VIEW_MAINTENANCE_CALL and SORT

Hey everyone.
I'm using VIEW_MAINTENANCE_CALL to display/change entries from a client table.
Is there any way i can sort the entries before displaying it?
Thanks,
Mário

Hi Mario,
View maintenance does not largely support SORT functionality, as it often deals with hexadecimal data. When you call the module VIEW_MAINTENANCE_CALL, there are no options to specify a sort sequence here. The data displayed subsequently in the view screens is by default sorted based on the Key Fields of the table/view.
But what you could try doing is this - goto the generated coding of the view/table, and you programmatically modify the sorting order on the display screen, but without affecting the key-fields. Or, you could use the Events to change the logic as well.
Cheers,
Rekha

Similar Messages

  • What is the best way to scan and sort old photos in iPhoto

    What is the best way to scan and sort old photos in iPhoto?  They do not have digital dates.

    Hey Chicago Sue,
    Once you scan them and have them on your desktop. You should use Automator and assign the common IPTC tags to the images, so that when you do import them into iPhoto, they get recorded.
    Here is an example of an action in Automator:

  • Grouping and sorting the data based on the parameter

    Hi,
    I need to display the total of item Cost i.e sub total based on parameter in Excel format
    if value = 1 then (Subtotal by Manufacture) and sorting by Manufacture, Receipt Date, Organization, Item Code
    if value = 2 then (Subtotal by Organization ) and sorting by Organization, Item, Serial Number
    and at the end of report need to display full total
    is it possible in excel output using the below xml , please guide me if i need to change the way of getting XML ouput or can be acheived using this.
    Please find the xml , thanks in advance
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 6.0.8.27.0 -->
    <ASWRECDTREP>
    <LIST_G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>10</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PARTS</ORGANISATION_NAME>
    <SERIAL_NUMBER>90699100802262</SERIAL_NUMBER>
    <ITEM_CODE>OM906LA.007</ITEM_CODE>
    <DESCRIPTION>MERCEDES SERIES 900 OFF HWY ENGINE 205 KW 0852</DESCRIPTION>
    <MANUFACTURER>MER</MANUFACTURER>
    <APPLICATION>INDL</APPLICATION>
    <ITEM_COST>15009.09</ITEM_COST>
    <MATERIAL_COST>685.25</MATERIAL_COST>
    <PO_NUMBER>1001395</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>22-MAY-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>EUR</CURRENCY_CODE>
    <PO_UNIT_PRICE>7431.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>10</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PARTS</ORGANISATION_NAME>
    <SERIAL_NUMBER>90699100802285</SERIAL_NUMBER>
    <ITEM_CODE>OM906LA.007</ITEM_CODE>
    <DESCRIPTION>MERCEDES SERIES 900 OFF HWY ENGINE 205 KW 0852</DESCRIPTION>
    <MANUFACTURER>MER</MANUFACTURER>
    <APPLICATION>INDL</APPLICATION>
    <ITEM_COST>15009.09</ITEM_COST>
    <MATERIAL_COST>685.25</MATERIAL_COST>
    <PO_NUMBER>1001395</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>22-MAY-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>EUR</CURRENCY_CODE>
    <PO_UNIT_PRICE>7431.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>30</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Melbourne</ORGANISATION_NAME>
    <SERIAL_NUMBER>6520107896</SERIAL_NUMBER>
    <ITEM_CODE>3500.010</ITEM_CODE>
    <DESCRIPTION>ALLISON 3000 SERIES ON HWY TRANSMISSION E018179</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>11126.11</ITEM_COST>
    <MATERIAL_COST>664.23</MATERIAL_COST>
    <PO_NUMBER>971515</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>14-APR-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>8063.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>30</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Melbourne</ORGANISATION_NAME>
    <SERIAL_NUMBER>6510869062</SERIAL_NUMBER>
    <ITEM_CODE>3200.010</ITEM_CODE>
    <DESCRIPTION>ALLISON 3000 SERIES ON HWY TRANSMISSION E017944</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>11853.57</ITEM_COST>
    <MATERIAL_COST>707.66</MATERIAL_COST>
    <PO_NUMBER>982120</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>12-MAY-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>8251.6</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>40</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Brisbane</ORGANISATION_NAME>
    <SERIAL_NUMBER>D6002 G6003</SERIAL_NUMBER>
    <ITEM_CODE>520 SERIES.002</ITEM_CODE>
    <DESCRIPTION>KONRAD 520 SERIES MARINE STERN DRIVE</DESCRIPTION>
    <MANUFACTURER>OTH</MANUFACTURER>
    <APPLICATION>MARI</APPLICATION>
    <ITEM_COST>9296.95</ITEM_COST>
    <MATERIAL_COST>482.91</MATERIAL_COST>
    <PO_NUMBER>1009062</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>24-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>6939.29</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>40</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Brisbane</ORGANISATION_NAME>
    <SERIAL_NUMBER>ABC123</SERIAL_NUMBER>
    <ITEM_CODE>GM20541-KP1.001</ITEM_CODE>
    <DESCRIPTION>KOHLER GENSET</DESCRIPTION>
    <MANUFACTURER>KOH</MANUFACTURER>
    <APPLICATION>PGEN</APPLICATION>
    <ITEM_COST>756.83</ITEM_COST>
    <MATERIAL_COST>.78</MATERIAL_COST>
    <PO_NUMBER>1015156</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>14-OCT-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>AUD</CURRENCY_CODE>
    <PO_UNIT_PRICE>20</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>40</ORGANIZATION_CODE>
    <ORGANISATION_NAME>Brisbane</ORGANISATION_NAME>
    <SERIAL_NUMBER>ABC124</SERIAL_NUMBER>
    <ITEM_CODE>GM20541-KP1.001</ITEM_CODE>
    <DESCRIPTION>KOHLER GENSET</DESCRIPTION>
    <MANUFACTURER>KOH</MANUFACTURER>
    <APPLICATION>PGEN</APPLICATION>
    <ITEM_COST>756.83</ITEM_COST>
    <MATERIAL_COST>.78</MATERIAL_COST>
    <PO_NUMBER>1015156</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>14-OCT-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>AUD</CURRENCY_CODE>
    <PO_UNIT_PRICE>20</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>06R1017763</SERIAL_NUMBER>
    <ITEM_CODE>6062HK30.005</ITEM_CODE>
    <DESCRIPTION>DETROIT SERIES 60 MARINE ENGINE 615 KW 2949322</DESCRIPTION>
    <MANUFACTURER>MDD</MANUFACTURER>
    <APPLICATION>MARI</APPLICATION>
    <ITEM_COST>99125.34</ITEM_COST>
    <MATERIAL_COST>2028.31</MATERIAL_COST>
    <PO_NUMBER>883339</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>05-MAR-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>63768</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310935001</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1000221</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>01-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310935002</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1000221</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>01-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310935003</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1000221</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>01-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6510876301</SERIAL_NUMBER>
    <ITEM_CODE>T350R.004</ITEM_CODE>
    <DESCRIPTION>ALLISON TORQMATIC ON HWY TRANSMISSION</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>9465.69</ITEM_COST>
    <MATERIAL_COST>597.33</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>6936.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6510876302</SERIAL_NUMBER>
    <ITEM_CODE>T350R.004</ITEM_CODE>
    <DESCRIPTION>ALLISON TORQMATIC ON HWY TRANSMISSION</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>9465.69</ITEM_COST>
    <MATERIAL_COST>597.33</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>6936.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6510876303</SERIAL_NUMBER>
    <ITEM_CODE>T375R.002</ITEM_CODE>
    <DESCRIPTION>ALLISON TORQMATIC ON HWY TRANSMISSION</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>10224.19</ITEM_COST>
    <MATERIAL_COST>645.19</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>7433.3</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310940354</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310940355</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310940356</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>6310940357</SERIAL_NUMBER>
    <ITEM_CODE>2500.003</ITEM_CODE>
    <DESCRIPTION>ALLISON 2000 SERIES ON HWY TRANSMISSION E016189</DESCRIPTION>
    <MANUFACTURER>ATD</MANUFACTURER>
    <APPLICATION>ONHY</APPLICATION>
    <ITEM_COST>4855.33</ITEM_COST>
    <MATERIAL_COST>306.39</MATERIAL_COST>
    <PO_NUMBER>1005777</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>23-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>3574.9</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    <G_ASW_REC_DATE>
    <ORGANIZATION_CODE>70</ORGANIZATION_CODE>
    <ORGANISATION_NAME>NDC - PRODUCT</ORGANISATION_NAME>
    <SERIAL_NUMBER>5272003543</SERIAL_NUMBER>
    <ITEM_CODE>T1637K33.002</ITEM_CODE>
    <DESCRIPTION>DETROIT SERIES 4000 INDUSTRIAL ENGINE 1865 KW 2456291</DESCRIPTION>
    <MANUFACTURER>MDD</MANUFACTURER>
    <APPLICATION>MNIG</APPLICATION>
    <ITEM_COST>420083.16</ITEM_COST>
    <MATERIAL_COST>3785.85</MATERIAL_COST>
    <PO_NUMBER>921170</PO_NUMBER>
    <TRANSACTION_RECEIPT_DATE>30-JUN-09</TRANSACTION_RECEIPT_DATE>
    <VENDOR_LOT_NUM></VENDOR_LOT_NUM>
    <CURRENCY_CODE>USD</CURRENCY_CODE>
    <PO_UNIT_PRICE>301549</PO_UNIT_PRICE>
    </G_ASW_REC_DATE>
    </LIST_G_ASW_REC_DATE>
    </ASWRECDTREP>
    Best Regards,
    Mahi

    Hi Vetri,
    I tried to implement the solution you have given and i am getting error,
    I tried to see the output by loading the xml to the template given in BIP Blog in the following Link,
    http://blogs.oracle.com/xmlpublisher/2007/05/left_up_down_right_group.html
    I am getting the same error,Please help me how to overcome this.If possible send me the template that was working for you.
    The error log is as follows:
    ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\Users\MAHESH\Desktop\Grouping.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Users\MAHESH\Desktop\EmployeeListing.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:629)
         at RTF2PDF.runXDO(RTF2PDF.java:439)
         at RTF2PDF.main(RTF2PDF.java:289)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
         at oracle.xdo.parser.v2.XSLTContext.peekExprValue4Grouping(XSLTContext.java:871)
         at oracle.xdo.parser.v2.XPathFunctionCall.evaluate(XPathFunctionCall.java:536)
         at oracle.xdo.parser.v2.XPathFunctionCall.evaluate(XPathFunctionCall.java:583)
         at oracle.xdo.parser.v2.XSLVariable.getValue(XSLVariable.java:205)
         at oracle.xdo.parser.v2.XSLVariable.processAction(XSLVariable.java:117)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
         ... 15 more
    Best Regards,
    Mahi

  • Questions on filtering and sorting an arraylist

    Hello All,
    I'm trying to figure out a better way to do this code, but what I'm doing is taking an arrayList and filtering it using iter.remove(), based on a criteria I have, then take the results and sort them. The code below works, but I was seeing class cast exceptions when I tried to do a ss.addAll(list);
    , but it worked when I just added the set object. Why is this and is there a better way to do all this?
    Set set = new HashSet();
    List retList = new ArrayList();
    SortedSet ss = new TreeSet();
    for(Iterator iter = list.iterator(); iter.hasNext();){
    .//More code...
    iter.remove();
    //Remove duplicates.
    set.addAll(list);
    ss.add(set);
    retList.addAll(set);
    return retList;

    Your current code is adding the set (the hash set) as one element (the only element?) of the sorted set. Is this what you want to do? Would you rather add each element of the set to the sorted set?
    I don't know about the class cast exceptions. If you want somebody's comment on this part, you may consider posting code and stack trace.
    I think I'd rely on Collections.sort() for sorting rather than TreeSet. If you prefer TreeSet, why not skip the hash set in between?
    Hope this helps.
    Please remember the code button/tags.

  • How do I fix my problem with Artist and Sort Artist?

    I have all my songs sorted by Artist and because I have songs that feature other artists I use the sort artist field.
    In itunes it all looks fine but when I sync it with my iPod Nano 5th Gen one of the artists names comes up as the artist for all songs.
    Eg. I have 5 B.o.B songs.The Artist field has B.o.B and the featured artist so it looks like -B.o.B feat. Hayley Williams-. The sort artist field along with album artist and sort album artist field are all only B.o.B.
    My problem is that when I sync them onto my iPod all the songs by B.o.B appear under B.o.B feat. Rivers Cumo when I sort by Artist despite this only being the artist for one and all listed with the same format as above. They all also come up with the Artist as B.o.B feat. River Cumo when I play one of the songs.
    Is there anyway to fix this so on my iPod they all appear under B.o.B when sorting by Artist but when I play the song it gives me the artist name? I'd prefer not to have to put the featured artist in the song title.

    This sometimes happens if your MacBook battery is swollen, and pushes on the underside of the trackpad.
    Some users forgot that an alternate input device, like a tablet, does not shut off when set aside -- it continues to provide input at the same time as the mouse you put your hand on.

  • How can I stop iPhoto from reidentifying faces I have already 'crossed', while still being able to identify and sort new faces.

    iPhoto has detected faces of people I dont know, in my 'iPhoto faces' whenever I click the cross in the corner of the face (when sorting faces) the face temporarily disappears, but once I have uploaded a fresh batch of photos (and want to identify new faces) it automatically re-identifies the old photos that I don't want to have to sort again. How can I stop iPhoto from reidentifying faces I have already 'crossed', while still being able to identify and sort new faces.

    Thank you, that makes sense (I think!) However, I need to be able to tell iPhoto who the people identified in my photos are, does that make sense? How do I identify the people in my new photos without clicking 'find faces'. I know that button searches through my photos to find faces, but it also gets me to the place where I identify the faces as my friends and family, is there a shortcut to get to that place without clicking 'find faces'? That is what I really need, please help!!

  • Adding new value in Pick list and sorted logic on basis of new value.

    Hi All,
    I have a requirement where I have to add a new value in seeded OAMessageBean and sort the page contents on basis of selected value.
    I see in about this page and found out that no VO is attached with this field.
    I assume that it attached somewhere in controller and tried to find out there but cannot able to find it there.Is there any way to find the VO which is attached to this bean?
    Also how to add a new values in this seeded picklist as I can able to get handle to OAMessageBean in custom controller.
    Please Help.
    Regards,
    889254

    Hi Peddi,
    Thanks a lot for your reply,
    I tried to open that page in jdeveloper but I dont see any choice bean on the page.Also tried to open CO attached to this page but no clue.As I am able to the get handle of this choicebean in controller.Is there any way I can find out which VO attached to this choiceBean.
    I tried using below depricated method and it is returning null
    messageField.getListViewObject();
    My another question is Can we add new value to choice bean In CO.
    I tried to add it by below methods but these are not reflecting in the application.
    messageField.addOption("TEMP");
    messageField.addIndexedChild("TEMP");
    Regards,
    889254

  • Help needed for storing and sorting objects.

    Hello
    I have an assignment and it is to create a guessing game, here is the question,
    In this assignment you are to write a game where a user or the computer is to guess a random
    number between 1 and 1000. The program should for example read a guess from the keyboard, and
    print whether the guess was too high, too low or correct. When the user has guessed the correct
    number, the program is to print the number of guesses made.
    The project must contain a class called Game, which has only one public method. The method must
    be called start(), and, when run it starts the game. The game continues until the user chooses to
    quit, either at the end of a game by answering no to the question or by typing 'quit' instead of a
    guess. After each game has been played, the program is to ask the user for a name and insert this
    together with the number of guesses into a high score list. When a game is started the program
    should print the entire high score list, which must be sorted with the least number of guesses first
    and the most last. Note, the list must be kept as long as the game-object is alive!
    each score also
    consists of the game time. In case there are two high scores with the same number of guesses, the
    game time should decide which is better. The game time starts when the first guess is entered and
    stops when the correct guess has been made. There should also be input checks in the program so
    that it is impossible to input something wrong, i.e. it should be impossible to write an non-numeric
    value then we are guessing a number, the only allowed answers for a yes/no question is yes or no,
    every other input should yield an error message an the question should be printed again.
    I understand how to code most of it, except I am not sure how to store the playerName, playerScore, playerTime and then sort that accordingly.
    I came across hashmaps, but that wont work as the data values can be the same for score.
    Is it only one object of lets say a highScore class, and each time the game finishes, it enters the values into an arrayList, I still dont understand how I can sort the array all at once.
    Should it be sorted once for score, then another array created and sorted again, I dont get it I am confused.
    Please help clarify this.

    Implode wrote:
    We had the arrayList/collections lecture today.
    I asked the teacher about sorting objects and he started explaining hashmaps and then he mentioned another thing which we will only be learning next term, I'm sure we must only use what we have learned.
    How exactly can this be done. I have asked a few questions in the post already.
    ThanksWell, there was probably a gap in the communication. Hash maps (or hash tables, etc.) are instance of Map. Those are used to locate a value by its unique key. Generally, to speed up access, you implement a hashing function (this will be explained hopefully in class). Think of name-value pairs that are stored where the name is unique.
    Contrast this with items that are sorted. Any List can be sorted because its elements are ordered. An ArrayList is ordered, generally, by the order you inserted the elements. However, any List can be given its own ordering via Comparable or Comparator. You can't do this with an ordinary Map. The purpose of a Map is speedy access to the name-value pairs, not sorting. The List likewise has different purposes, advantages, disadvantages, etc. List can be sorted.
    A Map is generally similar to a Set. A Set is a vanilla collection that guarnatees uniqueness of each element (note, not name-value pairs, but simple elements). There is one concrete class of Map that can be sorted, TreeMap, but I doubt your professor was referring to that. The values or the keys can be returned from the Map and sorted separately, but again, I doubt he was referring to that.
    Take a look at the Collections tutorial here on this site or Google one. It is fairly straightforward. Just keep in mind that things (generally) break down into Set, Map and List. There are combinations of these and different flavors (e.g., Queue, LinkedHashMap, etc.) But if you can learn how those three differ, you will go a long way towards understanding collections.
    (Oh, and be sure to study up on iterators.)
    - Saish

  • Standard and sorted itab

    what is the diff between standard and sorted itab

    Hi Abhay,
    check the following explanation.
    <b>Standard tables</b>
    This is the most appropriate type if you are going to address the individual table entries using the index. Index access is the quickest possible access. You should fill a standard table by appending lines (ABAP APPENDstatement), and read, modify and delete entries by specifying the index (INDEX option with the relevant ABAP command). The access time for a standard table increases in a linear relationship with the number of table entries. If you need key access, standard tables are particularly useful if you can fill and process the table in separate steps. For example, you could fill the table by appending entries, and then sort it. If you use the binary search option (BINARY) with key access, the response time is logarithmically proportional to the number of table entries.
    <b>Sorted tables</b>
    This is the most appropriate type if you need a table which is sorted as you fill it. You fill sorted tables using the INSERTstatement. Entries are inserted according to the sort sequence defined through the table key. Any illegal entries are recognized as soon as you try to add them to the table. The response time for key access is logarithmically proportional to the number of table entries, since the system always uses a binary search. Sorted tables are particularly useful for partially sequential processing in a LOOP if you specify the beginning of the table key in the WHEREcondition.
    Hope this helps.
    Regards,
    kinshuk

  • Sort Artist and Sort Album tags don't update

    Having spent a lot of time over the years getting the metadata in my iTunes library just right, I've noticed a frustrating problem when it comes to iTunes Match.
    I make use of 'Sort Artist' and 'Sort Album Artist' tags so that my library is sorted by artist surname (eg. Lennon, John).
    This always worked correctly when I syncronised my music via iTunes, but since switching over to iTunes Match this has become problematic.
    When I initially signed up for iTunes Match, my Library moved over correctly - honouring the sort order tags that I had added. However, When I add NEW music to the library and subsequently change the sort tag, the change does not propegate to iTunes Match (Though it does appear correct in iTunes on my Mac). So the result is now a mixed sort order on my iOS devices - some by first name and some by second.
    Under iOS 5.0 and iTunes 10 I used to be able to get around this with a little forethought - I would turn iTunes Match OFF on the Mac before adding any new songs, then I would edit the tags and then switch Match back on. This would rescan the library and add the new tracks to the cloud complete with correct metadata.
    This workaround no longer works under iOS 6 and iTunes 11.
    I have tried switching iTunes match off on my iPhone and restarting it. This does not work either.
    Does anyone else have this issue or know of a way to 'force' the metadata to be updated?
    Any help would be appreciated.

    I also am finding it impossible to convince my iPhone that the Album Sort field exists. This is especially odd considering when I view my Home Shared music from my iPhone, it works exactly correctly. I have verified that the tags are being uploaded to iTunes Match by viewing the songs from another computer that has iTunes Match. So, for some reason, iOS 6 will not sort by the Album Sort field when using iTunes Match music.
    Does anyone have any sort of fix or workaround for this problem? I've submitted Feedback to Apple.

  • Looking to Search and Sort String Twice, though am having issues

    I am inputing from an access file a test library, the files in the access file are out of alphabetical order...thus I search and sort and bring these into LV in alphabetical order.  But I am running into the issue of trying to further search and sort the second column of info via the model number:
    example:
    Model ............. Model #
    Zetor               55
    Challenger        55
    Ford                55
    Zetor               66
    Challenger        66
    Ford                 66
    Zetor               45
    Challenger        45
    Ford                45
    Zetor               96
    Challenger        96
    Ford                 96
    Need to Return the Files as per below:
    Zetor               45
    Challenger        45
    Ford                45
    Zetor               55
    Challenger        55
    Ford                55
    Zetor               66
    Challenger        66
    Ford                 66
    Zetor               96
    Challenger        96
    Ford                 96
    Attachments:
    search & sort string.JPG ‏65 KB

    actually in my original post I had a brain-lapse on what the final sort needed to be....
    I was looking for this:
    Challenger        45
    Challenger        55
    Challenger        66
    Challenger        96 Ford                 45
    Ford                 55
    Ford                 66
    Ford                 96
    Zetor                45
    Zetor                55
    Zetor                66
    Zetor                96
     thanks for the quick response.

  • Group and sort in webi report

    I have a requirement to group and sort in a report. Group should be based on id, sort based on time. Time sort should be the priority. Meaning, first criteria to sort is time, but if the id is repeated, time should be sorted for that id.
    e.g, If I have ids A,B,C and values are such that A - 9:15 AM, B - 9:00 AM, A - 10:00 AM, C - 9:30 AM.
    Requirement is as below
    B - 9:00 AM
    A - 9:15 AM
    A - 10:00 AM
    C - 9:30 AM
    If I apply sort on time without group on id, I am getting data in the below manner which is not correct.
    B - 9:00 AM
    A - 9:15 AM
    C - 9:30 AM
    A - 10:00 AM
    If I apply group first, I am not able to apply sort. Since the requirement is to show the least time first.
    Please advice.

    use the variable
    =Min([Time]) In ([ID])
    to sort. Then hide the column by reducing the width and making the font and background color as white.

  • Reading message from two queues and sort according the time stamp

    Hi
    I have a requirement where i have to read the message from two queue .. and sort according the Time stamp ( Field in payload ) and send it ot the Webservice ..
    How i acheive using the BPM..
    in the BPM i have to collect the message for every 20 sec ... and then sort it tout ...
    S V

    Do you mean from two sender? What do you exactly mean by "reading from two queues"?
    Regards,
    Prateek

  • Read from a textfile and sort scores

    Hi!
    I'm making a highscore list but I have some issues. How do I read values from a textfile and sort them (highest on the top). I only know how to write and read from the file. But not how to sort the values inside it when I get a new score. I just keep writing at the end of the file all the time.
         public static void writeToFile() throws IOException
              pw = new PrintWriter(new FileWriter(filP,true));
              for(int i = 0; i < 1; i++)
                   pw.println(a);
              pw.close();
         public static void highScore() throws IOException
              FileReader    fr = new FileReader(filP);
              BufferedReader    br = new BufferedReader(fr);
              String    lasa = br.readLine();
              while(lasa != null)
                   out.println(lasa);
                   lasa = br.readLine();
         }Thanks for help!

    Thechrismeister wrote:
    ...I only know how to write and read from the file. But not how to sort the values inside it when I get a new score. I just keep writing at the end of the file all the time. 1. Read the file into a data structure
    2. Add the new score into the data structure
    3. Sort the data structure
    4. Write the data structure back to the file

  • Contacts Display and Sort by Company Name

    I have over 1000 contacts in Outlook which synced wonderfully with my new iPhone.
    Alas, I need to lookup and sort by Company Name. This is a VERY standard method for contacts. The options presented by iphone are first and last name, sigh and tech support had no suggestions and the helpful tech support genttleman could find no 3rd party applications which could help.
    Help!
    I relly like my iPhone, but I need to be able to look up contacts and notes by company.
    Thanks

    I have noticed something useful when entering contacts directly into my iPhone. When entering a contact that I want shown in the list by the company name, I enter the company name first (without entering the "first name" and "last name") and save it. If you do it that way, the little square where the photo would be will change from the blank head to some buildings, and the contact will be listed by the company name. You can then go back and edit to add a first and last name and it will stay listed by company name.
    However, if you enter the last name, first name, and company name all at the same time it will list the entry by the "last name" instead of by the company.
    For example, if I want my son's doctor's office to display as "Arizona Pediatrics" instead of "Dr. John Smith" in the contact list, I would enter the Arizona Pediatrics first, save, and then go back in and add the Dr. John Smith in the last name, first name fields.
    I need to check the manual to see if this is detailed, as I stumbled on it accidentaly, but it's pretty useful.
    -SB

Maybe you are looking for