Configure BizTalk Server 2006 R2 EDI to batch outgoing EDI messages
Scenario
Example from MSFT: You work for Contoso Winery. Your ERP system outputs invoice messages using a custom XML Schema. You need to turn these custom XML messages into EDI messages to send to a trading partner. The trading partner is located in Ireland, so the EDI messages must be EDIFACT. Also the trading partner requests that the invoices be sent in batches of three (3). In this scenario, you will deploy the artifacts necessary to turn the XML messages into EDI, and you will configure EDI batching for the trading partner.
![]()
Task 1: Build and Deploy application
Task 2: Configuring the BizTalk Application
Create a Recieve Port and Receive location.Apply Map to receive port
Create Send port. Apply filters ” EDI.DestinationPartyName == ‘XXX’ and EDI.ToBeBatched == ‘False’ “
Create Party Name “XXX”
Once you’ve added this party, right click on the “XXX” party in the Parties pane and select EDI Properties.
Fill out the UNB Segment Definition (scroll down in the left pane to find this: EDIFACT Properties -> Party as Interchange Receiver –> EDIFACT Interchange Envelope Generation –> UNB Segment Definition)
with the following values Using Value UNB2.1 Contoso UNB2.2 ZZZ – Mutually Defined UNB3.1 ContosoBuyer UNB3.2 ZZZ – Mutually Defined Now click on the Interchange Batch Creation Settings in the left hand pane (EDIFACT Properties -> Party as Interchange Receiver-> Interchange Batch Creation Settings). Click on the Filter button (opens another dialog box).
Under the Property column, find “BTS.ReceivePortName”
Leave the Operator as ==
![]()
Task 2: Starting the EDI Application
![]()
Complete this Task on:
![]()
a. In the BizTalk Server 2006 Administration Console, find the BizTalk EDI Application.d. This starts the EDI Batching Orchestrations and the Command Receive location.
Set the Value column to “ReceivePort1” (no quotes).
Press OK to close the Filter dialog.
Click the radio button next to “Maximum number of transaction sets in”
On the combo box under this setting, set the value to Group:
In the text box next to Group: put the value “3” (no quotes).
Press the Start button (found at the bottom of this page).
On the resulting dialog select Yes.
Press OK to close the EDI Properties dialog.
b. Right-click on the BizTalk EDI Application application node and select Start.
c. On the Start dialog press Start.
Read Full Post | Make a Comment ( None so far )


