https://www.youtube.com/watch?v=46L_e832dGk
- XMLPorts cannot meet the requirements of the EDI structure
- Instead, build a codeunit that writes a text file in the exact format you need
- Sender/Receiver qualifier ID's and DUNS
- https://medium.com/orderful/edi-transaction-setup-isa-id-20d0ba0b7716
- Qualifier codes
- Examples
- Resources to help identify the file structure
- Download EDI Notepad to view EDI files and confirm if they meet the basic structure requirements
- CAL to Create Text file and write to it
File1.CREATEOUTSTREAM(OutStreamObj);
OutStreamObj.WRITETEXT ('First line of text that you want to write to text file');
OutStreamObj.WRITETEXT ('This is not the second line of text to be outputed but to concatenate with the first line');
OutStreamObj.WRITETEXT(); // This command is to move to next line
OutStreamObj.WRITETEXT('Second line will start here') ;
File1.Close; // To end the writing and write out to the file.