[ https://issues.apache.org/jira/browse/OFBIZ-11909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17164744#comment-17164744 ]
Ravi Lodhi edited comment on OFBIZ-11909 at 7/25/20, 4:47 AM: -------------------------------------------------------------- While working on this ticket two issues are found- # ClassCastException due to GString to String conversion. # After resolving the first one found another issue where the product is getting received two times on a single receive. Whether using Product Receiving or PO receiving. It seems these issues were introduced while converting receiveInventoryProduct service from minilang(xml) to DSL groovy. Fixed the issue in the PR - [https://github.com/apache/ofbiz-framework/pull/218] Thanks! was (Author: lodhiravi): While working on this ticket two issues are found- # ClassCastException due to GString to String conversion. # After resolving the first one found another issue where the product is getting received two times on a single receive. Whether using Product Receiving or PO receiving. These issues were introduced while converting receiveInventoryProduct service from minilang(xml) to DSL groovy. Fixed the issue in the PR - [https://github.com/apache/ofbiz-framework/pull/218] Thanks! > Error while receiving the purchase order > ---------------------------------------- > > Key: OFBIZ-11909 > URL: https://issues.apache.org/jira/browse/OFBIZ-11909 > Project: OFBiz > Issue Type: Bug > Components: product/facility > Affects Versions: Trunk > Reporter: Ravi Lodhi > Priority: Major > Attachments: ReceivePOError.png > > > Steps to regenerate - > 1. Log on to Facility application > (https://demo-trunk.ofbiz.apache.org/facility/control/main). > 2. Select the facility (I used Web Store Warehouse the default one) and > submit. > 3. Now from this Edit Facility page click on the Receive Inventory button > from the top button bar. > 4. Select Purchase Order Number(You can create one purchase order if there is > no PO to receive) and click on Receive Product(s) button. > 5. Select the radio button to receive the entire PO and click on the Receive > Selected Shipment button. > 6. By default, all the products of the PO come selected with the required > detail to receive. So no need to alter anything. Now click on Receive > Selected Product(s) button. > 7. The error message should appear. -- This message was sent by Atlassian Jira (v8.3.4#803005)