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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011474
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminoralways2009-11-24 13:162010-01-21 00:00
ReporternetworkbView Statuspublic 
Assigned Toharikrishnan 
PriorityurgentResolutionfixedFixed in Version2.50MP11
StatusclosedFix in branchFixed in SCM revision9027e387940b
ProjectionnoneETAnoneTarget Version2.50MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP8SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011474: A Return Material is always under way

DescriptionWhen you process a Return Material always is under way.
Steps To Reproduce-As Openbravo Admin go to Sales Management || Transactions || Sales Order
-Create a new record
    -Transaction Document: Return Material
    -Chose a Bussines Partner.
-Save and go to lines.
-Create a new record (Product: Hammer)
-Save and go to Header
-Complete

Proposed Solution1) After clicking Complete for the first time, and before completing, a check has to be done to ensure that quantities of the lines are negative, as stated in the Functional Documentation http://wiki.openbravo.com/wiki/Functional_Documentation/Sales_Management#Document_types [^] Return Material "This Document type is used when material is returned. The order quantities are negative to increase stock size". If this condition is not fulfilled, display the error message: "Return Material order lines require negative quantities".

2) If this condition is fulfilled, the Return Material order is completed as a regular Standard Order (it passes directly to Complete status, does not keep Under Way).
* Check that discounts are properly applied.
* Check that goods shipments and sales invoices are properly created (negative quantities) from this Return Material order.

3) Clicking Close button give the possibility to Close or Reactivate the Return Material order, in the same way it does for a Standard Order.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00114712.50MP11 closedharikrishnan A Return Material can be Process without Lines 
related to defect 00114722.50MP11 closedrafaroda Mistake in a error's message 

-  Notes
(0022470)
psarobe (manager)
2009-12-07 11:35

We have to investigate if this is an issue or not and if there is some logic behind this
(0022471)
networkb (developer)
2009-12-07 11:38

Do you need any information from our side?
(0022835)
rafaroda (developer)
2009-12-15 13:05

@networkb: Do you agree with the proposed solution?
(0022836)
networkb (developer)
2009-12-15 13:08

oks, we agree
(0023334)
harikrishnan (reporter)
2010-01-12 10:07

Sales Order(Sales Management || Transactions || Sales Order || Header)
  Header *Create a new record with following records
          Transaction Document=Return Material
          Business Partner = any
  Lines
      *Create a new line with following details
          Product = Hat
          Quantity Ordered = 5
  Try to complete the order.It should throw a error "Return Material order lines require negative quantities.".
  *Again go to lines and change the quantity ordered =-5.Now complete the order.
  *Check with the price adjustment also
    #Go to Price Adjustments(Master Data Management || Pricing || Price Adjustments || Adjustments ).
    #Create a new Price adjustment with following details.
        1.Starting Date =01-01-2010
        2.Ending Date =01-01-2011
        3.Discount % =10
        4.Included Business Partners =All Selected
        5.Included Products =All Selected
        Go to Business Partner tab inside adjustment
            Business Partner =Any (Eg:Mcgiver Supplies)
        Go to Product tab
            Product=Any(Hat)
        Go to Price List
            Price List= General Sales.
        In the sales order select the Business partner chosen above.And the product also the same.
            Sales Order:Header
                Business Partner : Mcgiver Supplies
                 Line
                    Product:Hat
                    And the price calculated should apply both the discount and price adjustment.
      The order should be completed with following things
          1.Document Status = Completed
          2.All the buttons (Complete,Copy lines from,Copy from Order) should be hidden.
          3."Close" button should be visible.And order can be closed or reactivated.
(0023341)
hgbot (developer)
2010-01-12 10:54

Repository: erp/devel/pi
Changeset: 9027e387940b366d97134d0f0da34ee0fb4d6bc8
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Jan 12 15:22:38 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/9027e387940b366d97134d0f0da34ee0fb4d6bc8 [^]

Fixes Issue 11474: A Return Material is always under way.

---
M src-db/database/model/functions/C_ORDER_POST1.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0023543)
hudsonbot (developer)
2010-01-19 01:41

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/9027e387940b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7f3a35240cf9 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15846.obx [^]
(0023591)
arunkumar (reporter)
2010-01-20 06:46

Tested & Working fine

- Issue History
Date Modified Username Field Change
2009-11-24 13:16 networkb New Issue
2009-11-24 13:16 networkb Assigned To => rafaroda
2009-11-24 14:09 rafaroda Relationship added related to 0011471
2009-12-07 11:35 psarobe Note Added: 0022470
2009-12-07 11:35 psarobe Status new => feedback
2009-12-07 11:38 networkb Note Added: 0022471
2009-12-15 13:04 rafaroda Priority immediate => urgent
2009-12-15 13:04 rafaroda Status feedback => scheduled
2009-12-15 13:04 rafaroda Steps to Reproduce Updated
2009-12-15 13:05 rafaroda Note Added: 0022835
2009-12-15 13:07 rafaroda Steps to Reproduce Updated
2009-12-15 13:08 networkb Note Added: 0022836
2009-12-15 13:14 rafaroda Steps to Reproduce Updated
2010-01-05 11:52 rafaroda Relationship added related to 0011472
2010-01-09 05:33 harikrishnan Assigned To rafaroda => harikrishnan
2010-01-12 10:07 harikrishnan Note Added: 0023334
2010-01-12 10:54 hgbot Checkin
2010-01-12 10:54 hgbot Note Added: 0023341
2010-01-12 10:54 hgbot Status scheduled => resolved
2010-01-12 10:54 hgbot Resolution open => fixed
2010-01-12 10:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9027e387940b366d97134d0f0da34ee0fb4d6bc8 [^]
2010-01-19 01:41 hudsonbot Checkin
2010-01-19 01:41 hudsonbot Note Added: 0023543
2010-01-20 06:46 arunkumar Note Added: 0023591
2010-01-20 06:46 arunkumar Status resolved => closed
2010-01-20 06:46 arunkumar Fixed in Version => 2.50MP11
2010-01-21 00:00 anonymous sf_bug_id 0 => 2935920


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker