[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=16827514#comment-16827514 ] Suraj Khurana commented on OFBIZ-8143: -- Hi Nicolas, I checked and your patch doesn't fits in this case. Though, if you can please elaborate your case in a separate Jira ans attach this patch over there, we can check this. I hope it's fine. > 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-other-implementation.patch, 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)
[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=16818715#comment-16818715 ] Nicolas Malin commented on OFBIZ-8143: -- Hello, we had the problem drop ship process and we solved it with different way [^OFBIZ-8143-other-implementation.patch]. I didn't test form Quote, maybe this solution from standard cart work also from Quote > 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-other-implementation.patch, 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)
[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)