Po Printing Report

Hi I am working on PO Printing Report.There are mainly three section .1 is Header part which contains informaition like Bill to Address Ship to address,vendor address payment terms etc,middle part contais lots of information like header notes,supplier header note,note to vendor ,ship instruction,line notes ,if po cancelled then its informaition,if any line gets cancelled than the same information , all lines for this PO and many more.After this section we have footer like part which have total column and signature.The total and signature are dynamic.i.e should appean in last page only.The last page of report for a PO conatains a image Terms And Condtion.
Now problem is as there are lots of data in middle part ,It pushes the footer part to the next page.I need to break the page after certain height of table or certain no of records in table so as to have footer remain in each page.
Is there any way to fix no of records in middle part or calculate heigth of table at run time ...when it reaches to its max height ,I break the page.
Or I include the footer section in page footer but as its dynamic How can I get total column value and signature url dynamically.
Please suggest me how to achieve this.....

Srini,
Thanks so much for your reply!!!
1. Ok, but how do I hide a whole page? I noticed the conditional formatting, but I want to "not print" a whole page when this page is a "Purchase Agreement".
2. I've checked the source - it's coming from POL.QUANTITY_TO_PRINT - POL is a view that is unpopulated. I assume it's populated at run-time. So now I am trying to track down where it's populated, but can't find that in report builder. The quantity is being taken into account, because I put a total at the bottom of the page, and that number matches price * pol.quantity_to_print. Very strange...
Finally, here's another question, if you don't mind:
3. When I print a purchase order that is set up as a blanket, as I mentioned before, I get my "Purchase Agreement" first, and then one (or more) pages per release. But the "Page Number" on each is "1" because each is a one-page PO. But my "total pages" is "3", so each page reads "Page 1 of 3". Any idea if there's a way around that?
Thanks again! Hoping you have some more insight! :)
Cheers!
Steve

Similar Messages

  • Cancelled POs not appearing in isupplier PO Print Report

    Hi All,
    I am using oracle apps 11.5.10 version.My problem is that PO print report is not printing all the cancelled Purchase Orders.Its printing only the last Purchase Order which is cancelled.
    Steps to reproduce-
    1. create a multi line req in iproc..submit and on approval PO gets created.
    2.from isupplier run Printed PO report.You will see all the lines.
    3. Cancel 1st line in iproc-let it revision.run report from isupplier.You'll see all the lines along with one line that is cancelled.
    4.Cancel 2nd lines in iproc.let it revision.run report from isupplier.You will see all the lines and the new cancelled line as well.But the Cancelled line1 will not be seen.
    5.Again cancel 3rd line.When you print PO in isupplier.You will see all lines+3rd cancelled line.But the above two cancelled Lines 1 and 2 will b missing.
    Note- we have modifed the xslfo and po_lines_xml for some other changes.I have reverted the changes made in po_lines_xml but still facing the same issue.
    Please help.

    Hi,
    Please check in transaction  SXMB_MONI can found related information why it not transfer to SRM.
    Also check the purchasing data of the PO.
    Thanks,
    prasad.s

  • Report Generation Toolkit V9.0.0 : Print Report.vi doesnt print

    Hi,
    i have migrated my Labview 8.5 Project with Report Generation Toolkit V1.1.2 to a Labview 2009 System with Report Generation Toolkit V9.0.0.
    In this Project I use the Report Generation Toolkit for printing out a Standard Report with e few Tables and Graphs.
    Now the VI Print Report.vi delivers the Error -41002 with the Text "Invalide Printer Name". I have, of course installed the propper Printer on the machine.
    I don´t connect a string to the "Printer name" input of the VI, because i want to use the default printer.
    In my oppinion, there´s  a bug in the Print Report.vi: if you don´t wire the "Printer name" input, the vi should use the default printer, but in this case the vi connects the empty input string to the input of the method node it calls.
    I fixed this bug, but the method node still returns the same error.
    any ideas?
    Thanks!
    Solved!
    Go to Solution.

    Thank you for the link!
    For some reasons i can´t find this specific article in the knowledge base (my browser is always rerouted to the german version of ni.com, because i am in Austria). I tried to search with the exact title of this article, and the error message string, but no results...
    I have also installed Labview 8.5 and the "old" Toolkits on my new computer in addition to Labview 2009 and the "new" Toolkits and tested my program in 8.5. Here i got an error mentioning the margins and i had to change the margin settings for printing out, then in worked.
    After reading the article, i have applied the same changes for the margins in the 2009-version of my program and it works too!
    Problem solved!
    Thank you very much!
    PS:
    I first wrote, that there´s maybe a bug in the new version of the Print Report.vi, but i´ve compared it with the old version and it seems to be no bug, sorry!
    After all I decided to stay with Labview 8.5 for now, because of another problem:
    it´s not possible to "save for previous version" from LV2009 to LV8.5 directly.
    Laview crashes, when a VI contains an event structure as i found out by searching through the "known issues", and i have a lot of VIs with event structures!
    I have to have the possibility to save my Labview projects for 8.0 and 8.5. The only way is to save for 8.6 and then save from 8.6 to 8.5.
    That´s nasty and time-consuming!
    Maybe a future update will solve this problem (without producing new ones)

  • Printing report that has a parameter with multiple values crashes jvm

    I am using BOE XI 4.0 as an unmanaged RAS.
    I am able to preview a report that has a string discrete parameter that can have multiple values.  If I give it a single value.  It previews fine.  If I give it an empty string it prints all values which is fine.  If I give it two discrete values, it displays just those two.
    However, if I try printing the report to a printer:
    1 parameter value - prints fine.
    2 parameter values - crashes jvm
    empty string parameter value - crashes jvm
    I would appreciate some direction on how to do this.  It works in crystal reports for eclipse.
    The test jsp I am using is based off of the samples.  The print test jsp is the same as the preview test with the exception of the following code differences.:
    preview report.jsp code
    // Create a Viewer object
    CrystalReportViewer viewer = new CrystalReportViewer();
    // Set the report source for the  viewer to the ReportClientDocument's report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    print report jsp code
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("DELL");
      try {
          clientDoc.getPrintOutputController().printReport(printOptions);
      } catch (ReportSDKException ex1) {
          System.out.println("Message - " + ex1.getLocalizedMessage());
      } catch (Exception ex2) {
          System.out.println("Message - " + ex2.getLocalizedMessage());
      clientDoc.close();

    I am using BOE XI 4.0 as an unmanaged RAS.
    I am able to preview a report that has a string discrete parameter that can have multiple values.  If I give it a single value.  It previews fine.  If I give it an empty string it prints all values which is fine.  If I give it two discrete values, it displays just those two.
    However, if I try printing the report to a printer:
    1 parameter value - prints fine.
    2 parameter values - crashes jvm
    empty string parameter value - crashes jvm
    I would appreciate some direction on how to do this.  It works in crystal reports for eclipse.
    The test jsp I am using is based off of the samples.  The print test jsp is the same as the preview test with the exception of the following code differences.:
    preview report.jsp code
    // Create a Viewer object
    CrystalReportViewer viewer = new CrystalReportViewer();
    // Set the report source for the  viewer to the ReportClientDocument's report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    print report jsp code
      PrintReportOptions printOptions = new PrintReportOptions();
      printOptions.setPrinterName("DELL");
      try {
          clientDoc.getPrintOutputController().printReport(printOptions);
      } catch (ReportSDKException ex1) {
          System.out.println("Message - " + ex1.getLocalizedMessage());
      } catch (Exception ex2) {
          System.out.println("Message - " + ex2.getLocalizedMessage());
      clientDoc.close();

  • VS2005 Crystal Report Print Report Button is not working on Windows 7 x64

    Hi There,
    My application is written in VS2005 C# on x86 machine. It runs smoothly on XP pro and Vista x86 machine.
    I deployed the same to windows 7 x64 machine with CRRedist2005_x64.msi and found that the Print Report button is not working.
    So, I re-compiled my application to x64 target platform, and reinstall the application to the same machine. But nothing changed. I have surf for answer over the web but nothing found.
    Please help urgently. Any helps is much appreciated. Thks in advance.
    Edited by: chanpyvivian on Mar 26, 2010 11:14 AM

    I follow your instruction as below:
    1) download the sample app vbnet_win_printtoprinter.zip to dev computer and compile it to .NET 2005.
    - Run from my dev computer
    - Click "Print Report" button
    - Error message display - please see below
        The error was due to the default printer name hard coded in the program was not found. I have edited to my printer name and it can be printed out with no error.
    2) Use a "saved data" report so that you do not have to worry about database logon.
    can't find the "saved data", please elaborate
    3) Then copy the exe to the 64 bit box and try to print using this sample app.
    -do you mean copy the exe to the 64 bit computer for testing ?
    ERROR Message
    CrystalDecisions.CrystalReports.Engine.InvalidArgumentException:
    Invalid printer specified. ---> System.Runtime.InteropServices.COMException (0x80000201):
    Invalid printer specified.
       at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrinterName(String newVal)
       at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterName(String value)
       at CrystalDecisions.CrystalReports.Engine.PrintOptions.Copy(PrintOptions src)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_FormatEngine()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
       at PrintToPrinter.Form1.Button1_Click(Object sender, EventArgs e) in C:\Crystal\CRNET\vbnet_win_printtoprinter\vbnet_win_printtoprinter\Form1.vb:line 91
    OK  
    Edited by: chanpyvivian on Mar 30, 2010 6:18 PM

  • AP Cheque Printing Report

    Hi All,
    Can anybody help me out to do the AP cheque printing report using XML Publisher.
    Followings are the steps I did.
    1. Create rdf and register in APPS.
    Executable is defined in Customization AP application
    Concurrent Program is in Payables application.
    2. Create Data Definition and Template in XML Publisher administrator in Payables.
    3. Attached the Concurrent program in AP Format set up.
    4. Make the Payment, The report is calling and showing completed normal but the output is not coming.
    5. Then I run the XML report Publisher and pass the request id then the output is coming as PDF.
    But the requirement is when we make the payment , The output should come and it will go to the printer for printing..
    Please help me where I made the mistake.
    or please guide me what approach I should follow.
    Thanks in Advance.
    Pradipta

    Here is my code:
    function AfterReport return boolean is
    vrequest_id number;
    v_success BOOLEAN;
    v_printer fnd_concurrent_requests.printer%TYPE;
    v_print_style fnd_concurrent_requests.print_style%TYPE;
    begin
    -- Set up printer for the following reports
    -- Get the printer and style for this report for use with the following reports select printer, print_style
    into v_printer, v_print_style
    from fnd_concurrent_requests
    where request_id = :P_CONC_REQUEST_ID;
    srw.message(999, 'Print options: ' || v_printer || '/' || v_print_style);
    v_success := fnd_request.set_print_options (v_printer
    ,v_print_style
    ,1
    ,TRUE
    ,'N'
    ,'SKIP'); IF NOT v_success THEN
    srw.message(999, 'Failure to set print options'); ELSE
    srw.message(999, 'Print options set'); end if;
    -- Submit the XML Report Publisher request to complete the printed Dunning Letters
    vrequest_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :P_CONC_REQUEST_ID,
    222, -- Receivables
    'XX_ARDLPPRT_RPT',
    'en', 'N', 'RTF', 'PDF', NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
    -- commit to submit request
    commit;
    IF vrequest_id = 0 THEN -- if request id
    srw.message(999, 'Failure to submit Concurrent Request to Print Dunning Letters');
    ELSE
    srw.message(999, 'request id ' || to_char(vrequest_id) || ' submitted');
    end if;
    -- Original Afterreport trigger stuff
    SRW.DO_SQL('alter session set sql_trace false');
    return (TRUE);
    end;

  • Purchase Order Print Report Compilation Error

    Hi,
    While compiling the report in Reports Builder Purchase Order Print Report , we get the following error:
    identifier GET_PRECISION must be declared.
    Where as this is a seeded function inbuild in the Program Units.
    Also while compiling on server we get the error.
    Cannot convert rdf to rep.
    Thanks,
    Angelica.

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Printing report to direct print 9i

    Hi,
    I am able to direct print the reports on web using normal parameters...i.e. desname, destype and desformat.
    When it prints successfully, it gives us a message in a separate browser window "The report has been successfully printed out"
    And we don't want this message. Can anybody tell me to suppress this window and message ?
    Command:
    WEB.SHOW_DOCUMENT('/reports/rwservlet?
    report=REPORT.rdf&userid=scott/tiger@ora&
    P_DEPTNO='||:EMP.DEPTNO||'&
    desformat=htmlcss&destype=printer', '_blank');
    Thanks,
    Martonio.

    Martonio,
    if you use RUN_REPORT_OBJECT() built-in in Forms to print Reports then you don't have this problem.
    If you request the Report directly from a Web browser, not using Forms at all, please ask the same question on teh reports forum here on OTN.
    Frank

  • Print report on network/local printer(plz help)

    Plz Forms gurus, help me to solve this problem it's very very importante for me
    We have at a lot application witch work in client/server mode using forms/Reports 6i.With these applications we haven't problem to print report on printer using RUN_PRODUCT.Now we want to migrate on Forms/Reports 9i.When we use Run_Report_Object to print report on network print, we are encountring problems, the following errors occurs:
    REP-713: Printer name '\DT_C2_0_8102\LaserJet1100' is wrong in the parameter DESNAME.
    LaserJet1100 is a network printer install on the machine witch have DT_C2_0_8102 in the network.
    I would like to know, if there an other way for naming printer? Secondly, i would like to if i add a network printer on my machin and define it as my default printer. Am i obliged to define the parameter DESNAME in the call off RUN_REPORT_OBJECT. If someone have a sample code about how to print on printer, it'll be helpfull.
    Plz forms gurus help me to solve my problem.
    Thanks in advance.
    TYAG

    Duplicate?
    Print report on network/local printer

  • Print report on network/local printer

    Hi forms gurus,
    I repost this topic because it's very important to me.We have at a lot application witch work in client/server mode using forms/Reports 6i.With these applications we haven't problem to print report on printer using RUN_PRODUCT.Now we want to migrate on Forms/Reports 9i.When we use Run_Report_Object to print report on network print, we are encountring problems, the following errors occurs:
    REP-713: Printer name '\DT_C2_0_8102\LaserJet1100' is wrong in the parameter DESNAME.
    LaserJet1100 is a network printer install on the machine witch have DT_C2_0_8102 in the network.
    I would like to know, if there an other way for naming printer? Secondly, i would like to if i add a network printer on my machin and define it as my default printer. Am i obliged to define the parameter DESNAME in the call off RUN_REPORT_OBJECT. If someone have a sample code about how to print on printer, it'll be helpfull.
    Plz forms gurus help me to solve my problem.
    Thanks in advance.
    TYAG

    Hi Franck,
    Excuse me to repost the same topic.I did it because it's very important to me to solve this problem.
    I do what u said by change the value of DESNAME parameter in '\\DT_C2_0_8102\LaserJet1100' but the same error happen.
    Here is the code the function i use to print report:
    FUNCTION     Run_Synchrone (P_robject VARCHAR2,P_rserver VARCHAR2,P_rformat VARCHAR2,P_rdestype NUMBER,P_rdesname VARCHAR2,P_rfilename VARCHAR2,P_rother BOOLEAN,P_rother_params VARCHAR2,P_rservlet VARCHAR2,P_message_out OUT VARCHAR2) RETURN BOOLEAN IS
              V_rid REPORT_OBJECT;--Id du report object
              --V_rmessage                  VARCHAR2(100)     :='';     
              V_rmessage                VARCHAR2(100)     :=NULL;--valeur de retour run_report_object     
              --V_rstatus                      VARCHAR2(100)     :='';
              V_rstatus                VARCHAR2(100)     :=NULL;--Statuts de l'execution
              --V_Jobid                     VARCHAR2(4000)     :='';
              V_Jobid                     VARCHAR2(4000)     :=NULL;--id du job d'édition
              --hidden_action                       VARCHAR2(2000)     :='';
              --V_other_Param                    VARCHAR2(4000)      :='';
              V_other_Param                    VARCHAR2(4000)      :=NULL;--Autre parametre utililasteur
              V_user_connect VARCHAR2(255):=GET_APPLICATION_PROPERTY(username)||'/'||GET_APPLICATION_PROPERTY(password)||'@'||GET_APPLICATION_PROPERTY(connect_string);--utilisateur connecté
              v_report_url VARCHAR2(100);
              V_Ret_Val BOOLEAN;--Valeur de retour de la fonctio,
         BEGIN
              V_rid:=FIND_REPORT_OBJECT(P_robject);          
              -- setting Reports runtime parameters
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_FILENAME,P_rfilename);
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_SERVER,P_rserver);
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESTYPE,P_rdestype);
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESNAME,P_rdesname);
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_DESFORMAT,P_rformat);
              --Autre parametre par defaut= userid
              V_Other_Param:='userid='||V_user_connect;
              --Test si autre paramètre applicatif
              IF P_rOther THEN
                   V_Other_Param:=V_Other_Param||P_rother_params;
              END IF;
              SET_REPORT_OBJECT_PROPERTY(V_rid,REPORT_OTHER,V_Other_Param);
              V_rmessage     := RUN_REPORT_OBJECT(V_rid);
              V_rstatus      := REPORT_OBJECT_STATUS(V_rmessage);               
              --Test d'éxécution de l'état
              IF V_rstatus='FINISHED' THEN--Aucune erreur
                   P_message_out:=P_rfilename||' édition terminée avec succès';
              V_Ret_Val:=TRUE;
              ELSE--Erreur quelconque.
                   --handle errors
                   P_message_out:=V_rstatus||': '||P_rfilename||' édition annulée...';
                   V_Ret_Val:=FALSE;
              END IF;
              RETURN(V_Ret_Val);
         END;
    And is how i call it:
    V_Edition:=Web_Edition.Run_Synchrone ('RO_FM_DMP6',:GLOBAL.rserver,'PDF',PRINTER,'\\DT_C2_0_8102\LaserJet1100',P_File,TRUE,V_user_params,:GLOBAL.rservlet,V_Mess_Out);
    What's the problem.Perhaps the problem reside in how i install the printer on the machin where i try to print.What steps must i follow to install it.
    PLZ HELP!

  • EPrint Print Report Not Printing

    I've set up my HP Photosmart 7510 e All-In-One printer wirelessly and it works fine, but I just got an iPhone and now I'm attempting to set up ePrint. When I go on my printer and click "Print Report," I get a message that the report will take a few moments to print, and then nothing ever prints.
    I'm just trying to get the printer code to add my printer so I can can get the printers email address and use it for ePrint.

    Hi djneetz, to obtain the printer code do the following:
    Press the wrench icon on the printer front panel display
    Press "Web Services"
    Press "Enable Web Services"
    This should result in the printers unique code being printed out, which is the email address when you add the suffix @hpeprint.com. You can customise this address once you create an ePrintCenter account.
    Let me know if you're having problems getting this to work for you.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • XML PO PRINT REPORT for different Operating Units

    Hi all,
    We are stuck at a point, hope someone helps us out.
    Requirement : We need to generate PO print report in pdf format for US and Mexico , both having different layout.
    Things done : We customized standard PO Print report to fetch XML output from it, and attached rtf(developed) to it.
    Things working fine : For US , report is perfectly fine and looks good.
    Issue : We need to generate for Mexico as well with different format.
    We have value in xml tags which can distinguish between US and Mexico OU's and we can simple use if else condition in the template itself .
    Here limitation is we have made MS word header as the PO header so we are not able to create different header for Mexico in the same rtf.
    We dont want to complicate the rtf much with more loops by removing it from Header and then page break and all.
    Can someone suggest something like use one rtf which handles both the format OR two different rtf registered for same concurrent program and which are called on the base OU.
    We are totally fine if we can do something while registering to Apps.
    Please let me know if any one wants more information.
    Hoping for a positive reply.
    Thanks in advance.

    Hi Vishal,
    Assuming you are using R12+, you can have seperate templates used for differrent OUs. In the PO Approval workflow it shall pick the respective template.
    During submission of concurrent program "PO Output for Communication", you can specify the right template in the input parameters.
    Regards,
    G V Ranjith

  • R12: PO Print report not accepting custom layout

    Hi All,
    PO Print report is not picking up the custom layout in R12.
    We have developed a custom layour ( .rtf).It works fine when run as a concurrent program.
    But if we follow the standard navigations ( Inquire/View document ) generates the standard report only.
    If any body has worked on similar type of issue anytime please let me know.
    Thanks in advance.
    Regards,
    Baldeep
    9880054721
    [email protected]

    We are using r12-12.1.1.
    Still this bug is not rectified(6806428). Oracle has taken up new Enhancement request 9264442.
    Funny that it will rectified in next version .
    This db flaw in india localization which doest allow to pick sum of each taxes.
    Edited by: |SN| on Jan 21, 2010 10:46 PM

  • Sales Order Number in case of drop ship  in Standard PO Print report

    I want to print sales order number in case of drop ship in Standard PO Print report..But I am not getting any tag related to that..
    When I am checking the log file it is present in the log file but not in the Tags..Please help how can I get sales order number in case of drop ship..
    Here is the log file:
    Start of log messages from FND_FILE
    Entering Get_Order_Line_Info 2
    Entering Get_Drop_Ship_Line_ids...1
    no open order line
    line found now 18757558
    Exiting Get_Drop_Ship_Line_ids...1
    line_id 18757558om org 1274
    po org 1274
    from oe_order_lines
    got ship to ct name and location: GRUPO DE COMUNICACIÓN PROMECAL, S.L-1175623
    sales order info: 1.1-1-1-Closed-10000178
    ENTERING OE_SYS_PARAMETERS.VALUE
    Going to get the value for MASTER_ORGANIZATION_ID
    ENTERING OE_SYS_PARAMETERS_PVT.VALUE
    org_id has changed so delete the cache and reset the globals
    PARAMETER VALUE from the DB when org_id has changed : 1275
    ENTER GET_ITEM_INFO PROCEDURE
    ITEM_IDENTIFIER_TYPE : INT
    INVENTORY_ITEM_ID : 1695026
    ORDERED_ITEM_ID :
    ORDERED_ITEM : 40 x Battery 12HX330
    SOLD_TO_ORG_ID : 1684899
    EXIT GET_ITEM_INFO PROCEDURE
    got ct product and ship method: ES_40 x Battery 12HX330-
    Leaving Get_Order_Line_Info
    I am getting the sales order number 10000178 in sales order info: 1.1-1-1-Closed-10000178
    but how to get it in the report...

    Dear Nitishj,
    If the strategy is MTS then in my understanding you cannot get any sales order order number with reference to
    production made
    Reason is in MTS production will be made collectively without reference to sales order
    where as in MTO it does with reference to sales order
    Regards
    Madhu

  • Application Build Failure on Excel.Print Report call

    Developing software in LV2009 that uses Report Generation Toolkit to read/write from Excel templates. Program runs fine in development mode. AppBuilder crashes on *.exe build when adding NIReport.lvclassrint Report.vi
    Digging down, I find a broken run arrow on the NI_Excel.lvclassrint Report.vi as shown here:
    According to the Show Errors dialog, there is an unwired or bad terminal on the PrintOut invoke node; however I have not made any changes to this shipping VI (that I know of). I did try wiring all the unused inputs (empty strings to From, To, and PrToFileName; false booleans to Preview, PrintToFile, and Collate) after I ran into the error, but that had no luck either. Also tried inserting To Variant conversions for all input elements, just in case there was a problem in the implicit data to variant conversion.
    I have also tried a ctrl+shift+run compile of the whole application, but that doesn't seem to get it to un-break, either.
    Has anyone run into this problem before? It's weird that it would just break like that--I had actually compiled this particular executable before, using pretty much all the same Report Generation Toolkit VIs that I am using now. The only difference since the last build was that I replaced a Report.SaveAs function with a Report.Save function.
    Also of note: I have included all the Report classes in my project and build specification in order to compile the dependencies into support libraries to minimize the number of labview files included with the executable distribution. This is probably why an error with the Print Report.vi calls is crashing the AppBuilder even when I don't explicitly call that VI anywhere in my code.
    Solved!
    Go to Solution.

    Hey Guys,
      I know this post if kind of old but I hope maybe one of you can help me out.  I'm using an invoke node similar to what is above to print out an Excel spreadsheet to the default printer.  My issue is that when I try to print from the spreadsheet from the executable, the executable crashes.  I know it is that invoke node. The reason why I say that is because until recently I had two development computers, one running on Windows 7 LabVIEW 2010, and one running on Windows XP LabVIEW2010.  The original .exe was built with the XP machine, when I tried to make some changes with the Windows 7 machine and open the project it would say that there was a missing connection to the invoke node even though I did not touch that part of the application. I would then remove the invoke node, add it again and it would clear the error for whatever reason. I would then build the .exe with the Windows 7 machine and when it would run, the application would crash at the point where it goes to print the spreadsheet.  I got around this by building the .exe with the Windows XP machine, and it worked fine without any issues. However, my Windows XP machine cra**ed out so i'm no longer able to build the .exe on the XP machine .  I needed to make some changes to the .exe not anything involving this section of the code and for whatever reason when the application goes to print it crashes.  I get some criptic crash report from Windows that is pretty much useless.  I think its a Windows thing. This was workign correctly though until I did a build on the Windows 7 machine.
    Attachments:
    Printout Invoke Node Excel.png ‏70 KB
    crash1.png ‏22 KB
    crash2.png ‏23 KB

Maybe you are looking for

  • How to add fields to Structure in Report Painter

    Hi All, We have a requiremnt where we need to add 2 fields ( profit center-PRCTR & description-CEPCT-LTEXT ) to structure CCSS. This structure is attached to library 1VK. Is it possible to add fields directly to a structure or do I need to create a n

  • How to add a service account in SQL Server to display the "Service Account Name" and "Display Name"

    Can someone help with steps on how to add the following in SQL Server 2012 environments?<o:p></o:p> "Service Account Name" and "Display Name"<o:p></o:p> Your help will be greatly appreciated.<o:p></o:p> leonie6214

  • [Weblogic 10.3 Migration]RuntimeModelerException while deploying EAR file.

    Hi all, While migrating application to weblogic 10.3 i am getting RunTimeModellerException. We are not using any of the webservices in our application. Still we are getting webservice declared does not contain any methods Exception. Is there any way

  • Can a iTouch connect to a local iTunes Server

    Hi All Will you be able to connect to a local iTunes Server from your iTouch, or is this a no go? More precise - Can a iTouch connect to a LAN Disk that has support for iTunes Service? Regards Torben

  • Trial Version

    I renamed my old version of aperture 2, and have down loaded the trial version of Aperture 3. I imported a variety of images to test. Now I am unable to access (open) my old version. I get a popup that tells me I cannot import a particular image in t