Line 933... |
Line 933... |
933 |
this.addSQLObject(this.selAvoir, "ID_AVOIR_CLIENT");
|
933 |
this.addSQLObject(this.selAvoir, "ID_AVOIR_CLIENT");
|
934 |
this.addSQLObject(this.compteSelService, "ID_COMPTE_PCE_SERVICE");
|
934 |
this.addSQLObject(this.compteSelService, "ID_COMPTE_PCE_SERVICE");
|
935 |
ModeDeReglementSQLComponent modeReglComp;
|
935 |
ModeDeReglementSQLComponent modeReglComp;
|
936 |
|
936 |
|
937 |
modeReglComp = (ModeDeReglementSQLComponent) this.eltModeRegl.getSQLChild();
|
937 |
modeReglComp = (ModeDeReglementSQLComponent) this.eltModeRegl.getSQLChild();
|
- |
|
938 |
modeReglComp.addDateCompListener(this.dateSaisie);
|
938 |
this.selAvoir.getRequest().setWhere(new Where(this.tableAvoir.getField("SOLDE"), "=", Boolean.FALSE));
|
939 |
this.selAvoir.getRequest().setWhere(new Where(this.tableAvoir.getField("SOLDE"), "=", Boolean.FALSE));
|
939 |
this.selAvoir.fillCombo();
|
940 |
this.selAvoir.fillCombo();
|
940 |
|
941 |
|
941 |
// Selection du compte de service
|
942 |
// Selection du compte de service
|
942 |
int idCompteVenteService = rowPrefsCompte.getInt("ID_COMPTE_PCE_VENTE_SERVICE");
|
943 |
int idCompteVenteService = rowPrefsCompte.getInt("ID_COMPTE_PCE_VENTE_SERVICE");
|
Line 1944... |
Line 1945... |
1944 |
|
1945 |
|
1945 |
super.initDone();
|
1946 |
super.initDone();
|
1946 |
|
1947 |
|
1947 |
// FIXME listener pour le module project à déplacer dans le module quand l'interface passera
|
1948 |
// FIXME listener pour le module project à déplacer dans le module quand l'interface passera
|
1948 |
// en group
|
1949 |
// en group
|
1949 |
if (getTable().contains("ID_AFFAIRE")) {
|
1950 |
if (getTable().contains("ID_AFFAIRE") && getView("ID_AFFAIRE") != null && getView("ID_AFFAIRE") instanceof SQLRequestComboBox) {
|
- |
|
1951 |
|
1950 |
final SQLRequestComboBox viewClient = (SQLRequestComboBox) getView("ID_CLIENT").getComp();
|
1952 |
final SQLRequestComboBox viewClient = (SQLRequestComboBox) getView("ID_CLIENT").getComp();
|
1951 |
final SQLRequestComboBox viewAffaire = (SQLRequestComboBox) getView("ID_AFFAIRE").getComp();
|
1953 |
final SQLRequestComboBox viewAffaire = (SQLRequestComboBox) getView("ID_AFFAIRE").getComp();
|
1952 |
final SQLRequestComboBox viewComm = (SQLRequestComboBox) getView("ID_COMMERCIAL").getComp();
|
1954 |
final SQLRequestComboBox viewComm = (SQLRequestComboBox) getView("ID_COMMERCIAL").getComp();
|
1953 |
final SQLRequestComboBox viewAgence;
|
1955 |
final SQLRequestComboBox viewAgence;
|
1954 |
if (getTable().contains("ID_POLE_PRODUIT")) {
|
1956 |
if (getTable().contains("ID_POLE_PRODUIT") && (SQLRequestComboBox) getView("ID_POLE_PRODUIT") != null) {
|
1955 |
viewAgence = (SQLRequestComboBox) getView("ID_POLE_PRODUIT").getComp();
|
1957 |
viewAgence = (SQLRequestComboBox) getView("ID_POLE_PRODUIT").getComp();
|
1956 |
} else {
|
1958 |
} else {
|
1957 |
viewAgence = null;
|
1959 |
viewAgence = null;
|
1958 |
}
|
1960 |
}
|
1959 |
|
1961 |
|