Oddity reading 835 documents via the X12 file reader

6 views
Skip to first unread message

Lawrence H. Harris

unread,
Jul 2, 2009, 8:33:34 PM7/2/09
to Ensemble-In-Healthcare
I have just setup a simple process using the EnsLib.EDI.X12.Service.FileService to read an document formatted as:
 
ISA GS ST-SE ST-SE ST-SE GE IEA
 
The category is 835=835_X091
The Target Config Name is 'Process X12 835 B' and there is no Reply Target Config Name
Batch handling is single session batch
 
The Operation 'Process X12 835 B' is EnsLib.EDI.X12.Operation.FileOperation
AutoBatchParentSegs is false
 
What I see is that I get 5 messages
 
Message 1 is the first ST-SE, Message 2 is the second ST-SE, Message 3 is the third ST-SE
Message 4 is the GS ST-SE ST-SE ST-SE GE (the input minus the ISA/IEA)
Message 5 is just a copy of the whole input.
 
I guess I can pass this to a message router to filter out messages 4 and 5 but is there any way to tell it I only want the 3 enclosed transactions?  I seemed to me that asking for Single Session Batching would break out each transaction.
 
I tried using BatchHandling set to individual with no apparent difference.
 
If I define ReplyTargetConfigNames as 'Process X12 835 A' then I get one additional file containing just an ISA/IEA with no contents.
 
Thanks, Lawrence
 
ps.  I am running Ensemble 2008.2.922
Reply all
Reply to author
Forward
0 new messages