Bugzilla – Attachment 68536 Details for
Bug 18267
Update price and tax fields in EDI to reflect DB changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18267 Update doc for Koha::EDI
Bug-18267-Update-doc-for-KohaEDI.patch (text/plain), 1.55 KB, created by
Jon Knight
on 2017-10-25 15:11:17 UTC
(
hide
)
Description:
Bug 18267 Update doc for Koha::EDI
Filename:
MIME Type:
Creator:
Jon Knight
Created:
2017-10-25 15:11:17 UTC
Size:
1.55 KB
patch
obsolete
>From 24fa17362fee644416ba4d7c6fa9c42443a42f7c Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Mon, 10 Jul 2017 17:34:09 +0100 >Subject: [PATCH] Bug 18267 Update doc for Koha::EDI > >Document change to _discounted_price's parameters >and wrapper around new Acquisitions routine > >Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> >--- > Koha/EDI.pm | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > >diff --git a/Koha/EDI.pm b/Koha/EDI.pm >index 68e8538..abc7968 100644 >--- a/Koha/EDI.pm >+++ b/Koha/EDI.pm >@@ -1214,10 +1214,13 @@ Koha::EDI > > =head2 _discounted_price > >- ecost = _discounted_price(discount, item_price) >+ ecost = _discounted_price(discount, item_price, discounted_price) > > utility subroutine to return a price calculated from the > vendors discount and quoted price >+ The optional parameter discounted_price is passed if one occurs >+ in the edifact message. It short circuits the calculation and returns >+ the supplied value > > =head2 _check_for_existing_bib > >@@ -1234,6 +1237,14 @@ Koha::EDI > Returns the Aqbudget object for the active budget given the passed budget_code > or undefined if one does not exist > >+=head2 update_price_from_invoice >+ >+ $ord_hash_ref = update_price_from_invoice( $order, $booksellerid ) >+ >+ wrapper around C4::Acquisitions::populate_order_with_prices as it expects an order_hashref >+ we populate a hashref grow the Row object in order to call the routine >+ >+ > =head1 AUTHOR > > Colin Campbell <colin.campbell@ptfs-europe.com> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18267
:
61600
|
61601
|
61602
|
61605
|
61606
|
65244
|
65245
|
65246
|
65250
|
65251
|
65252
|
65253
|
65254
|
68536
|
68707
|
68708
|
68709
|
68710
|
68711
|
68712
|
68713
|
68714
|
113569
|
113597
|
113897