Sort string in certain order in Crystal XI

Hi All
I have a report that lists all of our fleet in 'facilitycode' order. Like this;
101
1000
1001
110
1112
1113
111, etc.
The field is a string and I have found how to sort this through converting to a number. My problem is one facility code is '269.B'. I can't find a way to display in numerical order AND make allowances for letters. We will be encountering this problem a lot more and I want to get it sorted before end users launch an attack.
Appreciate any suggestions
duffey01

You can use the string function Val:
Val({table.field})
The Val (str) function reads a string containing Numbers and converts it to a decimal value. Val stops reading the string when it finds the first character in the string that it finds that it cannot recognize as a number or as a space.

Similar Messages

  • [C] Trying to sort string into reverse order ... Blank. [SOLVED]

    Here are the pre-processors:
    #include <stdio.h>
    #include <string.h>
    Here are the global variables:
    char output[999];
    Here's the function to sort string to reverse order (I THINK THE PROBLEM IS HERE):
    char output[999];
    char *sort_reverse(const char *str)
    int i, j = 0;
    for (i = strlen(str); i > 0; i--)
    output[j] = str[i];
    j++;
    return output;
    And, function int main(void):
    int main(void)
    printf("Reverse of \"Hello\": %s\n", sort_reverse("Hello"));
    return 0;
    The output is:
    Reverse of "Hello":
    Why is that? how can i fix that?
    Last edited by milo64 (2013-03-28 01:45:46)

    Instead of the global char output[999] wich is really big, you could allocate a perfectly sized array with calloc - like this in the sort_reverse function:
    char *output = calloc(strlen(input_string), sizeof(char));
    and in main program:
    char *reversed_string = sort_reverse("Whatever");
    printf("%s\n", reversed_string);
    //Remember to free reversed_string with
    free(reversed_string);
    //Since its allocated in the heap with calloc()
    Try check man-page for calloc, it will zero out the bytes aswell, then you wont have to worry about setting the last element to '\0'.
    NOTE: you have to iterate with "strlen(input_string) - 1" otherwise you will overwrite the needed '\0'
    EDIT:  As strlen excludes the '\0' in original string, then you have to make space for that by adding one to strlen return value so:
    char *output = calloc(strlen(input_string) + 1, sizeof(char));
    Last edited by Boogie (2013-04-05 09:46:12)

  • Sorting randomly genareted string in alphapetic order

    import java.util.*;
    public class test {
        public static char[] chars;
        public static Random random;
        static {
            chars = new char[26];//taking caracters from asci table
            for (int i = 0; i < 26; i ++) {
                chars[i] = (char) (97 + i);           
            random = new Random ();
        public static void main (String[] args) { //printing random characters
                for (int i = 1; i <= 10; i++ ) {                                                                          
                System.out.println(randomString(20)); 
        private static String randomString (int length) { //generating random
            char[] array = new char[length];
            for (int i = 0; i < length; i ++) {
                array[i] = chars[random.nextInt (chars.length)];
        return new String (array);
        i have this code.i found that in the forums and modified it a bit.but i have still problems to sort randomly genareted strings in alphabetic order.i have a method to do it.but i couldn't implement it correctly.the way that i try to sort them is
    void sort(String[] a) {
      for (int i=0; i<a.length-1; i++) {
         for (int j=i+1; j<a.length; j++) {
            if (a.compareTo(a[j]) > 0) {
    String temp=a[j];
    a[j]=a[i];
    a[i]=temp;
    thats a method i try to use but i couldn't put it in a correct place in the code and couldn't call him.always it gives error.pls help this unexprienced java user...

    Hard to understand your problems, because you're too vague. At one point you mention you don't know where to put your method, at another you say you don't know how to call your method. If that is the case (which seems unlikely but oh well) here's an example.
    public class Testing9 {
         public Testing9() { // constructor
              String basicString = "BasicExample";
              String sortedString = mySortMethod(basicString); // call mySortMethod passing the string
              System.out.println("sortedString = " + sortedString);
         public static void main(String[] args) { // main method starts app
              Testing9 app = new Testing9(); // calls constructor
         public String mySortMethod(String s) { // put the method here cause I feel like it
              String sortedString = "";
              // do your own work here to sort, etc....
              return sortedString;
    }

  • Sort String Field Mandatory in Production Order Components Screen

    Hi Gurus,
    Am currently working on ECC 6.0 environment.
    When I try to assign a batch to the components of the production order, the 'Sort String' is a mandatory field.
    Can you please suggest from where is this mandatory field is picked? Is it possible to populate the field automatically? Or how to make the 'Sort String' field not mandatory?
    In order type parameters (OPL8), standard parameters for display profiles are maintained.
    Have also tried to maintain user parameters like F1F, S3F and S5F without success.
    Your guidance please.
    Thanks in advance.
    The above mentioned problem does not occur if I try to create production order without reference of planned order using T Code CO01. This problem occurs only when I am converting planned order to production order.
    Note that have tried maintaining sort string in the BoM. The sort string gets picked up when am creating manual production orders. Not copied when converting planned orders to production orders.
    Tarang
    Edited by: Tarang Machhar on Sep 28, 2010 7:23 PM
    Edited by: Tarang Machhar on Sep 28, 2010 7:28 PM

    Hi Tarang,
    I think there is a transaction/screen variant maintained for that. Ask your ABAP team member to debug and check if there is any coding done to make it mandatory. There is no customizing for this one. There must be some code written to make it mandatory.
    But you are correct, if you maintain the sort string in BOM, it gets copied on to the planned order, the reservation and the production order as well.
    Regards,
    Pradeep.

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

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

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

  • Program to arrange 4 strings in ascending order .

    can any one gimme the code to arrage 4 strings in ascending order.

    create an internal table with a field of  character type of sufficient length..
    Now append the fields one after one.
    Use sort Table option to get the Required result.
    Code.
    Report XYZ.
    data : begin of t_table occurs 0 ,
             field(255) type c,
           end of t_table.
    field = 'abc'.
    append field.
    field = 'adcg'.
    append field.
    field = 'afeter'.
    append field.
    field = 'afar'.
    append field.
    sort t_table .
    Thanks and regards
    sharma Nittala
    Message was edited by:
            nsk sharma

  • How To: Sort Numbers in Ascending Order in a Generated List

    Greetings! How do I set up a Generated List of Paragraphs so that it sorts in true ascending order? What I want is:
    1.1
    1.2
    1.3
    1.4
    1.5
    1.6
    1.7
    1.8
    1.9
    1.10
    I have tried every trick I can think of with the sort order listed on the reference page. But all I can get is something that sorts by individual number (ignoring the numeric value) like:
    1.1
    1.10
    1.11
    1.2
    1.20
    1.21
    1.3
    Any help is much appreciated!

    Hello there, Michael! Thanks so much for looking at my post! Alas, the LOP will not work. I should have explained more, but it was so complicated I thought folks would give up reading.
    Here's the best I can render it without getting permission to share a good example document. I do not blame anyone if it's too cumbersome or convoluted to wade through...
    This is a requirements document which has sort of a "legal" tinge to it--as the document evolves we must maintain traceability for individual requirements. This means, for example:
    Version 1 - I have requirements 1 and 2.
    Version 2 - I need to add a new requirement, which should appear before requirement 1 in the document. Even though it comes before requirement 1 in the document, numerically it will be requirement 3 and requirement 1 will remain requirement 1.
    Version 3 - I need to remove requirement 2. Even though I now have only 2 requirements, their numbers will not change (they remain requirements 1 and 3, appearing in reverse order).
    Version 4 - I need to move requirement 3 to be after requirement 1. Again, the requirements keep their original number, even though their position has changed and there is no longer a "requirement 2" number in use.
    Originally, I told the team (I'm doing this for a different dept), that they would have to hand-number requirements, which they did for a while. But that was getting very cumbersome, and the scenarios above are limited to one or two occurrences per document. So I created an auto-number sequence for them to use in the initial version and added a little smoke-and-mirrors work process to take care of changes in later versions. The last bit of chicanery I cannot get to work is the index...
    Even if there are no changes to the requirements after the initial version, the index still does not sort in ascending numeric order. It was working with the hand-numbered requirements because they were using leading zeros. But without being able to include leading zeros in the auto-numbering formats (I tried the "use a zero as a tab leader" solution and like to have thrown my new monitor out of the window), I cannot find a solution.
    Or rather, I think the solution is "you have to hand-number requirements".
    For anyone who has made it this far, I truly appreciate your time and patience!
    SFT

  • Sort field in maintenance order

    Hello;
    I want to make sort field in maintenance order as a mandatory field. But if I make it as a mandatory field, system still allows me to save the order as long as I have not clicked 'Location' tab. So there is no positive control over this field. May I know, how do I achieve this? I have even tried to put order type as the influencing field but it does not help.
    Points assured.
    Regards
    Hemant

    Hello Hemant,
    access to the SAP service marketplace via www.service.sap.com to create an OSS message. Choose link "product errors". Therefore you need an OSS user and you have to be authorized to create OSS messages.
    To create an user-exit, you have to go to transaction CMOD. There you have to create a project and assign the enhancement you want to use (I'm not really sure, but I think IWO10009 is the correct one in your case - you can search the user-exits via transaction SMOD - search for IWO*).
    After this you have to implement your coding and then you have to activate the project.
    The implementation of the user-exit should be done by an ABAP developer.
    By the way - I've had a look at the OSS. There's note 768576.
    Reason and Prerequisites
    The problem is caused by a missing function.
    Influences set via field selection will only become effective if a screen with the corresponding fields is processed. You must also refer to the documentation defined in the corresponding Customizing area. For the location & account assignment data, no additional check is (such as with the general order header data) is realised during the saving.
    Prerequisite
    Via field selection you declared fields of the location & account assignment data as mandatory field, and no screen that contains these fields was passed.
    Solution
    By means of the example code, you must implement a corresponding mandatory field check via customer enhancement IWO10009 at the time of the order backup.
    1. Create subroutine Z_IWO10009_GET_DATA_FOR_FAW in program SAPMILA0. It would be best if you create an own include ZMILA0F1 for this so that you will not have any unnecessary expenditure for future Support Packages (via Transaction SE80).
    FORM Z_IWO10009_GET_DATA_FOR_FAW.
      CALL FUNCTION 'CO_IH_GET_HEADER'
           IMPORTING
                     CAUFVD_IMP = CAUFVD.
      CALL FUNCTION 'CO_IH_GET_ILOA'
           EXPORTING
                     CAUFVD_IMP = CAUFVD
           IMPORTING
                    ILOA_WA    = ILOA.
    ENDFORM.                    "Z_IWO10009_GET_DATA_FOR_FAW
    2. Create the following source code in customer enhancement IWO10009:
    STATICS: XTFAWF LIKE TFAWF OCCURS 0 WITH HEADER LINE.
    tables:  tfawf.
    DATA: wa_screen    LIKE screen.
    FIELD-SYMBOLS:  'A'.
      perform Z_IWO10009_GET_DATA_FOR_FAW(SAPMILA0).
      if xtfawf[] is initial.
        SELECT * FROM TFAWF INTO TABLE XTFAWF
                 WHERE PROG = 'SAPMILA0'.
      endif.
      LOOP AT XTFAWF WHERE CUST_M = 'X'.
        CALL FUNCTION 'FIELD_SELECTION_INFLUENCE'
             EXPORTING
                  dynprogruppe = '7   '
                  mode        = 'C'
                  modulpool    = 'SAPMILA0'
                  fieldname    =  XTFAWF-MFELD
             IMPORTING
                  input        = wa_screen-input
                  output      = wa_screen-output
                  active      = wa_screen-active
                  required    = wa_screen-required
                  intensified  = wa_screen-intensified
                  invisible    = wa_screen-invisible
             EXCEPTIONS
                  OTHERS      = 1.
        if wa_screen-required = 1.
          clear lv_mfeld.
          lv_mfeld = 'CAUFVD_IMP-'.
          case XTFAWF-MFELD.
            when 'ILOA-AUFNR'.
              lv_mfeld+11 = 'IAUFNR'.
            when 'ILOA-KOKRS'.
              lv_mfeld+11 = 'IKOKRS'.
            when 'ILOA-BUKRS'.
              lv_mfeld+11 = 'IBUKRS'.
            when 'ILOA-GSBER'.
              lv_mfeld+11 = 'IGSBER'.
            when 'RILA0-ARBPL'.
              lv_mfeld11 = xtfawf-mfeld6.
            when others.
              lv_mfeld11 = xtfawf-mfeld5.
          endcase.
          ASSIGN (lv_mfeld) TO  IS INITIAL.
            Message E461(IW)
            with 'Mussfelder der Standort&Kontierungsdaten füllen'.
            EXIT.
          ENDIF.
        endif.
      endloop.
    endif.
    3. Activate the changes
    Correspondingly you can implement this solution also for the order release, for example, via customer enhancement IWO10002.
    Bear in mind that this is a source code proposal. It might be useful or necessary to adjust this source code to special applications.
    Best regards
    Stephan
    Edited by: Stephan Theis on Jan 5, 2008 11:20 AM

  • How to sort data in descending order when user clicks on the column heading

    Hi
    I have a report called "Top customers", which shows the top customers for a specific product line. It displays the customer name and one column with the total amount spent in the period for each product line. By default, the leftmost product line is sorted in descending order.
    If the user wants to know who are the top customers for another product line, they simply click on the column heading to sort the list by that column.
    The problem is that when you click for the first time on a sortable column heading, Apex sorts it in ascending order; you need to click on the same column heading again to sort in descending order.
    Is it possible to change this behaviour and sort the data in descending order in the first click? So the users don't have to click twice...
    Thanks
    Luis
    PS: Apex 3 running on Oracle 10.2.0

    Luis,
    See: Can I "catch" a click on a sortable column header of a report?
    Take a look at Anton Nielsen's answer with regards to hiding a column and displaying its value instead of the sortable column.
    Asumming the following simple report query:
    select product,sales
    from <table>
    Change that into:
    select product
    ,sales*-1 as reverse_sales -- Select this one as an extra column
    ,sales -- Hide this column
    from <table>
    In your report column attributes (of column reverse_sales), html-expression, type #sales#. It then displays the normal sales. However apex will generate a 'order by 2 asc' for the first time. The '2' will refer to the sales*-1 value: sorting it asc, is the same as sorting sales descending...
    Toon

  • Remove tokens from string and sort string via  XSLT mapping

    Hi,
    I have a requirement wherein I need to sort the records in an XML file with customer num & order number.
    The value of order number is concatenation of order and item like: 3249_110 , 3249_10, 3290_110,3290_10 and so on.
    Expected result:
    3249_10
    3249_110
    3290_10
    3290_110
    The sort on order number is not giving correct result as its not considering it as an number and the output I am getting is:
    3249_110
    3249_10
    3290_110
    3290_10
    code used:
    <xsl:for-each select="DELIVERYHEADER">
                   <xsl:sort select="./EXTCUSTOMERNO"/>
                   <xsl:sort data-type="number" order="ascending" select="/EXTORDERNO"/>
                   <xsl:copy-of select=".">
                   </xsl:copy-of>
    Please suggest.
    Thanks!
    Indu Khurana

    Source:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <ORIONSHIPMENTS>
         <TRIP>
              <ACTION>I</ACTION>
              <SHIFTNO>1</SHIFTNO>
              <SEQUENCENO>1</SEQUENCENO>
              <DATE>2010-12-20 00:00:00</DATE>
              <STARTDATE>2010-12-20 06:00:00</STARTDATE>
              <ENDDATE>2010-12-20 14:54:00</ENDDATE>
              <TRIPNO>10</TRIPNO>
              <TRIPMNEMONIC/>
              <DRIVERID>DRIVERORT2</DRIVERID>
              <DRIVERNO>DRIVERORT2</DRIVERNO>
              <EXTDRIVERNO>12345</EXTDRIVERNO>
              <TRUCKID>Truck 01</TRUCKID>
              <TRUCKNO>Truck 01</TRUCKNO>
              <EXTTRUCKNO>5002053</EXTTRUCKNO>
              <TRAILERID>Trailer 2</TRAILERID>
              <TRAILERNO>Trailer 2</TRAILERNO>
              <EXTTRAILERNO>ORTEC00002</EXTTRAILERNO>
              <DELIVERYCT>2</DELIVERYCT>
              <LOADCT>1</LOADCT>
              <STARTDEPOTNO>GHENT_N</STARTDEPOTNO>
              <EXTSTARTDEPOTNO>4020</EXTSTARTDEPOTNO>
              <ENDDEPOTNO>GHENT_N</ENDDEPOTNO>
              <EXTENDDEPOTNO>4020</EXTENDDEPOTNO>
              <STARTLOCATIONNO>GHENT_N</STARTLOCATIONNO>
              <EXTSTARTLOCATIONNO>4020</EXTSTARTLOCATIONNO>
              <ENDLOCATIONNO>GHENT_N</ENDLOCATIONNO>
              <EXTENDLOCATIONNO/>
              <ANCILLARYTIME>0</ANCILLARYTIME>
              <LOADINGTIME>0</LOADINGTIME>
              <DISCHARGETIME>245</DISCHARGETIME>
              <DRIVETIME>289</DRIVETIME>
              <DISTANCE>0</DISTANCE>
              <LOADINGSTARTED>0</LOADINGSTARTED>
              <COMMENT/>
              <LOAD>
                   <ACTION>I</ACTION>
                   <LOADID />
                   <LOADIDADD />
                   <SEQUENCENO>0</SEQUENCENO>
                   <LOADINGDEPOTNO>GHENT_N</LOADINGDEPOTNO>
                   <EXTLOADINGDEPOTNO>4020</EXTLOADINGDEPOTNO>
                   <LOADINGPOINT />
                   <AUTHORISATIONCODE />
                   <COMPARTMENTTO>
                        <COMPARTMENTNO>1</COMPARTMENTNO>
                        <PRODUCTNO>401611</PRODUCTNO>
                        <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                        <VOLUME>65</VOLUME>
                        <UOM>LT</UOM>
                   </COMPARTMENTTO>
              </LOAD>
              <DELIVERYHEADER>
                   <ACTION>I</ACTION>
                   <SEQUENCENO>1</SEQUENCENO>
                   <ORDERNO>3949_20</ORDERNO>
                   <EXTORDERNO>3949_201</EXTORDERNO>
                   <CUSTORDERNO>01.01 Crea</CUSTORDERNO>
                   <CUSTOMERNO>0050000001</CUSTOMERNO>
                   <EXTCUSTOMERNO>0050000001</EXTCUSTOMERNO>
                   <DELIVERYNAME>TEST ORTEC</DELIVERYNAME>
                   <DELIVERYADDRESS1>Rue de Belgique</DELIVERYADDRESS1>
                   <DELIVERYADDRESS2/>
                   <DELIVERYADDRESS3/>
                   <DELIVERYPOSTCODE/>
                   <DELIVERYTOWN/>
                   <DELIVERYCOUNTRY>BE</DELIVERYCOUNTRY>
                   <INVOICENAME/>
                   <INVOICEADDRESS1/>
                   <INVOICEADDRESS2/>
                   <INVOICEADDRESS3/>
                   <INVOICEPOSTCODE/>
                   <INVOICETOWN/>
                   <INVOICECOUNTRY/>
                   <PHONENUMBER1/>
                   <PHONENUMBER2>0</PHONENUMBER2>
                   <TAXCODE />
                   <CUSTOMERCOMMENTS>0013</CUSTOMERCOMMENTS>
                   <DELIVERYCOMMENTS/>
                   <DOCUMENTTYPE>2</DOCUMENTTYPE>
                   <DELIVERYWINDOWSTARTDATE>2010-12-20 00:00:00</DELIVERYWINDOWSTARTDATE>
                   <DELIVERYWINDOWENDDATE>2010-12-20 23:59:00</DELIVERYWINDOWENDDATE>
                   <DELIVERYLINECT>1</DELIVERYLINECT>
                   <DELIVERYAUTHORISATIONREQUIRED/>
                   <CUSTOMERLANGUAGE/>
                   <CONTACTNAME/>
                   <COMPANYREFERENCE/>
                   <CUSTOMERTAXNO/>
                   <FISCALDELIVERY>0</FISCALDELIVERY>
                   <PAYMENTMETHOD>0</PAYMENTMETHOD>
                   <PAYMENTDAYSDUE>999</PAYMENTDAYSDUE>
                   <CURRENCY/>
                   <CALLBEFOREDELIVERY>0</CALLBEFOREDELIVERY>
                   <GEOFENCEDISTANCE>0</GEOFENCEDISTANCE>
                   <GEOFENCEPHONE/>
                   <SITEACCESSGRADE/>
                   <NORMALTAXRATE/>
                   <SPECIALTAXRATE>0</SPECIALTAXRATE>
                   <DISCOUNT>0</DISCOUNT>
                   <SIGNATURECAPTURED/>
                   <DISTANCELOADINGDEPOT>184</DISTANCELOADINGDEPOT>
                   <DRIVETIMELOADINGDEPOT>145</DRIVETIMELOADINGDEPOT>
                   <DISTANCENEXTSTOP>0</DISTANCENEXTSTOP>
                   <DRIVETIMENEXTSTOP>0</DRIVETIMENEXTSTOP>
                   <LOADRELEVANT/>
                   <DELIVERYLINE>
                        <ACTION>I</ACTION>
                        <MOVEMENTNO>3949_20001</MOVEMENTNO>
                        <EXTMOVEMENTNO>3949_20</EXTMOVEMENTNO>
                        <PRODUCTNO>401611</PRODUCTNO>
                        <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                        <PLANNEDQTY>20</PLANNEDQTY>
                        <UOM>LT</UOM>
                        <PRICEPERUNIT/>
                        <DISCOUNT/>
                        <COMMENTS/>
                        <COMPARTMENTFROM>
                             <COMPARTMENTNO>1</COMPARTMENTNO>
                             <VOLUME>0</VOLUME>
                             <TANKNO>1</TANKNO>
                             <EXTTANKNO>1</EXTTANKNO>
                             <TANKID>259454</TANKID>
                             <TANKLABEL/>
                             <PRODUCTNO>401611</PRODUCTNO>
                             <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                             <UOM>LT</UOM>
                        </COMPARTMENTFROM>
                   </DELIVERYLINE>
              </DELIVERYHEADER>
              <DELIVERYHEADER>
                   <ACTION>I</ACTION>
                   <SEQUENCENO>2</SEQUENCENO>
                   <ORDERNO>3949_110</ORDERNO>
                   <EXTORDERNO>3949_110</EXTORDERNO>
                   <CUSTORDERNO>01.01 Crea</CUSTORDERNO>
                   <CUSTOMERNO>0050000001</CUSTOMERNO>
                   <EXTCUSTOMERNO>0050000001</EXTCUSTOMERNO>
                   <DELIVERYNAME>TEST ORTEC</DELIVERYNAME>
                   <DELIVERYADDRESS1>Rue de Belgique</DELIVERYADDRESS1>
                   <DELIVERYADDRESS2/>
                   <DELIVERYADDRESS3/>
                   <DELIVERYPOSTCODE/>
                   <DELIVERYTOWN/>
                   <DELIVERYCOUNTRY>BE</DELIVERYCOUNTRY>
                   <INVOICENAME/>
                   <INVOICEADDRESS1/>
                   <INVOICEADDRESS2/>
                   <INVOICEADDRESS3/>
                   <INVOICEPOSTCODE/>
                   <INVOICETOWN/>
                   <INVOICECOUNTRY/>
                   <PHONENUMBER1/>
                   <PHONENUMBER2>0</PHONENUMBER2>
                   <TAXCODE />
                   <CUSTOMERCOMMENTS>0013</CUSTOMERCOMMENTS>
                   <DELIVERYCOMMENTS/>
                   <DOCUMENTTYPE>2</DOCUMENTTYPE>
                   <DELIVERYWINDOWSTARTDATE>2010-12-20 00:00:00</DELIVERYWINDOWSTARTDATE>
                   <DELIVERYWINDOWENDDATE>2010-12-20 23:59:00</DELIVERYWINDOWENDDATE>
                   <DELIVERYLINECT>1</DELIVERYLINECT>
                   <DELIVERYAUTHORISATIONREQUIRED/>
                   <CUSTOMERLANGUAGE/>
                   <CONTACTNAME/>
                   <COMPANYREFERENCE/>
                   <CUSTOMERTAXNO/>
                   <FISCALDELIVERY>0</FISCALDELIVERY>
                   <PAYMENTMETHOD>0</PAYMENTMETHOD>
                   <PAYMENTDAYSDUE>999</PAYMENTDAYSDUE>
                   <CURRENCY/>
                   <CALLBEFOREDELIVERY>0</CALLBEFOREDELIVERY>
                   <GEOFENCEDISTANCE>0</GEOFENCEDISTANCE>
                   <GEOFENCEPHONE/>
                   <SITEACCESSGRADE/>
                   <NORMALTAXRATE/>
                   <SPECIALTAXRATE>0</SPECIALTAXRATE>
                   <DISCOUNT>0</DISCOUNT>
                   <SIGNATURECAPTURED/>
                   <DISTANCELOADINGDEPOT>184</DISTANCELOADINGDEPOT>
                   <DRIVETIMELOADINGDEPOT>145</DRIVETIMELOADINGDEPOT>
                   <DISTANCENEXTSTOP>173</DISTANCENEXTSTOP>
                   <DRIVETIMENEXTSTOP>144</DRIVETIMENEXTSTOP>
                   <LOADRELEVANT/>
                   <DELIVERYLINE>
                        <ACTION>I</ACTION>
                        <MOVEMENTNO>3949_110001</MOVEMENTNO>
                        <EXTMOVEMENTNO>3949_110</EXTMOVEMENTNO>
                        <PRODUCTNO>401611</PRODUCTNO>
                        <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                        <PLANNEDQTY>45</PLANNEDQTY>
                        <UOM>LT</UOM>
                        <PRICEPERUNIT/>
                        <DISCOUNT/>
                        <COMMENTS/>
                        <COMPARTMENTFROM>
                             <COMPARTMENTNO>1</COMPARTMENTNO>
                             <VOLUME>0</VOLUME>
                             <TANKNO>1</TANKNO>
                             <EXTTANKNO>1</EXTTANKNO>
                             <TANKID>259454</TANKID>
                             <TANKLABEL/>
                             <PRODUCTNO>401611</PRODUCTNO>
                             <EXTPRODUCTNO>000000000000401611</EXTPRODUCTNO>
                             <UOM>LT</UOM>
                        </COMPARTMENTFROM>
                   </DELIVERYLINE>
              </DELIVERYHEADER>
         </TRIP>
    </ORIONSHIPMENTS>

  • Re-sorting albums in chronological order?

    I used to have all my iPhoto '09 albums organized in chronological order, I just added a new one to the bottom every month or so.
    Unfortunately, I did something and now they're all in alphabetical order:
    April 2008
    April 2009
    August 2008
    August 2009
    You get the idea.
    How can I re-sort them into chronological order?

    do it manually
    or
    rename them so the alpha sort works
    2009-08-31
    2009-08-21
    2009-07-04
    etc
    There is no date sort - on alpha and it can not be undone
    Suggest to Apple -- iPhoto menu ==> provide iPhoto feedback
    LN

  • Playing songs in a certain order

    We're having a 70's party and want to play a game where we play clips of 70's TV shows and people have to guess the song. Is there an easy way to create a playlist that plays in a certain order other than alphabetically? I don't want to do random as we are going to play a few seconds at first, then go back and play the songs for a longer time and want the songs in the same order as the first time.
    Thanks!
         

    Whatever order you place the songs in the playlist in iTunes will be reflected with the playlist on the iPhone after syncing. Select and drag/place the songs in whatever order you want the songs to be in the playlist in iTunes followed by a sync.

  • Sort albums in recorded order?

    This is one thing that annoys me and hopefully there's a solution. Perhaps a script?
    Some albums (say Dark Side of the Moon for instance) MUST be played in the order that was on the album/tape/CD, whatever. I have a huge library and would love to be able to sort the albums I have in the order they SHOULD be. I already spend waaaay too much time sorting my library and making sure everything is perfect but, I can only get so anal about it.
    Is there possibly a script that could sort albums into the order that the artists recorded them in? I'm thinking something that could search Amazon for albums, see the order of the songs and sort accordingly. Nice thought eh? I realize the odds of this being around are about nil but, is there any progress on something like this or a place to look? Doug's Scripts doesn't have anything that I can see along these lines.

    On some tunes, yes. On others, no. Some have track
    numbers in correct order. Some have no track numbers.
    Aha. If you have albums without track numbers, well of course iTunes won't play them in the correct order — it doesn't know what the correct order is! Every album track needs to have the "Track Number X of Y" fields filled out; otherwise, iTunes has no way of ordering the tracks within an album.
    These fields should be filled in automatically when iTunes rips your CDs, since all of the track numbers are available from the CDDB. If they're not, then, yes, you'll need to edit them by hand. (I can say for sure that "Dark Side of the Moon" is in the CDDB, though, so re-importing the CD while you're connected to the internet should get you your track numbers.)

  • Is it possible to sort dimension values in order different from alphabetic?

    Is it possible to sort dimension values in order different from alphabetic. &#1058;&#1086; use this sorting in BI Beans. In 10g r2 with awm 10.2.0.2. I try to add attribute like it was show in this forum, but nothing changes.

    Could be usefull if you use java AW api... here's the java code I'm using to create the sort_order attribute
    Dimension myDim = yourAW.findDimension("DIMNAME");
    Attribute myAttr = myDim.createAttribute();
    myAttr.setName("freename");
    myAttr.setClassification("DEFAULT_ORDER");
    myAttr.setIsDefaultOrder(true); // TO NOT FORGET
    myAttr.setDataType("INTEGER");
    myAttr.Create(AWConnection);
    globalAW.Commit(AWConnection);
    It creates a variable - integer - that defines the default order of the dim values. I'm viewing it with AWM and BIBeans. The order is respected with Level-based and Value-based hierarchy but my hierarchies are really simple and unique for all the dimensions.
    BUT !!!! Be carefull, if you don't have any hierarchy in your dimension, you must have at least one level - the default NONE level. Otherwise, it won't work ???

  • I created an album in iPhoto 11 and I have placed photos in a certain order for her graduation party slideshow. I want to place that album or photos on a thumbdrive, but when I do I lose the order I placed them in the folder.

    I created an album in iPhoto 11 and I have placed photos in a certain order for her graduation party slideshow. I want to place that album or photos on a thumbdrive, but when I do I lose the order I placed them in the folder.  renamed the photos starting with 1 and ending 262. thinking that would save the photos in order. Each time I try to export them that are placed in original folder names and descriptions need help.

    This is a two part process. First we title the photos, then we export them, using the title as filename.
    To title them
    Once you have then in the order you want select them all and go
    Photos -> Batch Change. Select set 'Title' to 'Text'
    Choose a Title -> Graduation 2013 or whatever, then check the box at 'Append number to each photo.
    Now, in the Album all your photos are named... Graduation 001, 002, 003 etc
    Next Export them:
    File -> Export, and in the Name option, choose 'Title as Filename' and complete the export.
    Regards
    TD

Maybe you are looking for