Moving Print Manager Reports via Process Flow

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Bob K
New Member
Posts: 1
New Member
    To send a report (or truly an index pointer) manually in Print Manager to another group or user, I hit the drop down button and click on either "Send To Group" or "Send To User" and proceed.  How can I do this in Process Flow?  If I knew the GEN object(s) that did this behind the scenes, I think I could pull this off.
    Greg Moeller
    Veteran Member
    Posts: 1498
    Veteran Member
      Not sure if system commands are possible in Process Flow, since I don't use it, but if they are, you simply copy the .prt file to another's print/username/jobname/1/ directory and use the Lawson command loadrpts -s -u username jobname -p productline
      Ari
      Veteran Member
      Posts: 49
      Veteran Member
        You can use the Syscommand Node to run the loadrpts command or run an SQL command form an approiate command line utility. I do this exact thing from Process Flow. I use an SQL command to do it because the loadrpts has a bug in it that doesn't like the way we have our Windows Domain\Name structure set up. It works for us but it throws a whole bunch of errors into the Windows event log. I use the sqlcmd utility for SQL Server to copy records for the appropriate user to the new user in the USERRPT Table in the GEN Database. I can point the index pointer for the new user to the files in the old users print directory.