Page 1 of 1

Viewing a form from within Service Manager

Posted: Tue Nov 29, 2005 3:09 pm
by Joshua Crooks
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?

Posted: Tue Nov 29, 2005 3:12 pm
by COBS Tech Support
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")