title: Debatching Biztalk flat file message into individual grouped flat files based on value
body: <p>Have an issue where I am trying to debatch a flat file in BizTalk Server (comma delimited to tab-delimited) into individual flat files based on a value (in this example it would be PONumber) in the original file.</p>
  <p>Sample input:</p>
  <pre><code>PartNumber,Weight,PONumber,Other
  21519,234,46788,1
  81919,456,47115,1
  91910,789,47115,1
  </code></pre>
  <p>This would outcome into 2 messages such as:</p>
  <pre><code>PartNumber  Weight  PONumber    Other
  21519   234 46788   1
  </code></pre>
  <p>and</p>
  <pre><code>PartNumber  Weight  PONumber    Other
  81919   456 47115   1
  91910   789 47115   1
  </code></pre>
  <p>I have seen similar things but no definite answers, or samples are dead links. Does anyone have a sample where they have done something like this or have a good solution?</p>