EDI: protect against invalid order response
authorBill Erickson <berick@esilibrary.com>
Mon, 3 Dec 2012 14:20:29 +0000 (09:20 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 14 Jan 2013 22:12:11 +0000 (17:12 -0500)
commitb82675e26f0ad627a7276865a9fccb2a6d27fd33
tree136234a89fa7bcbb3f49e2ea403c81f6ef91568d
parent721781979545d0a9fdb335de706d58b07cbf0ba2
EDI: protect against invalid order response

Do not attempt to createI EDI messages for order responses which
reference nonexistent purchase orders, since it results in
transaction commit errors on invalid foreign keys, preventing
subsequent EDI files from getting processed.  Instead, log it
and skip it.

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