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

Similar Messages

  • Sorting Problem in FND_MENU_ENTRIES_TL Table

    Hi,
    FND_MENU_ENTRIES_TL Table storing the record FND_MENU_ENTRIES_TL_N1(MENU_ID,PROMPT,LANGUAGE) wise in R12. But whereas in 11i, records stored FND_MENU_ENTRIES_TL_U1(MENU_ID,ENTRY_SEQUENCE,LANGUAGE).
    I am confused, whether i need to recreate the index in R12, so the records will get store MENU_ID,ENTRY_SEQUENCE,LANGUAGE wise.
    Could any one please suggest me how to resolve this problem.
    Thanks,
    Praba T

    815667 wrote:
    Hi,
    FND_MENU_ENTRIES_TL Table storing the record FND_MENU_ENTRIES_TL_N1(MENU_ID,PROMPT,LANGUAGE) wise in R12. But whereas in 11i, records stored FND_MENU_ENTRIES_TL_U1(MENU_ID,ENTRY_SEQUENCE,LANGUAGE).
    I am confused, whether i need to recreate the index in R12, so the records will get store MENU_ID,ENTRY_SEQUENCE,LANGUAGE wise.
    Could any one please suggest me how to resolve this problem.
    Thanks,
    Praba TPl do not abuse the forums by cross-posting in multiple forums
    Sorting Problem in FND_MENU_ENTRIES_TL Table
    Sorting Problem in FND_MENU_ENTRIES_TL Table
    Your issue is related to EBS, not to database upgrades (which is the topic of this forum)
    Srini

  • Sorting problems in Grid View

    Hi, I'm having a bit of a sorting problem when it comes to an artist with name variations. The example I'm going to use is DJ Tiesto.
    There are album I have where he is credited as DJ Tiesto, and others where he is simply Tiesto.
    In the end, I'd like these albums sorted chronologically under one name (say DJ Tiesto), while still preserving and showing the proper artist name for each album. I have it set to sort by "Album by Year", which is working fine.
    The major problem I am having is that I can't get it to display properly across all iTunes viewing methods: List mode, Grid mode, and Coverflow.
    I've tried leaving the Artist field alone, and changing the Sort Artist field to "DJ Tiesto" for all songs, and that almost works:
    -List mode groups them all under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Grid mode sorted by Album groups them all under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Coverflow sorts them all in chronological order, while showing each albums Artist as the correct artist name.
    Problem is, Grid mode sorted by ARTIST creates two separate artists! Some for DJ Tiesto and some for Tiesto!
    To correct this I tried changing the Album Artist field for all songs to "DJ Tiesto", which solved that problem but created a bunch of new ones:
    -List mode is still correctly grouping them under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Grid mode sorted by Album is still correctly grouping them under "DJ Tiesto", *however now it is not displaying the correct Artist name for each album!*
    -Grid mode sorted by Artist is now grouping them all under "DJ Tiesto", *however it is not displaying the correct Artist name for each album!*
    -Coverflow is sorting them in correct chronological order, *however it as well is not displaying the correct Artist name for each album!*
    Using the Album Artist tag has created more problems that it has solved! Is there anyone who knows a way to achieve what I am trying to do? I have tried seemingly every option I can and have still not found a way to do this!!
    Thanks!

    My own method of working involves renaming the files upon import to:
    i "shotdate_sequencenumber"
    Files are therefore typically named
    b 2007-11-25_001
    etc.
    This way, sorting by Filename automatically sorts by Date by default. And it wouldn't even matter if you added a descriptive text in between the date and number (
    b 2007-11-25_Scotland_001

  • Sorting problem in standard vendor search help

    Hi all,
    I'm enhancing the vendor search help.
    I found that there is a sorting problem in the original standard search help.
    The 1st time to search vendor in the search help returns a correct list, then I just sort the vendor in ascending order. This time the column name of the hit list changes and mismatch the actual values.
    Any one faced this problem before?
    What's wrong are there ?
    Thanks.

    Thanks Peluka.
    But even I don't enhance the vendor search help, I still found that the original standard version has this problem after sorting.
    Is that the program bug?
    Have anyone encountered this problem before?

  • PLD - 3 copies of A/R Invoice. Sort problem when 3 page invoice

    I have a client that is printing A/R invoice on three color paper. White, Yellow, Pink. The layout properties are set to print three copies and set to a specific printer. When the A/R invoice is one page or two pages if prints correctly. Page one will print a white, yellow, and pink copy and page two will print a white, yellow, and pink copy.
    When the A/R invoice is three pages it does not print the pages on the coresponding  colors

    Hi,
    Plz try this method....
    I have tried it and it works.
    The solution is as follows: 
    Assuming that you want to display the copy name in the Start of Report (SoR)
    1) in the Display Document Properties>Paper Format>Number of Copies = 3, this defines how many copies will be printed
    2) Place a formula field in the SoR fldCopyName, set its formula as CopyNumber()
    3) Place a formula field in the SoR fldCopy1, set its formula as fldCopyName == 1
    4) Place a formula field in the SoR fldCopy2, set its formula as fldCopyName == 2
    5) Place a formula field in the SoR fldCopy3, set its formula as fldCopyName == 3
    6) Place a Text field in SoR and type in your Copy Name in the Content Tab and set the Link to fldCopy1
    7) Place a Text field in SoR and type in your Copy Name in the Content Tab and set the Link to fldCopy2
    8) Place a Text field in SoR and type in your Copy Name in the Content Tab and set the Link to fldCopy3
    It is well known solution in forum.
    By
    Firos

  • Sorting problem in smart form

    Hi,
    Good day guys
    Ive dev the smart form for workshop invoice..  everything fine but they need sort the stracture one which is LBBIL_IT_GEN.
    so ive created the custome stracture ZLBBIL_IT_GEN and added the numaric field at end of the strc.
    move-corresponding gs_it_gen to ZLBBIL_IT_GEN1.
    lv_num = lv_num + 001.
    ZLBBIL_IT_GEN1-MTART = GV_MTART.
    ZLBBIL_IT_GEN1-num = lv_num.
    sort ZLBBIL_IT_GEN1 by num.
    Move-corresponding ZLBBIL_IT_GEN1 to gs_it_gen.
    I think, it wont be work out. bcoz stracture doent hold the data..... how to over come the problem.. sorting is very imp for fun guys..
    regards
    chandu

    Hi,
    Actually ive a condtion.. if the material type [mtart] is "yser" .. in the material column should be blank.. the the material type is zrsa. then it needs to print materail and description.
    Material              Description
                                 xyz
                                  abc
                                  laptop
    123                        abc
                                  compu
    456                         pen
    678                        book
    if see the  the  5 th item get the blank ..so there is prob.. first needs to gets the all blanks then print  one who having the mateiral and description.
    but its prints right way.. bcoz its comes based on material type.. but need to sort this....
    how to do it..plz let me know
    thanks
    chandu.P

  • Sort problem in a report

    Hi,
    I'm using the sort on a report with 7 columns. For each column I've specified
    the sort sequence from 1 to 7. The last sort is a date field. If i sort now the
    last column and i change to next report side the sort change jump to the first column.
    Is there somebody who had also a problem like this?
    Greets,
    Tom

    You can check boxes to determine which columns can be sorted; if you check one or more boxes, you also need to set the "Sort Sequence" attribute under the "Report Attributes" tab of your SQL query region. So to use sorting you must.
    1. ensure you don't have an order by in your SQL statement
    2. check one or more "sort" boxes
    3. set the default order in one or more column in the "sort sequence" column
    Hope this helps,
    Mike

  • AP Invoice Validation problem

    Hi,
    Invoice R12 (12.1.3)While trying to validate an AP Invoice getting the following error :
    APP-SQL-10000: User-Defined Exception occurred in 
    AP_INVOICE_UTILITY_PKG.CALCULATE_VARIANCE<-AP_APPROVAL_MATC
    HED_PKG.Exec_Matched_Variance_Checks<-AP_APPROVAL_PKG.Genera
    te_Distributions<-AP_APPROVAL_PKG.Approval<-APXINWKB
    with parameters (Distribution Id = 13113101)
    while performing the following operations:
    CALCULATE_VARIANCE - Close cursor invoice_dist_cursor
    Hence, requesting if anyone of you have come cross this kind of problem in R12,  AP invoice validation kindly post your valuable comments.
    regards.
    Arup

    Hi,
    Welcome to Communities.
    Please review this note
    R12: AP: Unable To Validate Freight Invoices Matched To Receipts Errors APP-SQL-10000 ORA:01403 (Doc ID 1350996.1)
    Thanks
    George

  • AP Invoice Import Problem

    Hi Guys, I hope so you are Well.
    I am facing a little problem in AP Invoice import when i am entring projectid and task id.without project and task id it is ok.
    ERROR: "INSUFFICIENT PA INFO: in ap_invoice _lines table
    Kindly guide me .
    Regards,
    SK

    Have you seen this as per the manual =>
    Insufficient PA Info. You must provide values for all of the following Projects
    columns: PROJECT_ID, TASK_ID, EXPENDITURE TYPE,
    EXPENDITURE_ITEM_DATE, AND EXPENDITURE_ORGANIZATION_ID.
    If this helps then points are appreciated.
    regards,
    Robert.

  • Excise Invoice Reversal Problem

    Dear All,
    I got a situation which is explained below-
    I did GRN & then reversed it through MBST T.code because of which i am not able to cancel EXCISE INVOICE.
    Related to this problem i saw various threads in which it is mentioned that use J1I5 for updating RG23A part 1 but when i am doing so i am not getting any list in next screen.
    Please suggest how to cancel the excise invoice in this situation.
    Regards'
    Sandeep

    Use the 'Cancel Excise Invoice' option in J1IH
    Ravi.

  • Sorting Problem in XML Publisher Report

    Dear Members,
    I am facing problems with sorting data in my XML Publisher Report.
    We are using Oracle E-Business Suite 12.1 Version and i developed a rtf Template and executable is an RDF which generates XML Data.
    I want the whole report to group by element ITEM_NAME which is a character in the ascending order. I tried several ways but it is not working properly.
    I don't know how to upload the RTF template in this forum. I tried to post the XML Code and since its excceds 30000 characters i cant post it in the forum.
    Any help is greatly appreciated.
    Thanks
    Sandeep

    You can't upload the template here; you can post a part of the relevant XML code and template code here.
    or send me a sample XML and RTF template to [email protected] and I will take a look.

  • Invoice Template problem - Putting a Header field in repeating Lines rows

    Dear experts,
    I would be grateful for a problem I am having with an Invoice statement I am developing (Oracle Applications 11.5.10 with BI Publisher version 10.1.3.4). This is very similar to the one in Tim Dexter's Blog (Anatomy of a Template):
    http://blogs.oracle.com/xmlpublisher/2007/03/anatomy_of_a_template_ii_heade.html
    My requirement is to add a single line into the lines table, as seen in the Blog, which is a COMMENTS field from the header part of the XML and the problem is that it can be 1 line to maybe 5 lines. This is only on the first page. This causes problems as I don't know how to find out how far down the lines table I may be after adding this COMMENTS header field in here, to then know how many lines to loop over to ensure that the lines do not carry on printing over the bottom of the page e.g. if the COMMENTS is 3 lines - how do I know this to then only print 3 minus the maximum lines per page ($lpp) only on the first page?
    Any pointers would be of great help.
    Many thanks,
    Mark

    The COMMENTS field I've found out can be of any varible size and include carriage returns. For example, could be:
    JD Trx special instructions 010908
    FAO: PETER MUSCUTT
    REF: FERRY ROAD 2351
    ========================
    INCOME DUE TO COMPANY FOR
    THE OPERATION OF EFERRY
    ROAD CAR PARK
    This causes such problems as being able to know how many lines this field will be, so that I know where to start the first Lines row in the invoice and also how many lines I can put on this first page (starting point - $lpp).
    One method I thought would be to count how many characters there are in this field, when it reaches the line size on the invoice, increment a count varible that would be used to indicate the starting point for the first lines record. I would need to compare each character and if it is a carriage return, then increment the count also. This seems quite a heavy wieght way to solve this and would welcome any over ideas.
    Thanks,
    Mark

  • Mail sorting problem after upgrading to Mountain Lion?

    I have a strange problem with Mail after upgrading to Mountain Lion.
    Before upgrading, when I tried to search my Mail Inbox for e-mails from a specific sender, the esearch results would be indexed by the name of the sender. For example: when I entered 'John Smith' in the search box in Mail, it would display a list of email from 'John Smith'
    Now after upgrading, the same query indexes the search results by the 'To' address i.e. my email address.For example: if my name is 'Steve Johnson', a search for 'John Smith' in the search box in Mail displays a list of email to 'Steve Johnson' and not from 'John Smith' which is how it used to display before.
    My emails are sorted by Date always, and I am using the default Mail view [not classic view]
    Can someone please help with a fix for this to help me get back to the original display I had while searching? Thanks in advance.

    I'm having the same problem.  It's incredibly annoying!!!  Did you find an answer?

  • A/R Invoice posting problem

    Dear All,
         When am posting A/R invoice the payment means screen automatically comes.
    How to overcome this problem
    Regards,
    VIjay

    Dear,
    Click on the yellow arrow for your customer.
    the cusstomer infomation sceen apears.
    Now go to payment tems tab,click yellow arrow for payment terms.
    in Open incomming Filed select No
    By doing this Payment screen will not apper while adding A/R Invoice.
    Hope this solves your Problem.
    Thanks,
    Neetu

  • Help with Artist Sort Problem Needed...

    This is a bit long, so I'll start with the three main questions and below them is the backstory and detail of the problem (I did do a search but nothing turned up):
    1) Does anyone know how to fix artist sorting issues where the artists are properly sorted (alphabetically by last name and band name) but there are constant grey-bar letter headings for the first name (sorry...I don't know how to explain better than I do below in detail)
    2) Will re-setting the Touch require I have to...
    a) re-add all the songs I've manually selected again
    b) re-input any data saved to apps (such as CarCare and
    Pocketpedia) and if so, can I backup that data first?
    3) If all the re-doing in 2 above is necessary if I were to re-set the iPod, can anyone think of an alternative fix that would avoid a reset?
    I might be able to get to an Apple store this weekend to ask a "genius" but I'm not that confident in them since I was given some incorrect information on how the Touch handles playlists at the time of original purchase.
    Okay... now, what happened:
    I'm not sure what to make of this, fortunately playback and all main functions are unaffected. I have my iPod Touch 2g set for manual sync. Today, while I was charging it at work, my PC (WinXP) froze. I gave it plenty of time to unfreeze, but eventually had no choice but to do a hard reboot while the iPod said "syncing." I slid the slider to cancel the sync, but the iPod didn't respond. I unhooked it from the PC and it unfroze. I shut it down and re-started.
    Everything seemed fine after the iPod reboot except that now, while the artists are still sorted alphabetically (I've manually set artists to sort by last name), there are headers using the first letter of the first name between each artist. So, for instance, this is how the top of my artist list looks now (lines below with just a letter are the grey divider bar with the alphabetical header):
    R
    Ryan Adams
    D
    Dave Alvin
    T
    Tori Amos
    E
    Eric Andersen
    A
    Apples in Stereo
    Arcade Fire
    L
    Louis Armstrong
    A
    Ataris
    ...etc.
    This problem has not extended to album or song title fields, but for some reason, when scrolling through the album view using the index on the right, it moves fine until "O" -- then it sits still as I scroll down until it gets to "#", at which point it's resposnive again.
    I've checked the music library on the iPod via iTunes and the artist sort fields are still correct.
    Suggestions? I'm new to the Touch and am leery of doing a reset yet since it's taken time to figure out which songs from my 100+gb library to manually put on this. Also, I have no idea how it will affect the apps I've downloaded. There are some where I've saved data (such as CarCare and Pocketpedia) and I REALLY don't want to risk having to re-input all that data.
    To anyone with any words of advice, thanks in advance.
    Message was edited by: IronWaffle
    Message was edited by: IronWaffle

    This is an answer to only qestion 2. Yes restoring your ipod will delete all songs, apps, videos, etc., but you can back up settings like a passcode lock or screen brightness. But it will ask if you want to back up settings. If your'e on windows, in itunes go to file and down almost all the way you will see a "Tranfer purchases from (ex.) steves ipod" and that will make sure you have all your apps and music and other stuff.

Maybe you are looking for

  • Animated Gifs in 6i

    I have an image file which is of type 'Gif'. when deployed over the web the gif is unable to load. But buttons which are of type 'Gif' are loaded. I have all in the same path. Any help??

  • Computer sleeps when iTune library is shared

    Hello: Running a G5 and PowerBook on Airport Extreme Wireless network. I use the G5 to make all my iTunes Store purchases and often like to share the library with the PowerBook so I can listen to tunes in the other room. The G5, however, will go to s

  • Issue in Step 12-Maintain User Assignment in Portal (RSPOR_SETUP)

    Hi, I had issue with step 12--Maintain User Assignment in Portal when running prog RSPOR_SETUP [to setup BEx Web configuration] with error " System failure during call of function module RSWR_RFC_SERVICE_TEST". Note: BI certificate was already export

  • [ERROR]adding another JVM to OC4J instance

    Hi gurus, I had this following configuration on my opmn.xml, <restart timeout="720" retry="2"/> <port id="default-web-site" range="8890" protocol="http"/> <port id="rmi" range="12401-12500"/> <port id="rmis" range="12701-12800"/> <port id="jms" range

  • Friends and Family vs M2M

    Ok so i have been unble to get a straight answer from anyone about this so this is my last esort before i go up to the verizon store yet again and wait an hour just to ask them a question. So...i have a texting plan of 400 texts per month. I have fou