*/
private String operationNodeId, fonctionNodeId, ligneNodeId = null;
private String exercice, idBordereau, typeBordereau, nature, fonction, operation, idPce, PAR1, PAR2, PAR3 = null;
+ private String typePce ="";
private boolean isFonctionOK = false;
/**
if (xpath.endsWith(CHEMIN_BLOCBORDEREAU_TYPBORD)) {
this.typeBordereau = atts.getValue("V");
}
+ if (xpath.endsWith(CHEMIN_PIECE_DEPENSE_TYPPCE) || xpath.endsWith(CHEMIN_PIECE_RECETTE_TYPPCE)) {
+ this.typePce = atts.getValue("V");
+ }
if (xpath.endsWith(CHEMIN_PIECE_RECETTE_IDPIECE)) {
this.idPce = atts.getValue("V");
}
this.anos.add(ano);
}
- if (this.nature.startsWith("753") && this.PAR1.equals("M52") && this.PAR2.equals("Fonction") && this.PAR3.equals("false") && (!this.operation.equals("") || !this.isFonctionOK)) {
+ if (this.nature.startsWith("753") && this.PAR1.equals("M52") && this.PAR2.equals("Fonction") && this.PAR3.equals("false") && (!this.operation.equals("") || !this.isFonctionOK) && !"15".equals(this.typePce)) {
final Anomalie ano = this.addPesAnomalie(this, this.getDocumentModel(), this.messageAnomalie, false, this.exercice, this.typeBordereau, this.idBordereau, "MREC25", null, PIECE_ELEMENT_ID, this.idPce);
if (!this.operation.equals("")) {