Created
January 10, 2019 20:28
-
-
Save chrissharp123/6bdb800ed329dda418502e7cd0d2914b to your computer and use it in GitHub Desktop.
change to EDI pusher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Open-ILS/src/support-scripts/edi_order_pusher.pl b/Open-ILS/src/support-scripts/edi_order_pusher.pl | |
index c6c8c11..af56700 100755 | |
--- a/Open-ILS/src/support-scripts/edi_order_pusher.pl | |
+++ b/Open-ILS/src/support-scripts/edi_order_pusher.pl | |
@@ -129,7 +129,10 @@ if ($po_id) { | |
}, | |
where => { | |
'+acqpo' => { | |
- order_date => {'!=' => undef} # activated | |
+ '-and' => [ | |
+ {order_date => {'!=' => undef}}, # activated | |
+ {state => 'on-order'} # only send POs that are in 'on-order' status | |
+ ] | |
}, | |
'+acqpro' => { | |
active => 't', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment