printing a sales order using BOI

SUGGESTED

Hi Forum,

I am trying to create a BOI script to print a sales order.

i cannot go pass the following code:

Set soPRINT = oScript.NewObject("SO_SalesOrderPrinting_rpt", oss)

The code is from a script that i found on the forum and when i run it i get  and error message...

<NewObject error: 200>   

Code: 80020009

Source: ProvideX.Script.1

I am browsing the Internet and i cannot find an answer to the error.

Any suggestions?..

Regards,

Manuel Roman