Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TrustedLink VB resources needed 2

Status
Not open for further replies.

Dimandja

Programmer
Apr 29, 2002
2,720
US
Is it possible to interact with TrustedLink Windows 6.3 programmatically?

For example, instead of manually creating print output, I wish to programmatically coax TrustedLink into handing over the output to my program. A script, perhaps?

 
Hi,

By "handing over", do you mean create the flat file
from say an EDI850?

My customer is creating the (EDI830 & EDI820) flat file manually, then running my interface program which
posts to the 830 to their customer order file and the
820 to a remittance settlement holding file.
The 820 is posted to the A/R file when the settlement date
has been reached. Probably more than you want to know...

I found the following info on my customer's server:
-------------------------------------------------------
You can automate routine TrustedLink tasks by executing them in batches (several operations in sequence) and/or at pre-set times.
For example, if you normally start the day by sending the documents you prepared yesterday, receiving today's documents, and printing them out, you can create a script (a series of commands) that will accomplish these tasks while you attend to other work.

You can also schedule the script to carry out the same tasks at midnight, when rates are lower and nobody else needs the printer. With the Script Scheduler, you can run a script on selected days of the week or month, and at selected times of the day.

The script and its schedule are saved together, and can be run whenever needed.
The script functions available depend upon whether or not you purchased the full Task Automation package. The following basic options are available to all users:

§ Communications (sending and receiving)
§ Printing documents
If you have the full Task Automation package, the following supplementary options are available:

§ Viewing documents
§ Archiving, moving, and deleting documents
§ Document turnaround and mapping
§ Saving raw e-commerce data
§ Reporting and other administrative options
See also

Building and editing a script
Scheduling and running a script
Script commands
Print Text Documents

© Copyright 1995-2001 Peregrine E-Markets, Inc.. All rights reser
---------------------------------------------------------

Task Automation lets TrustedLink perform functions, automatically and at scheduled times, and group commands for batch execution. This module can free personnel for other tasks, and maximize resource use by scheduling some functions at night, or other times when machines are not needed and costs are lowest.
The basic TrustedLink installation includes the functionality to schedule and perform unattended communications and print documents. The full Task Automation module extends this capability to virtually all routine tasks except keyboard data entry.

See also

Automating Tasks with Scripts

© Copyright 1995-2001 Peregrine E-Markets, Inc.. All rights reserved.
---------------------------------------------------------

Running a Script with the Run Command

To run a script one time and only when you give the command, follow these steps:

1. On the Operations screen, click Scripts under Support Folders. Your scripts appear in the documents list.
2. Select the script. Right-click it and select Run. The commands in the script are executed in the order in which they appear.

© Copyright 1995-2001 Peregrine E-Markets, Inc.. All rights reserved
 
Thanks Kirby, for the information.

But what I really need to do is something like this. Customer relations calls me and asks for a copy of a specific 850. I enter the PO Number or Part Number (somewhere), and bingo, the document is created and is on its way to CR by email.

Instead, this is what TrustedLink will let me do. Manually I search through hundreds of thousands of transactions to find the correct one. I then move it to the IN box in order to print it. So far I would have spent considerable amounts of time, because each step (in TrustedLink) is arduous and time consuming.

At this point I have options:
1. Print a hardcopy and walk it to CR.
2. Create an XML document and let CR use IE to read it.
3. Create a PDF and email it to CR.

Steps 2 and 3 will create documents that get dumped to preset and possibly immutable disk locations, and each file is named randomly -- meaning you cannot mail it without first opening it, reading it, and identifying which request goes with which file.

I don't know how to force TrustedLink to name each file using my own conventions or disk locations. I'm trying to resist writing an application to handle the tasks I described above, if there is a way to coax TrustedLink into being a bit more cooperative. Does anyone know?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top