Invoke Crystal Report from ProcessFlow

 6 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Ward Mitchell
Veteran Member
Posts: 81
Veteran Member
    We have a number of Crystal Reports written some time ago that calculate out some data and display them out in report form. A project we are working on is trying to take the logic out and build flows, but we are having issues. So the question came up, can Process Flow invoke Crystal? We think that if we change the Crystal Report to spit out data in delimited format, we can then take that and upload it into our systems; but may process flow could invoke and get the results and then work with the database saved out on the server at that point.

    Hope this make sense!
    JillF
    Basic Member
    Posts: 8
    Basic Member
      Do you have LBI? If so, maybe you publish the Crystal report and work with something like below as a start and then build in the parameters? I email this link from process flow to take users to the place to run the report - maybe you can take it further.

      http://svrname:9080/ers/e...=true&NewReport=true
      Ward Mitchell
      Veteran Member
      Posts: 81
      Veteran Member
        @JillF, we did this but for some reason the consultant that put us on to this has to pass credentials (username and passwords in the url) to achieve this.

        We have a portal page that has a drop down control that takes some dates (start and end). When you put the dates in and click the button a process flow will run on the spot. A part of that process flow is to call a Crystal Report that does some data calculations and then spits the report out to some place on our network. The report though is stored in LBI and thus why the credentials were needed - to authenticate. Unfortunetly we are a heavily regulated industry and cannot have clear test usernames and passwords in urls no place.

        Have you any experience with anything like this?
        Ward Mitchell
        Veteran Member
        Posts: 81
        Veteran Member
          Also @JillF, I can call the url I put together from the browser, but the pflow obviously cannot. A report with no parameters is good, but I wonder what happens if the report has parameters and how those get passed in the url as well. That is another issue that we will have since most of our reporting is company specific in our Lawson world. Just FYI.
          Ward Mitchell
          Veteran Member
          Posts: 81
          Veteran Member
            Running WebRun:

            Execution Log Window

            Starting Execution of Activities .....

            Executing WebRun Activity WebRun9900.....
            Posting to URL lsfdev.fcb.main/
            Post content: https://<>>/ers/ersRequestHandler.jsp?DisplayReport=true&CMD=VIEW&REPORTID=57&INSTANCEID=LATEST&OuterWrapper=true&NewReport=true&EFSSESSIONKEY=Y-DNpuEeDB6CgikAkv_BqT1&NEWREPORT=true
            WebRun9900_result =
            The page cannot be displayed




            The page cannot be displayed


            The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.


            Please try the following:



            • Contact the Web site administrator if you believe that this request should be allowed.

            • Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.


            HTTP Error 405 - The HTTP verb used to access this page is not allowed.
            Internet Information Services (IIS)




            Technical Information (for support personnel)



            • Go to Microsoft Product Support Services and perform a title search for the words HTTP and 405.

            • Open IIS Help, which is accessible in IIS Manager (inetmgr),
              and search for topics titled Setting Application Mappings, Securing Your Site with Web Site Permissions, and About Custom Error Messages.




            WebRun9900_errorCode = 0
            WebRun9900_informationCode = 0
            WebRun9900_returnMessage =
            WebRun9900_outputData =
            Executing Stop Activity .....
            End_errorCode = 0
            End_informationCode = 0
            End_returnMessage =
            JillF
            Basic Member
            Posts: 8
            Basic Member
              Well, I guess that wasn't such a good idea. I don't know anything about WSDLs and SOAP but maybe the web services node could be of use?
              John Henley
              Posts: 3353
                There are some inexpensive tools that will run Crystal from command line. See kenhamady com for some links. =
                Thanks for using the LawsonGuru.com forums!
                John