EDIReader : detect SAN vs. account number in buyer/seller
authorBill Erickson <berick@esilibrary.com>
Mon, 12 Nov 2012 14:35:53 +0000 (09:35 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Jan 2013 22:12:11 +0000 (17:12 -0500)
commit721781979545d0a9fdb335de706d58b07cbf0ba2
treef1d02f95f7030a13a1dc5fe74660b9374e62f32d
parente52692104abeaf6da197c2b010f64f2e4b3ccadf
EDIReader : detect SAN vs. account number in buyer/seller

NAD+BY+XXXXXXX::31B' -- SAN
NAD+BY+YYYYYYY::91' -- Account number

For invoices, try the SAN first followed by the account number to
determine the receiving org unit.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/EDI.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/EDIReader.pm