BizTalk Gurus

simple mapping question?

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 0 Followers

posted on Mon, Jan 11 2010 12:15 PM

I am attempting to take an X12 850 schema and I want to map a node's data elements to a record in a multi record 'flatfile'. 

basically I am mapping to a file that looks like the following

Node 1

         PO Number tag

         PO Number

Node 2

         N1 name tag

         N1 name

Node 3

         N2 addtnl name tag

         N2 addtnl name

basically, the first element of each node is just a hard coded value and the second element is the actual value as shown next

PO Number   01133334

Cust Name   Customers Name

Cust Address   111 N.Maple Dr

the second part of the record comes from the source.  but if the source node doesnt exist because no data was sent, then I simply want to kick out the tag (and empty element) in the target node.  I can force this to happen, except when the source and target elements are connected in the map!  if I unhook and test, it works fine and outputs just the first tag part and an empty second element...  why would this be please?

FC

Page 1 of 1 (1 items) | RSS