ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suraj Khurana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-8143) When Creating an Order from a Quote, the items are added to the purchase order in reverse order
Date Sat, 09 Mar 2019 05:46:00 GMT

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

Mime
View raw message