Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012805
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2010-03-25 13:392010-06-08 14:13
ReportersureshbabuView Statuspublic 
Assigned Tosivaraman 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision7f5988a1f872
ProjectionnoneETAnoneTarget Version2.50MP17
OSLinux 64 bitDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012805: Inactive Discount still apples to the sales order

DescriptionI created a discount and attached to a business partner, then i move back to Discount tab and i deactivate that Discount.

When i created a sales order for the respective sales order, still the deactivated discount applies to the Sales order.
Steps To Reproduce1) To Crete a product name "Discount 10%"

Navigate to Master Data Management || Product || Product window and click and enter Name & Search key as "Discount 10%" and click save.

2) To create Discount name "Discount 10% applies to BP:Red bunny"

Navigate to Master Data Management || Business Partner Setup || Discount || Discount and click New t
Then enter the below details
Name: Discount 10% applies to BP:Red Bunny
Product: Discount 10%
Discount: 10% and click save

3) Assigning the "Discount 10%" to BP:Red bunny

Navigate to Master Data Management || Business Partner || Business Partner and select the BP: Red Bunny
Then select the "Discount" sub tab
Click new and enter the below details
Discount: Discount 10% applies to BP:Red Bunny
And check all the below check boxes
Apply in order: Check
Customer & vendor: Check

5) Deactivate the Discount
Navigate to Master Data Management || Business Partner Setup || Discount || Discount
And select the above created Discount: Discount 10% applies to BP:Red Bunny
And un check the "Active" checkbox and click save

4) Create a sales order for Red bunny
Create and complete a sales order for the above business partner with below details
BP: Red bunny, Product: Hammer, qty: 1
then click complete button

Expected result: Verify 10% discount Should not apply to the order after the order is completed

Actual result: Discount is wrongly applies to the order.
TagsNo tags attached.
Attached Filesjpg file icon Inactive Discount, still attachs to the sales order.JPG [^] (174,207 bytes) 2010-03-25 13:39

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0026611)
hgbot (developer)
2010-04-23 12:24

Repository: erp/devel/pi
Changeset: aeacb7e398a6f8bc398be097be998c21b9330cb9
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Fri Apr 23 15:53:55 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/aeacb7e398a6f8bc398be097be998c21b9330cb9 [^]

Fixes issue 12805: Inactive Discount still apples to the sales order

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0026613)
sivaraman (reporter)
2010-04-23 12:30

Steps to test: Kindly follow all the steps as specified in 'Steps To Reproduce' section.
(0026678)
sureshbabu (reporter)
2010-04-26 13:36

Tested working fine, but a inactive discount is added in the Discounts tab which i will raise it as a new issue.
(0027280)
hudsonbot (developer)
2010-05-14 15:27

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/aeacb7e398a6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/36f76c8d7193 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17198.obx [^]
(0027973)
hgbot (developer)
2010-06-04 14:45

Repository: erp/devel/pi
Changeset: 7f5988a1f872853a39aa7d4006838e27db54aba5
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Fri Apr 23 15:53:55 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/7f5988a1f872853a39aa7d4006838e27db54aba5 [^]

Fixes issue 12805: Inactive Discount still apples to the sales order

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0028095)
hudsonbot (developer)
2010-06-07 21:21

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/7f5988a1f872 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8b43a1f2fff4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17563.obx [^]
(0028137)
hudsonbot (developer)
2010-06-07 23:43

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/7f5988a1f872 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/8b43a1f2fff4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17563.obx [^]
(0028185)
sureshbabu (reporter)
2010-06-08 14:13

verified..in live qa pi oracle build

- Issue History
Date Modified Username Field Change
2010-03-25 13:39 sureshbabu New Issue
2010-03-25 13:39 sureshbabu Assigned To => adrianromero
2010-03-25 13:39 sureshbabu File Added: Inactive Discount, still attachs to the sales order.JPG
2010-03-29 22:32 psarobe Priority normal => high
2010-03-29 22:32 psarobe Severity minor => major
2010-03-29 22:32 psarobe Status new => scheduled
2010-03-29 22:32 psarobe Target Version => 2.50MP15
2010-04-23 12:18 sivaraman Assigned To adrianromero => sivaraman
2010-04-23 12:24 hgbot Checkin
2010-04-23 12:24 hgbot Note Added: 0026611
2010-04-23 12:24 hgbot Status scheduled => resolved
2010-04-23 12:24 hgbot Resolution open => fixed
2010-04-23 12:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aeacb7e398a6f8bc398be097be998c21b9330cb9 [^]
2010-04-23 12:30 sivaraman Note Added: 0026613
2010-04-26 13:36 sureshbabu Note Added: 0026678
2010-04-26 13:36 sureshbabu Status resolved => closed
2010-04-27 00:00 anonymous sf_bug_id 0 => 2992604
2010-05-14 15:27 hudsonbot Checkin
2010-05-14 15:27 hudsonbot Note Added: 0027280
2010-05-18 12:12 gorka_gil Target Version 2.50MP15 => 2.50MP17
2010-06-04 14:45 hgbot Checkin
2010-06-04 14:45 hgbot Note Added: 0027973
2010-06-04 14:45 hgbot Status closed => resolved
2010-06-04 14:45 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/aeacb7e398a6f8bc398be097be998c21b9330cb9 [^] => http://code.openbravo.com/erp/devel/pi/rev/7f5988a1f872853a39aa7d4006838e27db54aba5 [^]
2010-06-07 21:21 hudsonbot Checkin
2010-06-07 21:21 hudsonbot Note Added: 0028095
2010-06-07 23:43 hudsonbot Checkin
2010-06-07 23:43 hudsonbot Note Added: 0028137
2010-06-08 14:13 sureshbabu Note Added: 0028185
2010-06-08 14:13 sureshbabu Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker