diff --git a/GMW/GMW/Web.config b/GMW/GMW/Web.config
index e9e3ceca..f7f99248 100644
--- a/GMW/GMW/Web.config
+++ b/GMW/GMW/Web.config
@@ -62,7 +62,7 @@
-
+
@@ -100,6 +100,7 @@
+
diff --git a/GMW/GMW/bin/GMW.dll b/GMW/GMW/bin/GMW.dll
index 4dcb4280..82079854 100644
Binary files a/GMW/GMW/bin/GMW.dll and b/GMW/GMW/bin/GMW.dll differ
diff --git a/GMW/GMW/bin/GMW_data.dll b/GMW/GMW/bin/GMW_data.dll
index 8633cd61..8672bb01 100644
Binary files a/GMW/GMW/bin/GMW_data.dll and b/GMW/GMW/bin/GMW_data.dll differ
diff --git a/GMW/GMW/mazzAppSettings.config b/GMW/GMW/mazzAppSettings.config
index 016d9220..f462cae7 100644
--- a/GMW/GMW/mazzAppSettings.config
+++ b/GMW/GMW/mazzAppSettings.config
@@ -7,7 +7,7 @@
-
+
@@ -45,6 +45,7 @@
+
diff --git a/GMW/GMW/obj/Debug/GMW.dll b/GMW/GMW/obj/Debug/GMW.dll
index 22c74a75..090fcd34 100644
Binary files a/GMW/GMW/obj/Debug/GMW.dll and b/GMW/GMW/obj/Debug/GMW.dll differ
diff --git a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache
index 550b7b0d..a078644e 100644
Binary files a/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Debug/ResolveAssemblyReference.cache differ
diff --git a/GMW/GMW/obj/Release/GMW.dll b/GMW/GMW/obj/Release/GMW.dll
index 4dcb4280..82079854 100644
Binary files a/GMW/GMW/obj/Release/GMW.dll and b/GMW/GMW/obj/Release/GMW.dll differ
diff --git a/GMW/GMW/obj/Release/ResolveAssemblyReference.cache b/GMW/GMW/obj/Release/ResolveAssemblyReference.cache
index bb6c2a0e..e798f495 100644
Binary files a/GMW/GMW/obj/Release/ResolveAssemblyReference.cache and b/GMW/GMW/obj/Release/ResolveAssemblyReference.cache differ
diff --git a/GMW/GMW_Term/Web.config b/GMW/GMW_Term/Web.config
index d2c2d29a..a6577963 100644
--- a/GMW/GMW_Term/Web.config
+++ b/GMW/GMW_Term/Web.config
@@ -90,6 +90,10 @@
+
+
+
+
diff --git a/GMW/GMW_Term/mazzAppSettings.config b/GMW/GMW_Term/mazzAppSettings.config
index b4fed3bc..2ba7ed00 100644
--- a/GMW/GMW_Term/mazzAppSettings.config
+++ b/GMW/GMW_Term/mazzAppSettings.config
@@ -39,6 +39,10 @@
+
+
+
+
diff --git a/GMW/GMW_WS/Web.config b/GMW/GMW_WS/Web.config
index 1ba0e077..7d655cf6 100644
--- a/GMW/GMW_WS/Web.config
+++ b/GMW/GMW_WS/Web.config
@@ -88,7 +88,7 @@
-
+
@@ -120,6 +120,7 @@
+
diff --git a/GMW/GMW_WS/bilance.asmx.cs b/GMW/GMW_WS/bilance.asmx.cs
index faa6aee8..afcfc7c2 100644
--- a/GMW/GMW_WS/bilance.asmx.cs
+++ b/GMW/GMW_WS/bilance.asmx.cs
@@ -14,7 +14,7 @@ namespace GMW_WS
///
/// WebService per gestione sw bilance
///
- [WebService(Namespace = "http://www.steamware.net/", Description = "Web Services che funziona da collettore di tutte le richieste delle applicazioni per le bilance integrate a GMW v.1.0.290")]
+ [WebService(Namespace = "http://www.steamware.net/", Description = "Web Services che funziona da collettore di tutte le richieste delle applicazioni per le bilance integrate a GMW v.1.0.300")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
public class bilance : System.Web.Services.WebService
@@ -263,7 +263,7 @@ namespace GMW_WS
// ricavo cod company...
string CodCS = memLayer.ML.confReadString("CodCS");
- gestEl.caricaCartellini(DataProxy.obj.taCartellini.getLast_byDataTurnoParticolare(CodCS, particolare, CodImpianto, dataRic, turnoRic));
+ gestEl.caricaCartellini(DataProxy.obj.taCartellini.getLast_byDataTurnoParticolare(CodCS, particolare.Trim(), CodImpianto, dataRic, turnoRic));
return gestEl.elencoCartellini;
}
///
@@ -278,7 +278,7 @@ namespace GMW_WS
try
{
GMW_data.Type.Cartellino cart = new GMW_data.Type.Cartellino(DataProxy.obj.taCartellini.stp_getByUdc(UDC.Trim())[0]);
- answ = (cart.Particolare == "");
+ answ = (cart.Particolare.Trim() == "");
}
catch
{ }
@@ -842,7 +842,7 @@ namespace GMW_WS
/// codice dell'UDC che si vuole sbloccare
/// codice dell'operatore
/// parola chiave x effettuare lo sblocco
- /// restituisce true/false a seconda che sia riuscito ad annullare l'UDC
+ /// restituisce true/false a seconda che sia riuscito a sbloccare l'UDC
[WebMethod(Description = "Annulla un dato UDC (se permesso)")]
public bool UdcCall_sbloccaUDC(string UDC_req, string CodSoggetto, string passkey)
{
@@ -867,12 +867,49 @@ namespace GMW_WS
catch
{ }
}
- GMW_data.DataProxy.obj.taCartellini.stp_sbloccaUdc(UDC_reqTrim, CodSoggettoTrim);
- answ = true;
+ answ = MagClass.magazzino.sbloccaUdc(UDC_reqTrim, CodSoggetto);
}
return answ;
}
+ ///
+ /// Riattiva un UDC consumato (se permesso da web.config) in mag 84
+ ///
+ /// codice dell'UDC che si vuole sbloccare
+ /// codice dell'operatore
+ /// parola chiave x effettuare lo sblocco
+ /// restituisce true/false a seconda che sia riuscito a riattivare l'UDC
+ [WebMethod(Description = "Riattiva un UDC consumato (se permesso da web.config) in mag 84")]
+ public bool UdcCall_riattivaUDC(string UDC_req, string CodSoggetto, string passkey)
+ {
+ // trim fix
+ string UDC_reqTrim = UDC_req.Trim();
+ string CodSoggettoTrim = CodSoggetto.Trim();
+ string passkeyTrim = passkey.Trim();
+
+ // verifico da web.config se permetto
+ bool riattUdcPermessa = memLayer.ML.confReadBool("riattUdcPermessa");
+
+ // init
+ bool answ = false;
+ if (riattUdcPermessa)
+ {
+ // controllo la passkey
+ string passkeyOk = memLayer.ML.confReadString("passkey");
+ if (passkeyOk == passkeyTrim)
+ {
+ // loggo tutto!
+ if (logLevel > 5)
+ {
+ logger.lg.scriviLog(string.Format("UdcCall_riattivaUDC: {0} | {1}", UDC_reqTrim, CodSoggettoTrim), tipoLog.INFO);
+ }
+ answ = MagClass.magazzino.riattivaUdc(UDC_reqTrim, CodSoggetto);
+ }
+ }
+ return answ;
+ }
+
+
#region area rettifiche e scarti
///
@@ -947,7 +984,7 @@ namespace GMW_WS
// aggiungo ogni riga...
foreach (DS_magazzino.AnagParticolariRow riga in tabParticolari)
{
- suggerimenti.Add(riga.Particolare);
+ suggerimenti.Add(riga.Particolare.Trim());
}
return suggerimenti.ToArray();
}
diff --git a/GMW/GMW_WS/bin/GMW.dll b/GMW/GMW_WS/bin/GMW.dll
index a3eadaf5..82079854 100644
Binary files a/GMW/GMW_WS/bin/GMW.dll and b/GMW/GMW_WS/bin/GMW.dll differ
diff --git a/GMW/GMW_WS/bin/GMW_WS.dll b/GMW/GMW_WS/bin/GMW_WS.dll
index a7b6ddf6..d4274361 100644
Binary files a/GMW/GMW_WS/bin/GMW_WS.dll and b/GMW/GMW_WS/bin/GMW_WS.dll differ
diff --git a/GMW/GMW_WS/bin/GMW_data.dll b/GMW/GMW_WS/bin/GMW_data.dll
index 21230e41..8672bb01 100644
Binary files a/GMW/GMW_WS/bin/GMW_data.dll and b/GMW/GMW_WS/bin/GMW_data.dll differ
diff --git a/GMW/GMW_WS/bin/SteamWare.dll b/GMW/GMW_WS/bin/SteamWare.dll
index bdc9fa3d..b9e8d620 100644
Binary files a/GMW/GMW_WS/bin/SteamWare.dll and b/GMW/GMW_WS/bin/SteamWare.dll differ
diff --git a/GMW/GMW_WS/bin/SteamWare.xml b/GMW/GMW_WS/bin/SteamWare.xml
index 6809ec2a..4d866de1 100644
--- a/GMW/GMW_WS/bin/SteamWare.xml
+++ b/GMW/GMW_WS/bin/SteamWare.xml
@@ -4,5 +4,3191 @@
SteamWare
+
+
+ classe gesione log files applicazioni
+
+
+
+
+ directory base x logs
+
+
+
+
+ nome del file corrente
+
+
+
+
+ max mb di log da accumulare
+
+
+
+
+ singleton del logger
+
+
+
+
+ avvio del logger nella dir desiderata
+
+
+
+
+ avvio del logger nella dir desiderata
+
+
+
+
+ avvio del logger nella dir desiderata con il max di dati indicato
+
+
+
+
+ scrive sul file log di default il valore della variabile string passata su una riga... (tab delim?!?)
+
+ testo iniziale del log
+
+
+
+
+ scrive un messaggio di log con etichetta pre
+
+ testo messaggio
+ tipo di log da registrare (etichetta [...])
+
+
+
+
+ fornisce il nome del file in cui loggare (ed eventualmente crea...)
+
+
+
+
+ provvede a verificare la dim della cartella dei log e cancella i + vecchi fino a restare a dim inferiori a _logMaxMb
+
+
+
+
+ fornisce il file + vecchio
+
+
+
+
+
+
+ tipo di log ammesso
+
+
+
+
+ informazioni di debug
+
+
+
+
+ errori
+
+
+
+
+ eccezioni nell'esecuzione try/catch
+
+
+
+
+ errori fatali
+
+
+
+
+ informazioni opzionali
+
+
+
+
+ log dei lemmi invocati per traduzione da vocabolario
+
+
+
+
+ fase di avvio componente
+
+
+
+
+ avvisi
+
+
+
+
+ classe di wrap verso i TableAdapter impiegati
+
+
+
+
+ metodo protected di avvio della classe
+
+
+
+
+ procedura di avvio dei tableAdapter
+
+
+
+
+ procedura di avvio dei tableAdapter
+
+
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
+
+
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
+
+
+
+
+ setup delle tabelle vocabolario
+
+
+
+
+ prende l'oggetto tabVocabolario in ram e lo trasforma in dictionary
+
+
+
+
+
+ tableAdapter diritti
+
+
+
+
+ tableAdapter permessi
+
+
+
+
+ tableAdapter funzione
+
+
+
+
+ tableAdapter permessi2funzione
+
+
+
+
+ tableAdapter CdC
+
+
+
+
+ tableAdapter utenti
+
+
+
+
+ table adapter lingue
+
+
+
+
+ table adapter vocabolario
+
+
+
+
+ table adapter versione vocabolario
+
+
+
+
+ table adapter versione anagrafica
+
+
+
+
+ oggetto vocabolario organizzato come dizionario con chiave lang#lemma e valore la traduzione
+
+
+
+
+ resetta il vocabolario rileggendo i dati...
+
+
+
+
+ crea nel db corrente il lemma richiesto e lo valorizza come "--{0}--"
+
+
+
+
+
+
+ classe singleton x la gestione dei tableadapters
+
+
+
+
+ elenco lingue ammesse da vocabolario...
+
+
+
+
+ classe di gestione lettura
+
+
+
+
+ esegue parsing fornendo dati ed headers
+
+
+
+
+
+
+
+ esegue parsing fornendo dati
+
+
+
+
+
+
+ esegue parsing fornendo dati come stream
+
+
+
+
+
+
+ esegue parsing fornendo dati come stream ed headers
+
+
+
+
+
+
+
+ struttura di comando da input utente (es: via barcode)
+
+
+
+
+ definisce se il comando sia valido o no
+
+
+
+
+ testo da mostrare dato il comando
+
+
+
+
+ comando registrato
+
+
+
+
+ comando precedentemente inserito
+
+
+
+
+ descrizione del comando
+
+
+
+
+ descrizione del comando precedente
+
+
+
+
+ valore del comando
+
+
+
+
+ valore tradotto del comando
+
+
+
+
+ costruttore del metodo...
+
+
+
+
+ Base class for every user control in the application, containing some common
+ behaviour and utility methods.
+ It is not meant to be be used directly.
+
+
+
+
+ tipo id controllo con classi di base comune da cui derivare gli *.asmx
+
+
+
+
+ nome della pagina correntemente caricata
+
+
+
+
+ memorizza la pagina precedente (ovvero la corrente ma non da page-object ma in session...
+
+
+
+
+ stringa con CDC in (...) dei cdc abilitati (da permesso gerarchicamente a discendere...)
+
+
+
+
+ stringa con elenco CDC abilitati (da permesso gerarchicamente a discendere...)
+
+
+
+
+ tabella diritti
+
+
+
+
+ tabella di tutti i cdc
+
+
+
+
+ tipo di anagrafica usata
+
+
+
+
+ importo il tipo di vista del modulo
+
+
+
+
+ elenco testuale csv dei cdc accessibili all'utente (x filtri tipo IN(...))
+
+
+
+
+ numero di righe standard x i datagrid
+
+
+
+
+ numero di righe standard x i datagrid di anagrafica
+
+
+
+
+ numero di righe standard x i datagrid lunghi
+
+
+
+
+ numero di righe standard x i datagrid medi
+
+
+
+
+ numero di righe standard x i datagrid su mezza pagina
+
+
+
+
+ numero di righe standard x i selettori popup
+
+
+
+
+ indirizzo email dell'admin applicativo cui vanno le email in caso di anomalie...
+
+
+
+
+ indirizzo email dell'applicativo da cui partono le email in caso di anomalie...
+
+
+
+
+ indirizzo server SMTP
+
+
+
+
+ elenco delle pagine "safe" ovvero da non autorizzare - da web.config
+
+
+
+
+ elenco delle pagine "common" ovvero da autorizzare ma senza bisogno diritti in anagrafica - da web.config
+
+
+
+
+ valore che determina se è possibile forzare impersonificazioen utente...
+
+
+
+
+ livello di log (1-->5)
+
+
+
+
+ dir di logging
+
+
+
+
+ MAIN: esecuzione al caricamento del modulo delle routines di controllo utente e creazione pagina
+
+
+
+
+
+
+ predisposizione dati x pagina da cache/database a seconda della disponibilità in cache o refresh (B.1.4)
+
+
+
+
+ popola gli oggetti e le labels... (B.1.6)
+
+
+
+
+ disegna la pagina: prima i controlli poi il datagrid
+
+
+
+
+ aggiunge i link x i selettori
+
+
+
+
+ sistema i vari controlli della pagina
+
+
+
+
+ aggiorna eventuali datalist e datagrid
+
+
+
+
+ sistema tutte le labels traducendo i lemmi nella lingua utente ed in inglese
+
+
+
+
+ calcola come percentuale la radio dividendo/divisore
+
+
+
+
+
+
+
+ limita una stringa al numero max di caratteri imposto
+
+
+
+
+
+
+
+ Reads data from a stream until the end is reached. The
+ data is returned as a byte array. An IOException is
+ thrown if any of the underlying IO calls fail.
+
+ The stream to read data from
+ The initial buffer length
+
+
+
+ converte una data in formato aaaammgg in stringa gg/mm/aaaa
+
+
+
+
+
+
+ converte una data in formato aaaammgg in stringa aaaa-mm-gg
+
+
+
+
+
+
+ converte una stringa in formato gg/mm/aaaa in stringa(intero data) in formato aaaammgg
+
+
+
+
+
+
+ converte una datetime in un intero tipo yyyymmddhhmmss
+
+
+
+
+
+
+ formatta la data in formato dateTime in una data formato italiano come stringa gg/mm/aaaa
+
+
+
+
+
+
+ invia un alert jscript con messaggio indicato...
+
+ messaggio dell'alert da mandare
+
+
+
+ scrive immediatamente sulla pagina web il messaggio di avanzamento...
+
+
+
+
+
+ restituisce una scringa formattata in testa e coda x essere un corretto comando javascript
+
+
+
+
+
+
+ invio email senza log
+
+
+
+
+
+
+
+
+
+ invio email con log
+
+
+
+
+
+
+
+
+
+ caricamento dati applicazione da sessione (B.1.3)
+
+
+
+
+ setup datamanagers...
+
+
+
+
+ reset update del modulo corrente
+
+
+
+
+ (ri)carica i dataset del modulo
+
+
+
+
+ verifica se tutti i dataset richiesti sono disponibili i cache
+
+
+
+
+
+ salva nella cache i dataset caricati
+
+
+
+
+ carica dalla cache i dataset necessari
+
+
+
+
+ legge i valori standard x dataset e parametri
+
+
+
+
+ leggi i parametri di configurazione standard dell'applicativo
+
+
+
+
+ genera la stringa dei cdc autorizzati dell'utente
+
+
+
+
+ legge il dataset dei CdC
+
+
+
+
+ caricamento dati user da sessione (B.1.1)
+
+
+
+
+ verifica che l'utente abbia almeno un permesso per la pagina corrente altrimenti redirect ad unauthorized
+
+
+
+
+ salva in variabile pagina il nome della pagina corrente
+
+
+
+
+ selezione delle posizioni cdc autorizzate come stringa di filtraggio su POSIZIONE LIKE, se non ce ne fossero redirige su unauthorized.aspx
+
+
+
+
+
+ risponde alla domanda se l'utente abbia permesso tipo writable (S) nel permessi2funzione
+
+
+
+
+
+ verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio da accodare al filtro x CdC autorizzati
+
+ condizione
+ tipo di eguaglianza
+ nome parametro
+ valore parametro
+
+
+
+
+ crea la stringa di filtraggio x data secondo modalità tipo inizio/fine/durante...
+
+
+
+
+
+ crea la stringa di filtraggio x data secondo modalità tipo minoreUguale / uguale / maggioreUguale...
+
+
+
+
+
+ verifica la condizione booleana e formatta di conseguenza la stringa di filtraggio tipo LIKE x i campi inseriti separati da # SE valParam !=""
+
+
+
+
+
+
+
+ esegue la ricerca dei cdc nelle posizioni indicate dal filtro e restituisce elenco distinct degli stessi
+
+ filtro con cui cercare i cdc (del tipo " (POSIZIONE LIKE 'T.1.2.3%') OR ... "
+ stringa di filtraggio ricostruita per l'elenco dei cdc fino a quel momento trovati
+ ultimo cdc trovato
+ cdc corrente
+
+
+
+
+ restituisce il cdc dell'utente data la sua matricola
+
+
+
+
+
+
+ restituisce l'utente AS dall'utente win
+
+
+
+
+
+
+ restituisce la descr del CdC
+
+
+
+
+
+
+ invia la stringa jscript di conferma pre-cancellazione
+
+
+
+
+
+ restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}"
+
+ verrà usato x posizione {0}, tipo "view"
+ verrà usato x posizione {1}, tipo "_s.png"
+
+
+
+
+ restituisce la stringa del path corretto per l'immagine richiesta nel formato "~/images/{0}{1}"
+
+ verrà usato x posizione {0}, tipo "view"
+ verrà usato x posizione {1}, tipo "_s.png"
+ tipo del file richiesto..."
+
+
+
+
+ effettua traduzione del lemma
+
+
+
+
+
+
+ effettua traduzione in inglese del lemma
+
+
+
+
+
+
+ definisce visibilitÃ
+
+
+
+
+
+
+ effettua la registrazione degli eventi
+
+
+
+
+ effettua l'inserimento vero e proprio dell'evento letto dai valori in session x l'utente corrente...
+
+ evento da loggare
+ valori originali
+ nuovi valori
+ filtro associato
+
+
+
+ salva in sessione i valori indicati
+
+ dictionary dei valori vecchi
+ dictionary dei valori nuovi
+ bool su abilitazione al log dell'oggetto
+ descrizione evento da loggare
+ filtro associato all'evento
+ restituisce il numero di elementi contenuti, -1 significa nessuna differenza...
+
+
+
+ salva in sessione i valori per un oggetto che sta x essere eliminato
+
+ dictionary dei valori vecchi
+ bool su abilitazione al log dell'oggetto
+ descrizione evento da loggare
+ filtro associato all'evento
+ restituisce il numero di elementi contenuti, -1 significa nessuna differenza...
+
+
+
+ imposto il tipo di anagrafica del controlloS
+
+
+
+
+ variabile salvata in view state x la stringa di sorting - dg 2
+
+
+
+
+ variabile salvata in view state x la stringa di sorting - dg 2
+
+
+
+
+ legge e scrive in viewState la stringa di filtraggio...
+
+
+
+
+ variabile salvata in viewstate x la direzione del sorting
+
+
+
+
+ genera la stringa filtro x i cdc autorizzati x l'user
+
+
+
+
+
+ tipo di vista del modulo
+
+
+
+
+ Summary description for selettori
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ carica i dati CdC se in cache o da TableAdapter
+
+
+
+
+ restituisce l'elenco di tutti i cdc
+
+
+
+
+
+ restituisce l'elenco di tutti i cdc della gerarchia dell'utente
+
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ classe di gestione dei db x creazione/update alla versione richiesta
+
+
+
+
+ oggetto connessione
+
+
+
+
+ stringa di connessione
+
+
+
+
+ dir che contiene gli script da eseguire...
+
+
+
+
+ formato del file SQL impiegato (nel senso di formato come iFormat del tipo "App_{0:0000}.sql" --> da App_0001.sql ad App_9999.sql)
+
+
+
+
+ avvio protected della classe
+
+
+
+
+ esegue gli script di sql di update dal file richiesto
+
+
+
+
+
+
+
+ Aggiorna il db eseguendo gli script dalla versione di partenza a quella di arrivo
+
+ NB: per definizione rev 0 = resetta svuotando DB, rev 1 crea tabelle iniziali, rev 2 inserisce i valori di default
+
+ nome DB di cui cercare script
+ revisione di partenza
+ revisione di arrivo
+ timeout max per ogni operazione
+
+
+
+
+ verifica se il db indicato esiste o meno...
+
+
+
+
+
+
+
+ crea il db indicato con i parametri di connessione specificati
+
+
+
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ classe con funzioni specifiche di calcolo
+
+
+
+
+ inizializzazione classe
+
+
+
+
+ elenco dei caratteri base 36: 0..9A..Z
+
+
+
+
+
+ converte da base di dimensione nBase a valore intero
+
+ valore in formato nBase
+ base, max 36 (0..9A..Z)
+
+
+
+
+ metodo di accesso singleton
+
+
+
+
+ tipo di chart (2D/3D)
+
+
+
+
+ 2D
+
+
+
+
+ 3D
+
+
+
+
+ web control che disegna un grafico a torta
+
+
+
+
+ altezza di default
+
+
+
+
+ larghezza di default
+
+
+
+
+ padding di default
+
+
+
+
+ legenda visibile di default
+
+
+
+
+ soglia minima 5% per mostrare il dato
+
+
+
+
+ renderizza il contenuto
+
+
+
+
+
+ disegna la leggenda html laterale...
+
+
+
+
+
+ disegna piechart 2-dim
+
+
+
+
+
+ disegna piechart 3d ellittica
+
+
+
+
+
+ traduce la stringa colore in oggetto colore
+
+
+
+
+
+
+ converte intero a stringa esadecimale
+
+
+
+
+
+
+ converte stringa esadecimale a intero
+
+
+
+
+
+
+ tipo di grafico (2D/3D)
+
+
+
+
+ ampiezza del grafico
+
+
+
+
+ altezza del grafico
+
+
+
+
+ padding grafico/container
+
+
+
+
+ boolean se si debba mostrale la legenda
+
+
+
+
+ percentuale minima da mostrare
+
+
+
+
+ serie di dati (tipizzata) ma mostrare
+
+
+
+
+ testo associato al controllo
+
+
+
+
+ layer gestione vari tipi di memoria: cache, session...
+
+
+
+
+ lettore file configurazione
+
+
+
+
+ oggetto singleton x accesso al layer di memoria
+
+
+
+
+ classe gestione accessi a Session, cache, viewstate, configuration...
+
+
+
+
+ legge dalla config un valore bool
+
+
+
+
+
+
+ legge dalla config un valore string
+
+
+
+
+
+
+ legge dalla config un valore int
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo object generico
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo boolean (se vuoto false)
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo string
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo long
+
+
+
+
+
+
+ carica dalla sessione un dato di tipo int
+
+
+
+
+
+
+ inserisce in session un valore
+
+
+
+
+
+
+ salvo un valore come cookie
+
+
+
+
+
+
+
+ restituisco un valore da cookie
+
+
+
+
+
+
+ inserisce in session un valore
+
+ nome della variabile
+ valore associato
+ indica se debba sopravvivere ad update (inserita in elenco valSess2SurvUpd)
+
+
+
+
+ svuota una variabile dalla session
+
+
+
+
+
+ restituisce true se è presente in session l'oggetto richiesto
+
+
+
+
+
+
+ carica dalla Cache un dato di tipo object generico
+
+
+
+
+
+
+ carica dalla Cachee un dato di tipo boolean (se vuoto false)
+
+
+
+
+
+
+ carica dalla Cachee un dato di tipo string
+
+
+
+
+
+
+ inserisce in Cache un valore
+
+ nome della variabile
+ valore
+
+
+
+ inserisce in Cache un valore e su richiesta regitra tra le tab in cache da svuotare on update..
+
+ nome della variabile
+ valore
+ da registrare come tabella da svuotare on update?
+
+
+
+
+ svuota una variabile dalla Cache
+
+
+
+
+
+ restituisce true se è presente in cache l'oggetto richiesto
+
+
+
+
+
+
+ aggiunge la stringa corrente nel dictionary delle tabelle messe in cache e da aggiornare su comando update
+
+
+
+
+
+ aggiunge la stringa corrente nel dictionary delle tabelle messe in session che vanno preservate da comando update (es: oggetto selezionato...)
+
+
+
+
+
+
+ forza lo svuotamento delel tabelle indicate come in cache...
+
+
+
+
+ elenco dictionary delle tab in cache da aggiornare con update svuotando da cache...
+
+
+
+
+ elenco dictionary dei valori in session da NON aggiornare con update...
+
+
+
+
+ classe gestione parametri deviceper stampa
+
+
+
+
+ creazione oggetto parametri per stampa
+
+
+
+
+
+
+
+
+
+
+
+ formato output
+
+
+
+
+ altezza
+
+
+
+
+ larghezza
+
+
+
+
+ margine Sx
+
+
+
+
+ margine Dx
+
+
+
+
+ margine Top
+
+
+
+
+ margine Bottom
+
+
+
+
+ enumeratore modalità login
+
+
+
+
+ login AD normale
+
+
+
+
+ forza utente fornendo password
+
+
+
+
+ forza ad un utente standard scelto dall'elenco
+
+
+
+
+ enumeratore modalità scrittura tag siteMap
+
+
+
+
+ nodo di tipo iniziale - apertura
+
+
+
+
+ nodo di tipo foglia
+
+
+
+
+ nodo di tipo finale - chiusura
+
+
+
+
+ enumeratore tipi di anagrafica
+
+
+
+
+ tipo di anagrafica Brembo
+
+
+
+
+ tipo di anagrafica generica
+
+
+
+
+ tipo di vista del modulo
+
+
+
+
+ modalità selezione
+
+
+
+
+ modalità editing
+
+
+
+
+ tipologia di file immagine
+
+
+
+
+ formato gif (no alpha channel)
+
+
+
+
+ formato jpeg
+
+
+
+
+ formato png
+
+
+
+
+ tipo di immagini usate per le icone di comando in web applications
+
+
+
+
+ icona annulla (croce rossa)
+
+
+
+
+ icona approva (simbolo coccarda)
+
+
+
+
+ icona barcode in campo bianco
+
+
+
+
+ icona barcode in campo arancio
+
+
+
+
+ icona clona (magic wand)
+
+
+
+
+ icona converma (spunta verde)
+
+
+
+
+ icona elimina (cestino)
+
+
+
+
+ icona modifica (matita)
+
+
+
+
+ icona notepad (blocco note)
+
+
+
+
+ icona notepad + pdf (blocco note)
+
+
+
+
+ icona nuovo (segno +)
+
+
+
+
+ icona seleziona (lente)
+
+
+
+
+ icona semaforo giallo
+
+
+
+
+ icona semaforo rosso
+
+
+
+
+ icona semaforo verde
+
+
+
+
+ icona stampa (printer)
+
+
+
+
+ dimensione immagini usate per le icone di comando in web applications
+
+
+
+
+ formato piccolo
+
+
+
+
+ formato medio
+
+
+
+
+ formato grande
+
+
+
+
+ modalità di esecuzione applicativi
+
+
+
+
+ modalità normale
+
+
+
+
+ modalità debug
+
+
+
+
+ salvataggio di tutti i lemmi tradotti
+
+
+
+
+ definisce un intervalo di 2 date
+
+
+
+
+ data inizio
+
+
+
+
+ data fine
+
+
+
+
+ struttura orario ordinarie/strordinarie
+
+
+
+
+ ore ordinarie
+
+
+
+
+ ore straordinarie
+
+
+
+
+ classe di funzioni inerenti le date
+
+
+
+
+ inizializzazione empty
+
+
+
+
+ effettua l'operazione di intersezione tra 2 intervali di date restituendo ulteriore intervallo: NB se sono intervali disgiunti restituisce 9/9/9999 x inizio e fine
+
+
+
+
+
+
+
+ oggetto mese precedente alla dataLilmite
+
+
+
+
+
+ oggetto mese corrente fino alla dataLilmite
+
+
+
+
+
+ confronta le date e restituisce true se le date sono nello stesso mese
+
+
+
+
+
+
+
+ restituisce l'intervallo del giorno completo che comprende la data indicata
+
+
+
+
+
+
+ restituisce l'intervallo di N giorni fino alla data indicata
+
+
+
+
+
+
+
+ restituisce l'intervallo della settimana corrente per la data indicata
+
+
+
+
+
+
+ restituisce l'intervallo del mese corrente per la data indicata
+
+
+
+
+
+
+ restituisce l'intervallo del mese che comprendela data indicata
+
+
+
+
+
+
+ restituisce l'intervallo dell'anno corrente per la data indicata
+
+
+
+
+
+
+ classe di gestione delle email
+
+
+
+
+ stringa nel nome DNS o dell'ip del server SMTP
+
+
+
+
+ metodo static per la gestione delle email
+
+
+
+
+
+ metodo static per la gestione delle email
+
+
+
+
+
+
+ procedura invio email
+
+ email mittente
+ email destinatario
+ oggetto dell'email
+ corpo del messaggio
+
+
+
+ procedura invio email + scrittura in log!
+
+ email mittente
+ email destinatario
+ oggetto dell'email
+ corpo del messaggio
+
+
+
+ metodo singleton gestione email...
+
+
+
+
+ Tipo di comparazione, Binary == CaseSensitive, Text = insensitive
+
+
+
+
+ tipo controllo : binario
+
+
+
+
+ tipo controllo : text
+
+
+
+
+ Funzione di splitting compatibile con multi-character e multi-line
+
+
+
+
+ stringa da splittare
+
+
+
+
+ Delimiter con cui splittare
+
+
+
+
+ Costruttore dello Splitter
+
+
+
+
+ comparatore case sensitive
+
+
+
+
+
+
+
+ comparatore case insensitive
+
+
+
+
+
+
+
+ parte principale dello splitter
+
+ stringa da splittare
+ delimitatore ricercato
+ true=il delimiter è un blocco unico, false=qualsiasi oggetto del delimiter fa split (come split base)
+
+ 0 -> Binary=CaseSensitive, 1 -> Text=case insensitive
+
+
+
+
+ elimina dal nome file il tipo (desinenza)
+
+
+
+
+
+
+ Classe di metodi che estendono quelli base applicati alle string
+
+
+
+
+ Trasforma in MAIUSCOLo il primo carattere della stringa
+
+ stringa da processare
+ stringa processata
+
+
+
+ restituisce la stringa completa e corretta del filepath del server (anche con vDir)
+
+ path relativo alla cartella iis dell'applicativo
+ path fisico tradotto
+
+
+
+ effettua escape di stringhe di ricerca di tipo filtro per apici e altri caratteri non ammessi
+
+
+
+
+
+
+ fornisce dati di base per l'utente
+
+
+
+
+ fornisce cognome e nome utente formattati a partire dall'username e dalla tabella UTENTE
+
+
+
+
+
+
+ restituisce la riga completa dall'username richiesto
+
+
+
+
+
+
+ Represents a strongly typed in-memory cache of data.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents the strongly named DataTable class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Represents strongly named DataRow class.
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Row event argument class
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ Represents the connection and commands used to retrieve and save data.
+
+
+
+
+ classe gestione utente: auth e permission/ruoli - versione GENERICA
+
+
+
+
+ cancella da session l'utente
+
+
+
+
+ carica la riga dati utente
+
+
+
+
+ Carica la tabella diritti dell'utente da db e salva in session
+
+
+
+
+ Carica la tabella diritti dell'utente da db e salva in session SOLO per il CDC indicato
+
+
+
+
+
+ Effettua setup dei permessi una volta salvati i diritti
+
+
+
+
+ imposta la lingua utente dal valore della riga DB
+
+
+
+
+ costruisce la mappa del sito per l'utente
+
+
+
+
+ formatta un nodo in modo corretto dai dati indicati
+
+
+
+
+
+
+
+
+ inizializza la gestione utente...
+
+
+
+
+ traduce il lemma nella lingua dell'user corrente
+
+
+
+
+
+
+ traduce il lemma in inglese
+
+
+
+
+
+
+ traduce il lemma nella lingua dell'user e in inglese tra parentesi
+
+
+
+
+
+
+ LogOff utente con reset dati
+
+
+
+
+
+
+
+ Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati
+
+
+
+
+
+
+
+ Procedura da chiamare DOPO aver messo in session i dati utente/dominio x caricare gli altri dati CON I DIRITTI SOLO per il CDC indicato
+
+
+
+
+
+
+
+
+ salva dati accessori quali il cdc dell'utente...
+
+
+
+
+ verifica nella tab diritti se l'utente abbia il right richiesto e fornisce bool in risposta
+
+
+
+
+
+
+ verifica le credenziali AD dell'utente...
+
+
+
+
+
+
+
+ conta il numero di permessi utente per la pagina attuale e restituisce true se ne trova almeno 1
+
+
+
+
+
+
+ verifica se il permesso utente per la pagina attuale sia write per almeno 1 diritto assegnato (restituisce true se ne trova almeno 1 con permessi2funzione.readwrite='S')
+
+
+
+
+
+
+ ricarica e ri-traduce la mappa sito per l'utente...
+
+
+
+
+ retituisce il nome apgina dai permessi utente
+
+
+
+
+
+ restituisce cognome e nome di un utente dato username...
+
+ username
+
+
+
+
+ restituisce cognome e nome di un utente data la matricola...
+
+ matricola
+
+
+
+
+ restituisce cognome e nome di un utente dato username e dominio...
+
+ username
+ dominio
+
+
+
+
+ restituisce cognome e nome di un utente dato username...
+
+ username
+
+
+
+
+ restituisce cognome e nome di un utente dato username e dominio...
+
+ username
+ dominio
+
+
+
+
+ restituisce cognome e nome di un utente dato username eventualmente comprensivo di dominio...
+
+ {dominio\}userName
+
+
+
+
+ restituisce l'elenco delle funzioni abilitate dato modulo ed username partendo dalla radice dell'albero dei diritti
+
+
+
+
+
+
+
+ restituisce l'elenco degli utenti dato i diritti che devono avere come modulo/funzione
+
+ nome del modulo
+ nome della funzione
+ tabella utenti
+
+
+
+ restituisce l'elenco delle email degli utenti dato i diritti che devono avere come modulo/funzione
+
+ nome del modulo
+ nome della funzione
+ stringa di email separate da ","
+
+
+
+ crea un nuovo utente con le credenziali indicate
+
+
+
+
+
+
+
+
+
+
+
+ assegna il diritto all'utente indicato
+
+
+
+
+
+
+
+
+
+
+ toglier il diritto all'utente indicato
+
+
+
+
+
+
+
+
+
+
+ restituisce la tabella (per utente corrente) dei CDC abilitati per l'applicazione attuale da sessione (se non c'è salva...)
+
+ modulo di cui si testano i diritti
+
+
+
+
+ versione statica della classe utente come singleton UtenTeSignletoN
+
+
+
+
+ restituisce la tabella diritti da session
+
+
+
+
+ tabella dei permessi utente
+
+
+
+
+ tabella dei permessi utente di tipo "WRITE" enabled
+
+
+
+
+ retituisce username AD
+
+
+
+
+ oggetto utente con metodi get/set
+
+
+
+
+ oggetto dominio con metodi get/set
+
+
+
+
+ oggetto modulo (applicazione) con metodi get/set
+
+
+
+
+ oggetto lingua utente con metodi get/set
+
+
+
+
+ oggetto runMode corrente
+
+
+
+
+ restituisce true se utente forzato da forceUser.aspx
+
+
+
+
+ restituisce i valori della riga utente da db
+
+
+
+
+ restituisce una stringa formattata con cognome, nome e matricola
+
+
+
+
+ restituisce una stringa della sigla dell'utente
+
+
+
+
+ restituisce una stringa formattata con cognome e nome
+
+
+
+
+ restituisce una stringa formattata con cognome
+
+
+
+
+ restituisce una stringa formattata con nome
+
+
+
+
+ fornisce un file XML della mappa del sito abilitato per l'utente...
+
+
+
+
+ è un boolean che indica se in session ci siano user/dominio e quindi utente autenticato in rpecedenza...
+
+
+
+
+ Accesso in lettura e scrittura al filesystem per gestione files upload e download
+
+
+
+
+ path di lavoro dei metodi leggi/scrivi
+
+
+
+
+ verifica esistenza directory ed eventualmente crea restituendo nome completo di "/" finale
+
+
+
+
+
+
+ restituisce una tab di files dato l'elenco dei files
+
+
+
+
+
+
+ setta le directory
+
+
+
+
+
+ oggetto WebClient
+
+
+
+
+ inizializza il metodo alla cartella indicata
+
+
+ non serve +... x retrocompatibilità ...
+
+
+
+ metodo di avvio empty
+
+
+
+
+ cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile
+
+
+
+
+
+
+ cerca di caricare il fileinfo o da httpcontext-application re-position o direttamente come workpath + nomefile
+
+
+
+
+
+
+
+ cerca di caricare la directoryInfo o da httpcontext-application re-position o direttamente come workpath
+
+
+
+
+
+
+ Legge i dati da uno stream fino a quando arriva alla fine.
+ I dati sono restituiti come un byte[] array. un eccezione IOException è
+ sollevata se una delle chiamate IO sottostanti fallisce.
+
+ Lo stream da cui leggere
+ Lunghezza buffer iniziale (-1 = default 32k)
+
+
+
+ verifica esistenza directory, eventualmente crea e restituisce controllo DirectoryInfo
+
+
+
+
+
+ ottiene il dataset dei files presenti nella directory indicata esplicitamente
+
+ dir da indicizzare... già mappata! ( es SteamwareStrings.getFilePath(...) )
+
+
+
+
+ ottiene il dataset dei files presenti nella directory indicata all'istanziazione dell'oggetto
+
+
+
+
+
+ ottiene il dataset dei files DEL TIPO "like {param}" presenti nella directory indicata all'istanziazione dell'oggetto
+
+
+
+
+
+ elenco dei files come array di oggetti FileInfo
+
+
+
+
+
+ elenco dei files come array di oggetti FileInfo filtrati per parametro
+
+
+
+
+
+
+ elimina la directory di lavoro se è dir virtuale mappata
+
+
+
+
+
+ elimina tutti i files con la regexp indicata da una directory, true se cancellato almeno uno
+
+ regexp selezione files in dir (* = tutti!!!)
+
+
+
+
+ verifica se il file indicato esista in workDir
+
+
+
+
+
+
+ elimina il file indicato dalla directory di lavoro
+
+
+
+
+
+
+ restituisce lo stream del file richiesto
+
+
+
+
+
+
+ restituisce la stringa letta dal file richiesto
+
+
+
+
+
+
+ scrive il file dallo stream byte[] inviato
+
+
+
+
+
+
+
+ scrive il file dalla stringa inviata
+
+
+
+
+
+
+
+ converte una string in un byte[]
+
+
+
+
+
+
+ converte un byte[] in una string
+
+
+
+
+
+
+ sposta il file da From a To...
+
+
+
+
+
+
+
+
+ copia il file da From a To...
+
+
+
+
+
+
+
+
+ copia il file da From a To...
+
+
+
+
+
+
+
+
+
+ imposta la dir di lavoro
+
+
+
+
+
+ imposta la dir di lavoro
+
+
+ non serve +... x retrocompatibilità ...
+
+
+
+ imposta la dir di lavoro impostandola dal mapPath corretto della web app...
+
+
+
+
+
+ esegue un comando in shell
+
+
+
+
+
+
+
+
+ esegue un comando in shell
+
+
+
+
+
+
+
+
+ Scarica un file dall'url fornito nella directory indicata x il filemover col nome richiesto
+
+ url del file
+ nome con cui salvare il file
+
+
+
+
+ comprime zip il file indicato
+
+
+
+
+
+
+ comprime zip i files corrispondenti alla RegExp indicata nella dir corrente
+
+ Espressione ricerca, come *.txt
+ Nome del file zip da creare
+
+
+
+
+ calcola la dim della directory corrente...
+
+
+
+
+
+
+ elimina il file + vecchio
+
+
+
+
+
+
+ versione statica (singleton) del'oggetto fileMover
+
+
+
+
+ classe per effettuare confronto tra valori disomogeneri per tipo e costruire diff testuali
+
+
+
+
+ valore originale
+
+
+
+
+ nuovo valore
+
+
+
+
+ dictionary dei parametri vecchi
+
+
+
+
+ dictionary dei parametri nuovi
+
+
+
+
+ inizializzazione classe
+
+
+
+
+ valorizza i diff dei valori old e new
+
+
+
+
+ calcola solo il vettore dei valori old (x delete)
+
+
+
+
+ oggetto statico per il confronto valori
+
+
+
+
+ stringa diff dei valori originali modificati
+
+
+
+
+ stringa diff dei valori nuovi modificati
+
+
+
+
+ dictionary dei parametri old
+
+
+
+
+ dictionary dei parametri new
+
+
+
+
+ classe gestione logging esteso di eventi e note utente (correlabili)
+
+
+
+
+ TableAdapter di accesso alla tabella anagrafica filtraggi
+
+
+
+
+ TableAdapter di accesso alla tabella anagrafica record
+
+
+
+
+ TableAdapter di accesso alla tabella logging record di eventi
+
+
+
+
+ TableAdapter di accesso alla tabella logging utente
+
+
+
+
+ TableAdapter di accesso alla vista logging eventi
+
+
+
+
+ TableAdapter di accesso alla vista logging utente
+
+
+
+
+ effettua setup dei connection strings da web.config delal singola applicazione
+
+
+
+
+ avvio i tari tableAdapters
+
+
+
+
+ avvio della classe istanziando db e
+
+
+
+
+ oggetto statico di accesso ai metodi della classe...
+
+
+
+
+ tabella eventi
+
+
+
+
+
+ tabella note
+
+
+
+
+
+ tabella eventi secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ tabella note secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ tabella eventi secondo filtro e condizione ulteriore WHERE esplicitata
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+ ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
+
+
+
+ tabella note secondo filtro e condizione ulteriore WHERE esplicitata
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+ ulteriore condizione WHERE per filtrare i dati (testo {0} della condizione "WHERE {0}"
+
+
+
+
+ tabella note secondo filtro
+
+ filtro gestito come condizione "LIKE '%{0}%'" rispetto al filtro salvato con l'evento
+
+
+
+
+ inserisce l'evento indicato dai parametri
+
+ user che ha generato l'evento
+ pagina/form applicaizone in cui l'evento si è generato
+ valore originale(se c'è)
+ valore nuovo/modificato
+ descrizione evento (poi gestita con anagrafica interna)
+ filtro logico evento (poi gestita con anagrafica interna)
+
+
+
+ inserisce la nota utente indicata dai parametri, restituisce idx della nota creata...
+
+ user che ha inserito la nota
+ testo della nota
+ valore ulteriore da associare alla nota (es: label, codice, versione, ...)
+ filtro logico evento (poi gestita con anagrafica interna)
+ intero dell'idx della nota creata
+
+
+
+ associa l'evento e la nota indicati
+
+ idx del record da associare
+ idx chiave della nota da associare
+
+
+
+ associa l'ultimo evento del filtro indicato alla nota
+
+ filtro associato all'ultimo evento...
+ idx chiave della nota da associare
+
+
+
+ segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
+
+ utente generatore dell'evento
+
+
+
+ segna come cestinati tutti gli eventi dell'utente indicato non ancora associati o cestinati
+
+ utente generatore dell'evento
+
+
+
+ Elimina gli eventi cestinati generati dall'utente indicato
+
+ utente generatore dell'evento
+
+
+
+ Elimina gli eventi cestinati anteriori alla data selezionata
+
+ dataOra dell'evento
+
+
+
+ effettua la registrazione dell'evento in session
+
+
+
+
+ metodo di comportamento del controllo di logging
+
+
+
+
+ nasconde pannello log
+
+
+
+
+ memorizza log inserito
+
+
+
+
+ mostra pannello log
+
+
+
+
+ metodo di comportamento del controllo di logging
+
+
+
+
+ indica il primo step del doppio livello di approvazione (completamento)
+
+
+
+
+ SOLO con incremento indice di revisione dell'oggetto approvato
+
+
+
+
+ SOLO mantenendo indice di revisione corrente
+
+
+
+
+ permette SIA con revisione che senza (e anche rev -1)
+
+
+
+
+ Pagina base applicazioni SteamWare da cui derivare le altre
+
+
+
+
+ Iniziazlizzazione void (non fa nulla)
+
+
+
+
+ Metodo MAIN: viene eseguita al caricamento ed effettua delle routines per il controllo utente e istanzia l'oggetto memLayer
+
+
+
+
+
+
+ rimanda alla pagina di Work In Progress salvando in session un titolo ed una descrizione che al pagina wip poi mostrerà all'utente
+
+ titolo da mostrare nella pagina WIP
+ descrizione da mostrare nella pagina WIP
+
diff --git a/GMW/GMW_WS/mazzAppSettings.config b/GMW/GMW_WS/mazzAppSettings.config
index 34577d43..f66ab18e 100644
--- a/GMW/GMW_WS/mazzAppSettings.config
+++ b/GMW/GMW_WS/mazzAppSettings.config
@@ -6,7 +6,7 @@
-
+
@@ -38,6 +38,7 @@
+
diff --git a/GMW/GMW_WS/obj/Debug/GMW_WS.dll b/GMW/GMW_WS/obj/Debug/GMW_WS.dll
index c96236b2..1dbfc5b1 100644
Binary files a/GMW/GMW_WS/obj/Debug/GMW_WS.dll and b/GMW/GMW_WS/obj/Debug/GMW_WS.dll differ
diff --git a/GMW/GMW_WS/obj/Debug/ResolveAssemblyReference.cache b/GMW/GMW_WS/obj/Debug/ResolveAssemblyReference.cache
index 201865ee..78990097 100644
Binary files a/GMW/GMW_WS/obj/Debug/ResolveAssemblyReference.cache and b/GMW/GMW_WS/obj/Debug/ResolveAssemblyReference.cache differ
diff --git a/GMW/GMW_WS/obj/Release/GMW_WS.dll b/GMW/GMW_WS/obj/Release/GMW_WS.dll
index a7b6ddf6..d4274361 100644
Binary files a/GMW/GMW_WS/obj/Release/GMW_WS.dll and b/GMW/GMW_WS/obj/Release/GMW_WS.dll differ
diff --git a/GMW/GMW_WS/obj/Release/ResolveAssemblyReference.cache b/GMW/GMW_WS/obj/Release/ResolveAssemblyReference.cache
index 856e94f4..4b73b586 100644
Binary files a/GMW/GMW_WS/obj/Release/ResolveAssemblyReference.cache and b/GMW/GMW_WS/obj/Release/ResolveAssemblyReference.cache differ
diff --git a/GMW/GMW_WS_installer/GMW_WS_installer.vdproj b/GMW/GMW_WS_installer/GMW_WS_installer.vdproj
index 8fbdb7e6..2695fb49 100644
--- a/GMW/GMW_WS_installer/GMW_WS_installer.vdproj
+++ b/GMW/GMW_WS_installer/GMW_WS_installer.vdproj
@@ -344,14 +344,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW_WS"
- "ProductCode" = "8:{F532F1C4-AAED-48FB-AC7C-AC086DFD52DD}"
- "PackageCode" = "8:{EFFC665B-E922-4CE0-A583-AE2DFAA50DB6}"
+ "ProductCode" = "8:{642D6C51-DF13-4D8D-A9D5-7217BF156841}"
+ "PackageCode" = "8:{EC1565F6-5E77-4A94-93E5-A34CF8293B05}"
"UpgradeCode" = "8:{BA470335-3D4B-4C20-8152-90A5F0F14FE0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
- "ProductVersion" = "8:1.0.290"
+ "ProductVersion" = "8:1.0.300"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
diff --git a/GMW/GMW_WS_installer/Release/GMW_WS_installer.msi b/GMW/GMW_WS_installer/Release/GMW_WS_installer.msi
index e770c6ca..f499830c 100644
Binary files a/GMW/GMW_WS_installer/Release/GMW_WS_installer.msi and b/GMW/GMW_WS_installer/Release/GMW_WS_installer.msi differ
diff --git a/GMW/GMW_data/DS_Applicazione.Designer.cs b/GMW/GMW_data/DS_Applicazione.Designer.cs
index 1b62a2eb..1dd88dd6 100644
--- a/GMW/GMW_data/DS_Applicazione.Designer.cs
+++ b/GMW/GMW_data/DS_Applicazione.Designer.cs
@@ -13913,7 +13913,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10];
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM dbo.ElencoCartellini";
@@ -14001,39 +14001,46 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
- this._commandCollection[8].CommandText = "dbo.stp_sbloccaUdc";
+ this._commandCollection[8].CommandText = "dbo.stp_riattivaUdc";
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[9].Connection = this.Connection;
- this._commandCollection[9].CommandText = "dbo.stp_UDC_update";
+ this._commandCollection[9].CommandText = "dbo.stp_sbloccaUdc";
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_edit", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[10].Connection = this.Connection;
+ this._commandCollection[10].CommandText = "dbo.stp_UDC_update";
+ this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_edit", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -14398,7 +14405,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
global::System.Nullable PesoCad,
string CodStato,
string UDC_parent) {
- this.Adapter.SelectCommand = this.CommandCollection[9];
+ this.Adapter.SelectCommand = this.CommandCollection[10];
if ((UDC_edit == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -15559,7 +15566,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int stp_sbloccaUdc(string UDC, string CodSoggetto) {
+ public virtual int stp_riattivaUdc(string UDC, string CodSoggetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -15589,6 +15596,39 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
}
return returnValue;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int stp_sbloccaUdc(string UDC, string CodSoggetto) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
+ if ((UDC == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(UDC));
+ }
+ if ((CodSoggetto == null)) {
+ command.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[2].Value = ((string)(CodSoggetto));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
}
///
diff --git a/GMW/GMW_data/DS_Applicazione.xsd b/GMW/GMW_data/DS_Applicazione.xsd
index 1045a864..98407eb3 100644
--- a/GMW/GMW_data/DS_Applicazione.xsd
+++ b/GMW/GMW_data/DS_Applicazione.xsd
@@ -798,6 +798,18 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
+
+
+
+ dbo.stp_riattivaUdc
+
+
+
+
+
+
+
+
@@ -805,7 +817,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
-
+
@@ -1477,8 +1489,8 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
-
+
+
@@ -1491,14 +1503,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
@@ -1511,14 +1523,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
@@ -1531,14 +1543,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
@@ -1551,35 +1563,35 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
+
-
+
-
+
@@ -1592,35 +1604,35 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
+
-
+
-
+
@@ -1633,21 +1645,21 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
+
@@ -1660,93 +1672,93 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
@@ -1760,28 +1772,28 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
-
-
-
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
+
@@ -1808,96 +1820,96 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
-
-
+
+
+
-
-
-
-
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1979,14 +1991,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
@@ -1999,157 +2011,157 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
@@ -2162,42 +2174,42 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
+
-
+
-
+
-
+
@@ -2210,14 +2222,14 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
@@ -2230,21 +2242,21 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
+
@@ -2257,102 +2269,102 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
-
-
+
+
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -2365,56 +2377,56 @@ SELECT CodSoggetto, USER_NAME, DOMINIO FROM Soggetti2Utente WHERE (CodSoggetto =
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/GMW/GMW_data/GMW_data.csproj b/GMW/GMW_data/GMW_data.csproj
index 684465e6..dd1ce3e9 100644
--- a/GMW/GMW_data/GMW_data.csproj
+++ b/GMW/GMW_data/GMW_data.csproj
@@ -160,6 +160,7 @@
SettingsSingleFileGenerator
Settings.Designer.cs
+
diff --git a/GMW/GMW_data/MagClass.cs b/GMW/GMW_data/MagClass.cs
index df452ed5..77ccdcdb 100644
--- a/GMW/GMW_data/MagClass.cs
+++ b/GMW/GMW_data/MagClass.cs
@@ -300,7 +300,7 @@ namespace GMW_data
// il secondo idx che mi serve
idxCellaFrom = rigaUdcCorrente.IdxCella;
}
- catch(Exception e)
+ catch (Exception e)
{
logger.lg.scriviLog(string.Format("Errore in fase di recupero cella per l'UDC {0}: {1}{2}", UDC, Environment.NewLine, e), tipoLog.EXCEPTION);
}
@@ -331,6 +331,59 @@ namespace GMW_data
return answ;
}
+ ///
+ /// riattiva un UDC (se permesso) da una posizione consumata ad una valida
+ ///
+ ///
+ ///
+ ///
+ public bool riattivaUdc(string UDC, string CodSoggetto)
+ {
+ // init
+ bool answ = false;
+ try
+ {
+ // salvo dati cartellino PRE
+ DS_Applicazione.ElencoCartelliniRow rigaUdcPre = DataProxy.obj.taCartellini.stp_getByUdc(UDC)[0];
+ GMW_data.DataProxy.obj.taCartellini.stp_riattivaUdc(UDC, CodSoggetto);
+ // salvo dati cartellino POST
+ DS_Applicazione.ElencoCartelliniRow rigaUdcPost = DataProxy.obj.taCartellini.stp_getByUdc(UDC)[0];
+ // controllo se ho modificato posizione...
+ if (rigaUdcPre.IdxPosizione != rigaUdcPost.IdxPosizione)
+ {
+ // faccio movimento compensativo... in segno negativo risp alla posiz POST
+ DataProxy.obj.taCartellini.stp_rettMovAs400(rigaUdcPost.Particolare, rigaUdcPost.UDC, rigaUdcPost.IdxPosizione.ToString(), rigaUdcPost.Qta);
+ answ = true;
+ }
+ }
+ catch (Exception e)
+ {
+ logger.lg.scriviLog(string.Format("Eccezione: {0}{1}", Environment.NewLine, e), tipoLog.EXCEPTION);
+ }
+
+ return answ;
+ }
+ ///
+ /// sblocca un UDC (se permesso)
+ ///
+ ///
+ ///
+ ///
+ public bool sbloccaUdc(string UDC, string CodSoggetto)
+ {
+ // init
+ bool answ = false;
+ try
+ {
+ GMW_data.DataProxy.obj.taCartellini.stp_sbloccaUdc(UDC, CodSoggetto);
+ answ = true;
+ }
+ catch (Exception e)
+ {
+ logger.lg.scriviLog(string.Format("Eccezione: {0}{1}", Environment.NewLine, e), tipoLog.EXCEPTION);
+ }
+ return answ;
+ }
#endregion
diff --git a/GMW/GMW_data/SqlScripts/GMW_00299.sql b/GMW/GMW_data/SqlScripts/GMW_00299.sql
new file mode 100644
index 00000000..ac1b8da1
--- /dev/null
+++ b/GMW/GMW_data/SqlScripts/GMW_00299.sql
@@ -0,0 +1,139 @@
+set xact_abort on
+go
+
+begin transaction
+go
+
+alter table AnagPosizioni add
+ IsRiattivaEnabled bit constraint DF_AnagPosizioni_IsRiattivaEnabled default (0)
+go
+
+update AnagPosizioni set IsRiattivaEnabled=0
+go
+
+set ANSI_NULLS on
+go
+
+/***************************************
+* STORED stp_riattivaUdc
+*
+* riattiva un dato UDC (da mag consumato negativo a corrispettivo positivo) --> se era positivo NON FA NULLA!!! (perchè uso ABS e controllo sia < 0)
+*
+* Steamware, S.E.L.
+* mod: 2010.11.04
+*
+****************************************/
+create PROCEDURE stp_riattivaUdc
+(
+ @UDC VARCHAR(20),
+ @CodSoggetto NVARCHAR(17)
+)
+AS
+
+DECLARE @CodEvento VARCHAR(10)
+DECLARE @CodTipoDichiaraz VARCHAR(1)
+
+SET @CodEvento = 'UDC_RIA'
+SET @CodTipoDichiaraz = 'U'
+
+BEGIN TRAN
+
+ -- faccio update
+ UPDATE ElencoCartellini
+ SET IdxPosizione = ABS(IdxPosizione), ModDate=GETDATE(), CodSoggetto = @CodSoggetto
+ WHERE UDC = @UDC AND IdxPosizione IN (SELECT IdxPosizione FROM AnagPosizioni WHERE (IsRiattivaEnabled = 1)
+)
+
+COMMIT TRAN
+
+RETURN
+go
+
+commit
+go
+
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+UPDATE dbo.AnagPosizioni SET
+ IsRiattivaEnabled=1
+ WHERE IdxPosizione=-84
+go
+
+commit transaction
+go
+
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+INSERT INTO dbo.AnagTipoEvento
+ VALUES (N'UDC_COMP', N'Compensazione per rettifica UDC')
+INSERT INTO dbo.AnagTipoEvento
+ VALUES (N'UDC_RIA', N'Riattivazione UDC x gestione (se cancellato)')
+go
+
+commit transaction
+go
+
+
+set xact_abort on
+go
+
+begin transaction
+go
+
+set ANSI_NULLS on
+go
+
+/***************************************
+* STORED stp_sbloccaUdc
+*
+* sblocca un dato UDC per modifica
+*
+* Steamware, S.E.L.
+* mod: 2010.04.28
+*
+****************************************/
+alter PROCEDURE stp_sbloccaUdc
+(
+ @UDC VARCHAR(20),
+ @CodSoggetto NVARCHAR(17)
+)
+AS
+
+DECLARE @CodEvento VARCHAR(10)
+DECLARE @CodTipoDichiaraz VARCHAR(1)
+
+SET @CodEvento = 'UDC_SBL'
+SET @CodTipoDichiaraz = 'U'
+
+BEGIN TRAN
+
+ -- faccio update
+ UPDATE ElencoCartellini
+ SET ModDate = GETDATE(), CodSoggetto = @CodSoggetto
+ WHERE UDC = @UDC
+
+COMMIT TRAN
+
+RETURN
+go
+
+commit
+go
+
+
+
+
+
+-- registro versione...
+INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(299, GETDATE())
+GO
diff --git a/GMW/GMW_data/Type/Cartellino.cs b/GMW/GMW_data/Type/Cartellino.cs
index 1355dd59..3cc7ad8f 100644
--- a/GMW/GMW_data/Type/Cartellino.cs
+++ b/GMW/GMW_data/Type/Cartellino.cs
@@ -148,27 +148,27 @@ namespace GMW_data.Type
///
public void setFromTabRow(DS_Applicazione.ElencoCartelliniRow riga)
{
- UDC = riga.UDC;
- CodCS = riga.CodCS;
- CodCliente = riga.CodCliente;
- RagSociale = riga.RagSociale;
- Particolare = riga.Particolare;
- DescParticolare = riga.DescParticolare;
- DisegnoGrezzo = riga.DisegnoGrezzo;
- Esponente = riga.Esponente;
- CodImpianto = riga.CodImpianto;
- DescImpianto = riga.DescImpianto;
- CodCliente = riga.CodCliente;
- CodStampo = riga.CodStampo;
- Figura = riga.Figura;
+ UDC = riga.UDC.Trim();
+ CodCS = riga.CodCS.Trim();
+ CodCliente = riga.CodCliente.Trim();
+ RagSociale = riga.RagSociale.Trim();
+ Particolare = riga.Particolare.Trim();
+ DescParticolare = riga.DescParticolare.Trim();
+ DisegnoGrezzo = riga.DisegnoGrezzo.Trim();
+ Esponente = riga.Esponente.Trim();
+ CodImpianto = riga.CodImpianto.Trim();
+ DescImpianto = riga.DescImpianto.Trim();
+ CodCliente = riga.CodCliente.Trim();
+ CodStampo = riga.CodStampo.Trim();
+ Figura = riga.Figura.Trim();
DataFus = riga.DataFus;
TurnoFus = riga.TurnoFus;
- CodImballo = riga.CodImballo;
- CodSoggetto = riga.CodSoggetto;
+ CodImballo = riga.CodImballo.Trim();
+ CodSoggetto = riga.CodSoggetto.Trim();
NumCont = riga.NumCont;
Tara = riga.Tara;
Quantita = riga.Qta;
- CodStato = riga.CodStato;
+ CodStato = riga.CodStato.Trim();
IdxPosizione = riga.IdxPosizione;
PesoTot = riga.PesoTot;
PesoCad = riga.PesoCad;
diff --git a/GMW/GMW_data/bin/Debug/GMW_data.dll b/GMW/GMW_data/bin/Debug/GMW_data.dll
index f8a8591c..5b121acc 100644
Binary files a/GMW/GMW_data/bin/Debug/GMW_data.dll and b/GMW/GMW_data/bin/Debug/GMW_data.dll differ
diff --git a/GMW/GMW_data/bin/Release/GMW_data.dll b/GMW/GMW_data/bin/Release/GMW_data.dll
index 8633cd61..8672bb01 100644
Binary files a/GMW/GMW_data/bin/Release/GMW_data.dll and b/GMW/GMW_data/bin/Release/GMW_data.dll differ
diff --git a/GMW/GMW_data/obj/Debug/GMW_data.dll b/GMW/GMW_data/obj/Debug/GMW_data.dll
index f8a8591c..5b121acc 100644
Binary files a/GMW/GMW_data/obj/Debug/GMW_data.dll and b/GMW/GMW_data/obj/Debug/GMW_data.dll differ
diff --git a/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll b/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll
index 5875a2b1..a8569aa3 100644
Binary files a/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll and b/GMW/GMW_data/obj/Debug/TempPE/DS_Applicazione.Designer.cs.dll differ
diff --git a/GMW/GMW_data/obj/Release/GMW_data.dll b/GMW/GMW_data/obj/Release/GMW_data.dll
index 8633cd61..8672bb01 100644
Binary files a/GMW/GMW_data/obj/Release/GMW_data.dll and b/GMW/GMW_data/obj/Release/GMW_data.dll differ
diff --git a/GMW/GMW_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll b/GMW/GMW_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll
index b72afefb..ba507413 100644
Binary files a/GMW/GMW_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll and b/GMW/GMW_data/obj/Release/TempPE/DS_Applicazione.Designer.cs.dll differ