Aged Debtor List Sorting

Hi,
In versions of B1 upto 8.8 it was always possible to change the sort order on the Aged Debtors and Creditors List reports by double clicking on any of the ageing columns.  This was a very useful feature in credit control as it highlighted the oldest and highest debts on the screen and allowed these customers to be chased first. 
In 8.8 the abililty to sort these reports has been removed, am I overlooking something or will the only way to get this feature back be to create a report layout.
Thanks & kind regards.
Edited by: Pamela May on Jul 12, 2010 1:05 PM

Sorry did not put any code with it!!!
try
DataInputStream inputFile = new DataInputStream(new FileInputStream("Clients.txt"));
String file;
listArea.removeAll();
listArea2.removeAll();
listArea3.removeAll();
listArea4.removeAll();
//listArea5.removeAll();
listArea6.removeAll();
listArea7.removeAll();
file = inputFile.readLine();
while (file != null)
StringTokenizer st = new StringTokenizer(file);
listArea.add(st.nextToken());
listArea2.add(st.nextToken());
listArea3.add(st.nextToken());
listArea4.add(st.nextToken());
listArea5.add(st.nextToken());
listArea5.removeAll();
listArea6.add(st.nextToken());
listArea7.add(st.nextToken("_"));
file = inputFile.readLine();
That is the piece that gets the data from the text file and assigns it to the lists. Now that i have the data in there respective list i need to sort each coloumn.
Ive tried Collections.sort, Arrays.sort, bubblesort.
This is part of a assignment that iam currently working on for university, and as part of the remit i cannot use Swing, which i know would make life a whole lot easier, so ive spent the whole of today (it is now 17:25 in England and i started at 10:30), trying in vain to get this to work, please can some one help!!!

Similar Messages

  • Std::list::sort() doesn't work with custom class

    The following example doesn't order a list the way I'd expect. Is this being done wrong? Sun Studio 12 (not update 1). Current patches as of Monday.
    #include <list>
    class CMyClass
    public:
    CMyClass(long a) : m_Sec(a) { }
    bool operator<(const CMyClass* rhs)
    return (m_Sec < rhs->m_Sec);
    long m_Sec;
    typedef std::list<CMyClass*> TLogList;
    int
    main(int argc, char* argv[])
    TLogList logList;
    CMyClass* name = new CMyClass(0x4A833E79);
    logList.push_back(name);
    name = new CMyClass(0x4A85E144);
    logList.push_back(name);
    name = new CMyClass(0x4A85E66F);
    logList.push_back(name);
    name = new CMyClass(0x4A85E66F);
    logList.push_back(name);
    name = new CMyClass(0x4A85B2C2);
    logList.push_back(name);
    name = new CMyClass(0x4A85D6EF);
    logList.push_back(name);
    name = new CMyClass(0x4A69F9AD);
    logList.push_back(name);
    name = new CMyClass(0x4A85DC92);
    logList.push_back(name);
    name = new CMyClass(0x4A817316);
    logList.push_back(name);
    name = new CMyClass(0x4A85DEEB);
    logList.push_back(name);
    name = new CMyClass(0x4A846329);
    logList.push_back(name);
    name = new CMyClass(0x4A85E39D);
    logList.push_back(name);
    name = new CMyClass(0x4A85D41D);
    logList.push_back(name);
    name = new CMyClass(0x4A89CC17);
    logList.push_back(name);
    name = new CMyClass(0x4A85DC19);
    logList.push_back(name);
    logList.sort();
    TLogList::iterator logListIter = logList.begin();
    TLogList::iterator logListEnd = logList.end();
    for (; logListIter != logListEnd; ++logListIter)
    CMyClass* name = *logListIter;
    cout << hex << name->m_Sec << endl;
    return 0;
    which produces
    4a833e79
    4a85e144
    4a85e66f
    4a85e66f
    4a85b2c2
    4a85d6ef
    4a69f9ad
    4a85dc92
    4a817316
    4a85deeb
    4a846329
    4a85e39d
    4a85d41d
    4a89cc17
    4a85dc19

    The program as you wrote it will sort the contents of the list. The list consists of the addresses of CMyClass objects, and after sorting, will contain those addresses in sorted order.
    If you want to sort by the contents of the classes that are pointed to, you need to provide a comparison operator that compares the contents, and use the other form of the list::sort function that takes a comparison function as an argument. That is, add the function
    bool comp(const CMyClass* l, const CMyClass* r)
       return l->m_Sec < r->m_Sec;
    }and change
    logList.sort(); to
    logList.sort(comp); This version of list::sort will not compile using the default libCstd, because it requires member templates in the library implementation. For more information about this limitation, refer to the C++ FAQ section on library compatibility.
    [http://developers.sun.com/sunstudio/documentation/ss12u1/mr/READMEs/c++_faq.html#LibComp]
    The revised code will compile with the optional STLport library, or with other 3rd-party libraries like Apache stdcxx. To use STLport, add the option -library=stlport4 to every CC command, compiling and linking. You cannot mix code compiled for the default libCstd with STLport code in the same program.

  • Detailed aged debtors query

    Hi All
    I am trying to create a detailed aged debtors report for all unreconciled transactions.  I have started the query but it does not seem to want to work correctly.  It returns all transactions, regardless if reconciles or not.
    Any help will be appreciated.
    SELECT T1.CardCode, T1.CardName, T0.MthDate, T1.CreditLine, T0.RefDate, T0.Ref1 'Document No.',
                CASE  WHEN T0.TransType=13 THEN 'Invoice'
                            WHEN T0.TransType=14 THEN 'Credit Note'
                            WHEN T0.TransType=30 THEN 'Journal'
                            WHEN T0.TransType=24 THEN 'Receipt' end as 'Document Type',
    T0.DueDate, (T0.Debit- T0.Credit)'Balance'
                ,ISNULL((SELECT T0.Debit- T0.Credit WHERE DateDiff(day, T0.refDate,'[%1]')<=-1),0) 'Future'
                ,ISNULL((SELECT T0.Debit- T0.Credit WHERE DateDiff(day, T0.refDate,'[%1]')>=0 and DateDiff(day, T0.refDate,'[%1]')<=30),0) 'Current'
                ,ISNULL((SELECT T0.Debit- T0.Credit WHERE DateDiff(day, T0.refDate,'[%1]')>=31 and DateDiff(day, T0.refDate,'[%1]')<=60),0)'31-60 Days'
                ,ISNULL((SELECT T0.Debit- T0.Credit WHERE DateDiff(day, T0.refDate,'[%1]')>=61 and DateDiff(day, T0.refDate,'[%1]')<=90),0)'61-90 Days'
                ,ISNULL((SELECT T0.Debit- T0.Credit WHERE DateDiff(day, T0.refDate,'[%1]')>=91 and DateDiff(day, T0.refDate,'[%1]')<=120),0) '91-120 Days'  ,ISNULL((SELECT T0.Debit- T0.Credit WHERE DateDiff(day, T0.refDate,'[%1]')>=121),0) '121+ Days'
    FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode
    WHERE (T0.MthDate <= '[%1]' or t0.mthdate IS NULL) AND t0.refdate <= '[%1]' and T1.CardType = 'C'
    ORDER BY T1.CardCode, T0.DueDate, T0.Ref1

    Thank you Gordon and Julie.
    I have changed the sys deb/cred to balduedeb/cred and it works prefectly.
    Would it be possible to run the query retrospectivly? i want to be able to produce monthly debtors at any given time ie Febs balance but run in March.?
    Thanks in advance.

  • Error In Aged Debtors Query

    Hi there
    I've tring to produce an aged debtor query and am getting the following error am producing this report in qlikview
    SQL error: The multi-part identifier "T0.ShortName" could not be bound
    Please could some one look at my query and tell me where am going wrong i beleve it's something to do with my inner join but am not sure as am fairly new to this
    Any help would be most appreciated as am at a total dead end on this one
    <p></p>
    SELECT <br>
    T0.ShortName 'Account Code',<br>
    T0.intrnmatch 'Internal Reconciliation No',<br>
    T0.BALDUEDEB, <br>
    T0.BALDUECRED,<br>
    T0.sysdeb 'System Debit Amount',<br>
    T0.syscred 'System Credit Amount',<br>
    (T0.sysdeb - T0.syscred) AS 'System Balance Due', <br>
    T0.debit 'Local Debit Amount',<br>
    T0.credit 'Local Credit Amount',<br>
    (T0.debit - T0.credit) AS 'Local Balance Due',<br>
    T0.fcdebit 'FC Debit Amount',<br>
    T0.fccredit 'FC Credit Amount',<br>
    (T0.fcdebit - T0.fccredit) AS 'FC Balance Due',<br>
    case T0.fccurrency<br>
         when 'EUR' then T0.fcdebit - T0.fccredit<br>
         when 'USD' then T0.sysdeb - T0.syscred<br>
         else T0.debit - T0.credit<br>
    end 'Balance Due',<br>
    case T0.transtype<br>
         when '13' then 'INV'<br>
         when '14' then 'AR CN'<br>
         when '24' then 'INCOMING'<br>
         else 'Other'<br>
    end 'Type',<br>
    T0.Ref1,<br>
    T0.fccurrency 'BP Currency',<br>
    CONVERT(VARCHAR(10), T0.refdate, 103) 'Posting Date',<br>
    CONVERT(VARCHAR(10), T0.duedate, 103) 'Due Date',<br>
    CONVERT(VARCHAR(10), T0.taxdate, 103) 'Doc Date' ,<br>
    T1.WhsCode 'Warehouse',<br>
    T2.cardcode 'Bp Code',<br>
    T2.cardname 'Name',<br>
    T2.SlpCode 'Slp Code',<br>
    T2.GroupCode 'Group Code',<br>
    T2.CreditLine 'Credit Limit',<br>
    T2.DebtLine 'Debt Limit',<br>
    T3.GroupName 'Customer Name',<br>
    T3.GroupType 'Group Type',<br>
    T4.ItmsGrpCod 'Item Group Code',<br>
    T5.ItmsGrpNam 'Item Group Name',<br>
    T6.SlpName 'Sales Employee',<br>
    //Calculate 0-30 Days
    CASE
    when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 < 31
              then
              case
                   when T0.syscred <> 0 then -T0.syscred
                        else T0.sysdeb
              end
    end "System 0-30 days",
    CASE
    when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 < 31          then
              case
                   when T0.credit <> 0 then -T0.credit
                        else T0.debit
              end
    end "LC 0-30 days",
    CASE
    when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 < 31
              then
              case
                   when T0.fccredit <> 0 then -T0.fccredit
                        else T0.fcdebit
              end
    end "FC 0-30 days",
    // Calculate 31-60 Days
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 30
    and (datediff(dd,T0.refdate,current_timestamp))+1< 61)
              then
              case
                   when T0.syscred <> 0 then -T0.syscred
                        else T0.sysdeb
              end
    end "System 31-60 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 30
    and (datediff(dd,T0.refdate,current_timestamp))+1< 61)
              then
              case
                   when T0.credit <> 0 then -T0.credit
                        else T0.debit
              end
    end "LC 31-60 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 30
    and (datediff(dd,T0.refdate,current_timestamp))+1< 61)
              then
              case
                   when T0.fccredit <> 0 then -T0.fccredit
                        else T0.fcdebit
              end
    end "FC 31-60 days",
    // Calculate 61-90 Days
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 60
    and (datediff(dd,T0.refdate,current_timestamp))+1< 91)
              then
              case
                   when T0.syscred <> 0 then -T0.syscred
                        else T0.sysdeb
              end
    end "System 61-90 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 60
    and (datediff(dd,T0.refdate,current_timestamp))+1< 91)
              then
              case
                   when T0.credit <> 0 then -T0.credit
                        else T0.debit
              end
    end "LC 61-90 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 60
    and (datediff(dd,T0.refdate,current_timestamp))+1< 91)
              then
              case
                   when T0.fccredit <> 0 then -T0.fccredit
                        else T0.fcdebit
              end
    end "FC 61-90 days",
    // Calculate 91-120 Days
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 90
    and (datediff(dd,T0.refdate,current_timestamp))+1< 121)
              then
              case
                   when T0.syscred <> 0 then -T0.syscred
                        else T0.sysdeb
              end
    end "System 91-120 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 90
    and (datediff(dd,T0.refdate,current_timestamp))+1< 121)
              then
              case
                   when T0.credit <> 0 then -T0.credit
                        else T0.debit
              end
    end "LC 91-120 days",
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 90
    and (datediff(dd,T0.refdate,current_timestamp))+1< 121)
              then
              case
                   when T0.fccredit <> 0 then -T0.fccredit
                        else T0.fcdebit
              end
    end "FC 91-120 days",
    // Calculate 120+ Days
    CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 > 120
              then
              case
                   when T0.syscred= 0 then T0.sysdeb
                   when T0.sysdeb= 0 then -T0.syscred
              end
    end "System 120+ days",
    CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 > 120
              then
              case
                   when T0.credit= 0 then T0.debit
                   when T0.debit= 0 then -T0.credit
              end
    end "LC 120+ days",
    CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 > 120
              then
              case
                   when T0.fccredit= 0 then T0.fcdebit
                   when T0.fcdebit= 0 then -T0.fccredit
              end
    end "FC 120+ days"<br>
    FROM JDT1 T0, INV1 T1<br>
    INNER JOIN OCRD T2 ON T1.BaseCard = T2.CardCode AND T0.ShortName = T2.CardCode AND T2.CardType = 'C' <br>
    INNER JOIN OCRG T3 ON T2.GroupCode = T3.GroupCode <br>
    INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode <br>
    INNER JOIN OITB T5 ON T4.ItmsGrpCod = T5.ItmsGrpCod <br>
    INNER JOIN OSLP T6 ON T1.SlpCode = T6.SlpCode <br>
    WHERE T0.intrnmatch = '0' AND T0.BALDUEDEB != T0.BALDUECRED <br>
    ORDER BY T2.CardCode;<br>
    Edited by: Mcphee78 on Oct 15, 2010 2:38 PM

    HI,
    Try below query:
    SELECT
    T0.ShortName 'Account Code',
    T0.intrnmatch 'Internal Reconciliation No',
    T0.BALDUEDEB,
    T0.BALDUECRED,
    T0.sysdeb 'System Debit Amount',
    T0.syscred 'System Credit Amount',
    (T0.sysdeb - T0.syscred) AS 'System Balance Due',
    T0.debit 'Local Debit Amount',
    T0.credit 'Local Credit Amount',
    (T0.debit - T0.credit) AS 'Local Balance Due',
    T0.fcdebit 'FC Debit Amount',
    T0.fccredit 'FC Credit Amount',
    (T0.fcdebit - T0.fccredit) AS 'FC Balance Due',
    case T0.fccurrency
    when 'EUR' then T0.fcdebit - T0.fccredit
    when 'USD' then T0.sysdeb - T0.syscred
    else T0.debit - T0.credit
    end 'Balance Due',
    case T0.transtype
    when '13' then 'INV'
    when '14' then 'AR CN'
    when '24' then 'INCOMING'
    else 'Other'
    end 'Type',
    T0.Ref1,
    T0.fccurrency 'BP Currency',
    CONVERT(VARCHAR(10), T0.refdate, 103) 'Posting Date',
    CONVERT(VARCHAR(10), T0.duedate, 103) 'Due Date',
    CONVERT(VARCHAR(10), T0.taxdate, 103) 'Doc Date' ,
    T1.WhsCode 'Warehouse',
    T2.cardcode 'Bp Code',
    T2.cardname 'Name',
    T2.SlpCode 'Slp Code',
    T2.GroupCode 'Group Code',
    T2.CreditLine 'Credit Limit',
    T2.DebtLine 'Debt Limit',
    T3.GroupName 'Customer Name',
    T3.GroupType 'Group Type',
    T4.ItmsGrpCod 'Item Group Code',
    T5.ItmsGrpNam 'Item Group Name',
    T6.SlpName 'Sales Employee',
    --Calculate 0-30 Days
    CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 < 31 then case when T0.syscred <> 0 then -T0.syscred else T0.sysdeb end end "System 0-30 days", CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 < 31 then case when T0.credit <> 0 then -T0.credit else T0.debit end end "LC 0-30 days", CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 < 31 then case when T0.fccredit <> 0 then -T0.fccredit else T0.fcdebit end end "FC 0-30 days",
    -- Calculate 31-60 Days
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 30 and (datediff(dd,T0.refdate,current_timestamp))+1< 61) then case when T0.syscred <> 0 then -T0.syscred else T0.sysdeb end end "System 31-60 days", case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 30 and (datediff(dd,T0.refdate,current_timestamp))+1< 61) then case when T0.credit <> 0 then -T0.credit else T0.debit end end "LC 31-60 days", case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 30 and (datediff(dd,T0.refdate,current_timestamp))+1< 61) then case when T0.fccredit <> 0 then -T0.fccredit else T0.fcdebit end end "FC 31-60 days",
    --Calculate 61-90 Days
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 60 and (datediff(dd,T0.refdate,current_timestamp))+1< 91) then case when T0.syscred <> 0 then -T0.syscred else T0.sysdeb end end "System 61-90 days", case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 60 and (datediff(dd,T0.refdate,current_timestamp))+1< 91) then case when T0.credit <> 0 then -T0.credit else T0.debit end end "LC 61-90 days", case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 60 and (datediff(dd,T0.refdate,current_timestamp))+1< 91) then case when T0.fccredit <> 0 then -T0.fccredit else T0.fcdebit end end "FC 61-90 days",
    -- Calculate 91-120 Days
    case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 90 and (datediff(dd,T0.refdate,current_timestamp))+1< 121) then case when T0.syscred <> 0 then -T0.syscred else T0.sysdeb end end "System 91-120 days", case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 90 and (datediff(dd,T0.refdate,current_timestamp))+1< 121) then case when T0.credit <> 0 then -T0.credit else T0.debit end end "LC 91-120 days", case when ((datediff(dd,T0.refdate,current_timestamp))+1 > 90 and (datediff(dd,T0.refdate,current_timestamp))+1< 121) then case when T0.fccredit <> 0 then -T0.fccredit else T0.fcdebit end end "FC 91-120 days",
    -- Calculate 120+ Days
      CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 > 120 then case when T0.syscred= 0 then T0.sysdeb when T0.sysdeb= 0 then -T0.syscred end end "System 120+ days", CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 > 120 then case when T0.credit= 0 then T0.debit when T0.debit= 0 then -T0.credit end end "LC 120+ days", CASE when (DATEDIFF(dd,T0.refdate,current_timestamp))+1 > 120 then case when T0.fccredit= 0 then T0.fcdebit when T0.fcdebit= 0 then -T0.fccredit end end "FC 120+ days"
    FROM JDT1 T0, INV1 T1
    INNER JOIN OCRD T2 ON T1.BaseCard = T2.CardCode AND T2.CardType = 'C'
    INNER JOIN OCRG T3 ON T2.GroupCode = T3.GroupCode
    INNER JOIN OITM T4 ON T1.ItemCode = T4.ItemCode
    INNER JOIN OITB T5 ON T4.ItmsGrpCod = T5.ItmsGrpCod
    INNER JOIN OSLP T6 ON T1.SlpCode = T6.SlpCode
    WHERE T0.intrnmatch = '0' AND T0.BALDUEDEB != T0.BALDUECRED and (T0.ShortName=T2.CardCode )
    ORDER BY T2.CardCode
    Thanks,
    Neetu

  • Comparable linked list sorting

    i have been trying to find a way to sort a link listed. After some reading i found out that it is probably best to use collections.sort(list). I think i understand how to implement it , i need to declare a compareto and equals method. However, most of the reading i have done shows how to create a collection from a linked list and add items to the collection and sort them, however it doesn show how to copy this sorted collection back inot a linked list. I need to remove items and add items to the sorted linked list. Is it possible to create a linked list, sort it using the collection sort and return the sorted linked list? I have looked in the api's but got confused!!

    You don't need to copy anything.
    List list = new LinkedList(); // or ArrayList
    // list.add stuff
    Collections.sort(list); Assuming whatever you added to the list implements Comarable, the list is now sorted.

  • I spent ages renaming and sorting my holiday photos in correct order but when uploaded to print they reverted to the original name and order? How can I stop this happening?

    I spent ages renaming and sorting my holiday photos in correct order but when uploaded to print they reverted to the original name and order? How can I stop this happening?

    When you "rename" a photo in iPhoto you're adding a Title to the shot, not renaming the file. This si quite standard metadata in photography, but it appars that it's getting lost in the upload/at Snapfish process.
    You can use the Titles as filenames if you export using the File -> Export command. It's one of the options in the export dialogue. You can upload the exported items.
    Regards
    TD

  • Doubly-linked List Sort has exited due to signal 10 (SIGBUS).

    What does this mean: "Doubly-linked List Sort has exited due to signal 10 (SIGBUS)."
    Thank you.

    Lady777 wrote:
    What does this mean: "Doubly-linked List Sort has exited due to signal 10 (SIGBUS)."
    SIGBUS is a bus error, meaning that your code is attempting to access an invalid address in memory. Most likely your linked list has a bad pointer in it that the code is trying to dereference. I'm not sure if a null pointer would cause a bus error but if your pointer contained garbage - due to not being properly initialized or due to being overwritten by bad data it certainly could.
    Steve

  • Analyzer 6.1 Combo-box list sort

    Does anyone know of an easy way to sort lists in combo-boxes (or check-boxes, etc...)? Thank you for your help.

    You may want to try the following.Make sure:1) you have sourced out anlayzer.sh script2) Use the set command to set the path and ICU_DATA3) Turn On ADM tracingessbase connection issue\unable to connect to essbase from analyzer 6.1Note____To Resolve:1. Verify the Essbase installation\API directories are on the machine.2. Verify the following "strings" have been appended to their correspondingEnvironment Variable for Analyzer and Essbase:(Examples below)For SOLARIS:Variable: STRING:ARBORPATH /opt/olap81PATH $ARBORPATH/bin:$PATHLD_LIBRARY_PATH $ARBORPATH/dlls:$ARBORPATH/bin:$LD_LIBRARY_PATHPATH /opt/hyperion/analyzer/adm/bin/solaris:$PATHLD_LIBRARY_PATH /opt/hyperion/analyzer/adm/bin/solaris:$LD_LIBRARY_PATHICU_DATA /opt/hyperion/analyzer/adm/bin/solaris/HssEssDriver/I had the similar error message and adding the above to the path resolved the issue.Regards,Peter Tupker

  • Mail Message list sort order for Applescript in ML

    Hi All,
    I recently upgraded from SL to ML. I'm having a few issues with an applescript i use to flag/unflag emails for later handling.
    Basically, the script does the following:
    - get the message list from one of the inboxes/smartboxes. These are ordered by time and grouped by thread.
    - compare one message with the next one
    - if some criterias are equal (thread ID, subject, ...) then the second email is unflagged
    - repeat until end of list.
    It was working fine in SL, as a result, i only had the first email of threads with a flag, so the others could be forgotten.
    In ML, it looks like even though the emails are displayed in a specific order (date/thread), using
    messages of first message viewer
    does not fetch the messages in the same order, so matching cannot happen.
    Is this the expected behavior in ML ? Is there anyway to have the list of messaged sorted as displayed ?
    Thanks
    jm

    I found a workaround, though there must be something neater.
    I added this before my script
    tell application "System Events"
              tell process "Mail"
                        tell menu bar 1
                                  tell menu bar item "View"
                                            tell menu "View"
                                                      tell menu item "Sort By"
                                                                tell menu "Sort By"
                                                                          click menu item "Subject"
                                                                end tell
                                                      end tell
                                            end tell
                                  end tell
                        end tell
              end tell
    end tell
    then the same except "Date" instead of "Subject".
    My script does what i want now.

  • Vendor list sort by name

    dear experts,
    do you know how to make a list of vendor (active and non active) sorted by name?
    moreover, do you know the differences of blocking vendor and flag the vendor for deletation,
    and the how to delete vendor master data?
    regards,
    Lily

    hi,
    thanks for your reply. I tried LFA1 (V_LFA1_CORE) to maintain the vendor table,
    but it can't be sort by name since there is not sorting button/selection.
    I tried the old fashion by going to vendor list in FB60, sort it by name and print it.
    at least i can know the active vendors account sorted by name.
    Moreover, in the maintaining field there is a delete button,
    I tried to delete 1 vendor account that I had put flag for deletation and now after I check
    in the vendor master data list, it is not appearing anymore. I guess the vendor master had been deleted.

  • CCM Display List Sort Order

    Hello All,
    when the CCM search screen is brought into the SRM the items are displayed without any default sort order. is there a way to configure a specific order when the list is first displayed? i know that clicking on the column will enable sorting, but i would like to know if there is any setting that can predetermine the sort order before the list is displayed in SRM.
    thx in advance for your answers.

    Greg: there is no Customizing setting you can control the sort order with. I feel your pain :). Short of modifying the system, the only way you may be able to achieve the desired functionality is BAdI /CCM/CSE_ENRICHMENT.
    Cheers,
    Serguei

  • Contact List sort order

    In previous Skype version, when adding a contact via searching a list is provided, which was sortable by name, country ..etc   It was easy then to sort by country for example to find the name in a specific country .. BUT new version does not offer this feature .. you have to browse through the displayed search results pag by page which is very tedious to close in your search ... PLEASE RETURN THE SORTABLE LIST RESULT for contact search

    If you received  reply, please share it.  I'd like to be able to sort contacts by their last name and don't know how to do that.  Do you?

  • LR Library Module - Folder List sort order

    As you can see above, the folders in the list are in apparently random order.  I cannot find any way to specify the sort sequence of this list.
    Suggestions?

    Try the following:
    Right-click one of these folders and click on "Add Parent folder".
    It will do that and then list the sub-folders of the parent-folder in alphabetical order.
    No other option than alphabetical order exists, it's just the same as in your OS.
    WW

  • Java library for large list sorts in small amount of memory

    Hi All
    Wondering whether anybody would know of a ready made java library for sorting large lists of objects. We will write ourselves if necessary but I'm hoping this is the sort of problem that has been solved a million times and may hopefully have been wrapped behind some nice interface
    What we need to do is something along the line of:
    Load a large list with objects (duh!)
    If that list fits into an allowed amount of memory great. Sort it and end of story.
    If it won't then have some mechanism for spilling over onto disk and perform the best sort algorithm possible given some spill over onto disk.
    These sorts need to be used in scenarios such as a random selection of 10% of the records in a 100G unsorted file and delivered sorted, with the jobs doing the sorts being limited to as little as 64MB of memory (these are extremes but ones that happen quite regularly).
    Some of you might think "just use a database". Been there. Done that. And for reasons beyond the scope of this post its a no goer.
    Thanking you for all your help in advance.

    Of course this kind of sorting was common back in days of yore when we had mainframes with less than 1MB or ram.
    The classic algorithm uses serveral files.
    1) Load as much as will fit
    2) sort it
    3) Write it to a temporary file
    4) Repeat from 1, altnerating output between two or three temp files.
    Your temporary files then each contain a series of sorted sequences (try saying that three times fast).
    You then merge these sequences into longer sequences, creating more temp files. Then merge the longer sequences into even longer ones, and so on until you're left with just the one sequence.
    Merging doesn't require any significant memory use however long the sequences. You only need to hold one record from each temp file being merged.

  • Query result list sort order in the Service Manager Portal (2012).

    Hi there,
    I have a setup a user prompt for a request offering in which the values are based on a query results list.  When the user prompt is displayed in the portal the order of the items presented based on my query results list is in reverse
    alphabetical order (Z to A) instead of traditional A to Z.  I can clicked the column header to toggle the sort order, however having to do this is slightly annoying.
    My query results list is based on returning the Department field of a specific criteria of template AD user accounts (which are imported into the CMDB via the AD Connector).
    Where and how is the sort order defined?
    Thanks
    Bryan

    Hi Bryan,
    After a quick test I can see the query results is in a descending order based on the first display column of the query results configuration. In the Request offering wizard I don't see an option for sorting. I don't think it is possible to configure this
    out of the box. 
    But maybe it is possible from a Self Service Portal rendering point of view. Maybe there is a key for it in the settings.xml just like the maximum of query results:
    http://blogs.technet.com/b/servicemanager/archive/2011/11/08/advanced-query-results-customization-for-request-offerings.aspx
    If this is possible I'm also curious to know how! :)
    - Dennis

Maybe you are looking for