Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012802Openbravo ERP07. Sales managementpublic2010-03-25 12:082010-04-06 15:08
sureshbabu 
adrianromero 
immediatemajoralways
closedfixed 
30
2.50MP13 
2.50MP14 
Core
No
0012802: Reactivated sales order cannot be completed, if the order is attached with Discount.
Reactivated sales order cannot be completed, if the order is attached with Discount.

Here i created Discount "Discount 10%" my moving to (Master Data Management || Business Partner Setup || Discount || Discount)
Then i assigned that discount to a BP with Apply in order option checked.
Then i created a sales order for the above created BP and then i completed the sales order. Then i verified the discount amount is rightly applied to the sales order. After that i reactivated the sales order and modified the qty. Then i moved back to Header tab and clicked "complete" button to complete the order.


Please refer the screen shot for more details.
But system throws error message as "Line Amount is not Correct"
1) 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

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
And verify 10% discount is applied to the order after the order is completed


5)Reactive the above created sales order
Then reactive the order by clicking the "Close" and by selecting reactive option
Then move to lines tab and change the qty from '1' to '10'
Then move back to header and click complete complete button.

Expected: Sales order completed successfully with respective discount amount applied to the order

Actual result:But system throws error message as "Line Amount is not Correct"

Root cause: In the Header tab, Discount amount wrongly applied to Total net amount field in Header tab.




Remove the line item in the Discount tab, once the order is reactivated.
Regression
related to defect 0012845 closed harikrishnan User Not able to create purchase order using Copy lines option 
jpg Auto save functionality is not working in Sales order line tab when the line item qty is chenged from 1 to any number.JPG (180,786) 2010-03-25 12:08
https://issues.openbravo.com/file_download.php?file_id=2380&type=bug
jpg
Issue History
2010-03-25 12:08sureshbabuNew Issue
2010-03-25 12:08sureshbabuAssigned To => adrianromero
2010-03-25 12:08sureshbabuFile Added: Auto save functionality is not working in Sales order line tab when the line item qty is chenged from 1 to any number.JPG
2010-03-29 22:30psarobePriorityhigh => immediate
2010-03-29 22:30psarobeStatusnew => scheduled
2010-03-30 17:29adrianromeroRelationship addedrelated to 0012845
2010-03-30 17:30adrianromeroStatusscheduled => resolved
2010-03-30 17:30adrianromeroResolutionopen => fixed
2010-03-30 17:30adrianromeroFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/927ada9dd5b203fb46be9e69a4e7883d81bbb47c [^]
2010-03-31 11:41psarobeTag Attached: Regression
2010-03-31 13:02psarobeStatusresolved => closed
2010-03-31 13:02psarobeFixed in Version => 2.50MP14
2010-04-01 00:00anonymoussf_bug_id0 => 2980271
2010-04-06 15:08psarobeversionmain => 2.50MP13

There are no notes attached to this issue.