OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 174 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 174 Rev 177
Line 41... Line 41...
41
            mapDefaultValues(tableBr.getField("CREATE_VIRTUAL_STOCK"), Boolean.FALSE);
41
            mapDefaultValues(tableBr.getField("CREATE_VIRTUAL_STOCK"), Boolean.FALSE);
42
        }
42
        }
43
        if (getSource().contains("ID_AFFAIRE") && getDestination().contains("ID_AFFAIRE")) {
43
        if (getSource().contains("ID_AFFAIRE") && getDestination().contains("ID_AFFAIRE")) {
44
            map(getSource().getField("ID_AFFAIRE"), getDestination().getField("ID_AFFAIRE"));
44
            map(getSource().getField("ID_AFFAIRE"), getDestination().getField("ID_AFFAIRE"));
45
        }
45
        }
-
 
46
        if (getSource().contains("ID_POLE_PRODUIT") && getDestination().contains("ID_POLE_PRODUIT")) {
-
 
47
            map(getSource().getField("ID_POLE_PRODUIT"), getDestination().getField("ID_POLE_PRODUIT"));
-
 
48
        }
46
    }
49
    }
47
 
50
 
48
    @Override
51
    @Override
49
    protected void merge(SQLRowAccessor srcRow, SQLRowValues rowVals) {
52
    protected void merge(SQLRowAccessor srcRow, SQLRowValues rowVals) {
50
        super.merge(srcRow, rowVals);
53
        super.merge(srcRow, rowVals);