How to implement line numbers in order acknowledge report

Hi all,
        I am newbie to Oracle Reports.
I have an order acknowledgement report in which i show columns like
line number
Ordered item
ship from
quantity
unit price
extended price
In above table format i need to show line numbers as 1.1
                                                                              1.2
                                                                              1.3....                        
                                                                               2.1
                                                                               2.2
                                                                               2.3....
so, how can i achieve this functionality
Thanks

That still doesn't say much. How do you need to get from line number in your table to line number on the report? Give an example of your data.
I can give you an example:
with line_numbers as (
  select 11 lineno from dual
  union all
  select 12 lineno from dual
  union all
  select 13 lineno from dual
  union all
  select 21 lineno from dual
select lineno /10 lineno
from line_numbers
order by lineno
LINENO
1.1
1.2
1.3
2.1

Similar Messages

  • How to see the customer purchase order acknowledgement ?

    How to see the customer purchase order acknowledgement ?
    in that PO ACK where we see the UOM and Qty ?
    thanks & regards,
    Srikanth.

    hi
    Customer Purchase Order is nothing but the Sales Order in your system
    Customer Po acknowledgement is nothing but the Acknowledgement that is sent out (output type BA00) to the Customer after the Sales Order has been created.
    Note: Purchase is to Customer - Sales is to you as the Vendor.
    cheers
    Nandu
    Edited by: Nanda Kumar Veeraraghavan on Apr 1, 2008 12:11 AM

  • Sales Order Acknowledgement Reports

    Has anyone had any problems printing Sales Order Acknowledgement Reports after upgrading to OE Patchset H?

    Has anyone had any problems printing Sales Order Acknowledgement Reports after upgrading to OE Patchset H?

  • How to print line numbers in NWDS for Java?

    Hi everyone,
    does someone know how to print out program code with line numbers from the Netweaver Developer Studio for Java? This is inevitable for code reviews.
    In Eclipse 3.4 this issue is solved. Is there possibly such a patch for NWDS as well?
    Thanks,
    Maria

    Hi Pascal,
    thanks for the quick reply. The setting you mention displays line numbers on the screen alright, but printing out does not work.
    We use: SAP NetWeaver Developer Studio for SAP NetWeaver 7.1 SP06 PAT0000, Build id: 200807051938.
    I guess it just does not work, because it was fixed only for Eclipse 3.4, and the above NWDS version bases on Eclipse 3.3.
    What do you recommend for code inspections - copy/paste into PSPad or do you know a more comfortable practice?
    Greetings
    Maria

  • How to implement Line number in JTextArea

    Hi
    I have seen some JTextArea with Line numbers How to do it
    Thankx

    I'm playing around with trying to make a Line Number component that will work with JTextArea, JTextPane, JTable etc. I'm not there yet, but this version works pretty good with JTextArea. At least it will give you some ideas.
    Good luck.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.text.*;
    public class LineNumber extends JComponent
         private final static Color DEFAULT_BACKGROUND = new Color(230, 163, 4);
         private final static Color DEFAULT_FOREGROUND = Color.black;
         private final static Font DEFAULT_FONT = new Font("monospaced", Font.PLAIN, 12);
         // LineNumber height (abends when I use MAX_VALUE)
         private final static int HEIGHT = Integer.MAX_VALUE - 1000000;
         // Set right/left margin
         private final static int MARGIN = 5;
         // Line height of this LineNumber component
         private int lineHeight;
         // Line height of this LineNumber component
         private int fontLineHeight;
         private int currentRowWidth;
         // Metrics of this LineNumber component
         private FontMetrics fontMetrics;
         *     Convenience constructor for Text Components
         public LineNumber(JComponent component)
              if (component == null)
                   setBackground( DEFAULT_BACKGROUND );
                   setForeground( DEFAULT_FOREGROUND );
                   setFont( DEFAULT_FONT );
              else
                   setBackground( DEFAULT_BACKGROUND );
                   setForeground( component.getForeground() );
                   setFont( component.getFont() );
              setPreferredSize( 9999 );
         public void setPreferredSize(int row)
              int width = fontMetrics.stringWidth( String.valueOf(row) );
              if (currentRowWidth < width)
                   currentRowWidth = width;
                   setPreferredSize( new Dimension(2 * MARGIN + width, HEIGHT) );
         public void setFont(Font font)
              super.setFont(font);
              fontMetrics = getFontMetrics( getFont() );
              fontLineHeight = fontMetrics.getHeight();
         * The line height defaults to the line height of the font for this
         * component. The line height can be overridden by setting it to a
         * positive non-zero value.
         public int getLineHeight()
              if (lineHeight == 0)
                   return fontLineHeight;
              else
                   return lineHeight;
         public void setLineHeight(int lineHeight)
              if (lineHeight > 0)
                   this.lineHeight = lineHeight;
         public int getStartOffset()
              return 4;
         public void paintComponent(Graphics g)
              int lineHeight = getLineHeight();
              int startOffset = getStartOffset();
              Rectangle drawHere = g.getClipBounds();
    //          System.out.println( drawHere );
    // Paint the background
    g.setColor( getBackground() );
    g.fillRect(drawHere.x, drawHere.y, drawHere.width, drawHere.height);
              // Determine the number of lines to draw in the foreground.
    g.setColor( getForeground() );
              int startLineNumber = (drawHere.y / lineHeight) + 1;
              int endLineNumber = startLineNumber + (drawHere.height / lineHeight);
              int start = (drawHere.y / lineHeight) * lineHeight + lineHeight - startOffset;
    //          System.out.println( startLineNumber + " : " + endLineNumber + " : " + start );
              for (int i = startLineNumber; i <= endLineNumber; i++)
                   String lineNumber = String.valueOf(i);
                   int width = fontMetrics.stringWidth( lineNumber );
                   g.drawString(lineNumber, MARGIN + currentRowWidth - width, start);
                   start += lineHeight;
              setPreferredSize( endLineNumber );
         public static void main(String[] args)
              JFrame frame = new JFrame("LineNumberDemo");
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              JPanel panel = new JPanel();
              frame.setContentPane( panel );
              panel.setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
              panel.setLayout(new BorderLayout());
              JTextArea textPane = new JTextArea();
              JScrollPane scrollPane = new JScrollPane(textPane);
              panel.add(scrollPane);
              scrollPane.setPreferredSize(new Dimension(300, 250));
              LineNumber lineNumber = new LineNumber( textPane );
              lineNumber.setPreferredSize(99999);
              scrollPane.setRowHeaderView( lineNumber );
              frame.pack();
              frame.setVisible(true);

  • How to implement authorization at sales order/projects level?

    If we open a sales order in VA02 and then try to open the same sales order in another session in VA02, there will be a message that the sales order is being processed. 
    I wish to implement similar functionality in my application which consists of editable report. 
    I tried to debug the situation in VA02 case mentioned above, to know something more about it, but could not understand anything!
    I know that lock objects can be helpful in this, but in my case there can a be range of sales orders (and projects within a range of profit centers). 
    How to implement such a functionality?
    Edited by: Ankit Modi on Dec 30, 2009 10:54 AM
    Edited by: Ankit Modi on Dec 30, 2009 10:55 AM

    @ Max -
    Yes Max, but the problem is that I want the lock on many sales orders at a time.  Its like, there is a report in which many rows (for sales orders) are editable.  I want all those to be locked at a time. This will not work by Lock object, I believe...
    @ Soumya -
    Yes Soumya, but, as I explained above, I want a range of sales orders rather than a sales order in particular.  That will not work by lock object.  Right?

  • How to insert line numbers in InDesign CS5

    I am creating a document that needs to have line numbers appear every for every 5 lines of text. Using the list function, I can get a number for every line, but can't find a way to just number line 5, 10, 15, 20, etc.
    All help appreciated,
    Cathy

    Thanks for the prompt reply, Bob, but from what I read in the comments on the script is that it inserts line numbers for every line and has no options for customizing to show numbers for only lines 5, 10, 15, etc. Also, using the list function in InDesign on selected text I can get the same result (including multi page if I select all text) and then convert the auto list numbers to text, which would allow me to remove unwanted numbers and leave just the ones I need (although that would be a painful manual process for a longer document.).
    Am I missing something about the script?
    I must admit that I'm shocked that this isn't a built in capability in InDesign!

  • How to get Line numbers in KVM stack traces

    Hello!
    I am fairly new to kvm programming and might have missed the obvious. When my program dumps a stack trace under kvm it gives me an offset (I dont know what the number corresponds to) from the method but not source line numbers like I am used to seeing under J2SE. I complie the code using -g and run it using kvm_g. For example, I see soemething like
    java.lang.NullPointerException
    at myclass.mymethod(+5)
    at parentclass.parentmethod(+10)
    Where I dont know what the +5 or +10 stand for as it relates to my source code.
    Can somebody help with trying to correlate the stack trace to my source code.
    Thanks.
    Ranga.

    I would like to know too. Has anyone found an answer?

  • How to change line item column order in FV50

    Hi,
    I need to change the line item column order in GL document entry screen. I tried drag and drop but it didn't work for all the columns. Is there a setting I can change for all the users?
    Thanks for the help.

    It does not work for all the column, but those columns that you can change can be fixed. First change the column to the desired sequence, then click on small icon at the right end of the column. When you take the cursor over that corner icon, it displays "configuration".
    There, give a zname and enable set as default. and save.

  • R12 - How to customize the seeded Purchase Order PDF report

    Hi,
    We need to customize the layout AND the data of the seeded Purchase Order pdf report that is generated in PO Summary form when user picks drop-down menu Inquire->View Document. I know how to set up the Document Type with a customized layout but I do not know how to update the XML data that feeds the layout.
    Thanks, Mike

    Mike,
    Please review the following documents.
    Note: 374165.1 - How To Customize The PDF Output For Printed Purchase Order Report (Portrait) ?
    Note: 406094.1 - How To Diagnose Issues Within Oracle Purchasing PDF File Creation for Printing
    Regards,
    Hussein

  • How to copy line items from one expense report to the next

    I travel to the same project/destination every week so in PR05, I was able to just copy the previous expense report for the new week and edit the expense values. Now, when I book travel, the air line booking starts a new expense report entry.
    Is there a way to copy the employee-paid expenses to the GetThere-generated trip entry expense report, i.e. just copy the line items from one expense report to another that already exists. I guess that would be a merge function.

    Hi Tom,
    Here are two alternative solutions:
    Alternative 1:
    If you copy the expense report before you book the services (flight, hotel …)
    in GetThere, then the airline or hotel bookings will not start a new expense
    report but will be assigned to the copied expense report.
    Alternative 2:
    This alternative is a bit laborious.
    Shift the start date and end date of the expense
    report  that was automatically created by
    your flight booking for next week (e.g. Calendar Week (CW)  47) to the week after next week (e.g. CW 48).
    Copy the expense report of the previous week (e.g.
    46)
    Afterwards open the expense report that you
    moved to CW 48 and click on the tab strip itinerary
    Now assign the bookings (flight, hotel …) to the
    expense report of CW 47 by clicking on the button assign to existing trip
    Later delete the expense report in CW 48
    Get back to me if you have any questions concerning the alternatives outlined
    above.
    Note:
    These solution alternatives are only available for customes using HTML5 UIs.

  • How to implement line selectability for a table control using table Wizard?

    Hello SDN Community,
    I have created a table control using the Table Wizard.  I found my exact question in this forum, but unfortunately it had not been andsered.  While I cannot paste a screen-print into this plane-text area, here are the steps I followed...
    1) SE51
    2) Create new screen 0100
    3) Click Layout button
    4) Clidk Table Control (with Wizard) and draw box on canvas.
    5) Step is "Start" - click Continue
    6) Step is "Name of Table Control" - provided name
    7) Step is "Table Name" - provided name of dictionary table (AUFK)
    8) Step is "Definition of Columns" - selected order numver and order text
    9) Step is "Table Control Attributes" - Line Selectability is in display mode - cannot set it.
    I would like to have a selectability column for my table.  Would appreciate any insight into how to do this.
    Thank you,
    Dean Atteberry.

    This is a puzzling...
    For the table control wizard, in the Table Control Attributes step, I was able to get line selectability to open up by declaring a char01 data element at the beginning of my type.
    The puzzling is in regards to the "Selection col. fld" entry field.
    If I leave it blank and try to go to the next step, I get message "Enter the name of the selection column if you are using a program table"
    So it looked like it wanted to know the name of my selection column.  So I type in "CHAR1".  and got the message "The field "CHAR1" for the selection column is already contained in the table."
    Hmmmmm.... don't understand............
    Dean Atteberry.

  • Recursive Loops - How to implement "Lucas Numbers" Algorithm?

    Hey,
    I've seen other posts that are criticized to be more specific, so I hope I am clear in my questions.
    I am trying to implement the Lucas Numbers series through a recursive loop. The formula is the following:
    Ln = Ln-1 + Ln-2 for n>1
    L0 = 2
    L1 = 1
    This is my first attempt at the code, which runs and gives horrible output for obvious reasons; my algorithm is probably incorrect.
    //Based on the above algorithm, let Ln be L(int number)
    public class RecursiveMethods{
        //int limit = 30;
        public RecursiveMethods(){
            //No Constructor Yet
        public int getLucasSequence(int number){ //Will print out
            if(number == 1){ //I don't know what to set the base case to.
                return number;
            else{
               // System.out.println(number);
                return number * getLucasSequence((number - 1) + number);  //Is this where the formula goes?  If so, how do I implement it?
    public static void main(String [] args){
        //System.out.println("Test");
        RecursiveMethods myMethods = new RecursiveMethods();
        //System.out.println(myMethods.getLucasSequence(99));
        //for(int i = 0; i < 10; i++){ //Is this where you set the limit of iterations?
            System.out.println(myMethods.getLucasSequence(4)); //Value must not be one or two
    }I have the following questions:
    1) Based on the mathematical algorithm, how would I implement it in Java?
    2) What would be the base case for a recursive loop that prints a series of Lucas Numbers
    3) How would I set the limit on numbers?
    I am a beginner programmer, so please explain these in terms I will be able to understand. I don't mind if you give hints too.
    Thanks!
    Chris

    package recursives;
    public class RecursiveMethods{
        public RecursiveMethods(){
            //No Constructor Yet
    * @param number  specifies the index of the element in the Lucas sequence to be computed
        public int getLucasSequence(int number){ //Number should be Lnum
            if(number == 1){
                return number;
            else if(number == 0){ //The lucas sequence will always start off with 2...I forgot about this!
                return 2;
            else{
               // System.out.println(number);
                return getLucasSequence(number - 1) + getLucasSequence(number - 2); 
    public static void main(String [] args){
        //System.out.println("Test");
        RecursiveMethods myMethods = new RecursiveMethods();
        //System.out.println(myMethods.getLucasSequence(99));
        //for(int i = 0; i < 10; i++){ //Is this where you set the limit of iterations?
            System.out.println(myMethods.getLucasSequence(3)); //Value must not be less than zero
    }Sorry, I'm new to actually publishing code. Therefore, my coding style is very sloppy and usually uncommented. Thanks for the advice though, I will surely start implementing it in later projects!
    Edited by: Chris.Y on Nov 3, 2008 4:38 AM

  • How to implement a table of ordered data ?

    This is surely a very common question of database design.
    Let us say that I am doing a web picture gallery, where I want the pictures to appear in a specific order. I am keeping the reference of the image files in a table, and I specifically want to be able to add a new picture between any two consecutive existing pictures. Nice to have would be a fast way to move a picture to another place, and support for concurrent access.
    After some tries, my best solution seemed to be something like the following, but I suspect that it is still sub-optimal :
    CREATE TABLE pics(
    picid NUMBER PRIMARY KEY,
    filename VARCHAR2(50),
    ordernum NUMBER(38,10) UNIQUE
    CREATE SEQUENCE pics_picid_seq;
    CREATE SEQUENCE pics_ordernum_seq;
    And I populate the table by using both sequences when I add the picture at the end of the list, or by calculating the ordernum as the average between the ordernums of the two pictures between which I want to insert the new picture (saying that the -1th picture has order 0).
    Two drawbacks of this implementation :
    - It looks like from two concurrent inserts at the same place, one will fail to the unique constraint.
    - If a very very large number of pics can be inserted or moved, I may have to create a trigger locking the table and recalculating the ordernums (well that is probably the case only for huge examples).
    So what is the best solution here if concurrency support is most important ? What if insert/update speed is most important ? What if "select order by" speed is most important ? Any other criteria ?

    I don't expect rows to be stored in any perticular order Ooops! early Monday morning misreading of your original post. My apologies.
    In your solution, isn't the full table update an issue when inserting pictures at place 1 ?Well , your solution will produce a duplicate ORDERNUM in that instance, or any other instance (hint, to make averaging work you'll need to store fractions).
    Yes, my eary monday morning solution may suffer poor performance if you have lots of pictures and you re-organise them a lot. It will produce prettier values for ORDERNUM, which may be helpful if you need to display it to users, but this is probably not sufficient to save my implementation.
    But if you are using averages of sequences it will be even more important to use a table API. The pictures in the twenty-fifth and twenty-sixth positions might have ORDERNUM values of 19.5 and 20 respectively or - sequence caching being what it is - 134 and 137. This may be hard for users to understand. You will need to translate offset from 1 into ORDERNUM (I guess by using ROWNUM, which is not without pitfalls).
    Will transactions ensure that the picture of user B won't get inserted one place before where it should ? Concurrency is a big issue. Potentially, any user inserting a single picture is affecting the whole collection. (There's also the situation where no new pictures get added but the entire collection is re-ordered). We could make an argument that the whole table ought to be locked before anything gets done. However, full table locks are usually undesirable.
    One way around this is to make the users specify the picture IDs they want the new picture to appear between, rather than place. This has the advantage of being independent of prior changes, unless the prior change also inserted a picture between 25 and 26, in which case it should fail.
    I suppose there probably is a canonical design solution out there, I hope someone else knows where to find it.
    Cheers, APC

  • CRM 2013 On-Premise How to implement sequential numbering for records?

    Hi All,
    I don't know if someone could advise me on the following.
    I have two entities, Transport Routes and Stops with a 1:N relationship. I want to auto-number the Stops records sequentially (1, 2, 3, 4, etc.)  but want to start at 1 within each Transport Route. How should go about it? Is it possible to achieve this
    with JS, or would that be a bit clumsy and would you recommend a plugin instead?
    I have an auto-numbering solution (AdvancedCRMAutoNumber from Xbitz) but that will not restart the counter position to 1 for each Transport Route - at least to me knowledge it cannot.
    Would appreciate any help!
    Thanks, Viktor

    hi Victor,
    I think you can write plugin by following below steps.
    -->Create one field in the Transport route entity to store the sequential number.
    -->As soon creating the Transport stop record get the sequential from the Transport route and create the sequential number for the transport stop.
    -->Update the Transport route record by incriminating the sequential number field.
    So every Transport route record will have sequential number which we can start with 1 as based on the stops we can increment the number.

Maybe you are looking for

  • Iweb on brand new computers?

    Has anyone purchased a new computer (since July 15, 2011 and with Lion installed) and found iweb preinstalled on it as part of the usual iLife suite that comes with a Mac?  I did a quick "spotlight" search in the Apple Store the other day.  While the

  • Blog question. (new to mac dont make fun!!!! lol)

    im sure this has been asked before but! im new to the whole mac thing and i was plying a bit with iweb and wondered if you can post blog entries onto an existing blog (i.e. wordpress.com) if someone could tell me if you can or can't i would appreciat

  • Ipod freezing during connection to mac

    I have a 3rd gen ipod and powerbook G4 with an external harddrive Lacie 80gb which now contains my itunes library. The problem I am having is in updating my ipod library. Each time I connect to the lacie drive (with firewire connection, it recognizes

  • When i changed my apple id password it send me back to trial on elements 12

    i bought elements 12 in july 2014 and i had an issue with my password for my apple id and when i changed it set my photoshop back to trial version my wife deleted email with serial number but i do have the purchase email

  • Do we have any infotype which can capture the present Cost to Company (CTC)

    Dear guru's, Do we have any infotype which can capture the cost to company and if something is there can we utilise that in Recruitment module r/3. Appreciate some quick responses. Regards, Rajasekar.