Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030615Openbravo ERP09. Financial managementpublic2015-08-20 13:142016-10-28 15:39
maite 
nonofrancisco 
highminoralways
scheduledopen 
5
 
 
Core
No
0030615: "element value" field could be removed from General Ledger Configuration | Dimension tab as it is not used
If this field is empty, following warnings are raised in the log "WARN org.openbravo.erpCommon.ad_forms.AcctSchemaElement - AcctSchameElement.getAcctSchemaElementList - No default value for Account"

However, this field is not considered by any process so it could be removed
In order to verify that this field is not used in any process:
- As system administrator, delete "Element value" field from General Ledger Configuration | Dimension tab
- As system administrator, delete "C_ElementValue_ID" from "C_AcctSchema_Element" table
- From PG Admin, delete "C_ElementValue_ID" from "C_AcctSchema_Element" table
- Run compile.complete and realize that only error received is in org.openbravo.erpCommon.ad_forms.AcctSchemaElement.java , where warning is raised

NOTE: Process InitialSetupUtility needs to be modified to remove line "newAcctSchemaElement.setAccountElement(defaultAccount);"
No tags attached.
related to defect 0026393 new dmiguelez Openbravo ERP Warning which is not understandable "No default value for Account" 
related to defect 0031991 closed vmromanos Localization Pack: Spain Account tree and Account Element fields of General Ledger Configuration - Dimensions tab are both translated as Arbol de Cuentas 
Issue History
2015-08-20 13:14maiteNew Issue
2015-08-20 13:14maiteAssigned To => Triage Finance
2015-08-20 13:14maiteModules => Core
2015-08-20 13:14maiteTriggers an Emergency Pack => No
2015-08-20 13:14maiteIssue Monitored: networkb
2016-01-25 10:39ngarciaRelationship addedrelated to 0026393
2016-01-25 10:53ngarciaRelationship addedrelated to 0031991
2016-10-14 16:05nonofranciscoAssigned ToTriage Finance => nonofrancisco
2016-10-17 18:31nonofranciscoNote Added: 0090649
2016-10-17 18:31nonofranciscoAssigned Tononofrancisco => maite
2016-10-17 18:31nonofranciscoStatusnew => feedback
2016-10-27 01:08aferrazAssigned Tomaite => nonofrancisco
2016-10-27 01:08aferrazStatusfeedback => scheduled
2016-10-28 15:39nonofranciscoNote Added: 0091001
2016-10-28 15:46nonofranciscoNote Edited: 0091001bug_revision_view_page.php?bugnote_id=0091001#r13521

Notes
(0090649)
nonofrancisco   
2016-10-17 18:31   
After removing "Element value" field from General Ledger Configuration | Dimension tab, removing "C_ElementValue_ID" from "C_AcctSchema_Element" table in AD, and "C_ElementValue_ID" from "C_AcctSchema_Element" table in postgres, compile.complete fails when compiling org\openbravo\erpCommon\ad_forms\AcctSchemaElement_data.xsql, meaning c_elementvalue_id is used by this process.

Need directions to continue.
(0091001)
nonofrancisco   
2016-10-28 15:39   
(edited on: 2016-10-28 15:46)
Following the Steps to Reproduce this issue is not reproducible, see note https://issues.openbravo.com/view.php?id=30615#c90649 [^]

In this case, just the warning message was removed.