[Bug 7736] New: Edifact QUOTE and ORDER functionality
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Priority: P5 - low Change sponsored?: --- Bug ID: 7736 Assignee: henridamien@koha-fr.org Summary: Edifact QUOTE and ORDER functionality QA Contact: koha.sekjal@gmail.com Severity: enhancement Classification: Unclassified OS: All Reporter: mark.gavillet@ptfs-europe.com Hardware: All Status: NEW Version: rel_3_6 Component: Acquisitions Product: Koha Created attachment 8275 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8275&action=edit Patch and included QUOTE message example Patch adds QUOTE and ORDER functionality for version 3.6. Includes staff permissions, storing and viewing EDI messages, importing QUOTE messages from vendor FTP accounts, BIB record matching and creation, purchase order creation, item creation, ORDER message processing and transfer back to vendor FTP site, logging. Related to bug 2443 Instructions for setting up a test environment are included as an attachment and a sample QUOTE message is included in the patch. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #1 from Mark Gavillet <mark.gavillet@ptfs-europe.com> --- Created attachment 8276 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8276&action=edit Instructions for setting up a test environment for the patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff CC| |nengard@gmail.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Mark Gavillet <mark.gavillet@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8275|0 |1 is obsolete| | --- Comment #2 from Mark Gavillet <mark.gavillet@ptfs-europe.com> --- Created attachment 8446 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8446&action=edit Updated patch with bug fixes and renaming Edifact::Interchange namespace to Business::Edifact::Interchange Perl dependency Edifact::Interchange listed in previously included instructions document should now be Business::Edifact::Interchange -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.poulain@biblibre.com Assignee|henridamien@koha-fr.org |mark.gavillet@ptfs-europe.c | |om --- Comment #3 from Paul Poulain <paul.poulain@biblibre.com> --- Mark, you're the author of the patch, so I've assigned the bug to you. Plus the updated patch is "application/octet-stream", don't you have forgotten to set "patch" to the attachment ? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Mark Gavillet <mark.gavillet@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8446|0 |1 is obsolete| | --- Comment #4 from Mark Gavillet <mark.gavillet@ptfs-europe.com> --- Created attachment 8635 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8635&action=edit Replacing previous application/octet-stream patch Replacing previous application/octet-stream patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #5 from Paul Poulain <paul.poulain@biblibre.com> --- (In reply to comment #4)
Created attachment 8635 [details] Replacing previous application/octet-stream patch
Replacing previous application/octet-stream patch
Thanks Mark, note that you could have updated the initial patch: click on "Details" on the right of the patch click on "(edit details)" just after the patch title you'll see a form where you can change patch informations (including obsoleting one without uploading another) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #6 from Nicole C. Engard <nengard@gmail.com> --- This says 3.6 does that mean it won't work in 3.8? I haven't tried to test or apply this yet, just wondering about the versioning. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|rel_3_6 |master --- Comment #7 from Paul Poulain <paul.poulain@biblibre.com> --- (In reply to comment #6)
This says 3.6 does that mean it won't work in 3.8? I haven't tried to test or apply this yet, just wondering about the versioning.
I hope it doesn't. All patches for ENH must be submitted against master. Changing version -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brendan@bywatersolutions.co | |m --- Comment #8 from Brendan Gallagher <brendan@bywatersolutions.com> --- I was able to install this patch on current master 3.09.00.004 (pulled right before trying).. So the patch does work, I'm working on finding a librarian that needs EDI to do some testing for me. Once I can get a full test done - I will sign off on this patch. -Brendan -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Mark, thank you for providing those patches and the documentation! :) I was reading through your patch trying to figure out how it all works and found some small issues: For the new permission to be available on new installations, it has to be added to the sample sql files. There is a test that you can run to make sure you got all necessary files - xt/permissions.t. The new tables have to be added to kohastructure.sql for the same reason. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8635|0 |1 is obsolete| | --- Comment #10 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 10226 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10226&action=edit Rebased patch I have rebased Mark's patch against master and added entries to deal with the issues raised by Katrin in her last comment. Also if people have sample Edifact messages I'll gladly add them to the tests in the cpan Edifact module -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #11 from Brendan Gallagher <brendan@bywatersolutions.com> --- Thanks Collin - Again no problem installing the code on master. And everything works great for the examples that you gave. I have since worked on creating an new edi_message to test with a US company Baker and Taylor. It's currently only outgoing and I'm waiting on an example incoming from them. Once I have that I will forward it along to include with this - and hopefully some patches too.. My comment. I had to hard code in the Rebus/EDI.pm to be able to successfully create a outgoing .CEP (to a non-ptfs-europe example)... Which I did and I've forward that onto the vendor. I also notice that it's hardcoded for GBP. So I'm wondering - are those changes that we should make to the code? - so it's not so "hard" coded. Or is that part of the scope that you are developing for and we're going to see some more patches? (Just want an idea on where I should send our development team) Anyways - code works. I can sign off on this as is. But I really want to have a discussion with some more developers, before I sign-off - since this would have to be hard coded for anyone to use it with there choice of vendor - and it doesn't take advantage of information that is readily available through koha (currency, etc. or even the EAN/SAN accounts created in the database). Hope that makes sense. -Brendan -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10226|0 |1 is obsolete| | --- Comment #12 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 12398 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12398&action=edit Revised Patch This is a revised patch reflecting the EDI as currently running in production. It needs in addition an entry to the db upgrade script, however the location of the code is more standard than in the previous;y submitted patch, small changes have been incorporated and I've addressed some issues that would have triggered failures in critic tests. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12398|0 |1 is obsolete| | --- Comment #13 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 12438 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12438&action=edit Revised patch This revision add updatedatabase entries for the tables. It also avoids the hardcoded currency code. At the moment Koha does not enforce use of the standard codes so this is a bit kludgie at the moment, but in practice library Acquisition depts are usually using these -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <tajoli@cilea.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tajoli@cilea.it --- Comment #14 from Zeno Tajoli <tajoli@cilea.it> --- Errors on apply the patch: error: patch failed: installer/data/mysql/sysprefs.sql:382 error: installer/data/mysql/sysprefs.sql: patch does not apply error: patch failed: installer/data/mysql/updatedatabase.pl:5966 error: installer/data/mysql/updatedatabase.pl: patch does not apply In fact the problem is trivial: those files (sysprefs.sql and updatedatabase.pl) are changing quite quickly those days -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #15 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- (In reply to comment #14)
Errors on apply the patch: error: patch failed: installer/data/mysql/sysprefs.sql:382 error: installer/data/mysql/sysprefs.sql: patch does not apply error: patch failed: installer/data/mysql/updatedatabase.pl:5966 error: installer/data/mysql/updatedatabase.pl: patch does not apply
In fact the problem is trivial: those files (sysprefs.sql and updatedatabase.pl) are changing quite quickly those days
If you use git am -3 you'll be able to resolve the conflict yourself. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <tajoli@cilea.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply --- Comment #16 from Zeno Tajoli <tajoli@cilea.it> --- Hi to all. I can't sign-off the patch. In kohastructure.sql and updatedatabase.pl I see: CREATE TABLE IF NOT EXISTS edifact_messages ( key int(11) NOT NULL auto_increment, message_type text NOT NULL, date_sent date default NULL, provider int(11) default NULL, status text, basketno int(11) NOT NULL default '0', PRIMARY KEY (key) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; The string key is a reserved word in Mysql 5.5, http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html I don't know if it is better to use `key` or to use a different name -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #17 from Paul Poulain <paul.poulain@biblibre.com> ---
I don't know if it is better to use `key` or to use a different name
Using a keyword is always as field name a bad practise, so I would say use a different name ! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12438|0 |1 is obsolete| | --- Comment #18 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 12467 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12467&action=edit Revised patch Revised the patch to not use mysql keyoword in messages table. updated interface to reflect that -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff CC| |colin.campbell@ptfs-europe. | |com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #19 from Zeno Tajoli <tajoli@cilea.it> --- I find those problems in the patch: a)It doesn't create the dir misc/edi_files b)It doesn't create the file edi_quote_cron.pl (same function with a different name?) I find the test file, ptfs-europe-koha-community.CEQ, in an obsolete attach. I don't have an EDI vendor, only a FTP site so I strictly depend on the test "Instructions for setting up a test environment for the patch" to do tests -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <tajoli@cilea.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #20 from Zeno Tajoli <tajoli@cilea.it> --- The test of this patch is failed. The instructions say: 4. Add EANs to your local ordering branches Go to Administration > Additional Parameters > EDI EANs This operation is not possible because the .pl files admin/edi_ean_accounts.pl admin/edi_ean_edit.pl and the connect table 'edifact_ean' are not more present in the patch The .pl files and the definiton of the table were present in the version of the patch dated 2011-06-11 It not clear if are wrong instructions or code. If instructions are correct probably a merge of the two patch is possible. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #21 from Colin Campbell <colin.campbell@ptfs-europe.com> --- The instructions accompanied the obsoleted patch which was of 3.4 vintage, the table files are mot present in aites using this in production -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #22 from Zeno Tajoli <tajoli@cilea.it> --- Ok, but can you rewrite the instructions ? I can do the test but I don't know EDI, so I need instructions to do ti -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #23 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Section 4 of Mark's original instructions is incorrect the Edifact EAN for the library is now stored in the syspreference EDIfactEAN. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <tajoli@cilea.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8276|0 |1 is obsolete| | --- Comment #24 from Zeno Tajoli <tajoli@cilea.it> --- Created attachment 13071 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13071&action=edit Instructions for setting up a test environment for the patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #25 from Zeno Tajoli <tajoli@cilea.it> --- Dear Colin, can you check the instruction for testing the patch now ? I have delete step 4 but I have doubts about those lines: "On the command line cd to misc/cronjobs and run 'perl edi_quote_cron.pl' (ordinarily this would be automated at intervals using the cron)" Now the script edi_quote_cron.pl is not present but are 3 different script are avaible for EDI in misc/cronjobs. Can you update the istructions about them ? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Irma Birchall <irma@calyx.net.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |irma@calyx.net.au -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Elliott Davis <elliott@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |elliott@bywatersolutions.co | |m Patch complexity|--- |Large patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Elliott Davis <elliott@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12467|0 |1 is obsolete| | --- Comment #26 from Elliott Davis <elliott@bywatersolutions.com> --- Created attachment 15304 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15304&action=edit Bug 7736: EDI Edifact quote and order functionality Rebased for current master. I will be adding unit tests in a follow up patch This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #27 from Zeno Tajoli <z.tajoli@cineca.it> --- Hi Elliot, could check the instructions to test the patch ? I will the the commit but I need instructions. I don't know EDIfact -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Elliott Davis <elliott@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #15304|0 |1 is obsolete| | --- Comment #28 from Elliott Davis <elliott@bywatersolutions.com> --- Created attachment 15729 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15729&action=edit Bug 7736: EDI Edifact quote and order functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Elliott Davis <elliott@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #29 from Brendan Gallagher <brendan@bywatersolutions.com> --- Planning on rewriting the testing plan for this. I will also provide an FTP server for testing that portion of the code. I should have this completed Monday March 18th. And then we can test and sign-off that week in time for QA to review before the freeze. Thank you, Brendan -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #30 from Zeno Tajoli <z.tajoli@cineca.it> --- I confir that tomorrow i will start to test it -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #31 from Brendan Gallagher <brendan@bywatersolutions.com> --- Test Plan - Koha EDIfact module - PTFS Europe (Updated by Brendan Gallagher - ByWater) Setup and testing ----- 1. Allocate permissions to a staff user Find a staff user and click the Details tab. Select More > Set permissions Expand the Tools options, then check '(edi_manage) Manage EDIFACT transmissions', then click the Set flags button This user should now be able to see an EDIfact messages option in Tools > Additional Tools 2. Set default values for testing the included quote message Add two test branches with the branchcodes 'BRANCH1' and 'BRANCH2' Add two funds with the fundcodes 'FUND1' and 'FUND2' Add three itemtypes with the codes 'BKREF', 'BK1WK', and 'BK4WK' Add three authorised values in the LOC category - 'REFERENCE', 'STORE', and 'SHELVES' 3. Add the test bookseller and EDIfact account details Create a new bookseller with the name 'PTFS-Europe' Go to Administration > Additional Parameters > EDI Accounts Add a new account: Vendor: PTFS-Europe Description: Test EDI FTP account Server hostname: <hostname of your FTP account> **ByWater is offering one for testing - 166.78.149.34 Server username: <user with read and write permissions> **ByWater is offering one for testing - edifact2443 Server password: <password of the above user> **ByWater is offering one for testing - order2443 Server remote directory: <path to the remote directory holding your edi quotes and orders> **Bywater is offering one for testing - /home/edifact2443 Vendor SAN/EAN: 5099876543210 Click save (these details can be edited or removed using the options in Administration > Additional Parameters > EDI Accounts) Upload the supplied quotes file to the Server remote directory on your FTP server (supplied quotes file is in misc/edi_files/ptfs-europe-koha-community.CEQ) ***(Brendan has uploaded that file to ByWater temp FTP and renamed it edifact_test_brendan.CEQ) 5. Import the quote file from the Vendor FTP account Before running the import, ensure that the user running the web server has read/write access to misc/edi_files and the files in it (drw-rw-r-- koha www-data) On the command line cd to misc/cronjobs and run 'perl edifact_order_ftp_transfer.pl ' (ordinarily this would be automated at intervals using the cron) The remote file will be renamed following EDI convention with a .EEQ extension. You can also move the file to another directory (see later details) The last activity date will be updated in the vendor EDI account FTP transactions are logged in misc/edi_files/edi_ftp.logged Any errors in processing the quote will be logged in edi_quote_error.log Downloaded EDI messages are stored in misc/edi_files and also in the edi_messages MySQL table 6. View the EDI message Go to Tools > EDIfact messages Messages are listed in date order descending. You should have a QUOTES type message with a status of processed, and a link to the basket holding the order Click View basket Three items should be in the basket, linked to the correct funds, branches, etc. that you specified earlier When the quote message is imported, existing bib records are checked for a match on ISBN. If a match is found, items are attached to that bib record. If no matches are found, a bib record is created using the detail from the quote message and items are attached to them. The name of the created basket is the same as the originating quote message filename 7. Sending an order message back to the vendor Click the EDIfact order button (this is only shown for vendors with an associated EDI account) If you only have more than one branch with an EAN, you will be prompted to select an ordering branch. If only one branch has an EAN, this is used by default and this step is skipped. The EDI order message is generated and delivered to the vendor FTP site. Filenames take the format 'ediorder_xxx.CEP' (where xxx is the basket number) The edi_messages table is updated with an entry for your edi order message with a status of sent, transactions are logged to misc/edi_files/edi_ftp.log, and the last activity date is updated for the vendor edi account. 8. Sending an order message without a quote Any vendor that has an edi account can accept order messages without a quote. When you have created a basket from scratch, follow the instructions in step 7 to send the order message. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Corinne BULAC <corinnebulac@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |corinnebulac@gmail.com --- Comment #32 from Corinne BULAC <corinnebulac@gmail.com> --- Applying: Bug 7736: EDI Edifact quote and order functionality Using index info to reconstruct a base tree... Falling back to patching base and 3-way merge... Auto-merging installer/data/mysql/de-DE/mandatory/userpermissions.sql Auto-merging installer/data/mysql/en/mandatory/userpermissions.sql Auto-merging installer/data/mysql/es-ES/mandatory/userpermissions.sql Auto-merging installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql Auto-merging installer/data/mysql/it-IT/necessari/userpermissions.sql Auto-merging installer/data/mysql/kohastructure.sql Auto-merging installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql Auto-merging installer/data/mysql/pl-PL/mandatory/userpermissions.sql Auto-merging installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql Auto-merging installer/data/mysql/sysprefs.sql CONFLICT (content): Merge conflict in installer/data/mysql/sysprefs.sql Auto-merging installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql Auto-merging installer/data/mysql/updatedatabase.pl Failed to merge in the changes. Patch failed at 0001 Bug 7736: EDI Edifact quote and order functionality When you have resolved this problem run "git am --resolved". If you would prefer to skip this patch, instead run "git am --skip". To restore the original branch and stop patching run "git am --abort". Bug 7736 - Edifact QUOTE and ORDER functionality Bug 7736: EDI Edifact quote and order functionality Apply? [yn] Patch left in /tmp/Bug-7736-EDI-Edifact-quote-and-order-functionality-VE0gZq.patch === translation installation === Posté le 01/01/2 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff --- Comment #33 from Brendan Gallagher <brendan@bywatersolutions.com> --- Patch applied for me - but would not apply in the sandbox. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #34 from Zeno Tajoli <z.tajoli@cineca.it> --- I rebase the patch on last master git tree -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #15729|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #35 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 16538 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16538&action=edit The patch rebased on 3.12-alpha2 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #36 from Zeno Tajoli <z.tajoli@cineca.it> --- I found problems on sending order, routine SendEDIOrder in C4/EDI.pm I receive the error: Could not transfer the file /home/test7736/kohaclone/misc/edi_files/ediorder_1.CEP to 166.78.149.34: The problem is in the lines 594-596 if ( !$newerr ) { $newerr = 0; $ftp->put("${edi_files}ediorder_$basketno.CEP") or $newerr = 1; The file ediorder_1.CEP is present in the dir /home/test7736/kohaclone/misc/edi_files With a normal ftp client I don't have problems to upload files in the site 166.78.149.34. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #37 from Brendan Gallagher <brendan@bywatersolutions.com> --- Hi Zeno - Thanks for comments. I do see that you were successful in downloading the CEQ file from the FTP server and that should have created a basket which was step #5 I think maybe you are having trouble with step #7 - is that correct? -Brendan (In reply to comment #36)
I found problems on sending order, routine SendEDIOrder in C4/EDI.pm
I receive the error:
Could not transfer the file /home/test7736/kohaclone/misc/edi_files/ediorder_1.CEP to 166.78.149.34:
The problem is in the lines 594-596
if ( !$newerr ) { $newerr = 0; $ftp->put("${edi_files}ediorder_$basketno.CEP") or $newerr = 1;
The file ediorder_1.CEP is present in the dir /home/test7736/kohaclone/misc/edi_files
With a normal ftp client I don't have problems to upload files in the site 166.78.149.34.
-- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Fridolyn SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16538|0 |1 is obsolete| | --- Comment #38 from Fridolyn SOMERS <fridolyn.somers@biblibre.com> --- Created attachment 16629 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16629&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality Patch rebase 3.11.00.106 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #39 from Zeno Tajoli <z.tajoli@cineca.it> --- Yes, the problem is on step #7. I have also found the solution. New line 578: my $ftp = Net::FTP->new( $ftpaccount->{host}, Passive=> 1, Timeout => 10 ) instead of my $ftp = Net::FTP->new( $ftpaccount->{host}, Timeout => 10 ) I don't know if we could insert "Passive=> 1" for every site or we need to change the edi ftp site definition with a new parameter 'Type of connection'. I have found an two other little problems: A)file acqui/basket.pl New line 31 use C4::EDI qw( CreateEDIOrder SendEDIOrder CheckVendorFTPAccountExists); instead of use C4::EDI qw( CreateEDIOrder SendEDIOrder ); B)file /installer/data/mysql/kohastructure.sql The integration of the new tables for edit start around line 3045. But git doesn't do a perfet merge. The defintion of the previous tables [borrower_modifications] is cutted. So the file kohastructure.sql needs to be checked -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #40 from Zeno Tajoli <z.tajoli@cineca.it> --- The rebase of Fridolyn SOMERS [comment 38] doesn't fix the errors that I describe in comment 39 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #41 from Brendan Gallagher <brendan@bywatersolutions.com> --- ok looking at changes and rebasing. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16629|0 |1 is obsolete| | --- Comment #42 from Brendan Gallagher <brendan@bywatersolutions.com> --- Created attachment 16649 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16649&action=edit Bug 7736: EDI Edifact quote and order functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #43 from Brendan Gallagher <brendan@bywatersolutions.com> --- Created attachment 16652 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16652&action=edit Follow up adding change to acqui/basket.pl and kohastructure.pl -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #44 from Brendan Gallagher <brendan@bywatersolutions.com> --- Created attachment 16667 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16667&action=edit [Folluw-up] Bug 7736 EDI Edifact quote and order functionality Adding in Passive per Zenos thoughts and comment #39 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #45 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi all, taking a quick look at this before breakfast and I feel like there is another big issue we have to fix before this can go in. Patches have been squashed resulting in the fact, that Mark Gavillet will not get any credit for all the lines of code he wrote here. I think as we can not split up the patches again, we probably need to reinstate Mark as author of the first patch. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #46 from Mark Gavillet <mark.gavillet@ptfs-europe.com> --- Thanks for this Katrin - I really appreciate it. I've been working on an improved version of the EDI code which allows for separate processing modules for booksellers, local customisation of order messages for individual customers, multiple SAN/EANs for different library branches, and other improvements. I'm currently working on adding EDI invoice message processing which is progressing very well. Obviously, I'd feel very reluctant to submit code in the future if I'm not going to be credited for any of the work. (In reply to comment #45)
Hi all, taking a quick look at this before breakfast and I feel like there is another big issue we have to fix before this can go in. Patches have been squashed resulting in the fact, that Mark Gavillet will not get any credit for all the lines of code he wrote here. I think as we can not split up the patches again, we probably need to reinstate Mark as author of the first patch.
-- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz --- Comment #47 from Chris Cormack <chris@bigballofwax.co.nz> --- (In reply to comment #46)
Thanks for this Katrin - I really appreciate it.
I've been working on an improved version of the EDI code which allows for separate processing modules for booksellers, local customisation of order messages for individual customers, multiple SAN/EANs for different library branches, and other improvements. I'm currently working on adding EDI invoice message processing which is progressing very well. Obviously, I'd feel very reluctant to submit code in the future if I'm not going to be credited for any of the work.
Hi Mark, You probably need to have a chat with Colin, as it was he who merge yours, martin and his patches together http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12398 So maybe since you are all from the same organisation that is ok? If not you might need to work together to split them back out -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #48 from Chris Cormack <chris@bigballofwax.co.nz> --- (In reply to comment #47)
(In reply to comment #46)
Thanks for this Katrin - I really appreciate it.
I've been working on an improved version of the EDI code which allows for separate processing modules for booksellers, local customisation of order messages for individual customers, multiple SAN/EANs for different library branches, and other improvements. I'm currently working on adding EDI invoice message processing which is progressing very well. Obviously, I'd feel very reluctant to submit code in the future if I'm not going to be credited for any of the work.
Hi Mark,
You probably need to have a chat with Colin, as it was he who merge yours, martin and his patches together
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12398
So maybe since you are all from the same organisation that is ok? If not you might need to work together to split them back out
Once those are split up, we can split out the little bits from Elliott and Zeno too. But those are small changes and easy to split out -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #49 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Thx Chris, for taking a closer look at this. Quite hard to figure out what's going on here. So I guess if we fixed authorship for the big patch to whatever Mark/Colin/Martin agree it should be doable? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16649|0 |1 is obsolete| | --- Comment #50 from Brendan Gallagher <brendan@bywatersolutions.com> --- Created attachment 16732 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16732&action=edit Rebase Bug 7736 EDI Edifact quote and order functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Brendan Gallagher: 2013-03-22 Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #51 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 16761 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16761&action=edit sign off and a little change on tools-home.tt -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #52 from Zeno Tajoli <z.tajoli@cineca.it> --- With the last follow-up I also sign off this enhacement. In fact to install the patch you need 4 different files. The points to do: 1)Install the big rebase of Brendan 2)Install the first follow-up of Brendan, http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16652 3)Install the second rebase of Brendan, http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16667 4)Install my follow-up, http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16761 For QA: to testi you need to have the dir misc/edi_files/ usable in read/write from the command line user of Koha [standard name: koha] and the apache user [standard name and group in debian: www-data]. A good idea is also to create the file misc/edi_files/edi_ftp_error.log and to give the red/write permissions on it. So, usign the default users: sudo chown koha:www-data edi_files sudo chmod 770 edit_files sudo touch edi_files/edi_ftp_error.log sudo chown koha:www-data edi_files/edi_ftp_error.log sudo chmod 770 edi_files/edi_ftp_error.log -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #13071|0 |1 is obsolete| | --- Comment #53 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 16779 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16779&action=edit Instruction to test the patch and how-to use the feature This is also the documentation of the feature -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #54 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I have received an email from Mark that the first patch should have the authorship: Mark Gavillet [mark.gavillet@ptfs-europe.com] Is this agreeable? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #55 from Zeno Tajoli <z.tajoli@cineca.it> --- For me yes, no problem if I don't be present in the patch. Clearly I speak only for myself (and CINECA). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #56 from Brendan Gallagher <brendan@bywatersolutions.com> --- I agree! This is Agreeable! (In reply to comment #54)
I have received an email from Mark that the first patch should have the authorship: Mark Gavillet [mark.gavillet@ptfs-europe.com]
Is this agreeable?
-- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #57 from Brendan Gallagher <brendan@bywatersolutions.com> --- Comment on attachment 16779 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16779 Instruction to test the patch and how-to use the feature Perl dependencies ----- Edifact::Interchange Business::ISBN Net::FTP Net::FTP::File (This should be at the top - Removed somewhere along the line)
Test Plan - Koha EDIfact module - PTFS Europe
(Updated by Brendan Gallagher - ByWater) (with little extra frm Zeno tajoli
Setup, testing and how-to -----
1. Allocate permissions to a staff user Find a staff user and click the Details tab. Select More > Set permissions Expand the Tools options, then check '(edi_manage) Manage EDIFACT transmissions', then click the Set flags button. This user should now be able to see an EDIfact messages option in Tools > Additional Tools
2. Set default values for testing the included quote message Add two test branches with the branchcodes 'BRANCH1' and 'BRANCH2' Add two funds with the fundcodes 'FUND1' and 'FUND2' Add three itemtypes with the codes 'BKREF', 'BK1WK', and 'BK4WK' Add three authorised values in the LOC category - 'REFERENCE', 'STORE', and 'SHELVES'
3. Add the test bookseller and EDIfact account details Create a new bookseller with the name 'PTFS-Europe' Go to Administration > Additional Parameters > EDI Accounts Add a new account: Vendor: PTFS-Europe Description: Test EDI FTP account Server hostname: <hostname of your FTP account> **ByWater for testing - 166.78.149.34 Server username: <user with read and write permissions> **ByWater for testing - edifact2443 Server password: <password of the above user> **ByWater for testing - order2443 Server remote directory: <path to the remote directory holding edi quotes and orders> **Bywater is offering one for testing - /home/edifact2443 Vendor SAN/EAN: 5099876543210 Click save (these details can be edited or removed using the options in Administration > Additional Parameters > EDI Accounts) Upload the supplied quotes file to the Server remote directory on your FTP server (supplied quotes file is in misc/edi_files/ptfs-europe-koha-community.CEQ) ***(Brendan has uploaded that file to ByWater temp FTP and renamed it edifact_test_brendan.CEQ)
4. Check the mode of FTP The test FTP site works in a 'passive' mode. Now (2013) passive mode is standard for FTP sites. Ask to your vendor if his site support FTP in passive mode.
5. Setup the misc/edi_files dir Before running the import, ensure that the user running the web server has read/write access to misc/edi_files and the files in it (drwxrwx--- koha www-data) The defaults users are 'koha' [standar command line users] and www-data [standard debian apache user]. With those users you the instructions are:
cd <your install patch>/misc sudo chown koha:www-data edi_files sudo chmod 770 edit_files sudo touch edi_files/edi_ftp_error.log sudo chown koha:www-data edi_files/edi_ftp_error.log sudo chmod 770 edi_files/edi_ftp_error.log
It is important that you create an empty file misc/edi_files/edi_ftp_error.log and that koha and apache could togheter use it. The file misc/edi_files/edi_ftp_error.log will be used as log file for errors about EDI.
6. Import the quote file from the Vendor FTP account On the command line cd to misc/cronjobs and run 'perl edifact_order_ftp_transfer.pl' ordinarily this would be automated at intervals using the cron) The remote file will be renamed following EDI convention with a .EEQ extension. You can also move the file to another directory (see later details) The last activity date will be updated in the vendor EDI account FTP transactions are logged in misc/edi_files/edi_ftp.logged Any errors in processing the quote will be logged in edi_quote_error.log Downloaded EDI messages are stored in misc/edi_files and also in the edi_messages MySQL table
7. View the EDI message Go to Tools > EDIfact messages Messages are listed in date order descending. You should have a QUOTES type message with a status of processed, and a link to the basket holding the order
Click View basket Three items should be in the basket, linked to the correct funds, branches, etc. that you specified earlier. When the quote message is imported, existing bib records are checked for a match on ISBN. If a match is found, items are attached to that bib record. If no matches are found, a bib record is created using the detail from the quote message and items are attached to them. The name of the created basket is the same as the originating quote message filename
8. Sending an order message back to the vendor Click the EDIfact order button (this is only shown for vendors with an associated EDI account). Now the EAN used for identify the library is the code in the system prefernce 'EDIfactEAN'. So, for now, all libraries share the same EAN identifier
The EDI order message is generated and delivered to the vendor FTP site. Filenames take the format 'ediorder_xxx.CEP' (where xxx is the basket number). The edi_messages table is updated with an entry for your edi order message with a status of sent, transactions are logged to misc/edi_files/edi_ftp.log, and the last activity date is updated for the vendor edi account.
9. Sending an order message without a quote Any vendor that has an edi account can accept order messages without a quote. When you have created a basket from scratch, follow the instructions in step 7 to send the order message.
-- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #58 from Paul Poulain <paul.poulain@biblibre.com> --- QA comments: 1- SQL reserved words must be in capital letters (see coding guidelines) 2- MANY tabulation errors: * C4/EDI.pm FAIL forbidden patterns FAIL The patch introduces a forbidden pattern: tabulation character (778) 3- other koha-qa.pl errors: * installer/data/mysql/updatedatabase.pl FAIL valid FAIL Missing right curly or square bracket syntax error installer/data/mysql/updatedatabase.pl had compilation errors. * koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi-edit.tt FAIL tt_valid FAIL (untested yet, maybe other comments once follow-up provided) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16779|0 |1 is obsolete| | --- Comment #59 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 16792 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16792&action=edit Instruction to test the patch and how-to use the feature The istruction are updated with list of perl modules -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |new feature -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|master |3.14 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #60 from Brendan Gallagher <brendan@bywatersolutions.com> --- (In reply to comment #58)
QA comments: 1- SQL reserved words must be in capital letters (see coding guidelines) 2- MANY tabulation errors: * C4/EDI.pm FAIL forbidden patterns FAIL The patch introduces a forbidden pattern: tabulation character (778) 3- other koha-qa.pl errors:
* installer/data/mysql/updatedatabase.pl FAIL
valid FAIL Missing right curly or square bracket syntax error installer/data/mysql/updatedatabase.pl had compilation errors. * koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi-edit.tt FAIL tt_valid FAIL
(untested yet, maybe other comments once follow-up provided)
Paul Are these all from the qa-test-tools git branch? Or did you run something else to test? Just curious - cause I can rerun those and fix these up in the next few months after the 3.12 release. Thanks, Brendan -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #61 from Paul Poulain <paul.poulain@biblibre.com> --- (In reply to comment #60)
Paul Are these all from the qa-test-tools git branch? Yes they are
Or did you run something else to test?
nope, that's just the output from koha-qa.pl -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #62 from Brendan Gallagher <brendan@bywatersolutions.com> --- (In reply to comment #61)
(In reply to comment #60)
Paul Are these all from the qa-test-tools git branch? Yes they are
Or did you run something else to test?
nope, that's just the output from koha-qa.pl
AH thank you very much Paul - that was what I meant - I guess I am still speaking and typing in broken English - product of traveling in France - but a good one... Thanks much, Brendan -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16652|0 |1 is obsolete| | Attachment #16667|0 |1 is obsolete| | Attachment #16732|0 |1 is obsolete| | Attachment #16761|0 |1 is obsolete| | --- Comment #63 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16864 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16864&action=edit Rebase Bug 7736 EDI Edifact quote and order functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #64 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16865 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16865&action=edit Bug 7736 EDI Edifact quote and order functionality Adding in Passive per Zenos thoughts and comment #39 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #65 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16866 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16866&action=edit Follow to cordinate this ench with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16864|0 |1 is obsolete| | Attachment #16865|0 |1 is obsolete| | Attachment #16866|0 |1 is obsolete| | --- Comment #66 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16867 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16867&action=edit Bug 7736 - EDI Edifact quote and order functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #67 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16868 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16868&action=edit Follow up adding change to acqui/basket.pl and kohastructure.pl -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #68 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16869 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16869&action=edit Bug 7736 EDI Edifact quote and order functionality Adding in Passive per Zenos thoughts and comment #39 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #69 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16870 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16870&action=edit Follow to cordinate this ench with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16867|0 |1 is obsolete| | Attachment #16868|0 |1 is obsolete| | Attachment #16869|0 |1 is obsolete| | Attachment #16870|0 |1 is obsolete| | --- Comment #70 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16871 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16871&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #71 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16872 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16872&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality - Followup 1 - Adding change to acqui/basket.pl and kohastructure.pl -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #72 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16873 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16873&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality - Followup 2 - Adding in Passive per Zenos thoughts and comment #39 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #73 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16874 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16874&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality - Followup 3 - cordinate this with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16871|0 |1 is obsolete| | Attachment #16872|0 |1 is obsolete| | Attachment #16873|0 |1 is obsolete| | Attachment #16874|0 |1 is obsolete| | --- Comment #74 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16882 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16882&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #75 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16883 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16883&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality - Followup - cordinate this with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16882|0 |1 is obsolete| | Attachment #16883|0 |1 is obsolete| | --- Comment #76 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16884 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16884&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Added missing end tag for tools-home.tt Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt Bug 7736 - Edifact QUOTE and ORDER functionality - Followup - cordinate this with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16884|0 |1 is obsolete| | --- Comment #77 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16885 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16885&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Added missing end tag for tools-home.tt Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt Bug 7736 - Edifact QUOTE and ORDER functionality - Followup - cordinate this with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16885|0 |1 is obsolete| | --- Comment #78 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 16886 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16886&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Added missing end tag for tools-home.tt Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt Bug 7736 - Edifact QUOTE and ORDER functionality - Followup - cordinate this with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle.m.hall@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16886|0 |1 is obsolete| | --- Comment #79 from Kyle M Hall <kyle.m.hall@gmail.com> --- Created attachment 17120 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17120&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Added missing end tag for tools-home.tt Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt Bug 7736 - Edifact QUOTE and ORDER functionality - Followup - cordinate this with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #80 from Kyle M Hall <kyle.m.hall@gmail.com> --- Created attachment 17121 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17121&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality - Followup - Fix UI Issues -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=2443 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff CC| |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #17120|0 |1 is obsolete| | --- Comment #81 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 20983 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20983&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality This is a patch brining together the original work by Mark Gavillet and the subsequent patches by Mark, Martin Renvoize and myself It contains the code as currently runnng in production In addition I've added updatedatebase entries to installer and replaced the hardcoded currency with a currency extraction. As the db currently does not force the standard codes we check if that is 3 uppercase ascii characters before using it. Elliott Davis: Added unit test for EDI Zeno Tajoli: Rebased on last master git tree. I have change only the file installer/data/mysql/sysprefs.sql Added missing end tag for tools-home.tt Brendan Gallagher: Rebased on current master Changed installer/data/mysql/sysprefs.sql koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt Bug 7736 - Edifact QUOTE and ORDER functionality - Followup - cordinate this with template tools-home.tt After the writting of the patch, the template tools-home.tt has a little change. I have have tested the ench wit instruction and I confirm that works. Attention on dir misc/edi_files, you need to give permission to koha and to web server user (standard: www-data on debian) Signed-off-by: Zeno Tajoli <tajoli@cilea.it> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #17121|0 |1 is obsolete| | --- Comment #82 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 20984 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20984&action=edit Bug 7736 - Edifact QUOTE and ORDER functionality - Followup - Fix UI Issues -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16792|0 |1 is obsolete| | --- Comment #83 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 21475 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21475&action=edit Instructions to test the patch and how-to use the feature -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Paola Rossi <paola.rossi@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |paola.rossi@cineca.it --- Comment #84 from Paola Rossi <paola.rossi@cineca.it> --- The field san in vendor_edi_accounts table is varchar(10). In the template, field "Vendor SAN" is longer. In the documentation the length of SAN/EAN is 13. So I don't signed off. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|koha.sekjal@gmail.com |kyle@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|3.14 |master Assignee|mark.gavillet@ptfs-europe.c |colin.campbell@ptfs-europe. |om |com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #85 from Colin Campbell <colin.campbell@ptfs-europe.com> --- I'm working on generating a usable patch set for people to test from this and some custom scripts. The edifact parsing is effectively done (for a very limited number of vendors). It needs to be made into something that fits cleanly with Koha. In practice for those Koha sites using EDI in the UK the process is largely one of transferring incoming quotes and invoices and sending orders by ftp/sftp. (one gets the impression that the vendors edi side is not very automated). The impact on Koha's work flow is minimal we need to store vendor edi account details (a vendor may have multiple edi 'accounts' ) and the corresponding library side accounts. In the normal acq workflow the addition would be an option to send an order_basket by edi if the vendor is edi_enabled Otherwise there need to be batch scripts to handle transferring data from the vendor and loading that into Koha. I dont know if people are envisioning other workflows, if so please post details against this bug. Hope to post with tests and documentation as a working beast soon -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #86 from Zeno Tajoli <z.tajoli@cineca.it> --- Only a little remark: To test the code we need a test sftp/ftp site. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #87 from Brendan Gallagher <brendan@bywatersolutions.com> --- Hello Colin - I was wondering on the status of this and if you all have had a chance to post some newer code up here soon? Thanks much, Brendan (In reply to Colin Campbell from comment #85)
I'm working on generating a usable patch set for people to test from this and some custom scripts. The edifact parsing is effectively done (for a very limited number of vendors). It needs to be made into something that fits cleanly with Koha.
In practice for those Koha sites using EDI in the UK the process is largely one of transferring incoming quotes and invoices and sending orders by ftp/sftp. (one gets the impression that the vendors edi side is not very automated).
The impact on Koha's work flow is minimal we need to store vendor edi account details (a vendor may have multiple edi 'accounts' ) and the corresponding library side accounts.
In the normal acq workflow the addition would be an option to send an order_basket by edi if the vendor is edi_enabled Otherwise there need to be batch scripts to handle transferring data from the vendor and loading that into Koha.
I dont know if people are envisioning other workflows, if so please post details against this bug.
Hope to post with tests and documentation as a working beast soon
-- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robin@catalyst.net.nz -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #88 from Robin Sheat <robin@catalyst.net.nz> --- Just a note that looking at the existing patches, there are a number of files there with no documentation at all. This makes maintaining it into the future difficult. Additionally, the functions that have documentation just have a one-liner. Nothing that says what arguments they take, or what results they're expected to produce, or what happens in failure cases. It'd also be good to have a bit of an explanation of how EDI messages work in the parsing module for it. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #89 from Colin Campbell <colin.campbell@ptfs-europe.com> --- (In reply to Brendan Gallagher from comment #87)
Hello Colin -
I was wondering on the status of this and if you all have had a chance to post some newer code up here soon?
Thanks much, Brendan
(In reply to Colin Campbell from comment #85)
I'm working on generating a usable patch set for people to test from this and some custom scripts. The edifact parsing is effectively done (for a very limited number of vendors). It needs to be made into something that fits cleanly with Koha.
In practice for those Koha sites using EDI in the UK the process is largely one of transferring incoming quotes and invoices and sending orders by ftp/sftp. (one gets the impression that the vendors edi side is not very automated).
The impact on Koha's work flow is minimal we need to store vendor edi account details (a vendor may have multiple edi 'accounts' ) and the corresponding library side accounts.
In the normal acq workflow the addition would be an option to send an order_basket by edi if the vendor is edi_enabled Otherwise there need to be batch scripts to handle transferring data from the vendor and loading that into Koha.
I dont know if people are envisioning other workflows, if so please post details against this bug.
Hope to post with tests and documentation as a working beast soon
Should be posting a patch in the next few days -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #90 from Colin Campbell <colin.campbell@ptfs-europe.com> --- (In reply to Robin Sheat from comment #88)
Just a note that looking at the existing patches, there are a number of files there with no documentation at all. This makes maintaining it into the future difficult. Additionally, the functions that have documentation just have a one-liner. Nothing that says what arguments they take, or what results they're expected to produce, or what happens in failure cases.
It'd also be good to have a bit of an explanation of how EDI messages work in the parsing module for it.
Agreed. the rewitten routines should be more useable -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 claire.hernandez@biblibre.com <claire.hernandez@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |claire.hernandez@biblibre.c | |om -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |ASSIGNED --- Comment #91 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Branch edi_master on git@github.com:colinsc/koha.git is the version I've deployed on our customers. I'll be creating a patch to submit against this bug but its available there for interested parties that may want to take a look -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #92 from Brendan Gallagher <brendan@bywatersolutions.com> --- (In reply to Colin Campbell from comment #91)
Branch edi_master on git@github.com:colinsc/koha.git is the version I've deployed on our customers. I'll be creating a patch to submit against this bug but its available there for interested parties that may want to take a look
I took a quick look. Thanks. Once the patches are up here - I will do some more testing and hopefully a sign off. Can't wait :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #20983|0 |1 is obsolete| | Attachment #20984|0 |1 is obsolete| | Attachment #21475|0 |1 is obsolete| | --- Comment #93 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 33953 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33953&action=edit Proposed Patch Patch with basic QUOTES, ORDERS and INVOICES handling. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff --- Comment #94 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Patch based on what we're running at a number of uk sites. Couple of future developments which have been requested: handling credit notes in invoice records which requires some changes in invoice handling. And handling order status updates -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #95 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 33957 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33957&action=edit Some basic documentation A brief description of the parameters required for set up and the work flow for edifact -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33953|0 |1 is obsolete| | --- Comment #96 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 34332 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34332&action=edit Bug 7736 Edifact QUOTE, ORDER and INVOICE handling Handle Electronic Ordering via Edifact Messages This commits adds files to allow interfacing with book suppliers using Edifact Messages Currently this supports transferring files by ftp or sftp There is also an option to read/write to a local directory which may be useful for testing or other scenarios Quote messages are used to create baskets in Koha and will create the associated bib and item records if required If the user chooses to generate an edifact order from a basket an Edifact format message is created for submission If receiving an Invoice Message a corresponding invoice is created in Koha and the order is receipted Suppliers interfaces need to be properly configured to send the correct budget, item type etc info For more info on Edifact Formats see http://www.editeur.org/31/Library-Book-Supply -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #97 from Brendan Gallagher <brendan@bywatersolutions.com> --- Kyle updated the patch so it applies cleanly on master. I am testing this today and should have a signoff if it follows the plans. Testing going on ;) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #98 from Brendan Gallagher <brendan@bywatersolutions.com> --- Everything works great. Questions for Colin or Martin - "EDIfact messages Manage EDIfact transmissions" That is found in the Tools section of koha. But I think you've moved that functionality into ACQ, so I think that can just be ignored and removed now. Answer that question for me and I'll sign-off. I think that a QA follow-up of just removing that from the Koha Tools and we are golden. Great Job. Thanks -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #99 from Colin Campbell <colin.campbell@ptfs-europe.com> --- (In reply to Brendan Gallagher from comment #98)
Everything works great.
Questions for Colin or Martin - "EDIfact messages Manage EDIfact transmissions" That is found in the Tools section of koha. But I think you've moved that functionality into ACQ, so I think that can just be ignored and removed now. Answer that question for me and I'll sign-off. I think that a QA follow-up of just removing that from the Koha Tools and we are golden.
Great Job. Thanks
Yes edifact message handling should all be under ACQ now -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34332|0 |1 is obsolete| | --- Comment #100 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 34833 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34833&action=edit rebased patch Patch rebased against master also fixes the omission of the shipping budget syspref from updatedatabase and incorporates small change to Koha::EDI so that single copies are added using the same codepath as multiple copies. Fixes a bug raised by Staffs University -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34833|0 |1 is obsolete| | --- Comment #101 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 35030 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35030&action=edit Rebased Patch Patch rebased against current mastewr -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #102 from Zeno Tajoli <z.tajoli@cineca.it> --- I setup acq to test this patch. I use a 'FILE' edi account. When I try to close the basket and create the request I see Software error: Can't call method "branchcode" on an undefined value at /home/koha/test_edi/Koha/Edifact/Order.pm line 374. The link used: http://192.168.216.128:8080/cgi-bin/koha/acqui/basket.pl?basketno=1&op=ediorder&ean=111222&booksellerid=1&confirm=1&basketgroupname=bask1 Generaly speaking I think we need more details on how to do test of this feature. For example: -- EAN/SAN, names for budgets, funds and vendors -- files of different types -- ect. I run those tests, but I think it is not enough to sign-off: prove Ediorder.t: OK prove EdiInvoice.t: OK prove Edifact.t: OK -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #103 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 35106 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35106&action=edit Supplementary patch When we dont create items the options for item processing by vendor are limited. But if we do go down this route we have to use delivery location as the (provisional) branch. The old basket.branch field which should point to branches is no longer maintained -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #104 from Colin Campbell <colin.campbell@ptfs-europe.com> --- (In reply to Zeno Tajoli from comment #102)
I setup acq to test this patch. I use a 'FILE' edi account.
When I try to close the basket and create the request I see
Software error: Can't call method "branchcode" on an undefined value at /home/koha/test_edi/Koha/Edifact/Order.pm line 374.
The link used: http://192.168.216.128:8080/cgi-bin/koha/acqui/basket. pl?basketno=1&op=ediorder&ean=111222&booksellerid=1&confirm=1&basketgroupname =bask1
Generaly speaking I think we need more details on how to do test of this feature. For example: -- EAN/SAN, names for budgets, funds and vendors -- files of different types -- ect.
I run those tests, but I think it is not enough to sign-off:
prove Ediorder.t: OK prove EdiInvoice.t: OK prove Edifact.t: OK
Addeda supplementary patch handling derivation of branch from the basket -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Paola Rossi <paola.rossi@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|paola.rossi@cineca.it | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #35030|0 |1 is obsolete| | --- Comment #105 from Brendan Gallagher <brendan@bywatersolutions.com> --- Created attachment 35716 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35716&action=edit Bug 7904: (QA followup) fix tests The package name for SIP wasn't fixed in the tests by the original patches. This patch fixes it. To test: - Run $ prove t/db_dependent/SIP_ILS.t - Tests should pass with the patch. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #35716|0 |1 is obsolete| | --- Comment #106 from Brendan Gallagher <brendan@bywatersolutions.com> --- Created attachment 35717 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35717&action=edit Bug 7904: (QA followup) fix tests The package name for SIP wasn't fixed in the tests by the original patches. This patch fixes it. To test: - Run $ prove t/db_dependent/SIP_ILS.t - Tests should pass with the patch. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #107 from Brendan Gallagher <brendan@bywatersolutions.com> --- Created attachment 35718 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35718&action=edit Bug 7736 Edifact QUOTE, ORDER and INVOICE handling Handle Electronic Ordering via Edifact Messages This commits adds files to allow interfacing with book suppliers using Edifact Messages Currently this supports transferring files by ftp or sftp There is also an option to read/write to a local directory which may be useful for testing or other scenarios Quote messages are used to create baskets in Koha and will create the associated bib and item records if required If the user chooses to generate an edifact order from a basket an Edifact format message is created for submission If receiving an Invoice Message a corresponding invoice is created in Koha and the order is receipted Suppliers interfaces need to be properly configured to send the correct budget, item type etc info For more info on Edifact Formats see http://www.editeur.org/31/Library-Book-Supply Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Following test plan this works great. Doesn't break ACQ. There are a few little spots QA can followup with but should go through. Thanks! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #35717|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #108 from Brendan Gallagher <brendan@bywatersolutions.com> --- (In reply to Brendan Gallagher from comment #106)
Created attachment 35717 [details] [review] Bug 7904: (QA followup) fix tests
The package name for SIP wasn't fixed in the tests by the original patches.
This patch fixes it.
To test: - Run $ prove t/db_dependent/SIP_ILS.t - Tests should pass with the patch.
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Sorry grabbed the wrong patch (too overzealous) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #109 from Chris Cormack <chris@bigballofwax.co.nz> ---
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Following test plan this works great. Doesn't break ACQ. There are a few little spots QA can followup with but should go through. Thanks!
Can you let us know what the spots are? To help QA? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #110 from Brendan Gallagher <brendan@bywatersolutions.com> --- (In reply to Chris Cormack from comment #109)
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Following test plan this works great. Doesn't break ACQ. There are a few little spots QA can followup with but should go through. Thanks!
Can you let us know what the spots are? To help QA?
Sure thing! Running the QA script I see that is having some trouble with the license (that's an easy QA follow-up IMO). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #111 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- If you spot this while signing off, please note and fail - it will save the time of a QA team member - and easy to sign off on the follow up then. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Brendan Gallagher <brendan@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #112 from Brendan Gallagher <brendan@bywatersolutions.com> --- Hey Collin or Martin - Can you run these through the QA script and fix up the errors, then I'll be happy to mark it as signed off again. Thanks, Brendan -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #113 from Brendan Gallagher <brendan@bywatersolutions.com> --- I'm really itching to get this fixed up and tested this week - while we have everyone hacking. We can get some great testing done here and get you the feedback. Really important for this week. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #35106|0 |1 is obsolete| | Attachment #35718|0 |1 is obsolete| | --- Comment #114 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 36738 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36738&action=edit Revised Patch Revised patch addesses qa issues and incorporates some upstrwam changes -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff --- Comment #115 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Switched status back to needs signoff - issues with old gplv2 licenses causing QA fail are fixed in the patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |In Discussion --- Comment #116 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Moved to status to In Disussion to hold back on testing - am reworking the cron job logic to ensure it deals with some fields being passed in some suppliers invoices and aware of some changes in Acq - also needs a rebase against current master. Will revise patch in a couple of days but worth holding back tests until then -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #117 from Brendan Gallagher <brendan@bywatersolutions.com> --- Any update on this? Now is the time to really get a move on this so we have enough months left to test and fix for getting into 3.22 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #118 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Would it make sense to work out the remaining patches for the tax rewrite first before we tackle this? I think they will effect this. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #119 from Brendan Gallagher <brendan@bywatersolutions.com> --- (In reply to Katrin Fischer from comment #118)
Would it make sense to work out the remaining patches for the tax rewrite first before we tackle this? I think they will effect this.
That's fine - I still want to see the code though and they are both going to take months of time to work on. The important thing coming up is the KohaNA where we'd like to have librarians testing both (they are having hacking days). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #120 from Kyle M Hall <kyle.m.hall@gmail.com> --- *** Bug 2443 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 J Schmidt <jschmidt@switchinc.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jschmidt@switchinc.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Nicole Engard (ByWater) <nicole@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicole@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #121 from Colin Campbell <colin.campbell@ptfs-europe.com> --- I've put the latest code up on my github repo git@github.com:colinsc/koha.git as the branch edifact_snapshot_150911 If anyone wants to look at this. I'm hoping to get order responses working end to end then will generate a patch from this -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #36738|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Failed QA --- Comment #122 from Zeno Tajoli <z.tajoli@cineca.it> --- I insert the patch rebasing this branch of Colin [https://github.com/colinsc/koha/tree/edifact_snapshot_150911] with origin/master of today (27/10/2015]. Patch 0001-Rebase-on-master: the main rebase on master done from Colin's work. Patch 0002-Patch-to-update-DBIx: Update DBIX files from Colin's work Patch 0003-Modification-in-Acquisition.t: Update of Acquisition.t with new DB structure. Patch 0004-Fixed-the-definition-of-table-edifact_ean: My proposal to fix problem of defintion in edifact_ean table Patch 0005-EdifactEan_DBIx-update: The update of DBIx file for table edifact_ean Patch 0006-Fix-differences-between-kohastructure.sql-and-edifact.sql: There are same differences between kohastructure.sql and atomicupdate/edifact.sql about the structure of edifact_ean. With this patch I insert also in kohastructure.sql the creation of the coloum ee_id. With all patch installed there are still problem on using edi. I try to add the EAN/SAN to the library using administration/acquisitions/EDI EANs [...:8080/cgi-bin/koha/admin/edi_ean_accounts.pl] The result is: Software error: DBIx::Class::ResultSet::search(): No such relationship branch on EdifactEan at /production/develops/admin/edi_ean_accounts.pl line 93 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #123 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 44079 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44079&action=edit 0001-Rebase-on-master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #124 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 44080 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44080&action=edit 0002-Patch-to-update-DBIx -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #125 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 44081 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44081&action=edit 0003-Modification-in-Acquisition.t -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #126 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 44082 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44082&action=edit 0004-Fixed-the-definition-of-table-edifact_ean -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #127 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 44083 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44083&action=edit 0005-EdifactEan_DBIx-update -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #128 from Zeno Tajoli <z.tajoli@cineca.it> --- Created attachment 44084 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44084&action=edit 0006-Fix-differences-between-kohastructure.sql-and-edifact.sql -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #129 from Paul Poulain <paul.poulain@biblibre.com> --- Functionality question: is there an EDIFACT way for a vendor to cancel an order line (ie: the vendor cannot deliver an item that was ordered) ? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 --- Comment #130 from Colin Campbell <colin.campbell@ptfs-europe.com> --- (In reply to Paul Poulain from comment #129)
Functionality question: is there an EDIFACT way for a vendor to cancel an order line (ie: the vendor cannot deliver an item that was ordered) ?
Yes its a separate message an Order Response it can cancel an order also report on orders that cannot be immediately fulfilled (e.g. reprinting ) I have the code which reads them I just need to add the resulting updates to the koha files -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33957|0 |1 is obsolete| | Attachment #44079|0 |1 is obsolete| | Attachment #44080|0 |1 is obsolete| | Attachment #44082|0 |1 is obsolete| | Attachment #44083|0 |1 is obsolete| | Attachment #44084|0 |1 is obsolete| | --- Comment #131 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 46996 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46996&action=edit Amended patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff --- Comment #132 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Patch with consolidated modifications including ordrsps (and order cancellation as a result) Will update Zeno's patch to Acquisition.t -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #44081|0 |1 is obsolete| | --- Comment #133 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 47004 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47004&action=edit Amended Patch for Acquisition.t Include the new report field in aqorders for order responses -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |15630 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15630 [Bug 15630] Make Edifact module pluggable -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org