From: Nicolas M. <nic...@ne...> - 2008-04-01 22:20:12
|
Charles a écrit : > Bonsoir a tous, > Bonsoir Nicolas, > > J'ai vu le jeux de donnees contenues dans DemoAdvancedAccountingData_fr et me > demande comment le charger. Y a-t-il une procédure particuliere pour le > charger? Essayant de l'importer j'ai une erreur dont le log ci-dessous. > > J'ai aussi remarqué pas mal de nouveautés dans la compta. ;-) > Slt Chalres, Oui pas mal d'amélioration, je suis en cours de finalisation d'une premirère version pas très exploitable pour l'instant d'écran d'aide à la saisie évolué à partir du moteur d'intégration. > Quelle est l'utilisation du champs "Theme" dans l'ecran d'édition des objets > metiers? > Thème ou BusinessObjectCondition, à pour objectif d'opérer une conditionnel sur une recherche relative à un BuisnessObjectType. Un exemple : j'ai rajouté le BoType partyRole hors le moteur d'intégration ne sait pas gérer avec plus d'une clé sans passé par une double assocation. Donc si tu ne veux opérer tes recherches que sur les fournisseurs, tu associes à ton BON de type partyRole le thème fournisseur qui aura un boField à roleTypeId et un boValue à "SUPPLIER" En faite j'avais mis ça pour faire un filtre sur Enumeration à la base. Je sais pas si j'ai documenté le wiki :( Pour ce qui est de l'erreur je vais regarder. Nicolas > Je m'apprette a ajouter au moteur de correspondance quelques regles basées sur > productTypeId et preferre m'assurer que je comprends bien les nouveautés. > > Merci de votre aide. > -Charles > > ====== log import DemoAdvancedAccountingData ===== > 2008-03-31 19:52:40,296 (http-0.0.0.0-8443-Processor4) > [ RequestHandler.java:305:ERROR] Request entityImport caused an error with > the following message: ERROR: Error parsing entity xml file: > org.ofbiz.entity.GenericEntityException: Exception while inserting the > following entity: > [PersistantObject:org.ofbiz.accounting.accintegration.developed.AcctgTransTypeBonAssoc] > [GenericEntity:AcctgTransTypeBonAssoc] > [atrnstypIdName,Achat(java.lang.String)] > [attbaTypeEnumId,ATTBATYPE_MAIN(java.lang.String)] > [bonIdName,Fournisseur(java.lang.String)][createdStamp,2008-03-31 19:52:40.11 > (java.sql.Timestamp)][createdTxStamp,2008-03-31 19:52:39.154 > (java.sql.Timestamp)][debitCreditEnumId,CREDIT(java.lang.String)] > [fromDate,2001-01-01 00:00:00.0(java.sql.Timestamp)] > [lastUpdatedStamp,2008-03-31 19:52:40.11(java.sql.Timestamp)] > [lastUpdatedTxStamp,2008-03-31 19:52:39.154(java.sql.Timestamp)][sequenceId,1 > (java.lang.Long)] (while inserting: > [PersistantObject:org.ofbiz.accounting.accintegration.developed.AcctgTransTypeBonAssoc] > [GenericEntity:AcctgTransTypeBonAssoc] > [atrnstypIdName,Achat(java.lang.String)] > [attbaTypeEnumId,ATTBATYPE_MAIN(java.lang.String)] > [bonIdName,Fournisseur(java.lang.String)][createdStamp,2008-03-31 19:52:40.11 > (java.sql.Timestamp)][createdTxStamp,2008-03-31 19:52:39.154 > (java.sql.Timestamp)][debitCreditEnumId,CREDIT(java.lang.String)] > [fromDate,2001-01-01 00:00:00.0(java.sql.Timestamp)] > [lastUpdatedStamp,2008-03-31 19:52:40.11(java.sql.Timestamp)] > [lastUpdatedTxStamp,2008-03-31 19:52:39.154(java.sql.Timestamp)][sequenceId,1 > (java.lang.Long)] (SQL Exception while executing the following:INSERT INTO > ACCTG_TRANS_TYPE_BON_ASSOC (BON_ID_NAME, ATRNSTYP_ID_NAME, FROM_DATE, > THRU_DATE, SEQUENCE_ID, ATTBA_TYPE_ENUM_ID, DEBIT_CREDIT_ENUM_ID, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) > VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Duplicate key or integrity > constraint violation message from server: "Cannot add or update a child row: > a foreign key constraint fails (`integre/ACCTG_TRANS_TYPE_BON_ASSOC`, > CONSTRAINT `ACC_ATTBONASSOC0` FOREIGN KEY (`BON_ID_NAME`) REFERENCES > `BUSINESS_OBJECT_NAME` (`ID_NAME`))"))) > ====== Fin log import DemoAdvancedAccountingData ===== > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Neogia-ofbiz-fr mailing list > Neo...@li... > https://lists.sourceforge.net/lists/listinfo/neogia-ofbiz-fr > -- MALIN Nicolas Trésorier de l'association Néogia Tél : 06.17.66.40.06 http://www.neogia.org/ |