You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Carlow (JIRA)" <ji...@apache.org> on 2013/12/05 17:04:35 UTC

[jira] [Commented] (OFBIZ-5418) Purchase Shipment "Receive Inventory Against Purchase Order" functionality not working

    [ https://issues.apache.org/jira/browse/OFBIZ-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840207#comment-13840207 ] 

Christian Carlow commented on OFBIZ-5418:
-----------------------------------------

The issueOrderItemToShipmentAndReceiveAgainstPO service called when the form is submitted does not account for the possibility of an order item being associated with more than one ship group.  Therefore the service fails when trying to execute <store-value> on line 427 of ShipmentReceiptServices.xml after trying to receive quantity for an order item previously received against but for a different ship group than the original.

The service should account for receiving of order items associated with multiple ship groups.

> 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)