[Koha-bugs] [Bug 20817] Add ability to retain 9xx fields when adding on order item to existing record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 31 13:16:19 CET 2022


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #142651|0                           |1
        is obsolete|                            |

--- Comment #129 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 142829
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142829&action=edit
Bug 20817: Add ability to retain 9xx fields when adding on order item to
existing record

This patchset intends to add the use of MarcItemFieldsToOrder and
MarcFieldsToOrder to
neworderempty.pl

When adding to a basket fomr a staged file the above preferences create orders
on addorderiso2709.pl
if the records are unique, or if the records have been matched during staging

If the records are not matched at staging, but a duplicate is found you must
add the orders individually, and the info is not pulled from the incoming
record

Setup -- Set systempreferences below

MarcFieldsToOrder:
price: 949$g
quantity: 949$k
budget_code: 949$l
discount: 949$m
sort1: 949$n
sort2: 949$q

MarcItemFieldsToOrder:
homebranch: 949$a
holdingbranch: 949$b
itype: 949$y
nonpublic_note: 949$x
public_note: 949$z
loc: 949$c
ccode: 949$8
notforloan: 949$7
uri: 949$u
copyno: 949$t
price: 949$g
replacementprice: 949$v
itemcallnumber: 949$o
quantity: 949$k
budget_code: 949$l

To test:
1 - Stage the sample record for bib303 without looking for matching records (if
not using Koha testing docker smaple data import this record, then stage again
without matching)
2 - From acqusitions, find a vendor and an open basket and 'Add to basket'
'From a staged file'
3 - On the record in question, check the checbox, then click the 'Add order'
link
4 - You are taken to page notifying of duplicate - click 'Use existing record'
5 - You are taken to new order empty, and item forms are prepopulated with
order info
6 - Save the orders and confirm all added to basket as expected

Additional Authors:
Devinim <kohadevinim at devinim.com.tr>
Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list