Generate Multiple Invoices in One PDF

Hi,
I have requirement whereby I need to generate multiple invoices in one PDF file. I am using Oracle BI Publisher with Oracle APEX 4.0.2
If there is only one invoice that needs to be generated in one PDF file then I already have the solution whereby I print the APEX page item session state values on Invoice Header and get the invoice line items from a SQL Query in my RTF template.
However how to the do the same when multiple invoice needs to be generated in one single PDF file ?
Any pointers will highly appreciated.
Thanks & Regards,
Ashish

asagarwal wrote:
However how to the do the same when multiple invoice needs to be generated in one single PDF file ?It should be pretty straight forward.
Once you've got the query returning multiple rows, then just add a repeating group to your report (if an existing report, just select the section of the document that will repeat -> add-ins menu -> insert repeating group...; or right click selection -> BI Publisher -> Create group...), wherein the column values exist. You can even specify a page break at the end.
By the way, this question is probably more suited for the {forum:id=245} forum.
Ta,
Trent

Similar Messages

  • How do I scan multiple pages into one pdf document on a HP Envy 4501 Printer

    My HP Envy 4501 Printer won't let me scan multiple pages into one pdf document.
    I went to "Advanced Settings", clicked on "file" and made sure that the check box next to "Create a separate file for each scanner page" was unchecked.
    When I clicked the Save button it showed the page that I scanned and showed 1/1.  On the right side it had options for changing the brightness and Contrast, Rotate and Crop and "Back", "Save" and "Done" buttons, but nothing about scanning another page.
    Not to mention HP's Customer Support is useless!
    I'd appreciate any help I can get with this problem.
    Thanks,
    Mark

    Hi BH,
    I see your diagram.  I just scanned something.  The screen that I'm looking at right now shows the preview page and the scroll box to the left of that just like in your diagram.  The screen does not show the + button nor does it show the red x button under the scroll box as in your diagram.  I can't see the plus sign because it is not there.
    I tried re-installing the software and drivers as you suggested but that did not have any affect.
    Thank you for trying to help me with this problem but it hasn't worked, therefore I can't mark the reply "Accept as Solution".
    I've noticed that on HP's support forum web page there is only 1 solved request for assistance.  That doesn't give me much confidence in HP.
    Please reply back to this post to let me know if there is anything else that I can try or if you know someone else at HP that can help.
    If I don't here back from you, I'm returning this HP Envy 4501 Printer to get my money back to use it to buy a printer from one of HP's competitors.
    Thanks,
    Mark  

  • How to merge multiple spools in one PDF

    hi all,
    i have a requirement to merge multiple spools into one PDF.
    I have the code to merge 2 spools into one PDF but acc to my requirement this number can be any( say 100). hence i need  help to merge N number of spools in one PDF.
    Regards
    geeta gupta

    Take the data of all spools into a internal table then create a new spool with this data then downlad this data into pdf format.
    By this method you can download any number of spools into a single pdf file. Please see the below code
    Fetch spool number
    Select rqident from tsp01 into table g_t_data
    where...............
    Read sool data and take this data into a internal table
    Loop at g_t_data.
               Call program to read spool as follows
          SUBMIT rspolst2 EXPORTING LIST TO MEMORY AND RETURN
          WITH rqident = g_t_data-rqident
          WITH first = '1'
          Read memory where spool data is stored
          CALL FUNCTION 'LIST_FROM_MEMORY'
               TABLES
                    listobject = mem_tab
          Convert spool data to Ascii
          IF NOT mem_tab[] IS INITIAL.
            CALL FUNCTION 'LIST_TO_ASCI'
                 EXPORTING
                      list_index         = -1
                 TABLES
                      listasci           = g_t_text1(table type c length 10000)
                      listobject         = mem_tab(LIKE TABLE OF abaplist)
            APPEND LINES OF g_t_text1 TO g_t_text.
          ENDIF.
    ENDLOOP.
    Create new spool with internal table data
      NEW-PAGE PRINT ON
      KEEP IN SPOOL  l_keep(variable type c default u2018Xu2019)
      LINE-SIZE      300  
      LIST NAME      l_list (variable(30) TYPE c default 'combined_pdf')
      NO DIALOG.
      LOOP AT g_t_text.
        WRITE: g_t_text-data.
      ENDLOOP.
      NEW-PAGE PRINT OFF.
      COMMIT WORK.
    Fetch this spool number from TSP01
    SELECT rqident rqcretime FROM tsp01 INTO TABLE l_t_pdf(internal table having two fields rqident LIKE tsp01-rqident and rqcretime LIKE tsp01-rqcretime)
      WHERE   rqowner = sy-uname AND
                     rq2name = 'COMBINED_PDF'.
    Download spool data into pdf format
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid   = l_t_pdf-rqident
           IMPORTING
                pdf_bytecount = l_size(variable type i)
           TABLES
                pdf           = g_pdf(table like table of tline)
      CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                bin_filesize = l_size  "size
                filename     = l_data
                filetype     = 'BIN'
           TABLES
                data_tab     = g_pdf.
    Hope this will help you.

  • How do I scan multiple pages into one pdf file using the PIXMA MG7520 on Windows 8.0? Please help!

    I recently received a PIXMA MG7520 for a gift.  It works great with my lenovo laptop/tablet running on Windos 8.0.  The one drawback to the HP all-in-one that it replaced is it does not have an ADF.  That being said, there must be some way to scan multiple pages into one pdf file.  I need help figuring thing out.  Thanks in advance!
    Solved!
    Go to Solution.

    Hi mdtolbert54,
    There is a program that comes with the printer called the IJ Scan Utility that can assist you with scanning multiple pages into a single PDF document.  To do this, please follow these steps:
    1. On your keyboard, press the Windows key.
    2. Start typing IJ SCAN UTILITY. The search window opens as you type. Once the IJ SCAN UTILITY is displayed, please select and open it.
    3. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    4. Click the DOCUMENT SCAN option on the left pane of the window.
    5. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
    a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.
    b.) In the DATA FORMAT field, use the drop-down arrow to select the PDF (Multiple Pages) option. 
    c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the MY DOCUMENTS folder.
    6. Once all settings have been selected, click the OK button at the bottom of the window to save the changes. The IJ Scan Utility main screen appears.
    7. Click the DOCUMENT button. Scanning starts. Click the CANCEL button to cancel scanning if needed. Scanned items are saved in previously selected folder location specified in the SETTINGS... window.
    If you find that you need advanced scanning options such as adjusting resolution, brightness, contrast, saturation, color balance, etc. in addition to the options selected above, please click on the SCANGEAR button on the IJ Scan Utility Main screen, then adjust the items as necessary.
    Once the items above are set for document scanning, in the future, you will only need to launch the IJ Scan Utility, then press the DOCUMENT button to perform the scan (unless you want to make changes to the settings).
    Hope this helps!
    This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How do i scan multiple pages into one pdf file

    How do I scan multiple pages into one pdf file?

    That depends on your scanning software. Adobe Reader doesn't scan.

  • Generating multiple rows from one physical row

    I was wondering if anyone has done or knows how to generate multiple rows for one physical row. In my query "SELECT Cust_No, Amount from Balances" if the amount is > 99,999.99 I want 2 rows returned, one with an amount of 90,000.00 and the other with an amount of 9,999.99. I'm thinking I need to use a view or function to return a result set but I'm not sure how.
    Thanks in advance,
    Allen Davis
    [email protected]

    James,
    Well your right in that you need a function, but also 3 views to accomplish that. I just wrote up the sql below and tested it. Basically you want the first view to return all records less than your cap of 99,999, thoes that exceed that will always return as 90,000 (see example on record PK 774177177). The second view returns money that remains AFTER the cap (in your case 9,999). The second view though also has to excude the ones less than the CAP.
    DATA and TABLE layout
    1) Table is called T1, columns are PK : primary key value, and N2 : some number column holding the MONEY amount
    2) data is below fromtable called t1 (10 records) ...
    select pk,n2 from t1 order by pk
    PK     N2
    117165529     100
    274000876     200000
    350682010     9999
    737652242     90000
    774177177     99999
    1369893126     1000
    1663704428     100000
    1720465556     8888
    1793125955     0
    1972069382     1000000
    Now see the records with money at 99,999 (just like in your example). You want 2 records, so the VIEWS now come into play. The view itself CALLS the function, this occurs when you select from the view. The function will either return 90,000 (your defined cap) or the remained after subtracting the money from 90,000. The 3 views are defined below (the FUNCTION which is shown after will have to be compiled first) ...
    --[VIEWS START]
    CREATE OR REPLACE VIEW VIEW1
    (PK,SHOW_MONEY)
    AS SELECT PK,FN_TRIM_MONEY(N2,1) FROM T1;
    CREATE OR REPLACE VIEW VIEW2
    (PK,SHOW_MONEY)
    AS SELECT PK,FN_TRIM_MONEY(N2,2) FROM T1 WHERE N2 >= 99999;
    CREATE OR REPLACE VIEW VIEW_ALL
    (PK,SHOW_MONEY)
    AS
    SELECT * FROM VIEW1
    UNION ALL
    SELECT * FROM VIEW2;
    --[VIEWS END]
    OK now for the actual function ...
    --[FUNCTION START]
    CREATE OR REPLACE FUNCTION
    FN_TRIM_MONEY
    PI_MONEY NUMBER,
    PI_VIEW_ID NUMBER
    RETURN NUMBER AS
    LS_TEMP VARCHAR2(2000);
    LI_TEMP NUMBER;
    LD_TEMP DATE;
    LI_CON_MONEY_MAX CONSTANT NUMBER := 90000;
    LS_RETURN VARCHAR2(2000);
    BEGIN
    IF (PI_MONEY > LI_CON_MONEY_MAX) THEN
    IF PI_VIEW_ID = 1 THEN
    LI_TEMP := LI_CON_MONEY_MAX;
    ELSIF PI_VIEW_ID = 2 THEN
    LI_TEMP := (PI_MONEY - LI_CON_MONEY_MAX);
    END IF;
    ELSE
    LI_TEMP := PI_MONEY;
    END IF;
    IF LI_TEMP < 0 THEN
    LI_TEMP := 0;
    END IF;
    LS_RETURN := LI_TEMP;
    RETURN LS_RETURN;
    END;
    SHOW ERRORS;
    --[FUNCTION END]
    I compiled the function and views with no errors. This is what I get when I query the 3 views ...
    --[VIEW 1]
    PK     SHOW_MONEY
    117165529     100
    274000876     90000
    350682010     9999
    737652242     90000
    774177177     90000
    1369893126     1000
    1663704428     90000
    1720465556     8888
    1793125955     0
    1972069382     90000
    --[VIEW 2]
    PK     SHOW_MONEY
    274000876     110000
    774177177     9999
    1663704428     10000
    1972069382     910000
    --[VIEW ALL]
    PK     SHOW_MONEY
    117165529     100
    274000876     90000
    274000876     110000
    350682010     9999
    737652242     90000
    774177177     90000
    774177177     9999
    1369893126     1000
    1663704428     90000
    1663704428     10000
    1720465556     8888
    1793125955     0
    1972069382     90000
    1972069382     910000
    So notice the PK entry 774177177 listed twice, once with 90,000 and other with 9,999. Also notice we now have 14 records from the original 10, meaning 4 records qualified for the split (all data from VIEW 2).
    This is why Oracle kicks ass, views and functions are very powerful when used together and can return pretty much anything.
    Thanks,
    Tyler D.
    [email protected]

  • Generating multiple reports in one rwrun60.exe

    Hello,
    i want to generate multiple documents in one rwrun60.exe
    call (from java). This way i can avoid the time spending
    for logging in to database for every singe report ...
    Does anybody know if its possible ?
    something like
    execute (rdf1, params, rdf2, params) and so on ...
    Greetings
    Thorsten Lorenz

    Every rwrun60.exe call will reconnect to the database. This won't happen if you make the call through the reports server (which will maintain a pool of engines for you).
    Note to the other filer on this thread - run_product() is a forms call, and is not available in as a Java call.
    Regards,
    Danny

  • FF68 - Manual Check Deposit - entering multiple invoices against one check

    We are requiring the functionality to enter multiple invoice numbers into the layout against one customer and one check payment to then allow these to be cleared as part of the batch processing.
    Currently it only appears to allow you to enter one invoice number per check payment or post on account to the customer and clear as a second manual step.
    Has anyone implemented the multiple invoice clearing from one check within FF68?

    Hi Sonia
    Was BDC session generated on processing FF68?
    Auro

  • How to generat multiple invoices based on per employee/contractor/services?

    Hello Experts / Dina,
    I am in situation where customer is in business of body shopping and charges to his final customer based on individual invoice / per employee /contracor & customer services. This was happening in legacy system but after the implementation of Oracle Project costing and Oracle Project billing, customer is not able to generate invoices per employee services. Rather consolidated invoices are getting generated.
    How to achieve this functionality in oracle project billing?
    Lets take example - On Project P1 for customer ABC, 3 below employees are working on different task for 3 months.
    Now after one month employees have been billed as shown below.
    Emp 1 - 1000 USD - for 100 Hrs
    Emp 2 - 2000 USD - for 200 Hrs
    Emp 3 - 1000 USD - for 50 hrs
    Now @ end of the month when invoice is getting generated is 1 invoice including 3 lines of amount total 4000 USD. There is problem; customer wants that there should be 3 different invoices per employee shoud generated based on above mentiond 3 diff lines for customer ABC.
    I guess with oracle projects billing - You can split the invoice based on Accrue through date ( which is not possible in this case ) and agreement ( which is also not possible in this case ) and different currency ( which is again not possible in this case) - I may be wrong when saying it is not possible. plz correct me if I am wrong.
    even I guess billing extension wont work. So is there any way to achive this?
    Right now only option i am thinking is let single invoice of 4000 USD with 3 different lines should pass to AR and while priniting the invoice customer can create 3 diff prints which includes individual lines. and while applying receipts on the single invoice in the system, customer can apply the receipts to indivual lines.
    but I am not sure about AUDIT issues.. Can some one think about any AUDIT issues comes to this approch or issues with TAX rounding amount issues ?
    Infact I would like to solve this issue with the help of Oracle Projects billing and not with custom invoice print program. I guess someone from you experts can figure it out to generate muiltple invoice based on employees / suppliers / contractors / materials etc.
    A suggestion on Extension / customization / seeded functionality of Oracle Project billing on thi issue would be gr8 help.
    Please help.
    Thanks
    Edited by: oracle_samba on Jan 7, 2013 1:06 AM
    Edited by: oracle_samba on Jan 7, 2013 1:07 AM

    Hi Dina,
    First of all thanks for your update :-) Your solution looks much promising.
    I thought of using billing extension but rejected on the ground that I would end up in generating events based on employee for their corsponding billig amounts so finally generating a consolidated invoice only in One GDI run. But what i was missing was pre-processing extension and running the extention in loop based on employee count.
    I am fully sure business would not have any issues of auto approving and releasing invoice upon generation. But my question is "is it possible to just approve the invoice & not release it using auto approve and release extension?" The reason is I think when GDI runs it only deletes Unapproved invoice & spare Approve invoices. - So please suggest.
    Also please validate my understanding about your solution with an existing example -
    As with the current example, there are 3 EMP presents so need to run GDI 3 times and develop pre-processing ext in a such a way that at each time it will put on hold on all the billable items except EMP1, and EMP2 and EMP3 on each consecutive run respectivly. And ensure that Auto Approve and release extension should be used in order to avoid overriding previously generated invoice? Am I right ?
    Many Many thanks for solution !!!
    Regards,
    :-)

  • Scanning multiple pages to one PDF file on HP PHotosmart 6525 printer

    I tried the solution but there was no box near preview so I could change DPI to 300. Tried to scan 2 documents, no save button either. Help?

    Hi nancynurse,
    Welcome to the HP Support Forums! I see you are interested in scanning multiple pages to one single PDF file and be able to change the dpi settings. To better assist you can you please leave me with the following information:
    1. What is the current Operating system you are running, Windows or Mac and which version?
    2. Which solution was it that you tried with no success?
    3. How are you scanning, with or without the HP Software?
    I hope to hear from you soon so we can begin troubleshooting!
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Scanning multiple pages as one pdf file

    Hi Im using a Macbook Pro 10.9.5 and am trying to scan multiple pages and save as one pdf file.  One suggestion is to use image capture.  However, when I try to do this it says no camera or scanner is detected but it does not give me an option to copy multiple pages.  Any suggestions.  I have tried lowering the resolution but still have no luck.  

    Hi SusieG1026,
     Are you sure to select  file type Correct as text in image capture window? 

  • Multiple invoice with one Debit note

    Dear Experts,
    Is it possible to create one single debit note with multiple invoices.
    If yes how.
    Thanks
    Shri..

    Well Guys my question is if i am creating 10 invoices for same customer  and with that 10 invoices i want to create one single debit note with reference to 10 invoices at a time.
    Generally we create one debit not with reference to one bill doc nos.
    Is is possible.coz reason here would be i want to give total discount to that particular 10 invoices.
    What could be the settings.
    Thanks
    Shri..

  • How do I scan multiple pages to one PDF?

    I am trying to scan pages of a contract into one PDF file but I am unable to see how this can be done, can anyone advise me?
    Thanks :-)

    Hi and thanks for responding, as I read your reply I realised that I was just scanning and saving as PDF each page and not using the scanner software as you pointed out. 
    T
    he software is Kodak homecentre software.  The scanner software offers the option to scan and then save the collected page images as a single multi page file.
    Many thanks for your time and pointing me in the right direction!

  • How to merge multiple files into one pdf

    I would like help with this task. If I could do this for free I woul actually be more likely to follow advice. Many thanks

    Hi Lauravill,
    The free Adobe Reader cannot help you with the merging job. If you have Acrobat Reader then you can merge files into one pdf with the following steps-
    Within Acrobat XI, select File > Create > Combine Files into a Single PDF.
    Click Add Files and select the files you want to add.
    Click, drag, and drop to reorder the files and pages. Double-click on a file to expand and rearrange individual pages. Press the Delete key to remove unwanted content.
    When finished arranging the files, click Combine Files.
    Select File > Save As > PDF.
    Name your PDF file and click Save.
    Let us know if you face any problemwith this or need extra support.
    Thanks
    -Satyadev

  • PI Mapping : Generating multiple nodes by one node

    Hi,
    I'm looking for the solution how to generate two nodes by one node in source messages.  In the following sample messages, two nodes in source are expected to generate 4 nodes in output.
    Source Structure
    <item>
         <id>
         <name>
    </item>
    Target structure
    <article>
         <flag>
         <id>
         <name>
    </article>
    Source message instance
    <item>
         <id>1</id>
         <name>ABC</name>
    </item>
    <item>
         <id>2</id>
         <name>XYZ</name>
    </item>
    Expected output message
    <article>
         <flag>QD</flag>
         <id>1</id>
         <name>ABC</name>
    </article>
    <article>
         <flag>QI</flag>
         <id>1</id>
         <name>ABC</name>
    </article>
    <article>
         <flag>QD</flag>
         <id>2</id>
         <name>XYZ</name>
    </article>
    <article>
         <flag>QI</flag>
         <id>2</id>
         <name>XYZ</name>
    </article>
    In output message, two node of article 1 should be together.
    Thanks in advance!
    Victor

    Hey thanks to  all that contributed to the solution of this.
    I'm a newby to message mapping of SAP PI.
    But in my learning process I found out that the solution proposed in :
    http://help.sap.com/saphelp_nw04/helpdata/en/26/d22366565be0449d7b3cc26b1bab10/content.htm
    using the copyvalue function
    is not working for the case where you have 2 partnernodes in the partnermsg. In this case the proposed solution is putting the street,city and zipcode of the first partnernode in both the targetnodes created in the mapping.
    After some thinking about how to solve it I came up with the solution :
    I created 3 UDF's  ( getstreet ,getcity and getzipcode) :
    public void getstreet(String[] var1, ResultList result, Container container) throws StreamTransformationException{
    for (int i = 0; i <  var1.length; i++) {
    if ( (i%3)  == 0) {
       result.addValue(var1<i>);
    public void getcity(String[] var1, ResultList result, Container container) throws StreamTransformationException{
    for (int i = 0; i <  var1.length; i++) {
    if ( (i%3)  == 1) {
       result.addValue(var1<i>);
    public void getzipcode(String[] var1, ResultList result, Container container) throws StreamTransformationException{
    for (int i = 0; i <  var1.length; i++) {
    if ( (i%3)  == 2) {
       result.addValue(var1<i>);
    the mapping for the target field street :
    street = splitbyvalue ( getstreet(removecontext(addrdat))    "each value")
    similar mappings need to be set for city and zipcode.
    other mappings are :
    customermsg = partnermsg
    customer = createif(exists(partner)))
    name = name
    this solves the issue for the 2 partnernodes without using the copyvalue function

Maybe you are looking for

  • Updated to iOS 7.1.1 newsfeed in Facebook won't display?

    Updated to iOS 7.1.1 this morning and the newsfeed in Facebook won't display, instead it's find a friend page! How do I fix this please?

  • [SOLVED] Game window dims after a few seconds

    I just updated my system and i noticed an annoying issue whenever i launch a game. For instance I tried some of the native games, and i also tried Minecraft for example, and it's the same issue with them all. It doesn't affect anything apart from the

  • Oracle Streams and Hetrogenous Enviornment

    Hi, As we can use Streams in Heterogeneous environment, then let say we implemented streams for replication between MS SQL server and Oracle and data has to be replicated from Oracle to SQL server then on SQL server side what sort of configuration we

  • BB as modem for laptop

    I have BlackBerry Bold and want to use my black berry as modem for my laptop computer.

  • Dsconf backup/restore in a replication environment

    Hi, using Sun JS Directory Server 6.3.1. Two servers in a multi-master topology. When making a backup of the directory (on both systems) using dsconf backup, my question is: how should the restore be done, given the fact that there's a replication ag