Originally posted by: LilyS
Let me give a brief summary of what happens in TM
1.- Inbound data:
You have an external partner sending data to an internal partner. The ISA information does not get validated or used at that time.
If you select to create an acknowledgement for that data, the acknowledgement (either a 997 or 999) will get created using the following possiblities for the ISA segment
a) either 00401 or
b) whatever value the input data file has (which is useful in case it is a 00501 data file).
This is currently being defined as a parameter in output card 8 of the export map (in future will be included in the Partner manager GUI).
For acknowledgements, even if the tradelink is partially enveloped, the ISA does not get changed to whatever is defined in the external partner. In case of fully enveloped tradelink for the acknowledgement, nothing else happens. For a partially enveloped acknowledgement, the delimiters anc control number are changed.
2) For outbound data other than acknowledgements, if the data is partially enveloped, the ISA value defined in the external partner is used for the resulting outbound file, and also the control number is increased and delimiters changed. For fully enveloped, the outbound file should look identical as the original.
With this in mind you can have the following scenarios:
1) An inbound 5010 data file that produces either a 5010 or 4010 ISA based on the flag set up in the export map, regardless of the ISa value of the ISA in the external partner setting in partner manager
2) A 5010 or 4010 outbound file that gets reenveloped with a 4010 ISA if the external partner has that in the settings and the tradelink is partially enveloped, or a 5010 or 4010 outbound file that gets reenveloped with a 5010 ISA if the external partner has that in the settings and the tradelink is partially enveloped
what you cannot have is an outbound 5010 file going to the same external partner with a 4010 ISA one time or a 5010 another time.
In regards to the question:
In other words can a TP accept 5010 claim & respond with a 4010 835 or a 4010 FA ?
I'm assuming accept 5010 claim means an inbound file. in this case, trading manager will only create and send outboud an FA and the isa on that FA will depend on the setting in the export flag (so it can be either a 5010 or 4010, but always the same). Trading Manager does not generate 4010 835, so these might need to be created by an external application and then send back as outbound data to trading manager. The external application could decide what to put in the ISA, but ultimately, whatever value the external parner has in trading manager, will override that if the tradelink is set to Partially enveloped.
Hope this helps.
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange