LP#1785887 edi_order_pusher.pl sets message account
authorBill Erickson <berickxx@gmail.com>
Tue, 7 Aug 2018 20:26:27 +0000 (16:26 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 30 Jan 2019 14:18:06 +0000 (09:18 -0500)
Apply the edi_message.account value when sending EDI order messages via
edi_order_pusher.pl.  This solves a problem where EDI ORDERS message
were not visible in the interface, because there was no way to complete
the permission check.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/support-scripts/edi_order_pusher.pl

index 4aaa965..a5dfc99 100755 (executable)
@@ -196,6 +196,7 @@ for $po_id (@$po_ids) {
         if (!$po->provider->edi_default) {
             announce('error', "Provider for PO $po_id has no default EDI ".
                 "account, EDI message will not be sent.");
+
             next;
         }