jimmiebean
jimmiebean
Offline
0
I need to implement several reports that will run or print when triggered by either a transition, notification, or orchestration. I'm using SBM 2009R4. Use case example: User is batch entering records based upon paper documents received via mail. These documents will need to be mated with a cover sheet, which preferably is a report from the SBM workflow. I would like for the reports to print as the records are entered, so when the batch of records is completed, the user can pull the cover sheets from the printer and mate them up with the corresponding paper documents. I have an orchestration that runs after each record is entered, as well as a transition, or I could also build a notification if needed. Just not sure what the best approach would be. Any ideas? Thanks!
Responses (4)
  • Accepted Answer

    jimmiebean
    jimmiebean
    Offline
    Friday, May 27 2011, 04:32 AM - #Permalink
    0
    Please, let me know if my question isn't clear. The solution I'm hoping for is simple automation of printing a report when some event occurs. I just don't know enough about SBM yet to know what options are available. Thanks!
    The reply is currently minimized Show
  • Accepted Answer

    jimmiebean
    jimmiebean
    Offline
    Friday, May 27 2011, 06:12 AM - #Permalink
    0
    Maybe I could do this using javascript? Anyone have an example I could follow?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, May 29 2018, 03:50 PM - #Permalink
    0
    How about scheduling a report to the recipient? Never mind. TeamTrack 2009? That's showing it's age.

    When I try to print something, like on an inkjet printer, I get a Windows dialog which eventually requires clicking the "Print" button. While it's possible for VBScript to do that with "SendKeys", AppScript ain't VBScript and just getting VBScript to the point where it has a print dialog would be a "challenge".
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, May 30 2018, 01:29 PM - #Permalink
    0
    I'm thinking something like an AppScript that runs on the transition, invokes a C# DLL. The C# DLL runs a SOAP request to get the report as Excel. Then the C# DLL invokes printing of the Excel document. Not sure if 09R4 has reports exposed in SOAP. Also not sure if C# can print an Excel document.
    The reply is currently minimized Show
Your Reply