]> git.koha-community.org Git - koha.git/commit
Bug 22713: Pass replacement price in to order if defined by MarcItemFieldsToOrder
authorNick Clemens <nick@bywatersolutions.com>
Thu, 25 Apr 2019 16:23:22 +0000 (16:23 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 14 May 2019 19:30:53 +0000 (19:30 +0000)
commit57b027734e3c1a315cd11fedbf94771fa8381a30
treeb224aafd985bbf7ded177c9bc00c3ce35414637f
parent735d23c299669b40d3e3e2a4fe21b88fc6cca00f
Bug 22713: Pass replacement price in to order if defined by MarcItemFieldsToOrder

To test:
 1 - Have AcqCreateItems set to 'On ordering' (or set in a basket)
 2 - Define MARCItemFieldsToOrder
    homebranch: 975$a
    holdingbranch: 975$b
    itype: 975$y
    nonpublic_note: 975$x
    public_note: 975$z
    loc: 975$c
    ccode: 970$c
    notforloan: 975$7
    uri: 975$u
    copyno: 975$n
    quantity: 975$q
    budget_code: 975$h
    price: 975$g
    replacementprice: 975$p
 3 - Have a marc record with some order info defined as above, including a replacementprice
 4 - Add to basket - > from a new file
 5 - Don't check for duplicates, add the order
 6 - Note the order has no replacementprice, but the item does
 7 - Close basket, receive order, do not enter a new replacement price
 8 - Note the items replacement price is clear
 9 - Apply patch
10 - Repeat
11 - Note when order added to basket it has a replacement price
12 - Note when order is received the replacement price is populated and passed into item correctly

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
acqui/addorderiso2709.pl