Wonach suchst Du?
What are you looking for?

Extract particular fields from a generated EDI file

Example

Here is an example for generated DESADV files:

#!/bin/bash
FILES=./desadv*

for f in $FILES
do 
 sed '2!d' $f | cut -c 210-221 >> ./list_desadv.txt
done

Notes

This snippet is very useful if you have a bunch of EDI files generated by metasfresh and you need to know the POReferences of all shipments (M_InOut records) that made it into EDI files.


View source file on GitHub.com