Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035696Openbravo ERP09. Financial managementpublic2017-04-04 18:092017-05-29 17:43
ngarcia 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR17Q3 
aferraz
Core
No
0035696: Cannot use accounting dimensions in return material receipt and return to vendor shipment posting
Cannot use accounting dimensions in return material receipt and return to vendor shipment posting
As group admin role:
   Go to Client window and set all the dimensions to be shown both in header and in lines
   Remove all the records from the Client - Dimensions tab
   Log out and log in
   Create the required dimensions:
      Cost Center
      Project
      User Defined Dimension 1
      User Defined Dimension 2
      ...
   Create a Purchase Order and add a line to it
   Add the dimensions in the purchase order header and lines and book it
   Go to Pending Goods Receipt and create the goods receipt from it
   Go to Return To Vendor window and select the previously created receipt line
   Go to Return To Vendor Shipment and create the line from it
   Check most of the dimensions are not shown in both document's header and lines

   Create a Sales Order and add a line to it
   Add the dimensions in the sales order header and lines and book it
   Launch the Create Shipments From Orders process and create the goods shipment from it
   Go to Return From Customer window and select the previously created receipt line
   Go to Return Material Receipt and create the line from it
   Check most of the dimensions are not shown in both document's header and lines

   Launch the Costing Background process and once it finishes successfully post all the warehouse documents:
      Goods Shipment
      Goods Receipt
      Return Material Receipt
      Return to Vendor Shipment
   Go to Accounting Transaction Details window and check accounting dimensions are only used when posting the goods shipment/receipt but not when posting the returns
No tags attached.
Issue History
2017-04-04 18:09ngarciaNew Issue
2017-04-04 18:09ngarciaAssigned To => Triage Finance
2017-04-04 18:09ngarciaModules => Core
2017-04-04 18:09ngarciaResolution time => 1493071200
2017-04-04 18:09ngarciaTriggers an Emergency Pack => No
2017-04-04 18:09ngarciaIssue Monitored: networkb
2017-04-04 18:09ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14949#r14949
2017-04-06 17:43eugeniIssue Monitored: eugeni
2017-04-10 21:27aferrazAssigned ToTriage Finance => AtulOpenbravo
2017-04-12 08:09AtulOpenbravoStatusnew => scheduled
2017-04-12 19:46AtulOpenbravoNote Added: 0096033
2017-04-27 20:06hgbotCheckin
2017-04-27 20:06hgbotNote Added: 0096238
2017-04-27 20:06hgbotStatusscheduled => resolved
2017-04-27 20:06hgbotResolutionopen => fixed
2017-04-27 20:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6ce84e33a39515a950dfd505f4193eaf7c027d7b [^]
2017-04-27 20:06hgbotCheckin
2017-04-27 20:06hgbotNote Added: 0096239
2017-04-27 20:08aferrazReview Assigned To => aferraz
2017-04-27 20:08aferrazNote Added: 0096240
2017-04-27 20:08aferrazStatusresolved => closed
2017-04-27 20:08aferrazFixed in Version => 3.0PR17Q3
2017-05-29 17:43hudsonbotCheckin
2017-05-29 17:43hudsonbotNote Added: 0096911
2017-05-29 17:43hudsonbotCheckin
2017-05-29 17:43hudsonbotNote Added: 0096912

Notes
(0096033)
AtulOpenbravo   
2017-04-12 19:46   
Test Plan
- Login as group admin role:
- Go to Client window and set all the dimensions to be shown both in header and in lines
- Remove all the records from the Client - Dimensions tab
- Log out and log in
- Create the records for following dimensions:
      Cost Center
      Project
      User Defined Dimension 1
      User Defined Dimension 2

- Create a Purchase Order and add a line to it.
- Add the dimensions in the purchase order header and lines and book it.
- Go to Pending Goods Receipt and create the goods receipt from it.
- Go to Return To Vendor window and select the previously created receipt line
- Go to Return To Vendor Shipment and create the line from it.
- Check Dimensions Project, Cost Center, 1st Dimension, 2nd Dimension are shown in both document's lines.

- Create a Sales Order and add a line to it.
- Add the dimensions in the sales order header and lines and book it.
- Launch the Create Shipments From Orders process and create the goods shipment from it.
- Go to Return From Customer window and select the previously created receipt line.
- Go to Return Material Receipt and create the line from above RFC Order Line.
- Check Dimensions Project, Cost Center, 1st Dimension, 2nd Dimension are shown in both document's lines.

- Launch the Costing Background process and once it finishes successfully post all the warehouse documents:
      Goods Shipment
      Goods Receipt
      Return Material Receipt
      Return to Vendor Shipment
- Go to Accounting Transaction Details window and check accounting dimensions are used when posting the goods shipment/receipt and also return document "Return Material Receipt and Return To Vendor Shipment".
(0096238)
hgbot   
2017-04-27 20:06   
Repository: erp/devel/pi
Changeset: 6ce84e33a39515a950dfd505f4193eaf7c027d7b
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Apr 12 22:32:25 2017 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6ce84e33a39515a950dfd505f4193eaf7c027d7b [^]

Fixes issue 35696: Cannot use accounting dimensions in return material
receipt and return to vendor shipment posting

Added auxiliar input for docbasetype for RTV Shipment Line Tab,
RTV Line Tab, RFC Line Tab, RM Receipt Line Tab inorder to enable
dimensions for Project, Cost Center, 1st Dimension, 2nd Dimension.
Added missing dimension fields in respective tabs of return document.
Copied dimension Project, Cost Center, 1st, 2nd Dimension from
Receipt/Shipment Line to RTV/RFC Order Line and then to RTV Shipment
/ RM Receipt Line respectively.

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src/org/openbravo/common/actionhandler/RMInOutPickEditLines.java
M src/org/openbravo/common/actionhandler/RMShipmentPickEditLines.java
M src/org/openbravo/common/actionhandler/SRMOPickEditLines.java
---
(0096239)
hgbot   
2017-04-27 20:06   
Repository: erp/devel/pi
Changeset: 121a065712db77bfae60118ef0f96a5d5c90eaa8
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Thu Apr 27 20:06:04 2017 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/121a065712db77bfae60118ef0f96a5d5c90eaa8 [^]

Related to issue 35696: Code review improvements

Reorder accounting dimension fields inside Header tabs of Return windows.

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0096240)
aferraz   
2017-04-27 20:08   
Code review + Testing OK
(0096911)
hudsonbot   
2017-05-29 17:43   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1ee70113bdc4 [^]
Maturity status: Test
(0096912)
hudsonbot   
2017-05-29 17:43   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1ee70113bdc4 [^]
Maturity status: Test