From 745bcac5da486dbed016c3d92d87cfe0a336df40 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 7 Aug 2018 16:26:27 -0400 Subject: [PATCH] LP#1785887 edi_order_pusher.pl sets message account 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 --- Open-ILS/src/support-scripts/edi_order_pusher.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/support-scripts/edi_order_pusher.pl b/Open-ILS/src/support-scripts/edi_order_pusher.pl index 4aaa9652f9..a5dfc99acd 100755 --- a/Open-ILS/src/support-scripts/edi_order_pusher.pl +++ b/Open-ILS/src/support-scripts/edi_order_pusher.pl @@ -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; } -- 2.11.0