Christian Carlow created OFBIZ-5418:
---------------------------------------
Summary: Purchase Shipment "Receive Inventory Against Purchase Order" functionality not working
Key: OFBIZ-5418
URL:
https://issues.apache.org/jira/browse/OFBIZ-5418 Project: OFBiz
Issue Type: Bug
Affects Versions: SVN trunk
Reporter: Christian Carlow
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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)