[Koha-bugs] [Bug 21417] EDI ordering fails when basket and EAN libraries do not match

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 27 13:04:43 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21417

--- Comment #7 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 79476
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=79476&action=edit
Bug 21417: EDI ordering fails when basket and EAN libraries do not match

When clicking Create EDIFACT Order on /acqui/basket.pl, an EDIFACT message will
not be generated if aqbasket.branch does not match edifact_ean.branchcode. This
failure does not generate any sort of error message, it just fails to produce a
message.

We should allow ean's to not require a branch to be set, then if we don't find
a branch specific each, we can look for the default version of the ean.

Test Plan:
1) Apply this patch set
2) Run updatedatabase
3) Verify you can create a Library EAN without setting a branchcode for it
4) Verify you can use this EAN to send an EDI order where the basket has a
branchcode set

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list