Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025110Openbravo ERP09. Financial managementpublic2013-11-07 21:302013-12-19 12:30
chelipf 
pramakrishnan 
highmajoralways
closedfixed 
30Debian Wheezy
3.0MP28.2 
 
eduardo_Argal
Internet Explorer
Core
No
0025110: Error when setting C_costcenter_id, user1_id and user2_id in fin_payment table.
If you set some value in c_costcenter_id, user1_id and user2_id columns of fin_payment table then accounting process fails. There is a problem in loadLinesFieldProvider method of DocFinPayment class, it should behave as in c_invoice, c_invoiceline dimensions, the header doc dimension should be preferible to lines dimensions.

I have tried to set some dimensions in payment header and it set a bad value to the factacct user2_id column.

  Detail: La llave (user2_id)=(AD0716E979D44120AB37C9AEAC358752) no está presente en la tabla «user2».

Detail: the (user2_id) key= (AD0716E979D44120AB37C9AEAC358752) is not present in the <<user2>> table.

Set some values to c_costcenter_id, user1_id, user2_id columns of fin_payment table. Try to post the document.
Fix the loadLinesFieldProvider method of DocFinPayment class.
Sidesoft
Issue History
2013-11-07 21:30chelipfNew Issue
2013-11-07 21:30chelipfAssigned To => dmiguelez
2013-11-07 21:30chelipfWeb browser => Internet Explorer
2013-11-07 21:30chelipfModules => Core
2013-11-07 21:30chelipfTriggers an Emergency Pack => No
2013-11-07 21:34chelipfTag Attached: Sidesoft
2013-12-03 11:19pramakrishnanAssigned Todmiguelez => pramakrishnan
2013-12-05 12:14hgbotCheckin
2013-12-05 12:14hgbotNote Added: 0062604
2013-12-05 12:14hgbotStatusnew => resolved
2013-12-05 12:14hgbotResolutionopen => fixed
2013-12-05 12:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9403eece6200d46b95fef30c8d9e18f5ea435116 [^]
2013-12-05 12:42eduardo_ArgalReview Assigned To => eduardo_Argal
2013-12-05 12:42eduardo_ArgalNote Added: 0062607
2013-12-05 12:42eduardo_ArgalStatusresolved => closed
2013-12-19 12:30hudsonbotCheckin
2013-12-19 12:30hudsonbotNote Added: 0062831

Notes
(0062604)
hgbot   
2013-12-05 12:14   
Repository: erp/devel/pi
Changeset: 9403eece6200d46b95fef30c8d9e18f5ea435116
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue Dec 03 15:49:53 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/9403eece6200d46b95fef30c8d9e18f5ea435116 [^]

Fixes Issue 25110: Error when setting C_costcenter_id, user1_id and user2_id in fin_payment table.

---
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
---
(0062607)
eduardo_Argal   
2013-12-05 12:42   
Code Reviewed and tested
(0062831)
hudsonbot   
2013-12-19 12:30   
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/b878bb51dc09 [^]

Maturity status: Test