Delivery package details not populated for uncorrelated invoice line when multiple product-supplier relationships exist
Description
If an ESCI invoice is processed that has an invoice line where:
there is no corresponding order item
there are multiple product-supplier relationships for the product being delivered
the delivery item generated from the invoice line will not have any package details set. The UBLInvoiceLine.getSellersItemID(), which corresponds to the re-order code, should be used to select the appropriate product-supplier relationship to determine the package details.
If an ESCI invoice is processed that has an invoice line where:
there is no corresponding order item
there are multiple product-supplier relationships for the product being delivered
the delivery item generated from the invoice line will not have any package details set.
The UBLInvoiceLine.getSellersItemID(), which corresponds to the re-order code, should be used to select the appropriate product-supplier relationship to determine the package details.