Viewing a form from within Service Manager
  • Joshua Crooks
    Viewing a form from within Service Manager

    by Joshua Crooks » Tue Nov 29, 2005 3:09 pm

    I've created a form that needs to be able to be viewed from with in the service manager area i.e click on the print button and select the CLAIM.STY form if possible. How do I do this using scripting?
  • COBS Tech Support
    Posts:683
    Joined:Fri Sep 09, 2005 8:23 am

    by COBS Tech Support » Tue Nov 29, 2005 3:12 pm

    Try the following:

    Create a file called SERV1.MAC and place this in your \CAPITAL folder. When you go into Service Manager, select Run Task|View Claim from the main menu.

    * View Claim
    * COBS Tech Support, Create print job & launch Visual Builder

    Declare JobScript Type Character
    JobScript := "Declare FirstTran Type Character"
    JobScript := JobScript + CHR(13) + CHR(10)
    JobScript := JobScript + "FirstTran := '" + Smjobs->Job + "'"

    CreatePrintJob("CLAIM", JobScript)
    RunApplication("VB.EXE",, "/NOPROMPT")

Who is online

Users browsing this forum: No registered users and 1 guest