Invoice sort or lack of sort

Got a weird one here,
If go Payables Manger > Invoices > Inquiry > Invoices
Enter a suppler and click find i then get a list of invoices.
now the issue is this, one some suppliers they are sorted in date order, in others they aren't.
I did a clone last week and when you look at that they apear in the correct order but not on the live system.
Any idea's?
The form's are the same version
Current Form
Form Application : Payables
Form Name : APXINWKB
Form Path : /app/oratest/appl/ap/11.5.0/forms/US/APXINWKB.fmx
Form Version : 11.5.564.11591.13
Form Last Modified : $Date: 2003/10/02 04:25 $
Thanks
Message was edited by:
oraclebhoy

Hello
Further digging has found that it's doing the sort on the invoice_num column but this is NOT in the first three columns and it's not part of the order by clause in the SQL.
Any idea's?

Similar Messages

  • A/R Invoice sort problem

    Hi every one
    I'm doing an A/R invoice where I've pull some sale orders from de BP, the problem is that the invoice seems to be sorting those sale orders by the number of the documents (ORDR.DocNUM) and I need them to be sort in the order y ctrl+click them in the 'Choose from list window', because i have several columns that need to be sorted in that order and since those are not number columns  I cannot simple dbl click the colum to get the sort done
    Thanks in advance
    enso

    Have you tried to change the sort order of documents in CFL (ctrl-shift-S)?
    AFAIK, the order of lines is determined first by the order of documents in the CFL
    then by the docline nbr.
    If that does not satisfy your requirement then you may
    want to consider the following workaround:
    - 'steal' one column (or make a UDF) for sorting purposes
    - generate a sort value for each line using Formatted Search on that column.
    Here I'm calculating the sort value using line description
    [code]declare @s as varchar(50)
    set @s = $[$38.3.0]
    if len(@s)=0 SELECT 0
    if len(@s)=1 SELECT ascii(substring(@s,1,1))*1000
    if len(@s)>1 SELECT ascii(substring(@s,1,1))*1000 + ascii(substring(@s,2,1))[/code]
    - doubleclick to sort
    HTH
    Juha

  • How to show values with initial sort asc/desc in 11.5.10 iProcurement page?

    (Logged Bug 12902576 with OAFramework DEV, but OAF DEV closed the bug and advised to log the issue here in the forum)
    How to have values sorted in ascending order when user first navigates to the page?
    Currently the values are unsorted, and are only sorted after the user clicks the column heading to sort the values. We expect the users should not have to click the column heading, but instead that the values should be sorted in ascending order when the user navigates to the page. This issue occurs on an OAFramework based page in iProcurement application.
    PROBLEM STATEMENT
    =================
    Receipts and Invoices are not sorted in iProcurement Lifecycle page even after implementing personalization to sort ascending on Receipt Number and Invoice Number. Users expect the receipts and invoices to be sorted but they are not sorted.
    STEPS TO REPRODUCE
    1. Navigate to iProcurement
    2. Click the Requisitions tab
    3. Search and find a requisition line that is associated to a Purchase Order having multiple receipts and multiple invoices.
    4. Click the Details icon to view the lifecycle page where the receipts and invoices are listed
    - see that the receipts are not sorted, and the invoices are not sorted
    5. Implement personalization to sort in ascending order for Receipt Number and for Invoice Number. Apply the personalization and return to page.
    - the receipts and invoices are still not sorted.
    IMPACT
    Users need the receipts and invoices sorted to make it easier to review the data. As a workaround, click the column heading to sort the results
    Tried workaround suggested by OAFramework DEV in Bug 12902576 but this did not help.
    TESTCASE of suggested workaround
    NAVIGATION in visprc01
    1. Login: dfelton / welcome
    2. iProcurement responsibility / iProcurement Home Page / Requisitions tab
    3. Click the Search button in the upper right
    4. Specify search criteria
    - Remove the 'Created by' value
    - Change 'Last 7 Days' to 'Anytime'
    - Type Requisition = 2206
    5. Click Go to execute the search
    6. Click the Requisition 2206 number link
    7. Click the Details icon
    8. In the Receipt section, click the link 'Personalize Table: (ReceivingTableRN)'
    9. Click the Personalize (pencil) icon
    10. Click the Query icon for Site level (looks different than the screenshots from OAFramework team, because this is 11.5.10 rather than R12
    - Compare this to the Table personalization page show in the reference provided by OAFramework team -
    http://www-apps.us.oracle.com/fwk/fwksite/jdev/doc/devguide/persguide/T401443T401450.htm#cust_persadmin_editperprop
    11. See on the Create Query page
    Sorting
    No sorting is allowed
    The Query Row option becomes available in personalize after setting the Receipt Number row to Searchable. However, even after clicking the Query icon to personalize, it is not possible to specify sorting. There is a Sorting heading section on the personalization page, but there is also a statement: No sorting is allowed
    The workaround mentioned by OAFramework team in Bug 12902576 does not work for this case
    - maybe because this is 11.5.10 rather than R12?
    - maybe similar to Bug 8351696, this requires extension implementation?
    What is the purpose of offering ascending/descending for Sort Allowed if it does not work?
    Please advise if there is a way to have the initial sort in ascending order for this page.

    I´m sorry that you couldn´t reproduce the problem.
    To be clear:
    It´s not about which symbol should seperate the integer part from the fraction.
    The problem is, that i can´t hide the fraction in bargraph.
    The data im showing are integers but the adf bar graph component wants to show at least 4 digits.
    As I´m from germany my locale should be "de" but it should matter in the test case.
    You can download my test case from google drive:
    https://docs.google.com/open?id=0B5xsRfHLScFEMWhUNTJsMzNNUDQ]
    If there are problems with the download please send me an e-mail: [email protected]
    I uploaded another screenshot to show the problem more clear:
    http://s8.postimage.org/6hu2ljymt/otn_hide_fraction.jpg
    Edited by: ckunzmann on Oct 26, 2012 8:43 AM

  • Partition By Function creating problem in Disco 10g

    We have used "Partition By" analytical function in some of our reports. We were running it in Disco 4i without any problem. But when we tried to run those reports in disco 10g, all the calculation columns where "Partition By" function is used, showing empty. When I remove "partition by" clause it retrieves the data. Anybody knows why it is happening?
    Update: When I tried to add following existing calculation in the report gives me a error "column ambiguously defined"
    ROW_NUMBER() OVER(PARTITION BY Invoice Number,Invoice Line Number ORDER BY Invoice Line Number )
    Thanks
    Message was edited by:
    DiscoverDiscoverer

    Hi
    You don't type the double quotes but if Discoverer puts them in leave them there.
    My gut feeling is that the problem is caused by the names of the items in the folder, or at least inside the report. As you know, whenever Discoverer begins parsing a name it stops whenever the name can be satisfied or tied to an object. Look again at your code:
    ROW_NUMBER() OVER(PARTITION BY Invoice Number,Invoice Line Number ORDER BY Invoice Line Number )
    You have an item called Invoice Number right? You also have an item called Invoice Line Number. As Discoverer is parsing these do you happen to have another item in your system called Invoice? If so, Discoverer will think you are asking it to PARTITION BY that item. Does this make sense?
    Let's try an experiment.
    Create 2 calculations, one called INV_NUM and one called INV_LINE, pointing INV_NUM directly at INVOICE NUMBER and INV_LINE at INVOICE_LINE_NUMBER.
    Having got these 2 calculations in use, remove the original items from the report
    Now try adding this code:
    ROW_NUMBER() OVER(PARTITION BY INV_NUM,INV_LINE ORDER BY INV_LINE)
    Did this help at all?
    May I finally give you a workd of warning and that is to take care when naming items in folders. While Discoverer will let you do it, try to avoid using Oracle reserved words in item names. The name Number is a reserved word.
    Having these as item names can lead to terrible problems when using analytic functions. Imagine if you will that you have a column called INVOICE and another called INVOICE DESC, short for DESCRIPTION and you use this:
    ROW_NUMBER() OVER(PARTITION BY INVOICE AMOUNT ORDER BY INVOICE DESC )
    Discoverer will think you want the INVOICE sorted in descending order which is not what you want at all. In this case you won't get an error. You'll just get the wrong answer.
    Michael

  • Sorting Music By (lack of) Artwork

    Is there a way to sort your library by those songs that lack artwork?
    I want to update the songs without artwork, and need an easy way to locate them.
    Thanks,
    Shaun

    Hello,
    As far as I can see, you can't sort the order of music on the iPod Touch. It is always sorted alphabetically.
    Maybe you can suggest that as a feature to Apple.
    ~Lt. Leviathan

  • Sorting Invoice line items after they've been summed

    Hi,
    I'm working on a template for the out-of-box invoice using the XML it generates. The body of the document contains the line items, and I've successfully been able to print and sum (net amount and tax) these line items by Item Description and Unit Price using the following code:
    <?for-each@section:G_INVOICE?>
    <?for-each-group:G_LINE_TOTAL;./LIST_G_LINES/G_LINES/LINE_ITEM_DESCRIPTION[../LINE_TYPE='LINE']?>
    <?for-each-group:current-group();./LIST_G_LINES/G_LINES/LINE_UNIT_SELLING_PRICE[../LINE_TYPE='LINE']?>
    <?./LIST_G_LINES/G_LINES/LINE_ITEM_DESCRIPTION[../LINE_TYPE='LINE']?>
    <?sum(current-group()/./LIST_G_LINES/G_LINES/LINE_QTY_INVOICED[../LINE_TYPE='LINE'])?>
    <?./LIST_G_LINES/G_LINES/LINE_UNIT_SELLING_PRICE[../LINE_TYPE='LINE']?>
    <?sum(current-group()/./LIST_G_LINES/G_LINES/LINE_ITEM_AMOUNT[../LINE_TYPE='LINE'])?>
    <?sum(current-group()/./LIST_G_LINES/G_LINES/LINE_EXTENDED_AMOUNT[../LINE_TYPE='TAX'])?>
    What I need to do now is also SORT the summed line items by Item Description and Unit Price, but everything I've tried is giving me errors.
    One thing I've tried is adding the SORT command to the element that is printing the Item Description as in the following:
    <?sort:./LIST_G_LINES/G_LINES/LINE_ITEM_DESCRIPTION[../LINE_TYPE='LINE'];'ascending';data-type='text'?>
    I've also tried adding a separate field to do the sorting, but I'm getting different errors then.
    Thanks in advance for any suggestions.

    Thanks! This helped to some extent.
    Adding the sort for the LINE_ITEM_DESCRIPTION after the for-each-group for it worked to sort the lines by item description, but when I added the sort command for the LINE_UNIT_SELLING_PRICE within its for-each-group, I get the following error:
    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(XSLT10gR1.java:593)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:390)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:208)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1019)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:972)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:211)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1577)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:952)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Caused by: java.util.EmptyStackException
         at java.util.Stack.peek(Unknown Source)
         at java.util.Stack.pop(Unknown Source)
         at oracle.xdo.parser.v2.XSLTContext.popCurrentGroupingKey(XSLTContext.java:905)
         at oracle.xdo.parser.v2.XSLForEachGroup.processGroups(XSLForEachGroup.java:468)
         at oracle.xdo.parser.v2.XSLForEachGroup.process01(XSLForEachGroup.java:282)
         at oracle.xdo.parser.v2.XSLForEachGroup.process(XSLForEachGroup.java:210)
         at oracle.xdo.parser.v2.XSLForEachGroup.processAction(XSLForEachGroup.java:94)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLForEachGroup.processGroups(XSLForEachGroup.java:465)
         at oracle.xdo.parser.v2.XSLForEachGroup.process01(XSLForEachGroup.java:282)
         at oracle.xdo.parser.v2.XSLForEachGroup.process(XSLForEachGroup.java:210)
         at oracle.xdo.parser.v2.XSLForEachGroup.processAction(XSLForEachGroup.java:94)
         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.XSLForEach.processAction(XSLForEach.java:142)
         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:508)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         ... 16 more
    I would appreciate to know what is wrong with this and, also, how to interpret these errors.....is there any sort of error code manual?

  • Invoice getting sorted automatically in MIRO

    Hi ,
    Can some one please hep in resolving the issue:
    While posting the freight invoice in MIRO, orders are entered in the order of shipping invoice i.e. its not sorted.
    When i enter values randomly in 'Multiple selection' one by one and execute, than all the invoices are getting sorted.
    How to keep it unsorted? Can some one please help in chnaging the required setting.
    Regards,
    Amitesh

    HI CB,
    While posting a invoice by MIRO, if you come across the following message as block for payment than it is because of Three way matching. You can see three way matching status in purchase order status tab in transaction code ME23N and in purchase order history in item detail.
    Generally invoice is blocked for payment because of two issues:-
    u2022 Price difference: - Price in invoice is higher than purchase order (above tolerance limit).
    u2022 Quantity difference: - Quantity in MIRO is higher than MIGO (or good receipt).
    Once invoice is blocked for payment you need to release it for payment via transaction code MRBR. For next time while posting an invoice through MIRO you should post invoice within tolerance limit.
    You can display and change tolerance limit for invoice verification in customizing with help of transaction code OMR6.
    Regards,
    Anand

  • Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO

    Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO#, Date, ect.)

    When you say field, do you mean specifically a form field, such as a text field? Or is the information regular text on the page?

  • Sort option in Repetitive Area on AR Invoice PLD is disabled / greyed out

    Hi Experts,
    I have an issue whereby in my PLD the sort option under Print Layout Design Manager -> Repetitive Area -> Sort is greyed out / disabled in the AR Invoice PLD. Does anyone know why this might be? I've not seen this before and I can't find any notes relating to specifically to this issue in an AR Invoice PLD.
    2007A PL06 Hot Fix 01.
    Many thanks for any help,
    Caroline

    Hello Khushwant,
    In SAP when your business Process is Sales Order --> Delivery --> AR Invoice
    SAP would print the Batch Numbers along with the Delivery document.
    But your Business Process is Sales Order --> AR Invoice
    SAP would print the Batch Numbers along with the Invoice document.
    Whichever document releaves inventory, SAP will Open the Batch selection screen when adding that document and the Batch Report will be printed on a seperate sheet along with that document.
    The functionality change in SBO 2007, is that the Batch number print on the Delivery / Invoice document itself instead of on a seperate Page as in 2005.
    Could you please explain your Business Process in relation to what I have mentioned earlier.
    Printing the Batch Number as part of the Invoice document itself in SBO 2005 is going to be a tough task.
    Let me know if where and how you want to print this information.
    Regards
    Suda

  • How excise invoices are sorted in Excise invoice selection screen (J1ij)

    Sir
    when I do excise invoice creation in Ji1j for customer depatch, in the excise invoice selection screen , the excise invoices are not sorted properly, i.e excise invoice related to 2011 appearing first and then 2008 is appearing then again 2011 is appearing.
    can some one tell me how these excise invoices are sorted?
    Jaya Anand

    Sir
    Not yet. Already   'EI proc' is set as First in firstout only.
    But Still , 2008 document is appearing in the middle of 2011 documents. i.e first 4 documents is related to 2011 and 5th document is 2008 and then again 6th document related to 2011 ect...
    Can I attach the screen shot in this forum?
    Regards
    Jaya Anand
    Edited by: Jayaanand on Nov 21, 2011 10:19 AM

  • Sorting of order items on invoice

    How can we make sorting on order items in invoice when we are clubbing together many sd-orders in one invoice?
    In the document flow, the sd-orders are sorted in a correct matter - but when we look at the invoice the materials is not sorted in the same way.
    Take a look at the link [sorting|http://img212.imageshack.us/img212/2433/sortingdocumentflowvsinit8.jpg]
    I would expect the order items from sd-document 37403, then 37404 etc. to be sorted in the invoice in the same way as document flow - hence order items from 37403 first, then order items from 37404 etc.
    Is this possible and if so how?

    I haven't received any answers or feedback to this question.....does it mean it is not possible to sort this on the SD-side?

  • Sorting invoices to be printed

    Hello everybody,
    Is there any relation between an output message (NAST) and the generated spool order (TSP01)?  I have a list that shows all the spool orders and I need to know the SD document associated. Is it possible?
    I have to create a program to sort invoices depending on its number pages (this information is contained into spool order) and its country (information contained into the SD document).
    Thanks in advance,
    Ricard.

    Hello Ricard,
    Did you evaluate the use of the sort fields in VF31 (output from billing)?
    The field "Sort order for output from billing documents" controls the sorting of output.
    As customizing depending on the output type, you can print billing document ordering with the right sort order in a standard way.
    I know it does not fit 100% of your business requirement, but maybe it is "good enough" and it would be standard functionality, easier to maintain, etc.
    Regards,
    Franck

  • Need to be able to sort all columns in AP Invoice Workbench

    Hi,
    I found that only the 1st three columns can be sorted in the invoice workbench. Alternatively, dragging any other columns to these positions can also be done. I need to know if there is a way to enable sort in all the columns. Any document stating defaults and options would be appreciated.
    Navigation : Folder > Sort Data
    Thanks,
    Jodson J. Joseph

    Can be achieved through form customization.

  • Sort out the invoices based on Sales Org, Dist Channel, Div while printing

    Hi all,
    My User required to run the program - RV60SBAT
    for creating batch job : FR_INVOICING.
    When we check the steps in the job FR_INVOICING we could find 10 steps with different variants.
    On running this job, system will provide the printing of Invoices for different Sales Organizations, Distribution Channel, Division and Invoice Numbers. However this out put is not generating in a sorted manner currently.
    User requirement is to sort out the invoices based on Sales Organizations, Distribution Channel, Division and Invoice Numbers.
    Kindly look into this and help me  how to address/approach this problem.
    Thanking you in advance
    Best Regards
    TRS GUPTA

    Assign fields KOMKBV3-VKORG KOMKBV3-VTWEG KOMKBV3-SPART to output type config sort order fields sort field1, sort field2, sort field3 respectively.
    Use user exit include RSNASTZZ and add the following code
    under when '50'.
      insert NAST-SORT1 NAST-SORT2 NAST-SORT3 NAST-OBJKY  INTO HEADER.
    Change RSNAST00 job step variant to incluce 50 in the sort field.
    Regards
    Sridhar
    Message was edited by: Sridhar K

  • How to find Invoices approved by me and sort them after supplier?

    Hi,
    Please help ?
    How to find the invoices which I have approved in SAP ?
    how to find the invoices which I have approved in SAP and sort after supplier ?
    Can these searches be combined ?
    I appreciate your immediate reply
    Regards,
    Sairam.

    What do you mean by approving invoice?

Maybe you are looking for