r3159 - in trunk/lima-business/src/main: java/org/chorem/lima/business/ejb java/org/chorem/lima/business/ejbinterface resources/i18n
Author: vsalaun Date: 2011-06-07 14:50:05 +0200 (Tue, 07 Jun 2011) New Revision: 3159 Url: http://chorem.org/repositories/revision/lima/3159 Log: #345 Adding business services Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/FinancialTransactionServiceImpl.java trunk/lima-business/src/main/java/org/chorem/lima/business/ejbinterface/FinancialTransactionService.java trunk/lima-business/src/main/resources/i18n/lima-business_en_GB.properties trunk/lima-business/src/main/resources/i18n/lima-business_fr_FR.properties Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/FinancialTransactionServiceImpl.java =================================================================== --- trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/FinancialTransactionServiceImpl.java 2011-06-07 08:53:23 UTC (rev 3158) +++ trunk/lima-business/src/main/java/org/chorem/lima/business/ejb/FinancialTransactionServiceImpl.java 2011-06-07 12:50:05 UTC (rev 3159) @@ -25,34 +25,44 @@ package org.chorem.lima.business.ejb; +import static org.nuiton.i18n.I18n._; + import java.math.BigDecimal; import java.util.ArrayList; +import java.util.Calendar; +import java.util.Collections; + import java.util.Date; import java.util.List; import javax.ejb.EJB; import javax.ejb.Stateless; + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.chorem.lima.FinancialStatementWayEnum; +import org.chorem.lima.beans.BalanceTrial; import org.chorem.lima.beans.FinancialTransactionSearch; +import org.chorem.lima.beans.ReportsDatas; import org.chorem.lima.business.AccountingRules; import org.chorem.lima.business.LimaConfig; import org.chorem.lima.business.LimaException; -import org.chorem.lima.business.ejbinterface.AccountService; import org.chorem.lima.business.ejbinterface.EntryBookService; -import org.chorem.lima.business.ejbinterface.FinancialStatementService; +import org.chorem.lima.business.ejbinterface.FinancialPeriodService; import org.chorem.lima.business.ejbinterface.FinancialTransactionService; import org.chorem.lima.business.ejbinterface.FinancialTransactionServiceLocal; -import org.chorem.lima.business.ejbinterface.FiscalPeriodService; import org.chorem.lima.business.ejbinterface.ReportService; +import org.chorem.lima.business.utils.FinancialPeriodComparator; import org.chorem.lima.entity.Account; import org.chorem.lima.entity.AccountDAO; +import org.chorem.lima.entity.ClosedPeriodicEntryBook; import org.chorem.lima.entity.Entry; import org.chorem.lima.entity.EntryBook; import org.chorem.lima.entity.EntryDAO; +import org.chorem.lima.entity.EntryImpl; import org.chorem.lima.entity.FinancialPeriod; import org.chorem.lima.entity.FinancialPeriodDAO; +import org.chorem.lima.entity.FinancialTransactionImpl; import org.chorem.lima.entity.FiscalPeriod; import org.chorem.lima.entity.Letter; import org.chorem.lima.entity.LetterDAO; @@ -87,18 +97,9 @@ protected AccountingRules accountingRules; @EJB - protected FiscalPeriodService fiscalPeriodService; + protected FinancialPeriodService financialPeriodService; @EJB - protected AccountService accountServiceImpl; - - @EJB - protected FinancialStatementService financialStatementService; - - @EJB - protected FinancialTransactionService financialTransactionService; - - @EJB protected ReportService reportService; @EJB @@ -661,19 +662,125 @@ } } - public void addRetainedEarnings(FiscalPeriod previousFiscalPeriod, FiscalPeriod fiscalPeriod, EntryBook entryBook) throws LimaException { - //TODO + @Override + public void addRetainedEarnings(FiscalPeriod previousFiscalPeriod, FiscalPeriod fiscalPeriod, EntryBook entryBook, Date date) throws LimaException { TopiaContext topiaContext = null; try { + + + BalanceTrial results = reportService.generateBalanceTrial(previousFiscalPeriod.getBeginDate(), previousFiscalPeriod.getEndDate(), null, false, false); + + List<ReportsDatas> reportsDatasList = (List<ReportsDatas>) results.getReportsDatas(); + topiaContext = beginTransaction(); - //temporary method + //Sets entryBook + //search for the entryBook to use using param + boolean found = false; + List<EntryBook> entryBooksList = entryBookService.getAllEntryBooks(); + for (EntryBook entry : entryBooksList) { + if (!found && entry.getCode().equals(entryBook.getCode()) && entry.getLabel().equals(entryBook.getLabel())) { + entryBook = entry; + found = true; + } + } + //if entrybook is not found + //then create it + if (!found) { + entryBookService.createEntryBook(entryBook); + entryBooksList = entryBookService.getAllEntryBooks(); + for (EntryBook entry : entryBooksList) { + if (!found && entry.getCode().equals(entryBook.getCode()) && entry.getLabel().equals(entryBook.getLabel())) { + entryBook = entry; + found = true; + } + } + } - // + Net Income - // - Dividends Paid - // + Beginning Retained Earnings - // = Ending Retained Earnings + //Sets the financialTransaction + FinancialTransaction financialTransaction = new FinancialTransactionImpl(); + financialTransaction.setAmountDebit(BigDecimal.ZERO); + financialTransaction.setAmountCredit(BigDecimal.ZERO); + financialTransaction.setEntryBook(entryBook); + FinancialPeriod financialPeriod = null; + + //Sets date for description + Calendar calendar = Calendar.getInstance(); + calendar.setTime(previousFiscalPeriod.getEndDate()); + + + found = false; + + //look for the first financial period on the current fiscal year with is unlocked + List<ClosedPeriodicEntryBook> resultsArray = + new ArrayList<ClosedPeriodicEntryBook>(); + List<ClosedPeriodicEntryBook> closedPeriodicEntryBook = + financialPeriodService.getAllClosedPeriodicEntryBooksFromUnblockedFiscalPeriod(); + Collections.sort(closedPeriodicEntryBook, new FinancialPeriodComparator()); + resultsArray.addAll(closedPeriodicEntryBook); + + for (ClosedPeriodicEntryBook cPeriodicEntryBook : resultsArray) { + if (!found && (cPeriodicEntryBook.getFinancialPeriod().getBeginDate().compareTo(date) <= 0) + && (cPeriodicEntryBook.getFinancialPeriod().getEndDate().compareTo(date) >= 1)) { + if (cPeriodicEntryBook.getFinancialPeriod().getLocked() || cPeriodicEntryBook.getLocked()) { + throw new LimaException("Can't set financialPeriod"); + } + if (cPeriodicEntryBook.getEntryBook().getCode().equals(entryBook.getCode()) + && cPeriodicEntryBook.getEntryBook().getLabel().equals(entryBook.getLabel())) { + found = true; + financialPeriod = cPeriodicEntryBook.getFinancialPeriod(); + } + } + } + if (!found) { + throw new LimaException("Can't set financialPeriod"); + } + financialTransaction.setFinancialPeriod(financialPeriod); + financialTransaction.setTransactionDate(date); + // create it + createFinancialTransactionWithTransaction(financialTransaction, topiaContext); + commitTransaction(topiaContext); + + //Sets entries + Entry entry = null; + + + + for (ReportsDatas report : reportsDatasList) { + //Account class from 1 to 7 + if (Integer.valueOf(report.getAccount().getAccountNumber().substring(0, 1)) < 8) { + if (report.getSoldeDebit()){ + if (!report.getAmountDebit().equals(BigDecimal.ZERO)) { + entry = new EntryImpl(); + entry.setDescription(_("lima-business.financialtransaction.retainedearnings.description") + " (" + calendar.get(Calendar.YEAR) + ")"); + entry.setVoucher(_("lima-business.financialtransaction.retainedearnings.voucher")); + entry.setFinancialTransaction(financialTransaction); + entry.setAccount(report.getAccount()); + entry.setAmount(report.getAmountDebit().abs()); + entry.setDebit(true); + topiaContext = beginTransaction(); + createEntryWithTransaction(entry, topiaContext); + commitTransaction(topiaContext); + } + } + if (!report.getSoldeDebit()){ + if (!report.getAmountCredit().equals(BigDecimal.ZERO)) { + entry = new EntryImpl(); + entry.setDescription(_("lima-business.financialtransaction.retainedearnings.description") + " (" + calendar.get(Calendar.YEAR) + ")"); + entry.setVoucher(_("lima-business.financialtransaction.retainedearnings.voucher")); + entry.setFinancialTransaction(financialTransaction); + entry.setAccount(report.getAccount()); + entry.setAmount(report.getAmountCredit().abs()); + entry.setDebit(false); + topiaContext = beginTransaction(); + createEntryWithTransaction(entry, topiaContext); + commitTransaction(topiaContext); + } + } + } + } + //commit commitTransaction(topiaContext); } @@ -683,7 +790,6 @@ finally { doFinally(topiaContext, log); } - //WORK } Modified: trunk/lima-business/src/main/java/org/chorem/lima/business/ejbinterface/FinancialTransactionService.java =================================================================== --- trunk/lima-business/src/main/java/org/chorem/lima/business/ejbinterface/FinancialTransactionService.java 2011-06-07 08:53:23 UTC (rev 3158) +++ trunk/lima-business/src/main/java/org/chorem/lima/business/ejbinterface/FinancialTransactionService.java 2011-06-07 12:50:05 UTC (rev 3159) @@ -99,7 +99,7 @@ * @throws LimaException */ - void addRetainedEarnings(FiscalPeriod previousFiscalPeriod, FiscalPeriod fiscalPeriod, EntryBook entryBook) throws LimaException; + void addRetainedEarnings(FiscalPeriod previousFiscalPeriod, FiscalPeriod fiscalPeriod, EntryBook entryBook, Date date) throws LimaException; /** Modified: trunk/lima-business/src/main/resources/i18n/lima-business_en_GB.properties =================================================================== --- trunk/lima-business/src/main/resources/i18n/lima-business_en_GB.properties 2011-06-07 08:53:23 UTC (rev 3158) +++ trunk/lima-business/src/main/resources/i18n/lima-business_en_GB.properties 2011-06-07 12:50:05 UTC (rev 3159) @@ -1,64 +1,67 @@ -lima-business.account.accountalreardyexist=An account already exists with this number \: %s -lima-business.common.failed=FAILED \: %s \n -lima-business.document.accountnumber=Account N\u00B0 -lima-business.document.amounts=Amounts -lima-business.document.balance=Balance -lima-business.document.businessnumber=Business N\u00B0 -lima-business.document.carryback=Carry Back -lima-business.document.carryforward=reporter\u00C0 -lima-business.document.classificationcode=Classification Code -lima-business.document.createdate1=Editing Date -lima-business.document.createdate2=to -lima-business.document.credit=Credit -lima-business.document.date=Date -lima-business.document.date.begin=Begin date -lima-business.document.date.end=End date -lima-business.document.debit=Debit -lima-business.document.description=Description -lima-business.document.entrybook=EntryBook -lima-business.document.financialstatement=FinancialStatement -lima-business.document.generalentrybook=General EntryBook -lima-business.document.grossamount=Gross Amount -lima-business.document.label=Label -lima-business.document.ledger=Ledger -lima-business.document.movementcredit=Credit movement -lima-business.document.movementdebit=Debit movement -lima-business.document.netamount=Net Amount -lima-business.document.pagenumber=Page N\u00B0 -lima-business.document.period1=Periode from -lima-business.document.period2=to -lima-business.document.provisiondeprecationamount=Provision Deprecation Amount -lima-business.document.solde=Solde -lima-business.document.soldecredit=Credit solde -lima-business.document.soldedebit=Debit solde -lima-business.document.vatnumber=VAT N\u00B0 -lima-business.document.voucher=Voucher -lima-business.entrybook.entrybookalreadyexist=An EntryBook already exists with this label \: %s -lima-business.financialstatement.check.nothing=Not found \: %s - %s \n -lima-business.financialstatement.check.warn=Warning this function is just an help.\n Many accounts must no calculate on Financialstatement.\n Some account marked not found is normally.\n\n -lima-business.import.accountadded=SUCCES \: Account %s - %s added\n -lima-business.import.accountalreadyexist=FAILED \: Account %s already exist \n -lima-business.import.accountnomaster=FAILED \: The account %s have master \: %s which not exist \n -lima-business.import.closedperiodicentrybookupdated=SUCCESS \: The blockClosedPeriodicEntryBook %s - %s - %s is updated \! \n -lima-business.import.ebpmissingaccount=FAILED \: Account %s already exist, import aborted. \nCreate all accounts before import entries. -lima-business.import.ebpnoentry=FAILED \: This file contains no entries. -lima-business.import.entriesoutofdatesrange=WARNING \: %s entries is out of range of opened fiscal periods. Entry was skip \!\n -lima-business.import.entryadded=SUCCES \: Entry %s %s added\n" -lima-business.import.entrybookalreadyexist=FAILED \: The entrybook %s already exists \!\n -lima-business.import.entrybooknotexist=WARNING \: Entrybook %s not exist was created \!\n -lima-business.import.financialstatementadded=SUCCESS \: The financialStatement %s is created \n -lima-business.import.financialstatementalnomaster=FAILED \: The financialStatement %s have master \: %s which not exist \n -lima-business.import.financialstatementalreadyexist=FAILED \: The financialstatement %s already exists \!\n -lima-business.import.fiscalperiodadded=SUCCESS \: The fiscalPeriod %s - %s is created \! \n -lima-business.import.fiscalperiodalreadyexist=FAILED \: The fiscalperiod %s - %s already exists \!\n -lima-business.import.identityadded=SUCCESS \: The identity %s is created \! \n -lima-business.import.letteradded=SUCCESS \: The letter %s - %s is created \! \n -lima-business.import.letteralreadyexist=FAILED \: The letter %s already exists \!\n -lima-business.import.noaccount=ERROR \: This file contains no account -lima-business.import.nofiscalperiodopen=FAILED \: No Fiscal period open \! \n -lima-business.import.transactionadded=SUCCES \: FinancialTransaction, %s - %s, added\n -lima.config.configFileName.description= -lima.config.httpport=HTTP Port -lima.config.reportsdir=Reports directories -lima.config.rulesnationality=Rules Nationality -lima.config.serveraddress=Server Address += +lima-business.account.accountalreardyexist=An account already exists with this number \: %s +lima-business.common.failed=FAILED \: %s \n +lima-business.document.accountnumber=Account N\u00B0 +lima-business.document.amounts=Amounts +lima-business.document.balance=Balance +lima-business.document.businessnumber=Business N\u00B0 +lima-business.document.carryback=Carry Back +lima-business.document.carryforward=reporter\u00C0 +lima-business.document.classificationcode=Classification Code +lima-business.document.createdate1=Editing Date +lima-business.document.createdate2=to +lima-business.document.credit=Credit +lima-business.document.date=Date +lima-business.document.date.begin=Begin date +lima-business.document.date.end=End date +lima-business.document.debit=Debit +lima-business.document.description=Description +lima-business.document.entrybook=EntryBook +lima-business.document.financialstatement=FinancialStatement +lima-business.document.generalentrybook=General EntryBook +lima-business.document.grossamount=Gross Amount +lima-business.document.label=Label +lima-business.document.ledger=Ledger +lima-business.document.movementcredit=Credit movement +lima-business.document.movementdebit=Debit movement +lima-business.document.netamount=Net Amount +lima-business.document.pagenumber=Page N\u00B0 +lima-business.document.period1=Periode from +lima-business.document.period2=to +lima-business.document.provisiondeprecationamount=Provision Deprecation Amount +lima-business.document.solde=Solde +lima-business.document.soldecredit=Credit solde +lima-business.document.soldedebit=Debit solde +lima-business.document.vatnumber=VAT N\u00B0 +lima-business.document.voucher=Voucher +lima-business.entrybook.entrybookalreadyexist=An EntryBook already exists with this label \: %s +lima-business.financialstatement.check.nothing=Not found \: %s - %s \n +lima-business.financialstatement.check.warn=Warning this function is just an help.\n Many accounts must no calculate on Financialstatement.\n Some account marked not found is normally.\n\n +lima-business.financialtransaction.retainedearnings.description=Report \u00E0 nouveau +lima-business.financialtransaction.retainedearnings.voucher=Selon d\u00E9cision AG +lima-business.import.accountadded=SUCCES \: Account %s - %s added\n +lima-business.import.accountalreadyexist=FAILED \: Account %s already exist \n +lima-business.import.accountnomaster=FAILED \: The account %s have master \: %s which not exist \n +lima-business.import.closedperiodicentrybookupdated=SUCCESS \: The blockClosedPeriodicEntryBook %s - %s - %s is updated \! \n +lima-business.import.ebpmissingaccount=FAILED \: Account %s already exist, import aborted. \nCreate all accounts before import entries. +lima-business.import.ebpnoentry=FAILED \: This file contains no entries. +lima-business.import.entriesoutofdatesrange=WARNING \: %s entries is out of range of opened fiscal periods. Entry was skip \!\n +lima-business.import.entryadded=SUCCES \: Entry %s %s added\n" +lima-business.import.entrybookalreadyexist=FAILED \: The entrybook %s already exists \!\n +lima-business.import.entrybooknotexist=WARNING \: Entrybook %s not exist was created \!\n +lima-business.import.financialstatementadded=SUCCESS \: The financialStatement %s is created \n +lima-business.import.financialstatementalnomaster=FAILED \: The financialStatement %s have master \: %s which not exist \n +lima-business.import.financialstatementalreadyexist=FAILED \: The financialstatement %s already exists \!\n +lima-business.import.fiscalperiodadded=SUCCESS \: The fiscalPeriod %s - %s is created \! \n +lima-business.import.fiscalperiodalreadyexist=FAILED \: The fiscalperiod %s - %s already exists \!\n +lima-business.import.identityadded=SUCCESS \: The identity %s is created \! \n +lima-business.import.letteradded=SUCCESS \: The letter %s - %s is created \! \n +lima-business.import.letteralreadyexist=FAILED \: The letter %s already exists \!\n +lima-business.import.noaccount=ERROR \: This file contains no account +lima-business.import.nofiscalperiodopen=FAILED \: No Fiscal period open \! \n +lima-business.import.transactionadded=SUCCES \: FinancialTransaction, %s - %s, added\n +lima.config.configFileName.description= +lima.config.httpport=HTTP Port +lima.config.reportsdir=Reports directories +lima.config.rulesnationality=Rules Nationality +lima.config.serveraddress=Server Address Modified: trunk/lima-business/src/main/resources/i18n/lima-business_fr_FR.properties =================================================================== --- trunk/lima-business/src/main/resources/i18n/lima-business_fr_FR.properties 2011-06-07 08:53:23 UTC (rev 3158) +++ trunk/lima-business/src/main/resources/i18n/lima-business_fr_FR.properties 2011-06-07 12:50:05 UTC (rev 3159) @@ -1,64 +1,69 @@ -lima-business.account.accountalreardyexist=Un compte existe d\u00E9j\u00E0 avec ce num\u00E9ro \: %s -lima-business.common.failed=\u00C9chec \: %s \n -lima-business.document.accountnumber=N\u00B0 Compte -lima-business.document.amounts=Totaux -lima-business.document.balance=Balance -lima-business.document.businessnumber=N\u00B0 Siret -lima-business.document.carryback=Report -lima-business.document.carryforward=\u00C0 reporter -lima-business.document.classificationcode=NAF -lima-business.document.createdate1=Date de tirage -lima-business.document.createdate2=\u00E0 -lima-business.document.credit=Cr\u00E9dit -lima-business.document.date=Date -lima-business.document.date.begin=Date de d\u00E9but \: -lima-business.document.date.end=Date de fin \: -lima-business.document.debit=D\u00E9bit -lima-business.document.description=Description -lima-business.document.entrybook=Journal -lima-business.document.financialstatement=Bilan et compte de r\u00E9sultat -lima-business.document.generalentrybook=Journal G\u00E9n\u00E9ral -lima-business.document.grossamount=Brut -lima-business.document.label=Libell\u00E9 -lima-business.document.ledger=Grand Livre -lima-business.document.movementcredit=Mouvement Cr\u00E9diteur -lima-business.document.movementdebit=Mouvement D\u00E9biteur -lima-business.document.netamount=Net -lima-business.document.pagenumber=N\u00B0 page -lima-business.document.period1=P\u00E9riode du -lima-business.document.period2=au -lima-business.document.provisiondeprecationamount=Amortissements et provisions -lima-business.document.solde=Solde -lima-business.document.soldecredit=Solde Cr\u00E9diteur -lima-business.document.soldedebit=Solde D\u00E9biteur -lima-business.document.vatnumber=N\u00B0 TVA -lima-business.document.voucher=Pi\u00E8ce comptable -lima-business.entrybook.entrybookalreadyexist=Un journal existe d\u00E9j\u00E0 avec ce libell\u00E9 \: %s -lima-business.financialstatement.check.nothing=Introuvable \: %s - %s \n -lima-business.financialstatement.check.warn=Attention cette fonctionnalit\u00E9 n'est qu'une aide utilisateur.\n Certains comptes ne doivent pas \u00EAtre pr\u00E9sent au bilan et compte de r\u00E9sultat.\n Il est donc normal que des comptes sont marqu\u00E9s comme introuvable.\n\n -lima-business.import.accountadded=Succ\u00E8s \: Compte %s - %s ajout\u00E9\n -lima-business.import.accountalreadyexist=\u00C9chec \: Le compte %s existe d\u00E9j\u00E0 \n -lima-business.import.accountnomaster=\u00C9chec \: Le compte %s poss\u00E8de le master \: %s inexistant \n -lima-business.import.closedperiodicentrybookupdated=Succ\u00E8s \: La p\u00E9riode financi\u00E8re %s - %s - %s est ajout\u00E9e \! \n -lima-business.import.ebpmissingaccount=\u00C9chec \: Compte %s inexistant. \nImportation annul\u00E9e. \nCr\u00E9er tous les comptes avant d'importer les \u00E9critures. -lima-business.import.ebpnoentry=\u00C9chec \: Ce fichier ne contient aucune entr\u00E9e. -lima-business.import.entriesoutofdatesrange=Attention \: Cette entr\u00E9e %s ne fait partie d'aucune p\u00E9riode ouverte. Entr\u00E9e non import\u00E9e \!\n -lima-business.import.entryadded=Succ\u00E8s \: Entr\u00E9e %s %s ajout\u00E9e \n -lima-business.import.entrybookalreadyexist=\u00C9chec \: Le journal %s exist d\u00E9j\u00E0 \!\n -lima-business.import.entrybooknotexist=Attention \: Le journal %s inexistant a \u00E9t\u00E9 cr\u00E9\u00E9 \!\n -lima-business.import.financialstatementadded=Succ\u00E8s \: Mouvement %s ajout\u00E9e \n -lima-business.import.financialstatementalnomaster=u00C9chec \: Le mouvement %s poss\u00E8de le master \: %s inexistant \n -lima-business.import.financialstatementalreadyexist=u00C9chec \: Le mouvement %s exist d\u00E9j\u00E0 \!\n -lima-business.import.fiscalperiodadded=Succ\u00E8s \: Exercice %s - %s ajout\u00E9e \! \n -lima-business.import.fiscalperiodalreadyexist=u00C9chec \: L'exerice %s - %s existe d\u00E9j\u00E0 \!\n -lima-business.import.identityadded=Succ\u00E8s \: Identit\u00E9 %s ajout\u00E9e \! \n -lima-business.import.letteradded=Succ\u00E8s \: ajout\u00E9e \! \n -lima-business.import.letteralreadyexist=u00C9chec \: La lettre %s existe d\u00E9j\u00E0 \!\n -lima-business.import.noaccount=Erreur \: Ce fichier ne contient aucun compte. -lima-business.import.nofiscalperiodopen=u00C9chec \: Aucun exercice ouvert \! \n -lima-business.import.transactionadded=Succ\u00E8s \: Transaction, %s, %s, ajout\u00E9e\n -lima.config.configFileName.description= -lima.config.httpport=Port HTTP -lima.config.reportsdir=Dossier des rapports -lima.config.rulesnationality=R\u00E8gles nationales -lima.config.serveraddress=Addresse serveur += +lima-bisuness.financialtransaction.retainedearnings.description=Selon d\u00E9cision AG +lima-bisuness.financialtransaction.retainedearnings.voucher= +lima-business.account.accountalreardyexist=Un compte existe d\u00E9j\u00E0 avec ce num\u00E9ro \: %s +lima-business.common.failed=\u00C9chec \: %s \n +lima-business.document.accountnumber=N\u00B0 Compte +lima-business.document.amounts=Totaux +lima-business.document.balance=Balance +lima-business.document.businessnumber=N\u00B0 Siret +lima-business.document.carryback=Report +lima-business.document.carryforward=\u00C0 reporter +lima-business.document.classificationcode=NAF +lima-business.document.createdate1=Date de tirage +lima-business.document.createdate2=\u00E0 +lima-business.document.credit=Cr\u00E9dit +lima-business.document.date=Date +lima-business.document.date.begin=Date de d\u00E9but \: +lima-business.document.date.end=Date de fin \: +lima-business.document.debit=D\u00E9bit +lima-business.document.description=Description +lima-business.document.entrybook=Journal +lima-business.document.financialstatement=Bilan et compte de r\u00E9sultat +lima-business.document.generalentrybook=Journal G\u00E9n\u00E9ral +lima-business.document.grossamount=Brut +lima-business.document.label=Libell\u00E9 +lima-business.document.ledger=Grand Livre +lima-business.document.movementcredit=Mouvement Cr\u00E9diteur +lima-business.document.movementdebit=Mouvement D\u00E9biteur +lima-business.document.netamount=Net +lima-business.document.pagenumber=N\u00B0 page +lima-business.document.period1=P\u00E9riode du +lima-business.document.period2=au +lima-business.document.provisiondeprecationamount=Amortissements et provisions +lima-business.document.solde=Solde +lima-business.document.soldecredit=Solde Cr\u00E9diteur +lima-business.document.soldedebit=Solde D\u00E9biteur +lima-business.document.vatnumber=N\u00B0 TVA +lima-business.document.voucher=Pi\u00E8ce comptable +lima-business.entrybook.entrybookalreadyexist=Un journal existe d\u00E9j\u00E0 avec ce libell\u00E9 \: %s +lima-business.financialstatement.check.nothing=Introuvable \: %s - %s \n +lima-business.financialstatement.check.warn=Attention cette fonctionnalit\u00E9 n'est qu'une aide utilisateur.\n Certains comptes ne doivent pas \u00EAtre pr\u00E9sent au bilan et compte de r\u00E9sultat.\n Il est donc normal que des comptes sont marqu\u00E9s comme introuvable.\n\n +lima-business.financialtransaction.retainedearnings.description=Report \u00E0 nouveau +lima-business.financialtransaction.retainedearnings.voucher=Selon d\u00E9cision AG +lima-business.import.accountadded=Succ\u00E8s \: Compte %s - %s ajout\u00E9\n +lima-business.import.accountalreadyexist=\u00C9chec \: Le compte %s existe d\u00E9j\u00E0 \n +lima-business.import.accountnomaster=\u00C9chec \: Le compte %s poss\u00E8de le master \: %s inexistant \n +lima-business.import.closedperiodicentrybookupdated=Succ\u00E8s \: La p\u00E9riode financi\u00E8re %s - %s - %s est ajout\u00E9e \! \n +lima-business.import.ebpmissingaccount=\u00C9chec \: Compte %s inexistant. \nImportation annul\u00E9e. \nCr\u00E9er tous les comptes avant d'importer les \u00E9critures. +lima-business.import.ebpnoentry=\u00C9chec \: Ce fichier ne contient aucune entr\u00E9e. +lima-business.import.entriesoutofdatesrange=Attention \: Cette entr\u00E9e %s ne fait partie d'aucune p\u00E9riode ouverte. Entr\u00E9e non import\u00E9e \!\n +lima-business.import.entryadded=Succ\u00E8s \: Entr\u00E9e %s %s ajout\u00E9e \n +lima-business.import.entrybookalreadyexist=\u00C9chec \: Le journal %s exist d\u00E9j\u00E0 \!\n +lima-business.import.entrybooknotexist=Attention \: Le journal %s inexistant a \u00E9t\u00E9 cr\u00E9\u00E9 \!\n +lima-business.import.financialstatementadded=Succ\u00E8s \: Mouvement %s ajout\u00E9e \n +lima-business.import.financialstatementalnomaster=u00C9chec \: Le mouvement %s poss\u00E8de le master \: %s inexistant \n +lima-business.import.financialstatementalreadyexist=u00C9chec \: Le mouvement %s exist d\u00E9j\u00E0 \!\n +lima-business.import.fiscalperiodadded=Succ\u00E8s \: Exercice %s - %s ajout\u00E9e \! \n +lima-business.import.fiscalperiodalreadyexist=u00C9chec \: L'exerice %s - %s existe d\u00E9j\u00E0 \!\n +lima-business.import.identityadded=Succ\u00E8s \: Identit\u00E9 %s ajout\u00E9e \! \n +lima-business.import.letteradded=Succ\u00E8s \: ajout\u00E9e \! \n +lima-business.import.letteralreadyexist=u00C9chec \: La lettre %s existe d\u00E9j\u00E0 \!\n +lima-business.import.noaccount=Erreur \: Ce fichier ne contient aucun compte. +lima-business.import.nofiscalperiodopen=u00C9chec \: Aucun exercice ouvert \! \n +lima-business.import.transactionadded=Succ\u00E8s \: Transaction, %s, %s, ajout\u00E9e\n +lima.config.configFileName.description= +lima.config.httpport=Port HTTP +lima.config.reportsdir=Dossier des rapports +lima.config.rulesnationality=R\u00E8gles nationales +lima.config.serveraddress=Addresse serveur
participants (1)
-
vsalaun@users.chorem.org