Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037122Openbravo ERP03. Procurement managementpublic2017-10-19 17:092017-10-24 16:22
maite 
nonofrancisco 
immediatemajoralways
closedfixed 
5
 
3.0PR17Q2.4 
dmiguelez
Core
No
0037122: "Copy Lines" process not properly copying "organization" dimension when defined at invoice line level
"Copy lines" process is properly copying another accounting dimensions defined at line level, such as Cost Center, but it nos properly copying Organization accounting dimension
0. Access "Client" window and set "Organization" as "Show in lines" and "Cost Center" as "Show in lines"
1. Access Dimensions tab, filter by "AR Invoice" and "AP Invoice" and set "Organization" as "Show in lines"
2. Access Cost Center window and define 2 records: cc1 and cc2
3. Define Conversion rate between EUR and USD for toda's date
4. Logout and login again
5. Create new Purchase Invoice for "España" organization and today's date
6. Add line for any product, set Organization dimension "España norte" and Cost Center "a"
7. Add line for any other product, set Organization dimension "España sur" and Cost Center "b". Process invoice
8. Create new Purchase Invoice for "España" organization and today's date. Run "Copy lines" and select previous invoice

Realize that Cost Center information has been correctly copied but NOT Organization information
No tags attached.
blocks defect 0037119 closed nonofrancisco "Copy Lines" process not properly copying "organization" dimension when defined at invoice line level 
Issue History
2017-10-19 17:36nonofranciscoTypedefect => backport
2017-10-19 17:36nonofranciscoTarget Version => 3.0PR17Q2.4
2017-10-24 16:22hgbotCheckin
2017-10-24 16:22hgbotNote Added: 0100036
2017-10-24 16:22hgbotStatusscheduled => resolved
2017-10-24 16:22hgbotResolutionopen => fixed
2017-10-24 16:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q2.4/rev/16e20884ec9fef613edb1a2972710db5adf9e890 [^]
2017-10-24 16:22dmiguelezReview Assigned To => dmiguelez
2017-10-24 16:22dmiguelezNote Added: 0100037
2017-10-24 16:22dmiguelezStatusresolved => closed

Notes
(0100036)
hgbot   
2017-10-24 16:22   
Repository: erp/backports/3.0PR17Q2.4
Changeset: 16e20884ec9fef613edb1a2972710db5adf9e890
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Tue Oct 24 11:15:20 2017 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR17Q2.4/rev/16e20884ec9fef613edb1a2972710db5adf9e890 [^]

Fixes Issue 37122. Sets correct Organization in new Invoice line

* If the organization of the original invoice line belongs to the child
  tree of the organization of the document header of the new line,
  use the organization of the original invoice line
* If not, use the organization of the document header of the new line

---
M src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice.java
---
(0100037)
dmiguelez   
2017-10-24 16:22   
Code Review + Testing Ok