OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 156 | Rev 180 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 174
Line 164... Line 164...
164
            if (idCompteFourn <= 1) {
164
            if (idCompteFourn <= 1) {
165
                idCompteFourn = ComptePCESQLElement.getIdComptePceDefault("Fournisseurs");
165
                idCompteFourn = ComptePCESQLElement.getIdComptePceDefault("Fournisseurs");
166
            }
166
            }
167
        }
167
        }
168
        this.putValue("ID_COMPTE_PCE", new Integer(idCompteFourn));
168
        this.putValue("ID_COMPTE_PCE", new Integer(idCompteFourn));
-
 
169
        if (rowFournisseur.getTable().getTable("ECRITURE").contains("CODE_CLIENT")) {
-
 
170
            this.putValue("CODE_CLIENT", rowFournisseur.getString("CODE"));
-
 
171
        }
-
 
172
 
169
        this.putValue("DEBIT", new Long(0));
173
        this.putValue("DEBIT", new Long(0));
170
        if (rowFournisseur.getBoolean("UE")) {
174
        if (rowFournisseur.getBoolean("UE")) {
171
            this.putValue("CREDIT", new Long(htLongValue));
175
            this.putValue("CREDIT", new Long(htLongValue));
172
        } else {
176
        } else {
173
            this.putValue("CREDIT", new Long(ttcLongValue));
177
            this.putValue("CREDIT", new Long(ttcLongValue));