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

2019-04-18 Thread Paul Foxworthy (JIRA)


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

Paul Foxworthy commented on OFBIZ-10932:


Thanks [~swapnilmmane]

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


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

2019-04-18 Thread Paul Foxworthy (JIRA)


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

Paul Foxworthy commented on OFBIZ-10932:


Fixed in trunk in r1857781.

Fixed in 17.12 in r1857783.

Fixed in 18.12 in r1857784.

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


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

2019-04-18 Thread Swapnil M Mane (JIRA)


[ 
https://issues.apache.org/jira/browse/OFBIZ-10932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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 1
>  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. 1
>  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. 1) 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)