Return-Path: X-Original-To: apmail-ofbiz-dev-archive@www.apache.org Delivered-To: apmail-ofbiz-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2495A175E2 for ; Sat, 21 Feb 2015 07:41:35 +0000 (UTC) Received: (qmail 83383 invoked by uid 500); 21 Feb 2015 07:40:32 -0000 Delivered-To: apmail-ofbiz-dev-archive@ofbiz.apache.org Received: (qmail 83352 invoked by uid 500); 21 Feb 2015 07:40:32 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 83273 invoked by uid 99); 21 Feb 2015 07:40:32 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Feb 2015 07:40:32 +0000 Date: Sat, 21 Feb 2015 07:40:32 +0000 (UTC) From: "Sharan Foga (JIRA)" To: dev@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OFBIZ-5550) 'existingOrderAdjustmentTotal' does not take into consideration the 'previous' promotional adjustment created in Order cancellation. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-5550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sharan Foga updated OFBIZ-5550: ------------------------------- Sprint: Bug Crush Event - 21/2/2015 > 'existingOrderAdjustmentTotal' does not take into consideration the 'previous' promotional adjustment created in Order cancellation. > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-5550 > URL: https://issues.apache.org/jira/browse/OFBIZ-5550 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 11.04, Release Branch 12.04, Trunk > Reporter: Praveen Agrawal > Assignee: Jacques Le Roux > Attachments: OFBiz-5550-TestCase.txt, OFBiz-5550.patch > > > Inside OrderServices.xml -- recreateOrderAdjustments method, > 'existingOrderAdjustmentTotal' does not take into consideration the 'previous' promotional adjustment created in Order cancellation. > Because when an item is cancelled and if any promo is applied then the Newly created OrderAdjustment entry doesn't have any productPromoId set to it so if next time we go to cancel another item, then the existingOrderAdjustmentTotal field doesn't consider the previously adjusted promo amount. -- This message was sent by Atlassian JIRA (v6.3.4#6332)