terça-feira, 8 de abril de 2014

Sterling B2B Integrator Enveloping an EDI message Part 1 - Creating the UNB envelope

This topic follows the previous entry to DeEnvelope a message. The message to be enveloped will be again a simple CONTRL EDIFACT message for it's simplicity but the principle can be applied to any EDI enveloping. We are going through both the immediate and deferred mode.

Lets start by creating the Outbound envelope UNH at level.


The envelope type for this tutorial will be using EDIFACT standard.


This is an Outbound UNB level.



There is no base Envelope.



It's being named GENERIC_UNB_UNZ_ENVELOPE_OUTBOUND, it's a good practice to name envelopes for type and direction, if it is for particular sender/receiver pair also specify it.



Use correlation overrides so you can set values like sender/receiver at BP level, this way the envelope can be more generic. The only settings we are inserting is Syntax Identifier and version.


Lets use the control number generated in the DeEnvelope tutorial.


There is no limit settings for this envelope but it can be restricted on size or number of UNH messages.


Leaving default delimiters and including the delimiter definition segment UNA, which is place at the top of the EDI message, e.g., UNA:+.? '


No encoding on the scope of tutorial.


For each document enveloped we want a BP to process that file therefore the option Specifying a business process.


The BP will be created on part 3 of tutorial alter this setting once the BP is created.


As stated before we are creating a BP to process the enveloped messages, the other options allow deliver the message directly using SFG with the option of extract to mailbox or put the message to the file system specified directory (The following substitution tokens are supported: %y (2 digit year), %Y (4 digit year), %m (month name), %M (month as a decimal number), %d (day name), %D (day of the month as a decimal number), %H (hour in 24-hour format), %N (minutes), %S (seconds), %P (process ID), %K (document ID))  


Verify and confirm.




Finish the first part of the tutorial next part we are configuring the UNH envelope level.



1 comentário:

  1. Best B2B portal in India When it comes to turning visitors into buyers, the perfect B2B website makes all the difference. In this piece, we'll highlight the greatest B2B website examples we've ever encountered before diving into three site-building strategies.

    ResponderEliminar