Koha::Edifact::Transport
my $download = Koha::Edifact::Transport->new( $vendor_edi_account_id ); $downlowd->download_messages('QUOTE');
Module that handles Edifact download and upload transport using the modern Koha::File::Transport system. Supports SFTP, FTP, and local directory operations through a unified interface.
Creates an object of Edifact::Transport requires to be passed the id
identifying the relevant edi vendor account. The account must have a
file_transport_id configured to use the modern transport system.
getter and setter for the working_directory attribute
called with the message type to download will perform the download
using the configured file transport
passed an array of messages will upload them to the supplier site using the configured file transport
loads downloaded files into the database
internal method returning standard suffix for file names according to message type
creates the message hash structure for storing in the database
Colin Campbell <colin.campbell@ptfs-europe.com>
Copyright 2014,2015 PTFS-Europe Ltd This program is free software, You may redistribute it under under the terms of the GNU General Public License