sexta-feira, 4 de abril de 2014

Sterling B2B Integrator DeEnvelope an EDIFAC document part 2 UNH level

We are trying to DeEnvelope a EDIFACT CNTRL message, I chosed this type of document for it's simplicity and it's pretty much the same process for more complex documents.

Navigate to Trading Partner > Document Envelopes > Envelopes and hit new.
This is a UNH inbound.

There's no base envelope.

Give a name to the envelope.


As in the UNB this will be generic and therefore the star * sign.
Message Type: CONTRL (there's a typo on the screen).
Message Version Number: 2
Message Release Number: 1.
Controlling Agency, Coded: UN.

Select a control number see part bottom to check how to generate one.


Generate an error or no at BP level, check part 3.

Choose translate and the messages will be sent to a new BP already translated, if you leave you will get the raw content, if you select retain enclosing envelope on first option screen it will output original document to process data but you get metadata relative to it, useful for simle routing with no translation.

You can generate a map name from properties of the envelope, don't really find this very useful but it is an option we are using a specific map for the purpose.

Select the map from the ones available, this is the same map I use to explain the map EDI to XML in previous blog entries. 

 Specify if you want to validate the translation and raise an error in case of invalid translation.
We are using a business process to process our translated document and it should be invoked for each translated document. If you check the second radio in the For each document option you will get a set of documents in the BP Document Area. 

Select the business process to execute for each document. This BP will be shown in part 3.

Besides or instead of calling a business process you can immediatly resend the document to a mailbox (and route it on FilleGateway) or store it in a folder.

 For error documents you can route them to an error BP to be handled.
Specify the error BP, this is not covered in the tutorial so lets leave it blank.

Set security if necessary for use with EDI security settings.

Confirm the envelope.

That's it finish and we are done with the envelopes part, check the third part of the tutorial to see the BPs in action.



Sem comentários:

Enviar um comentário