erictgrubaugh
if (customerpo) { return checkDuplicate(...); // <= result needs to be returned } else { ... }