EDI invoice processing should note LIs that do not correspond to Evergreen POs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
We ran into a situation where a materials vendor sends EDI invoices for all orders on an EDI-enabled account, including orders on that account that were not placed via EDI (e.g., were placed via the vendor's website).
Because those orders do not have an Evergreen line item ID (or at least, not one known to the materials vendor), they are coming across with no RFF+LI.
Evergreen will load those invoices and successfully create entries for processing charges and the like, but invoice lines corresponding to orders appear to simply get ignored. This can turn a $30.99 invoice for a item + processing charges into a $5.69 invoice for just the processing charges.
This is misleading, of course. Ways that Evergreen might handle this better include:
- refusing to load the invoice but provide useful error logging
- loading the invoice and creating invoice_item or invoice_entry rows for the invoice lines that could not be linked to a PO, then providing some mechanism to reconcile them later
Evergreen 3.2+