Previous Topic

Next Topic

Book Contents

Book Index

Command Line Scripts

This example shows you how to setup a script to logon to Accredo, perform an operation (such as an EDI export, import or both), and log out again. This example logs in as the Accredo user, exports a contact list using File Exporting and logs out.

If not Login("ABC Holdings", "ACCREDO", "ACCREDO") then Error "Login failed"

Dim Form1 as Object
Form1 = CreateObject("Accredo.FEExportReport")
Form1.Load("ContactList.pfa")
Form1.Run
Form1 = Nothing

If not Logout Then Error "Logout failed"