[JIRA] Closed: (OFBIZ-568) Refactor the Returns data model

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Closed: (OFBIZ-568) Refactor the Returns data model

JIRA jira@ofbiz.org
     [ http://jira.undersunconsulting.com/browse/OFBIZ-568?page=all ]
     
Jacopo Cappellato closed OFBIZ-568:
-----------------------------------

    Resolution: Fixed

> Refactor the Returns data model
> -------------------------------
>
>          Key: OFBIZ-568
>          URL: http://jira.undersunconsulting.com/browse/OFBIZ-568
>      Project: [OFBiz] Open For Business
>         Type: Improvement
>   Components: order
>     Versions: SVN
>     Reporter: Leon Torres
>     Assignee: Jira Administrator

>
>
> We have been working on extending the functionality of Returns in order manager and want to be able to capture the actual amounts of price, adjustment, shipping, and taxes returned to the customer.  We also want to be able to match returns up to the same GL accounts as the original order.
> We think we would need to improve the Return data model by:
> 1.  Creating a new ReturnAdjustment entity, which will essentially be a copy of the OrderAdjustment entity but without shipment details.
> 2.  Add receivedQuantity to track how many of a return item has actually been received.  ReturnItem.returnedQuantity is still used to record the number of items the customer promised to return.
> 3.  Add a productid to ReturnItem.
> Thus, when a return is created,
> 1.  We copy over the actual amounts from the order items and adjustments into ReturnItems and ReturnAdjustments, instead of prorating everything back into ReturnItems.
> 2.  If the return quantity is less than the ordered quantity, we scale the adjustments.
> We'll have new capabilities such as:
> 1.  Manually create returns
> 2.  Modify or add new adjustments to returns
> 3.  Report on number of items that have been returned (hence, net sales)
> 4.  Fix problems where if only some of the return items are received, the return is still marked "Complete."
> This is obviously going to be a big project and require a lot of changes, so we would like some feedback before we continue.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.undersunconsulting.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira