Hi J
My sincere apologies for the delay in getting back to you, I wanted to test a few scenarios.
Essentially your approach was perfectly valid – i.e. capturing the raw data and then processing it in a map or workflow.
However, you may prefer to use some of the more advanced flat file parsing functionality.
I’ve attached an export of two schemas. The first extracts the date/time and record type into fields, and then captures an array of / separated data fields. This would be a good starting point for mapping logic, and would enable filtering on the record type field.
The second schema is more sophisticated, and allows you to specify a separate Xml structure for every record type. Note that this only supports records 01 and 26 currently and would need extending.
You'll need to download version 1.3.16 to use these schemas, which is available from http://www.smartsintegrator.com/download.aspx.
If you play with both of these using your sample file I’m sure you’ll get the idea. Let me know if I can help you with this further.
Please let me know if I can assist at all when you get onto creating any map or workflow logic, or if you have any other complicated scenarios that you require advice upon.
Thanks again, I look forward to speaking soon,
Ben.
Ben Jackson | SmartsIntegrator Support
Ben Jackson
SmartsIntegrator Technical Support