From: Liam Whalen Date: Wed, 29 Oct 2014 18:31:22 +0000 (-0700) Subject: LP#1441770 Liberalized the check for taxes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fldw%2FLP1441770_Liberalize_EDI_Tax_Check;p=working%2FEvergreen.git LP#1441770 Liberalized the check for taxes The amount regex used to check for taxes needed to be liberalized, so that it could find Ingram's amount sent in EDI messages. They use an MOA+120 field, where as we were checking for MOA+124. Signed-off-by: Liam Whalen --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm index 3a3ecc64fb..47ebbc2d8f 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm @@ -63,7 +63,7 @@ my %edi_charge_fields = ( # have so far. my %edi_tax_fields = ( type => qr/^TAX\+7\+([^\+]+)/, - amount => qr/^MOA\+124:([^:]+)/ + amount => qr/^MOA\+12[04]:([^:]+)/ ); sub new {