Menu

Importing chart of accounts issue (webui)

Developers
pedro rozo
2010-11-23
2013-03-08
  • pedro rozo

    pedro rozo - 2010-11-23

    Hi everyone.

    Using a fresh adempiere 3.6 build from the trunk with migration scripts applied and postgres 8.1; I am trying to perform a simple import of a chart of accounts during the setup of my client using the webui (Zk), (my .csv file is good and it has been tested before with previous releases of adempiere).

    Let me summarize:

    1. I just create a new client as System/System admin  with the basic settings and using a .csv for chart of accounts
    2.,after that I login as admin and follow the steps of the inicial client setup review (workflow). steps
    3. After I load the .csv file everthing is ok,
    4. next go to  import accounts and browse to the first valid row(see attached screen capture) , but when I press the  Import Accounts adempiere is not doing anything, just showing a message:       changes ignored  

    I have used this Accounts.csv file nefore without any issues (Provided as example in a training course with carlos Ruiz),, but looking in the Iog file, I  get some warnings regarding the database … am I missing something ?

    this is the screen capture:  http://www.smartjsp.com/temp/importAccountIssue1.JPG
    and here you can see teh csv file as well:  http://www.smartjsp.com/temp/AccountingCO.csv

    I have perfomed this process sucessfully before with other adempiere releases, but I am not sure if I am missing something…   should I choose a diferent row (empty row) ?
    or should a fill any other field to perform the full import (all the accounts).?

    Cheers,

    Pedro

    Here mi log file:

    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.dataSave: I_ElementValue - No Persistent Object
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID
    -------> GridTable.saveWarning: SaveErrorRowNotFound - 
    -------> GridTable.getWhereClause: PK data is null - I_ElementValue_ID

    Host = localhost : 10199 (null)
     
    Database = localhost : 5432 / adempiere361
    Schema = adempiere
    User/Contact = adminHospital
    Role = administrador hospital - rol
    Client = Hospital
    Organization = *
    Date = 2010-11-23 07:57:57
    Printer =
    Implementation Vendor = ${ADEMPIERE_VENDOR}
    Implementation Version = ${ADEMPIERE_VERSION} 20101123-0713
    AdempiereHome = /smartjsp/apps/adempiere361
    AdempiereProperties = /smartjsp/apps/adempiere361/Adempiere.properties
    Language=
    MClient
    Multi Lingual Documents = false
    BaseLanguage = true/true
    Java HotSpot(TM) Server VM 17.0-b16
    java.io.tmpdir=/tmp
    Linux 2.6.18-194.17.1.el5 unknown
    Max Heap = 494M
    Allocated Heap = 180M
    Free Heap = 57M
    Active Threads = 63
    === Environment === -1006591153
    ADempiere(r) 3.6.0LTS+P20101105_2010-06-14 -Smart Suite ERP,CRM and SCM- (C) 1999-2010 ADempiere(r); Implementation: ${ADEMPIERE_VERSION} 20101123-0713 - ${ADEMPIERE_VENDOR}
    cl-t056-411cl.privatedns.com/72.55.164.244
    localhost{localhost-adempiere361-adempiere} adempiere@jdbc:postgresql://localhost:5432/adempiere361?encoding=UNICODE
    -
    DB_PostgreSQL
    AppsServerOK=true, DatabaseOK=true

    === Context ===
    #AD_Client_ID == 1000001
    #AD_Client_Name == Hospital
    #AD_Language == en_US
    #AD_Org_ID == 0
    #AD_Org_Name == *
    #AD_PrintColor_ID == 100
    #AD_PrintFont_ID == 130
    #AD_PrintPaper_ID == 100
    #AD_PrintTableFormat_ID == 100
    #AD_Role_ID == 1000002
    #AD_Role_Name == administrador hospital - rol
    #AD_SearchDefinition_ID == 50000
    #AD_Session_ID == 1000020
    #AD_User_ID == 1000002
    #AD_User_Name == adminHospital
    #C_BP_Group_ID == 1000001
    #C_ConversionType_ID == 114
    #C_Country_ID == 100
    #C_PaymentTerm_ID == 1000001
    #C_Region_ID == 142
    #C_TaxCategory_ID == 1000001
    #C_Tax_ID == 1000001
    #C_UOM_ID == 100
    #Date == 2010-11-23 07:57:57
    #GL_Category_ID == 1000012
    #IsLiberoEnabled == Y
    #LanguageName == English
    #Locale == en_US
    #M_Locator_ID == 1000001
    #M_PriceList_ID == 1000001
    #M_Product_Category_ID == 1000001
    #SalesRep_ID == 1000002
    #ShowAcct == Y
    #ShowAdvanced == Y
    #ShowTrl == Y
    #StdPrecision == 2
    #User_Level ==  CO
    #YYYY == Y
    $C_AcctSchema_ID == 1000001
    $C_Currency_ID == 100
    $Element_AC == Y
    $Element_BP == Y
    $Element_OO == Y
    $Element_PR == Y
    $HasAlias == Y
    1110|Find_Table_ID == 534
    6|0|AD_Client_ID == 1000001
    6|0|AD_Column_ID == 0
    6|0|AD_Org_ID == 0
    6|0|AccountSign ==
    6|0|AccountType == A
    6|0|C_ElementValue_ID == 0
    6|0|C_Element_ID == 0
    6|0|Created == 2010-11-23 07:45:32
    6|0|CreatedBy == 1000002
    6|0|Default_Account ==
    6|0|Description ==
    6|0|ElementName ==
    6|0|I_ElementValue_ID == 0
    6|0|I_ErrorMsg ==
    6|0|I_IsImported == N
    6|0|IsActive == Y
    6|0|IsDocControlled == N
    6|0|IsSummary == Y
    6|0|Name == DISPONIBLE
    6|0|ParentElementValue_ID == 0
    6|0|ParentValue == 1
    6|0|PostActual == Y
    6|0|PostBudget == Y
    6|0|PostEncumbrance == Y
    6|0|PostStatistical == Y
    6|0|Processed == N
    6|0|Processing ==
    6|0|Updated == 2010-11-23 07:45:32
    6|0|UpdatedBy == 1000002
    6|0|Value == 11
    6|0|_TabInfo_AD_Tab_ID == 0
    6|0|_TabInfo_AD_Table_ID == 534
    6|0|_TabInfo_AccessLevel == 6
    6|0|_TabInfo_KeyColumnName == I_ElementValue_ID
    6|0|_TabInfo_Name == Import Account
    6|0|_TabInfo_SQL == SELECT I_ElementValue_ID,I_IsImported,C_ElementValue_ID,I_ErrorMsg,AD_Client_ID,AD_Org_ID,ElementName,C_Element_ID,Value,Name,Description,AccountType,AccountSign,IsSummary,ParentValue,ParentElementValue_ID,PostActual,PostBudget,PostStatistical,PostEncumbrance,IsDocControlled,Default_Account,AD_Column_ID,Processing,Processed,IsActive,Created,CreatedBy,Updated,UpdatedBy FROM I_ElementValue WHERE I_ElementValue.AD_Client_ID IN(0,1000001) AND I_ElementValue.AD_Org_ID IN(0,1000001) AND I_ElementValue.I_ElementValue_ID NOT IN ( SELECT Record_ID FROM AD_Private_Access WHERE AD_Table_ID = 534 AND AD_User_ID <> 1000002 AND IsActive = 'Y' ) ORDER BY I_ElementValue_ID
    6|0|_TabInfo_TabLevel == 0
    6|99|_TabInfo_FindSQL == SELECT COUNT(*) FROM I_ElementValue WHERE AD_Client_ID IN(0,1000001) AND AD_Org_ID IN(0,1000001) AND I_ElementValue_ID NOT IN ( SELECT Record_ID FROM AD_Private_Access WHERE AD_Table_ID = 534 AND AD_User_ID <> 1000002 AND IsActive = 'Y' )
    6|AD_Client_ID == 1000001
    6|AD_Org_ID == 0
    6|AccountType == A
    6|AutoCommit == Y
    6|AutoNew == Y
    6|BaseTable_ID == 534
    6|Created == 2010-11-23 07:45:32
    6|CreatedBy == 1000002
    6|Find_Table_ID == 534
    6|I_IsImported == N
    6|IsActive == Y
    6|IsDocControlled == N
    6|IsSOTrx == Y
    6|IsSummary == Y
    6|Name == DISPONIBLE
    6|ParentValue == 1
    6|PostActual == Y
    6|PostBudget == Y
    6|PostEncumbrance == Y
    6|PostStatistical == Y
    6|Processed == N
    6|Updated == 2010-11-23 07:45:32
    6|UpdatedBy == 1000002
    6|Value == 11
    6|WindowName == Import Account
    AutoCommit == Y
    AutoNew == Y
    Login.RememberMe == Y
    P103|Type == S
    P143|C_BPartner_ID == 1000003
    P143|C_DocTypeTarget_ID == 1000081
    P189|DataType == S
    P53004|AD_Org_ID == 0
    P53005|Action == C
    P53032|AD_Org_ID == 0
    P53034|AD_Org_ID == 0
    P53035|AD_Org_ID == 0
    P53044|C_DocType_ID == 115
    P53046|A_Entry_Type == TRN
    P53046|C_DocType_ID == 115
    P53047|A_Entry_Type == DIS
    P53047|C_DocType_ID == 115
    P53051|A_Entry_Type == SPL
    P53051|C_DocType_ID == 115
    P53051|GL_Category_ID == 108
    P53053|A_Entry_Type == DEP
    P53053|C_DocType_ID == 115
    P53055|A_Entry_Type == NEW
    P53055|C_DocType_ID == 115
    P|AutoCommit == Y
    P|AutoNew == Y
    P|C_Country_ID == 274
    P|Client == 1000001
    P|Language == Español (CO)
    P|MenuCollapsed == N
    P|Organization == 0
    P|Role == 1000002
    P|Warehouse == 0
    P|WindowTabCollapsible == N
    P|WindowTabPlacement == Left
    org.compiere.model.DefaultRole == MRole
    org.compiere.util.CLogErrorBuffer.errors ==
    org.compiere.util.CLogErrorBuffer.history ==
    org.compiere.util.CLogErrorBuffer.issueError == true
    org.compiere.util.CLogErrorBuffer.logs ==
    org.compiere.util.CLogger.lastWarning ==
    servlet.sessionId == 3D48BC633CC01345479A21A78C721D97

    === System ===
    ADEMPIERE_HOME=/smartjsp/apps/adempiere361
    AD_Client_ID=0
    PROPERTIES_FILE=tsmx.properties
    ServerApps=1
    TSMX_VERSION=unknown
    bind.address=localhost
    catalina.base=/smartjsp/apps/adempiere361/jboss/server/adempiere
    catalina.ext.dirs=/smartjsp/apps/adempiere361/jboss/server/adempiere/lib
    catalina.home=/smartjsp/apps/adempiere361/jboss/server/adempiere
    catalina.useNaming=false
    com.arjuna.ats.arjuna.objectstore.objectStoreDir=/smartjsp/apps/adempiere361/jboss/server/adempiere/data/tx-object-store
    com.arjuna.ats.jta.lastResourceOptimisationInterface=org.jboss.tm.LastResource
    com.arjuna.ats.tsmx.agentimpl=com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl
    com.arjuna.common.util.logger=log4j_releveler
    com.arjuna.common.util.logging.DebugLevel=0x00000000
    com.arjuna.common.util.logging.FacilityLevel=0xffffffff
    com.arjuna.common.util.logging.VisibilityLevel=0xffffffff
    com.mchange.v2.log.MLog=com.mchange.v2.log.FallbackMLog
    com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider
    common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar
    file.encoding=UTF-8
    file.encoding.pkg=sun.io
    file.separator=/
    hibernate.bytecode.provider=javassist
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.headless=true
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path=/smartjsp/apps/adempiere361/jboss/bin/run.jar:/smartjsp/apps/java/jdk1.6.0_21/lib/tools.jar
    java.class.version=50.0
    java.endorsed.dirs=/smartjsp/apps/adempiere361/jboss/lib/endorsed
    java.ext.dirs=/smartjsp/apps/java/jdk1.6.0_21/jre/lib/ext:/usr/java/packages/lib/ext
    java.home=/smartjsp/apps/java/jdk1.6.0_21/jre
    java.io.tmpdir=/tmp
    java.library.path=/smartjsp/apps/java/jdk1.6.0_21/jre/lib/i386/server:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/i386:/smartjsp/apps/java/jdk1.6.0_21/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
    java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
    java.net.preferIPv4Stack=true
    java.protocol.handler.pkgs=org.jboss.net.protocol
    java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader
    java.rmi.server.codebase=http://localhost:18083/
    java.rmi.server.hostname=localhost
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.6.0_21-b06
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.6
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.6.0_21
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Server VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=17.0-b16
    javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl
    jboss.bind.address=localhost
    jboss.home.dir=/smartjsp/apps/adempiere361/jboss
    jboss.home.url=file:/smartjsp/apps/adempiere361/jboss/
    jboss.identity=98ae329bb7f94bcfx-73da942fx12c5f1fe0f1x-8000563
    jboss.lib.url=file:/smartjsp/apps/adempiere361/jboss/lib/
    jboss.remoting.domain=JBOSS
    jboss.remoting.instanceid=98ae329bb7f94bcfx-73da942fx12c5f1fe0f1x-8000563
    jboss.remoting.jmxid=cl-t056-411cl.privatedns.com_1290514881269
    jboss.remoting.version=22
    jboss.server.base.dir=/smartjsp/apps/adempiere361/jboss/server
    jboss.server.base.url=file:/smartjsp/apps/adempiere361/jboss/server/
    jboss.server.config.url=file:/smartjsp/apps/adempiere361/jboss/server/adempiere/conf/
    jboss.server.data.dir=/smartjsp/apps/adempiere361/jboss/server/adempiere/data
    jboss.server.home.dir=/smartjsp/apps/adempiere361/jboss/server/adempiere
    jboss.server.home.url=file:/smartjsp/apps/adempiere361/jboss/server/adempiere/
    jboss.server.lib.url=file:/smartjsp/apps/adempiere361/jboss/server/adempiere/lib/
    jboss.server.log.dir=/smartjsp/apps/adempiere361/jboss/server/adempiere/log
    jboss.server.name=adempiere
    jboss.server.temp.dir=/smartjsp/apps/adempiere361/jboss/server/adempiere/tmp
    jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3
    jgroups.bind_addr=localhost
    line.separator=

    mail.host=smtp.gmail.com
    mail.smtp.auth=true
    mail.smtp.port=587
    mail.smtp.starttls.enable=true
    mail.store.protocol=smtp
    mail.transport.protocol=smtp
    org.adempiere.server.embedded=true
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
    org.w3c.dom.DOMImplementationSourceList=org.apache.xerces.dom.DOMXSImplementationSourceImpl
    os.arch=i386
    os.name=Linux
    os.version=2.6.18-194.17.1.el5
    package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
    package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
    path.separator=:
    program.name=run.sh
    server.loader=
    shared.loader=
    sun.arch.data.model=32
    sun.boot.class.path=/smartjsp/apps/adempiere361/jboss/lib/endorsed/xercesImpl.jar:/smartjsp/apps/adempiere361/jboss/lib/endorsed/serializer.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/resources.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/rt.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/sunrsasign.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/jsse.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/jce.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/charsets.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/classes
    sun.boot.library.path=/smartjsp/apps/java/jdk1.6.0_21/jre/lib/i386
    sun.cpu.endian=little
    sun.cpu.isalist=
    sun.io.unicode.encoding=UnicodeLittle
    sun.java.launcher=SUN_STANDARD
    sun.jnu.encoding=UTF-8
    sun.management.compiler=HotSpot Tiered Compilers
    sun.os.patch.level=unknown
    tomcat.util.buf.StringCache.byte.enabled=true
    user.country=US
    user.dir=/smartjsp/apps/adempiere361/utils
    user.home=/smartjsp/apps/adempiere361
    user.language=en
    user.name=adempiere
    user.timezone=America/Montreal

     

Log in to post a comment.