Bug 27793 - Store Contents of FTX segment of EDI quotes for inclusion in orders
Summary: Store Contents of FTX segment of EDI quotes for inclusion in orders
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Renvoize
QA Contact: Kyle M Hall
URL:
Keywords:
: 18637 (view as bug list)
Depends on:
Blocks: 35311
  Show dependency treegraph
 
Reported: 2021-02-25 12:28 UTC by Colin Campbell
Modified: 2023-11-10 11:11 UTC (History)
8 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
This enhancement adds support for the EDI FTX (FreeText) segment in Edifact ordering. We simply store the segment and pass it around in the EDI process required.
Version(s) released in:
21.05.00,20.11.15


Attachments
Patch to save Quote FTX segment and to include it outgoing order (2.40 KB, patch)
2021-02-25 12:37 UTC, Colin Campbell
Details | Diff | Splinter Review
Bug 27793: Store FTX free text in vendor note (2.40 KB, patch)
2021-03-03 10:10 UTC, Martin Renvoize
Details | Diff | Splinter Review
Bug 27793: Store FTX free text in vendor note (2.47 KB, patch)
2021-03-24 13:20 UTC, Kyle M Hall
Details | Diff | Splinter Review
Bug 27793: Store FTX free text in vendor note (2.54 KB, patch)
2021-05-05 08:12 UTC, Martin Renvoize
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Campbell 2021-02-25 12:28:32 UTC
A number of vendors send data in the FTX segment of EDI quotes, and expect this to be returned in the subsequent order. This may indicate the form of item to be supplied (electronic v physical book) or data entered to indicate that the order is the result of a special request.

The standard is somewhat misleading on this as it encourages use of FTX for encoded delivery priority info. However this appears to be obsolete in practice and examination of numerous quotes show no suppliers using it this way, whereas some suppliers (e.g. proquest) are making the contents of this segment fundamental to their procedures
ensure FTX content is saved (in vendornote)
and that the saved note is included in an order sent as a result of the quote
Comment 1 Colin Campbell 2021-02-25 12:37:37 UTC
Created attachment 117307 [details] [review]
Patch to save Quote FTX segment and to include it outgoing order
Comment 2 Martin Renvoize 2021-03-03 10:10:38 UTC
Created attachment 117556 [details] [review]
Bug 27793: Store FTX free text in vendor note

This is important for proquest ordering to distinguish types of
material.

FTX segment from quote is stored as vendor note.
Contents of vendornote are included in the order FTX segment.
Comment 3 Kyle M Hall 2021-03-24 13:20:15 UTC
Created attachment 118743 [details] [review]
Bug 27793: Store FTX free text in vendor note

This is important for proquest ordering to distinguish types of
material.

FTX segment from quote is stored as vendor note.
Contents of vendornote are included in the order FTX segment.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 4 Kyle M Hall 2021-03-24 13:23:07 UTC
Moving directly to PQA.
Comment 5 Jonathan Druart 2021-04-06 10:04:21 UTC
Unit tests are missing. I don't think we should continue to add new enhancements to EDI without test coverage.
Comment 6 Martin Renvoize 2021-04-28 07:30:04 UTC
I've struggled to write a test here.. I think it would be great to integrate this for this cycle, and I'll try to work through tests for EDI as a more thorough job as a roadmap task during the next cycle.. does that sound reasonable Jonathan?
Comment 7 Jonathan Druart 2021-04-30 07:40:21 UTC
Please rebase on top of bug 26989.

The conflict seems trivial but I don't want to mess with this code (or even touch it).
Comment 8 Martin Renvoize 2021-05-05 08:12:59 UTC
Created attachment 120483 [details] [review]
Bug 27793: Store FTX free text in vendor note

This is important for proquest ordering to distinguish types of
material.

FTX segment from quote is stored as vendor note.
Contents of vendornote are included in the order FTX segment.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 9 Jonathan Druart 2021-05-07 09:32:23 UTC
Last time I am pushing an EDI enhancement without test coverage.
Comment 10 Jonathan Druart 2021-05-07 12:41:40 UTC
Pushed to master for 21.05, thanks to everybody involved!
Comment 11 Fridolin Somers 2021-05-11 14:41:27 UTC
Enhancement not pushed to 20.11.x
Comment 12 Martin Renvoize 2021-09-07 10:32:07 UTC
*** Bug 18637 has been marked as a duplicate of this bug. ***
Comment 13 Victor Grousset/tuxayo 2022-02-12 20:35:19 UTC
Surprise backport!
Backported: Pushed to 20.11.x branch for 20.11.15

It's for bug 29670 comment 20
Comment 14 wainuiwitikapark 2022-02-15 04:01:52 UTC
Do I need to backport this to 19.11.x? I probably won't unless there is a need for it
Comment 15 Victor Grousset/tuxayo 2022-02-16 17:18:53 UTC
It depends indirectly on bug 27708 so no need for 19.11.x
Comment 16 wainuiwitikapark 2022-02-18 00:04:16 UTC
Not backported to 19.11.x