Description
The "Receive Inventory Against Purchase Order" functionality of purchase shipments needs work. The first problem is that the form cannot be submitted because of faulty javascript. The populateQuantities javascript function contains double question mark operators (??) which seem not part of the language. Because of this the form.submit() is not executed so the form is never able to be submitted.
Removing the call to the populateQuantities javascript function allows the form to be submitted but the issueOrderItemToShipmentAndReceiveAgainstPO service fails because the hidden quantity field is set to blank. The populateQuantities javascript function was meant to populate the hidden quantity field before submission. Assigning the hidden quantity field value to 0 resolves the service missing parameter problem.
I assume most people are not using this functionality because it seems to need quite a bit of work.