Sort on  Shipment Number Switcher in PO details table in iProc doesn't work

The Shipment numbers column of the PO Details table which are a part of
Requisition details page of iProc appear in descending order. We want to sort this in an ascending order, but setting the Sort Allowed property of the field to Yes/Ascending does not give desired result.
First of all, the column is displayed not by "PosShipmentNum" field (rendered False) but by a "ShipNumType" switcher. Setting this switcher's Sort Allowed property Yes/Ascending does not work either. Instead it adds the following code snippet is added to the VO query at runtime:
QRSLT WHERE (PO_LINE_ID in (select po_line_id from PO_DISTRIBUTIONS_ALL pod , po_req_distributions_all pord, po_requisition_lines_all por where pord.DISTRIBUTION_ID = pod.REQ_DISTRIBUTION_ID and pord.requisition_line_id =
por.requisition_line_id and por.requisition_header_id= :1 ) AND
PO_RELEASE_ID is null AND PO_LINE_ID = :2) ORDER BY SHIP_TYPE asc
and gives the following error:
java.sql.SQLException: ORA-00904: "SHIP_TYPE": invalid identifier.
It looks like some code is overwriting the properties set at the page level.
Any pointers on how to sort a switcher field would be very helpful.
Thanks.

Is there any way to make it work on Oracle 9i?
michaels>  select * from v$version
BANNER                                                         
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production                          
CORE     9.2.0.8.0     Production                                      
TNS for HPUX: Version 9.2.0.8.0 - Production                   
NLSRTL Version 9.2.0.8.0 - Production                          
michaels>  create table persons (
    id  number(9)
       ,surname  varchar2(50)
          ,constraint persons_pk primary key (id)    )
Table created.
michaels>  create or replace type t_number_array as table of number;
Type created.
michaels>  create or replace procedure p_mrgts2 (p_id persons.id%type)
is
   l_ids   t_number_array;
begin
   l_ids := t_number_array (p_id);
   merge into persons p
      using (select * from table (cast (l_ids as t_number_array))) d
      on (p.id = d.column_value)
      when matched then
         update set surname = 'Updated'
      when not matched then
         insert (id, surname) values (d.column_value, 'Inserted');
end p_mrgts2;
Procedure created.
michaels>  exec p_mrgts2(1)
PL/SQL procedure successfully completed.
michaels>  select * from persons
        ID SURNAME                                          
         1 Inserted                                         
1 row selected.

Similar Messages

  • In my wife's window, the sound works, when I switch over to my window the sound doesn't work.  I noticed the problem when I went to a YouTube video.  How do I correct this?

    In my wife's window, the sound works, when I switch over to my window the sound doesn't work.  I noticed the problem when I went to a YouTube video.  How do I correct this?

    Hello Kiira Doon,
    The troubleshooting steps detailed below may help get your iPhone's display to function.
    Toggle the ringer switch to see if the unit vibrates. If it does, it could be that iPhone is getting power, but is not displaying any image.
    Try turning iPhone off and then on again.
    While connected to the iPhone charger, try to reset the iPhone.
    If the low-battery screen appears, charge the iPhone.
    My issue is still not resolved. What do I do next?Contact Apple Support.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Cheers,
    Allen

  • Master/details with render false on details when no rows doesn't work fine

    I created a standard master/details (form/form) based on Dept and Emp tables.
    This work as expected.
    Then i changed the rendered property of the details table by setting the following EL #{bindings.DeptView1EmpView2.estimatedRowCount>0}
    because i do not want details table to appear when there are no rows
    Here is how things go
    1) navigate to deptno 10, you see the employees of dept 10 correctly, the same applies to 20, and 30, but when you select dept 40, things start acting kind of wierd
    the details table does not disappear as expected
    returning back to dept 10, or 20 etc does not also render the details it freezes, keep navigating between 10,20,30 and randomly, the screen refershes correctly, until you again hit an master with empty details.
    If you select a master with empty details and use the submit buttom, the details table disappears as it should, if you try other master rows, the details remain hidden until you submit the page manually
    any ideas
    regards
    Ammar Sajdi

    hello again
    i removed PPT and the autosubmit that are created by default, and replaced them with JavaScript Submit() operation linked to the master table row selector. Now it works, but really i still do not know the negative implications of this work around. I feel it is not a good idea, since ADF designer favoured using the PPR method
    Ammar

  • Sorting table by date doesn't work properly

    what am I doing wrong?
    I've made a table with 5 columns and many rows, with one column being the date.
    I need to sort the entire table by date, but it doesn't seem to be very accurate - sorted items appear out of date order
    suggestions?
    pete

    Hello
    I know that.
    But if you receive a foreign document (ie not a Pages one) embedding dates stored as mm/dd/yyyy or dd/mm/yyyy, your app will not recognize them as dates.
    I get this behavior every day.
    I repeat, not with iWork '09 documents because in these ones, dates are stored as numbers (number of seconds since 01/01/2001) and displayed matching your system settings.
    If you receive a CSV or a TSV file, your machine will not recognize the embedded dates because most of these formats's users ignore what is the ISO format.
    Back to the date storage.
    At first, only column B was filled. The string "Yvan" was just used to help me to reach this storage area in the index.xml file. Here is a screenshot of this area.
    Small arrows are pointing the numbers describing the dates.
    In the completed table, in column C I copied the values stored in the index.
    The cell D2 contain the formula :
    =-DATEDIF(B,$B$3,"D")
    I was forced to use the reverse of others because DATEDIF refuse a start date greater than an end one.
    In D3, the formula is :
    =DATEDIF($B$3,B,"D")
    then apply fill down
    They calculate the count of days.
    In E2, the formula is :
    =D*24*60*60
    apply fill down
    It calculate the number of seconds corresponding to the number of days and of course, it matches what is stored in the index.xml file.
    Given that, opening in every location an iWork '9 document created everywhere, we will get correct dates whichever format is used for creation or for reading.
    Theoretically, it would work the same if you import a M…Soft document (they use also numbers to store dates).
    I can't check for iWork '08 documents because I don't have old foreign ones in good health. Those which I kept are corrupted ones in which I look from time to time trying to find where is the wrongdoer.
    When the source file is a CSV or a TSV one, the apps have no way to decide which is the format used.
    Of course, if the third component has four digits, it's a year.
    If a first two digits component is greater than 12, it's a day
    If a second two digits component is greater than 12, it's a day
    but that's all.
    No way to know for sure what is 5/6/2010
    As you use the ISO format, for you it will be a string
    For an US user, it will be 6 may 2010
    For a French user, it will be 5 juin 2010
    If the value is the well known  31/12/1943
    for you and for US users, it will be a string
    Happily, for me, it's 31 décembre 1943.
    As you often wrote, it would be easier if everybody was using the ISO format but I'm not sure that the grand children of my grand son will use it.
    Yvan KOENIG (VALLAURIS, France) samedi 2 juillet 2011 19:01:15 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Why the shortcut of switch to next/previous tab(ctr+tab) doesn't work?(firefox 6)

    I recently update firefox 6.0 version, but I can't use the shortcut(ctr+tab) to switch to next/previous tab. I download an extension called Customizable Shortcuts, also I can't find the item of witch to next/previous tab in it.
    How can I fix this problem? It is really necessary for me.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Re: how do i get serial number 2 if the msi help desk software doesn't work?

    Look for a small sticker at the back of the card.
    it should be like "FXXXXXXXXX"
    The font is a bit small.

    MSI Help Desk
    Please run MSI Help Desk software and click System Info at the lef...

  • How do i get serial number 2 if the msi help desk software doesn't work?

    i have been trying to register my msi 980 ti for the MGS promo but i cant get the msi help desk software to work just keeps saying "The MSI Help Desk is only for MSI product." although i clearly have a msi video card, is there any other way to get the ...

    Quote from: sply011235 on Yesterday at 18:05:14Can´t find Windows 10 Drivers for GT 72 2QD (4th Gen CPU)
    Anybody knows if MSI is working on them? Will they become available?
    They are not available on the MSI US...

  • Filtering not working for newly added child objects in master-detail table

    Hi,
    I am using Jdeveloper 11.1.1.4 version.
    Problem scenario:
    Filtering of records is not working for newly created child objects in a master-detail scenario.
    Steps to reproduce this issue using HR Schema (using LOCATIONS and DEPARTMENTS table ) :
    1. Create Business components (EO's & VO's ) for LOCATIONS & DEPARTMENTS table)
    1. Create a .jspx page and insert a readonly master table of Locations
    2. Insert a child table (inline-edit table) of Departments and enable filtering
    4. For the child table, drag and drop CreateInsert operation as a toolbar button .
    5. Create a new child record using the toolbar button and enter data .
    6. Filtering on the newly created child record's attributes does not work.
    Please note that the same filter works for existing child records.
    Any suggestions for resolving this issue?
    Thanks,
    Vikas

    Found from Fusion Developer's Guide the following snippet about QBE functionality :
    "+When you create data controls, all data collections will automatically include a Named Criteria node with an All Queriable Attributes criteria. This is the default view criteria that includes all the searchable attributes or columns of the data collection. You cannot edit or modify this view criteria+. "
    So, the question is if the implicit view criteria cannot be edited, how else to set the query execution mode to "Both" ?
    Shouldn't ADF BC support this by default? Is this a bug?
    Note:- If you create a maste-detail table using POJO datacontrols, filter works correctly for newly created child records also .
    This seems to be an issue with ADF-BC datacontrols only.
    Thanks,
    Vikas

  • My serial number doesn't work. please help me

    i have the CS5 CD package which i purchased since 3 years but trying to reinstall it after my computer formating my i-mac reject the CD. so i download the CS5 design standard from adobe.com using my Serial number written on the CD box and it doesn't work. please somebody can help me?

    Both are Windows PC, that's correct!
    Maybe the error is because I'm having a student version?
    Could that be the problem?
    Yes, I'm giving the same serial number.
    When I do it on my laptop the error that disappear is:
    The serial number is not valid for this product
    Met vriendelijke groeten, Kind regards, Cordialement,
    Patsy De Bruecker
    P@S Photography
    Dare To Dare
    Daloensdelle 7 - 3090 Overijse - T 0032 (0) 486 50 73 82
    Website:  <http://www.patsyengwen.be/> www.patsyengwen.be
    <http://www.daretodare.be/> www.daretodare.be

  • Why the serial number doesn't work?

    Since updating from lightroom 5.4 to 5.5 the serial number - also visible in "My Products" (My Adobe) - doesn't work. I shall contact the support... Who can help me?

    Hello Aiko80,
    did you try these links too?
    Error "This serial number is not for a qualifying product" | CS6, CS5.5, CS5 >>> Contact Adobe Customer Care for help unlocking your serial number.
    If your problem stillresits you should use
    http://helpx.adobe.com/contact.html >>> Lightroom >>> http://helpx.adobe.com/contact.html?step=LTRM_downloading-installing-setting-up_licensing- activation and click through the headlinses till the chat is offered (see screenshot):
    and if "open" please use chat, I had the best experiences. I quote from Preran: The chat button is activated as soon as there is an agent available to help.
    Good luck!
    Hans-Günter

  • Xdofo:show-carry-forward number-separators doesn't work in Oracle EBS 11i

    I am displaying the ‘page total’ from within the footer of the xml-report by using the page total syntax ‘<xdofo:show-carry-forward name="pt" format="99G999G999D00"/>’.
    Here the issue is that for report displayed in Spanish we are unable to display the Page Total in the required number format ie. The decimal separator should be ‘,’ and the group separator is ‘.’, since the Page Total is auto calculated and we are not able to save this value to any variable.
    Currently Output is coming like: 12,052.00
    Required output: 12.052,00
    As well as I tried the below statement
    <xdofo:inline-total display-condition="exceptlast" name="pt"><xdofo:show-carry-forward name="pt" format="99G999G999D00" number-separators=",."/></xdofo:inline-total>
    But it doesn’t work in Oracle Applications 11i instance.
    Anyone having any idea?
    Regards,
    Madhurendra

    We had a similar issue and we got the solution.
    Try this
    Got the solution and this is very important one !!!
    <xdofo:inline-total display-condition="exceptlast" name="InvAmt"><xdofo:show-carry-forward name="InvAmt" format="99G999G999D00" number-separators=",."/></xdofo:inline-total>
    <xdofo:inline-total display-condition="exceptfirst" name="InvAmt"><xdofo:show-brought-forward name="InvAmt" format="99G999G999D00" number-separators=",."/></xdofo:inline-total>

  • I've just purchased creative cloud but the serial number doesn't work. What can I do?

    I'm just going round in circles on this website... The serial number associated with my purchase of creative cloud doesn't work. Different pages are saying different things and are sending me round in circles. Have I just been conned out of £500? Help me please someone...

    See if the following help document leads to a solution:
    Creative Cloud Help / Creative Cloud applications ask for serial number
    http://helpx.adobe.com/creative-cloud/kb/ccm-prompt-serial-number.html
    If you purchased thru the Adobe web site then you are not being conned.  You just might need to help to get you thru.

  • Forwarder Invoice details with reference to Shipment Number

    Hi All,
    Currently i am working on shipment and new to shipment.
    I would like to find the invoice details of the forwarder with reference to Shipment number. Currently we have flow like shipment document>shipment cost document to the forwarder>PO (created in background and entry sheet)-->Invoice of the forwarder.
    Could you please provide the exact table where can I find the invoice w.r.t. shipment number or forwarder of the shipment.
    If we require any otehr changes, pls provide BADI.
    It will be appriciated for quick and right solution.
    THank you
    Regards
    Kishore

    If you create the invoice using MIRO transaction, then the table for the invoice is RBKP (header data) and RSEG (item data).
    Outbound process - To link invoice to shipment/shipment cost, you will need entry sheet which will be created when service acceptance document is created
    Inbound process - use the PO number then from PO go to delivery -> shipment -> shipment cost.
    VTTP-VBELN contains delivery docnument (shipment item table)
    VFKP-REBEL contains shipment number  (VFKP is shipment cost item table)

  • Get Idoc structure and contents from Shipment Number

    Hi all,
    We have a 3rd Party Logistics company who wants to send us back minimal shipment data to enable us to update our shipment details.  They want to send us the shipment number, and vehicle information.  My tests (and SAP's documentation) have indicated that in order to modify a shipment via the message type SHPADV, you need to have the complete Shipment Idoc structure filled in in order for the idoc to process successfully.
    My client has indicated that they want to use IDoc processing to manage the shipment updates.
    Does anyone know of a FM that can be used to fill the shipment Idoc structures if only a shipment number is filled in?  Or do the structures have to be modified manually?  For example, these is a function called 'IDOC_READ_COMPLETELY' which populates all the segment details if an Idoc number is entered.  I want something similar, but for a document number, in this instance, a shipment number. 
    Cheers,
    Steve

    Roger,
    Thanks for this suggestion.  I chose to go down another path which I put up here for those who have this problem in the future.
    I have passed the shipment number and just the fields that require modification into user exit EXIT_SAPLV55K_020, and recorded the passed in values into variables.
    I then executed the <b>idoc_output_shpmnt</b> idoc, which, when the shipment number is passed in to the nast-objky field, reads the required shipment data and populates the idoc_data table with the segment details as per sending the document out.  But the FM doesn't actually call the ALE layer, so I then loop through the idoc_data table, modifying the fields that need to change with the values I've saved in the variables, and passed the modified idoc_data tables back into the <b>idoc_input_shpmnt</b> FM.  Worked a treat.
    Cheers,
    Steve

  • Simple sorting by track number

    Hi. I have a little annoyance with the way things are sorted.
    If I'm viewing an album, the magical first column (with no name) shows a 1 to n playlist number. It does not seem to be possible to sort by this number, and the tracks are force sorted according to one of the other 'named' columns.
    I have have to enable the 'track #' column and sort by it, rendering the first column useless. How can I
    a) sort by the un-named column's number
    or
    b) add the 'track #' column, sort by it, and disable the un-named column.
    This image hopefully shows what I mean:
    http://www.badgerparade.pwp.blueyonder.co.uk/badcolumn.gif
    Thanks for any help.
      Windows XP Pro  

    Go to the location of the track on your PC, not iTunes, right click on the track and go to PROPERTIES, then DETAILS, and then unde MEDIA click # (track number) and make sure you set the track numbers in order. Its too bad you have to do it individually for all tracks but there has got to be a way to set track numbers for all tracks with one click. Okay, so as long as all the track numbers are in order 1,2,3... or however you want them to be because thats how iTunes sorts them. YOU MUST do this before you create a playlist in iTunes and if you already did, you may have to delete all tracks and follow the instrustions and then load em up in iTunes again. Hope this helps.

Maybe you are looking for

  • Material stock received and issued for a given period of time

    HOW to get the material stock received and issued for a given period of time including the open orders. if there is any BAPI Available then please tell me. or give me the table relations thaks. thanks inadvance

  • How to make a clipping of an email address

    Hello... My situation is that I'm in the middle of a job search, and I'm registering all over the place, and everyone wants my email address -- in fact some use it for my "user name" -- and so (for security etc.) I set up a couple of new mailboxes (w

  • Convert char to dec

    Dear all ,     I have to convert char to dec , my requirement is to covert  12344434 to 123444.34 . note i don't want 12344434 to 12344434.00 . Thanks in advance Debesh

  • Take input from table control using wizard

    Dear experts, I am trying to take data from table control into internal table using wizard. In main report program i defined the internal table and used wizard after  that. I could see internal table there and i picked the fields i wanted. Also i def

  • IS the Zen Media Explorer available as a separate install

    Am wondering if the Zen Media Explorer is available as a separate download anywhere. Up till now I have been able to explore all the software for the Creative Zen using the compatability wizard, but now the conflicts in the DemoShield installer softw