Use the org unit (buyer) SAN instead of the the seller SAN when the
BUYER_ID_INCLUDE_VENDCODE EDI attribute is enabled.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
$compiled{buyer_code} = $po->provider->edi_default->vendacct;
$compiled{buyer_code} = # B&T
- $compiled{vendor_san}.' '.$po->provider->edi_default->vendcode
+ $compiled{org_unit_san}.' '.$po->provider->edi_default->vendcode
if $compiled{edi_attrs}->{BUYER_ID_INCLUDE_VENDCODE};
$compiled{buyer_code} = $po->provider->edi_default->vendcode