Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026079Openbravo ERPZ. Otherspublic2014-03-25 10:522014-04-03 10:09
maite 
pramakrishnan 
urgentmajoralways
closedfixed 
5
 
3.0PR14Q33.0MP31 
OBPS
Advanced Payables and Receivables Mngmt
27124
No
0026079: "Process failed during execution" error when posting a Payment with Cost Center dimension
Log is showing following error "WARN org.openbravo.erpCommon.ad_forms.FactLine - javax.servlet.ServletException: @CODE=0@ERROR: inserción o actualización en la tabla «fact_acct» viola la llave foránea «fact_acct_user2»
  Detail: La llave (user2_id)=(6A64D6598A2B48F7A818B231ADFC60A0) no está presente en la tabla «user2»"

Problem is that process is considering cost center value as a user2 dimension instead of a cost_center dimension
1. Access Client window and configure "Accounting Dimensions" section as "Central maintenance". Set "Cost Center" dimension as "show header" and "show lines"
2. Access as System Administrator to "Windows tabs and fields" and search "Payment In " window to display "Cost Center" field in Payment In Header
3. Logout / login
4. Access Cost center window and define any cost center value
5. Register Payment In Header for any org and bp and set Cost Center in header. Add details and select any pending invoice. Process payment and try to post it. "Process failed during execution" error will be reaised
No tags attached.
Issue History
2014-03-25 10:52maiteNew Issue
2014-03-25 10:52maiteAssigned To => dmiguelez
2014-03-25 10:52maiteModules => Advanced Payables and Receivables Mngmt
2014-03-25 10:52maiteOBNetwork customer => Yes
2014-03-25 10:52maiteSupport ticket => 27124
2014-03-25 10:52maiteResolution time => 1397253600
2014-03-25 10:52maiteTriggers an Emergency Pack => No
2014-03-25 10:52maiteIssue Monitored: networkb
2014-03-25 17:48jonalegriaesarteAssigned Todmiguelez => jonalegriaesarte
2014-03-25 17:50maiteTarget Version => PR14Q3
2014-04-02 12:04jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-04-03 10:07maiteStatusnew => scheduled
2014-04-03 10:07maiteNote Added: 0066116
2014-04-03 10:07maitefix_in_branch => pi
2014-04-03 10:09maiteStatusscheduled => resolved
2014-04-03 10:09maiteFixed in Version => 3.0MP31
2014-04-03 10:09maiteFixed in SCM revision => MP31
2014-04-03 10:09maiteResolutionopen => fixed
2014-04-03 10:09maiteNote Added: 0066117
2014-04-03 10:09maiteStatusresolved => closed

Notes
(0066116)
maite   
2014-04-03 10:07   
fixed by changeset: https://code.openbravo.com/erp/devel/pi/rev/9403eece6200d46b95fef30c8d9e18f5ea435116 [^]
(0066117)
maite   
2014-04-03 10:09   
verified