Steve,
Yes you can do this with the Flat File Schemas. I think your schema will have to specify 2 sub records. Record 1 is the address and can repeat up to 7 times. Record is the detail lines and can repeat unlimited amount of times.
You will probably have to play around with the structure of the schema to get it exactly as you require.
Review the WM EDI Users Guide, WM Flat File Schema Developers Guide and have a look at the WmEDISamples and WmFlatFileSamples packages for examples.
If I’m off base someone else will chime in.
HTH
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods