Skip to content

Commit

Permalink
BugID: 636 - Anomalia selezione Elemento Voce su Variazione Stanziame…
Browse files Browse the repository at this point in the history
…nto Residuo
  • Loading branch information
rpucciarelli committed Jun 23, 2011
1 parent 7e16151 commit 5d2f457
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -312,8 +312,9 @@ public SQLBuilder selectElemento_voceByClause (UserContext userContext,Var_stanz

if (var_stanz_res_riga.getLinea_di_attivita() != null)
sql.addSQLClause("AND","V_ELEMENTO_VOCE_PDG_SPE.CD_FUNZIONE",sql.EQUALS,var_stanz_res_riga.getLinea_di_attivita().getCd_funzione());

if (clause != null) sql.addClause(clause);
if (var_stanz_res_riga.getCentroTestata()!=null && var_stanz_res_riga.getCentroTestata().getUnita_padre().getCd_tipo_unita() != null)
sql.addSQLClause("AND","V_ELEMENTO_VOCE_PDG_SPE.CD_TIPO_UNITA",sql.EQUALS,var_stanz_res_riga.getCentroTestata().getUnita_padre().getCd_tipo_unita());

it.cnr.contab.config00.bulk.Configurazione_cnrBulk config = null;
try {
config = Utility.createConfigurazioneCnrComponentSession().getConfigurazione( userContext, null, null, it.cnr.contab.config00.bulk.Configurazione_cnrBulk.PK_CDR_SPECIALE, it.cnr.contab.config00.bulk.Configurazione_cnrBulk.SK_CDR_PERSONALE);
Expand Down

0 comments on commit 5d2f457

Please sign in to comment.