Does anyone know how to launch the Sales Order UI after importing a sales order with VI?

SUGGESTED

We use VI quite extensively and it works great. We use it to import many of our orders. After the VI jobs run, we open the sales order entry screen and enter the sales order number to do final editing and to print/email.

Does anyone know how to add a command to launch the Sales Order UI after the job has imported? Also, could the command take a parameter and actually open the imported order?

I tried a couple of iterations, like "..\SO\SO_SalesOrder_ui.pvc" after completion, but it just crashes.

Thanks everyone!!!

Parents
  • 0

    Thanks Will and Big Louie! I have gotten pretty good at VI and I even did the online video course for the BOI. It was years ago and I cannot find where I put the documentation. I'm thinking that a BOI script from a batch file is definitely where the answer lays. On a related note. I created a vbs file that runs a simple message that pops up after the job is finished to notify the user that the all the jobs are complete (4 chained VI jobs). The code "msgbox("Job Completed")" works fine when I call it from perform logic, but If I try to put a title on the window like "msgbox("Job Completed",0,"Order Imports")" it crashes in VI. Any ideas?

Reply
  • 0

    Thanks Will and Big Louie! I have gotten pretty good at VI and I even did the online video course for the BOI. It was years ago and I cannot find where I put the documentation. I'm thinking that a BOI script from a batch file is definitely where the answer lays. On a related note. I created a vbs file that runs a simple message that pops up after the job is finished to notify the user that the all the jobs are complete (4 chained VI jobs). The code "msgbox("Job Completed")" works fine when I call it from perform logic, but If I try to put a title on the window like "msgbox("Job Completed",0,"Order Imports")" it crashes in VI. Any ideas?

Children