You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Swapnil M Mane (JIRA)" <ji...@apache.org> on 2019/04/19 05:36:00 UTC

[jira] [Commented] (OFBIZ-10932) Updating an OrderItem loses supplierProductId

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

Swapnil M Mane commented on OFBIZ-10932:
----------------------------------------

Good catch, thanks [~paul_foxworthy].
The patch looks good to me and working as expected.

> Updating an OrderItem loses supplierProductId
> ---------------------------------------------
>
>                 Key: OFBIZ-10932
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10932
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk, 17.12.01, 18.12.01
>            Reporter: Paul Foxworthy
>            Assignee: Paul Foxworthy
>            Priority: Minor
>              Labels: order, order_item
>             Fix For: Trunk, 17.12.01, 18.12.01
>
>         Attachments: OFBIZ-10932_Preserve_supplierProductId_when_updating_OrderItem.patch
>
>
> When you edit on order item, the details are reloaded into a shopping cart and after editing the order is updated from the cart. At present the supplierProductId for the order item is not read into the cart.
>  
> Try this in the demo site:
> Product GZ-1000 has several suppliers, including BigSupplier
>  Order-Order Entry
>  In Purchase Order, choose BigSupplier, click Continue
>  In "Enter Order, Agreements and Ship Dates", click Continue
>  In Create Purchase Order, enter Product ID of GZ-1000 and Quantity of 500
>  Click Finalize Order
>  Click Continue several times to reach Purchase Order: Order Confirmation
>  Click Create Order
>  Note Purchase Order number. When I did this, it was 10000
>  Applications - Web Tools
>  Click Entity Data Maintenance
>  In Filter by Entity Name, choose OrderItem, click Apply
>  Click OrderItem in the Entity Name column
>  Enter Purchase Order number, e.g. 10000
>  Scroll down and click Search
>  Observe that the OrderItem has a SupplierProductId of BKGZ_1000 as you'd expect
>  Applications - Order - Find Order
>  Enter Order ID (e.g. 10000) and click Find
>  In Actions, click Edit Items
>  Change Unit Price from 3.75 to 4.00, check checkbox next to Unit Price, and click Update Selected Items
>  Return to Entity Data Maintenance in the Web Tools, and find the OrderItem for the purchase order again
>  You'll see that the SupplierProductId has been lost
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)