forked from eppye-bots/bots
-
Notifications
You must be signed in to change notification settings - Fork 2
ConfigurationSplit
skilchen edited this page Feb 17, 2016
·
2 revisions
One edi-file can contain several edi-messages. Eg:
- one edifact file, multiple ORDERs.
- one x12 file, multiple 850's.
- export routine of your ERP software puts all exported invoices in one file
- email with multiple edi-attachments
A bots mapping works best for one message (one order, one invoice).
So Bots splits up edi-files:
- Incoming email: different attachments are saved as a separate edi-files.
- Receiving zipped edi files: the files in the zip-file as saved as separate edi-files.
- For edifact, x12, tradacoms: interchanges are being split up to separate files.
- Incoming edi-files are being fed to the mapping-script as messages. This is done by 'nextmessage' in the grammar syntax, see Nextmessage.
- Spit within a mapping script. Think of eg splitting up a shipment to the
different orders. There are 2 ways of doing this:
- Write multiple message to the same file.
- Write each generated message to the same file, using alt translations.
[Home]
- Get started with bots
- Guide for bots-monitor
- Configuration
- How to debug
- Plugins
- Deployment and usage
- Advanced Deployment
- Troubleshooting FAQ
- Overview
- Changes and migrate
- Tutorials
- New to python?
- External reference links
- Useful Tools