You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Suraj Khurana (JIRA)" <ji...@apache.org> on 2019/03/09 05:46:00 UTC

[jira] [Commented] (OFBIZ-8143) When Creating an Order from a Quote, the items are added to the purchase order in reverse order

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

Suraj Khurana commented on OFBIZ-8143:
--------------------------------------

Thanks Forest Rae for your contribution.

After this patch, every item added into PO will get added as first item in cart, I think it's OK, not a big deal.

Any other thoughts are welcome, otherwise I will commit in few days.

> When Creating an Order from a Quote, the items are added to the purchase order in reverse order
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-8143
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8143
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch 15.12
>            Reporter: Forrest Rae
>            Assignee: Suraj Khurana
>            Priority: Minor
>         Attachments: OFBIZ-8143.patch
>
>
> When creating an order from a Quote, if a purchase order is required (due to dropship) the items are added to the purchase order in reverse order as they appear on the quote and sales order.  This is because the call to ShoppingCartItem.makePurchaseOrderItem() is made with the first argument always set to 0, thus adding the all items as the first item.



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