Hi Jennifer, thanks, that makes sense. I was going to apply a patch for this, but realized as I was testing that we are already protecting against this scenario. The "Mark Selected Lineitems as Received" action in the selector is only active/usable after the PO has been activated (and the lineitems are "on-order"). So, while the code in my branch would not prevent a pending-order lineitem from being received, there is actually no way to do it in practice.
Hi Jennifer, thanks, that makes sense. I was going to apply a patch for this, but realized as I was testing that we are already protecting against this scenario. The "Mark Selected Lineitems as Received" action in the selector is only active/usable after the PO has been activated (and the lineitems are "on-order"). So, while the code in my branch would not prevent a pending-order lineitem from being received, there is actually no way to do it in practice.