![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
In this tutorial you will use TIBCO ActiveMatrix BusinessWorks and TIBCO BusinessConnect B2BPlugin for CMI running on one machine to send an X12 850 purchase order transaction to a trading partner.Normally the trading partner is represented by another B2B engine running on another machine. However, this tutorial is run on a single machine and when the 850 transaction is sent to the trading partner, the transport properties are defined to store the request in a directory on the local file system.
3. The FILE transport will be used to simulate sending the interchange to the trading partner. By using the FILE transport, the B2B-X12 interchange will be written to a file on the local file system when it is sent to the trading partner.The X12_850 project contains several processes in two folders: B2B-X12 Message Processes and Error Advisory Processes.Send Request Process Reads an X12 850 document from a file and sends the document to BusinessConnect using the Send Request notification activity.This folder contains process that would be activated if TIBCO BusinessConnect were to send out any advisory messages during the processing of the 850 transaction.Receive General Error Advisories Shows how to use the activity BusinessConnect Receive Misc Msg to receive the General Error Advisory messages from BusinessConnect.For more information on when TIBCO BusinessConnect would send out a general error advisory, refer to the TIBCO BusinessConnect B2BPlugin for CMI, User’s Guide.To see the 850 transaction, select B2BPLUGIN Outbound> Send Request Process. The Send Request Process is shown in Figure 4.Figure 4 Send 850 Txn to BC
2. Sends the document to BusinessConnect using the activity BusinessConnect Send Request/Notification.
1. Select the Tester tab.
2. Figure 5 Select Process to Load
3. Check the checkbox next to Send Request Process in the B2BPLUGIN Outbound folder. Check the checkbox next to processes in the B2BPLUGIN Error Advisories folder.
4. Check the checkbox next to Receive Request Process in the B2BPLUGIN Inbound folder. Check the checkbox next to processes in the B2BPLUGIN Error Advisories folder.
5. Click Load Selected.If everything was configured and run properly, you will get the result shown in Figure 6, Send Request Process Completed.Figure 6 Send Request Process Completed
2. The X12 interchange is written to a file on the local file system where it simulates sending the interchange to the trading partner.
• The Send Request/Notification activity contains output that indicates the 850 transaction was successfully sent to the trading partner.
• The directory c:\testBCB2B\out should contain a file which contains the B2B-X12 850 transaction that was sent to the trading partner by TIBCO BusinessConnect B2BPlugin for CMI.
• The audit log should contain entries that for each processing state that occurred in TIBCO BusinessConnect. See View the Audit Log.
1.
2. Figure 7 Send 850 Txn To BC Audit Log
4. Click the Details iconin the search results area for a specific operation to view the details of the transaction.
Figure 9 RECEIVED_FROM_PPThe Detail View gives you all message details. It also indicates whether a particular message can be resent or saved.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |