update 463

fix spostamenti e upd qta x terminalino & web 

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@477 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2012-07-11 11:49:01 +00:00
parent 1e117bcf8c
commit b879b4bb48
54 changed files with 1243 additions and 795 deletions
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -7,7 +7,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -7,7 +7,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -7,7 +7,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -7,7 +7,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -7,7 +7,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
Binary file not shown.
Binary file not shown.
@@ -264,13 +264,17 @@ namespace GMW_Term.WebUserControls
/// <param name="cellaPiena"></param>
private void depositaUdc(bool setCellaPiena)
{
// cerco id della cella...
int idxCella = MagClass.magazzino.IdxCellaByCodCella(_CodCS, valoreScanUdc);
// salva le info facendo caricamento
MagClass.magazzino.spostaUDC(_CodCS, _UDC, idxCella, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName);
if (setCellaPiena)
// controllo UDC sia spostabile (ovvero NON in RLP bloccata)
if (MagClass.magazzino.checkUDC_mov(_UDC))
{
MagClass.magazzino.taCelle.stp_celle_updPiena(idxCella, true);
// cerco id della cella...
int idxCella = MagClass.magazzino.IdxCellaByCodCella(_CodCS, valoreScanUdc);
// salva le info facendo caricamento
MagClass.magazzino.spostaUDC(_CodCS, _UDC, idxCella, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName);
if (setCellaPiena)
{
MagClass.magazzino.taCelle.stp_celle_updPiena(idxCella, true);
}
}
// resetto buttons
mod_btnUdc1.doReset();
@@ -283,18 +287,22 @@ namespace GMW_Term.WebUserControls
/// <param name="cellaPiena"></param>
private void spostaUdc(bool setCellaPiena)
{
// cerco id delle celle...
int idxCellaFrom = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0].IdxCella;
int idxCellaTo = MagClass.magazzino.IdxCellaByCodCella(_CodCS, valoreScanUdc);
// salva le info facendo caricamento
MagClass.magazzino.spostaUDC(_CodCS, _UDC, idxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName);
// dopo aver spostato UDC sistemo eventuali Righe di Prelievo x lo stesso UDC pending...
MagClass.magazzino.taRigheListePrelievo.stp_RLP_sbloccaNonPrelevate("ND", _UDC); // metto "ND" perché voglio sbloccare tutti gli impieghi di quell'UDC
// la cella di partenza la indico come disponibile (comunque ho tolto un UDC...)
MagClass.magazzino.taCelle.stp_celle_updPiena(idxCellaFrom, false);
if (setCellaPiena)
// controllo UDC sia spostabile (ovvero NON in RLP bloccata)
if (MagClass.magazzino.checkUDC_mov(_UDC))
{
MagClass.magazzino.taCelle.stp_celle_updPiena(idxCellaTo, true);
// cerco id delle celle...
int idxCellaFrom = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0].IdxCella;
int idxCellaTo = MagClass.magazzino.IdxCellaByCodCella(_CodCS, valoreScanUdc);
// salva le info facendo caricamento
MagClass.magazzino.spostaUDC(_CodCS, _UDC, idxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName);
// dopo aver spostato UDC sistemo eventuali Righe di Prelievo x lo stesso UDC pending...
MagClass.magazzino.taRigheListePrelievo.stp_RLP_sbloccaNonPrelevate("ND", _UDC); // metto "ND" perché voglio sbloccare tutti gli impieghi di quell'UDC
// la cella di partenza la indico come disponibile (comunque ho tolto un UDC...)
MagClass.magazzino.taCelle.stp_celle_updPiena(idxCellaFrom, false);
if (setCellaPiena)
{
MagClass.magazzino.taCelle.stp_celle_updPiena(idxCellaTo, true);
}
}
// resetto buttons
mod_btnUdc1.doReset();
@@ -346,12 +354,16 @@ namespace GMW_Term.WebUserControls
/// <param name="e"></param>
protected void ods_Updating(object sender, ObjectDataSourceMethodEventArgs e)
{
decimal qta = Convert.ToDecimal(e.InputParameters["Qta"]);
// intercetto l'evento e chiamo una stored ad hoc!
MagClass.magazzino.taCartellini.updateQty(_UDC, MagClass.magazzino.CodSoggCurrUser, "U", "UDC_QTY", qta);
// aggiorno anche eventuali righe inliste prelievo
MagClass.magazzino.taRigheListePrelievo.stp_RLP_updateQty(_UDC, qta);
// annullo update!
// controllo UDC sia modificabile qta
if (MagClass.magazzino.checkUDC_qty(_UDC))
{
decimal qta = Convert.ToDecimal(e.InputParameters["Qta"]);
// intercetto l'evento e chiamo una stored ad hoc!
MagClass.magazzino.taCartellini.updateQty(_UDC, MagClass.magazzino.CodSoggCurrUser, "U", "UDC_QTY", qta);
// aggiorno anche eventuali righe inliste prelievo
MagClass.magazzino.taRigheListePrelievo.stp_RLP_updateQty(_UDC, qta);
}
// annullo update!
e.Cancel = true;
}
@@ -75,10 +75,18 @@ namespace GMW_Term.WebUserControls
/// <param name="_codCella"></param>
private void spostaUdc(string _UDC, int _idxCella, string _codCella)
{
MagClass.magazzino.spostaUDC(memLayer.ML.confReadString("codCS"), _UDC, _idxCella, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName);
btnConferma.Visible = false;
btnAnnulla.Visible = false;
lblEsito.Text = string.Format("{0} {1} --> {2} ", traduci("ConfermaSpostatoUDC"), _UDC, _codCella);
// controllo UDC sia spostabile (ovvero NON in RLP bloccata)
if (MagClass.magazzino.checkUDC_mov(_UDC))
{
MagClass.magazzino.spostaUDC(memLayer.ML.confReadString("codCS"), _UDC, _idxCella, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName);
btnConferma.Visible = false;
btnAnnulla.Visible = false;
lblEsito.Text = string.Format("{0} {1} --> {2} ", traduci("ConfermaSpostatoUDC"), _UDC, _codCella);
}
else
{
lblEsito.Text = string.Format("{0} {1}", traduci("UdcNonSpostabile"), _UDC);
}
resetAndUpdate();
}
/// <summary>
@@ -92,13 +100,24 @@ namespace GMW_Term.WebUserControls
string _UDC = memLayer.ML.StringSessionObj("UDC_sel");
int _idxCella = memLayer.ML.IntSessionObj("IdxCella_sel");
string _codCella = memLayer.ML.StringSessionObj("codCella_sel");
// sposto UDC precedente in posizione preimpostata da web.config
string codCellaErroriAnime = memLayer.ML.confReadString("codCellaErroriAnime");
int idxCellaTo = MagClass.magazzino.taCelle.getByCodCella(codCellaErroriAnime)[0].IdxCella;
string udc2move = MagClass.magazzino.udcInCella(memLayer.ML.confReadString("codCS"), _idxCella);
MagClass.magazzino.spostaUDC(memLayer.ML.confReadString("codCS"), udc2move, idxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName);
lblEsito.Text = string.Format("{0} {1} --> {2} ", traduci("ConfermaSpostatoUDC"), _UDC, _codCella);
spostaUdc(_UDC, _idxCella, _codCella);
// controllo UDC sia spostabile (ovvero NON in RLP bloccata)
if (MagClass.magazzino.checkUDC_mov(_UDC))
{
// sposto UDC precedente in posizione preimpostata da web.config
string codCellaErroriAnime = memLayer.ML.confReadString("codCellaErroriAnime");
int idxCellaTo = MagClass.magazzino.taCelle.getByCodCella(codCellaErroriAnime)[0].IdxCella;
string udc2move = MagClass.magazzino.udcInCella(memLayer.ML.confReadString("codCS"), _idxCella);
// sposto udc in posizione "errori anime"...
MagClass.magazzino.spostaUDC(memLayer.ML.confReadString("codCS"), udc2move, idxCellaTo, memLayer.ML.confReadBool("spostaUdcResettaLdp"), Request.UserHostName);
lblEsito.Text = string.Format("{0} {1} --> {2} ", traduci("ConfermaSpostatoUDC"), _UDC, _codCella);
// sposto "vero" UDC
spostaUdc(_UDC, _idxCella, _codCella);
}
else
{
lblEsito.Text = string.Format("{0} {1}", traduci("UdcNonSpostabile"), _UDC);
}
resetAndUpdate();
}
/// <summary>
Binary file not shown.
Binary file not shown.
+23 -23
View File
@@ -1,11 +1,11 @@
<appSettings>
<!--Setup applicazione-->
<add key="CodModulo" value="GMW" />
<add key="_titoloPagina" value="GMW - Fonderie Mazzucconi S.p.A, portale Gestione Magazzino Web" />
<add key="_titoloPagina" value="GMW - TEKAL , portale Gestione Magazzino Web - GRUPPO MAZZUCCONI" />
<add key="titleApp" value="GMW_titleApp" />
<add key="welcomeApp" value="GMW_welcomeApp" />
<add key="appName" value="GMW_Term" />
<add key="SiteName" value="San Possidonio" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="copyRight" value="SteamWare © 2010-2012" />
@@ -27,7 +27,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="MinCharAutocomplete" value="2" />
<add key="_fromEmail" value="GMW@steamware.net" />
<add key="urlWebServer" value="http://SRV-PRODSP01/GMWT/" />
<add key="urlWebServer" value="http://localhost/GMWT/" />
<add key="echoLemmi" value="false" />
<add key="showLogout" value="false" />
<!-- determina se non chiedere login x terminalini -->
@@ -48,44 +48,44 @@
<add key="numGgToReloadRQ" value="30" />
<!--Setup urls stampa reports-->
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&amp;rs:Command=Render&amp;rc:Parameters=true&amp;rc:Toolbar=true&amp;CodListaPrel={3}{4}" />
<add key="reportingServerAddress" value="SRV65:8282" />
<add key="reportDir" value="POSSIDONIO/MAGAZZINO" />
<add key="reportingServerAddress" value="SRV-PRODTK01" />
<add key="reportDir" value="TEKAL/MAGAZZINO" />
<add key="reportName" value="Lista_di_Prelievo" />
<add key="reportOpzPdf" value="&amp;rs:Format=PDF" />
<!--Configurazioni ad hoc San Possidonio-->
<!--Configurazioni ad hoc Tekal-->
<add key="Cosumo84PostDelibera" value="true" />
<add key="riattUdcPermessa" value="true" />
<!--Setup periodo controlli date-->
<add key="defDayFrom" value="-60" />
<add key="mostraSelOra" value="false" />
<!--Setup codici postazioni-->
<add key="IdxPosizMP" value="6" />
<add key="IdxPosNewFusi" value="7" />
<add key="IdxPosNewWip" value="10" />
<add key="IdxPosNewRienTerz" value="30" />
<add key="IdxPosNewFinito" value="4" />
<add key="IdxPosizioneOdette" value="4" />
<add key="IdxPosizMP" value="66" />
<add key="IdxPosNewFusi" value="77" />
<add key="IdxPosNewWip" value="1010" />
<add key="IdxPosNewRienTerz" value="3030" />
<add key="IdxPosNewFinito" value="24" />
<add key="IdxPosizioneOdette" value="24" />
<!--Permette prelievo/deposito da terminalino senza sparare barcode (con img frecce) -->
<add key="PrelDepoTermEnabled" value="true" />
<!--codice per barcode chiusura lista prelievo-->
<add key="closeCodeLdp" value="CLOSE" />
<!--setup LDP Smart-->
<add key ="LdpSmartTipoLDP" value="00-Smart" />
<add key ="LdpSmartDest" value="C001" />
<add key ="LdpSmartCella" value="LPX010101" />
<add key="LdpSmartTipoLDP" value="00-Smart" />
<add key="LdpSmartDest" value="C001" />
<add key="LdpSmartCella" value="LPX010101" />
<!--spostamenti UDC resettano UDC in lista prelievo-->
<add key ="spostaUdcResettaLdp" value="true" />
<!--posizione per UDC spostati da cella mag vuota che risultasse piena da db-->
<add key="codCellaErroriAnime" value="S00010101" />
<!--Setup installazione-->
<add key="passkey" value="pi=314" />
<add key="CodCS" value="SP" />
<add key="CodCS" value="TK" />
<add key="MinutiFinestraEditUDC" value="10" />
<add key="_adminEmail" value="giancarlo@steamware.net" />
<add key="_smtpCli" value="SRV64" />
<add key="GMWConnectionString" value="Data Source=SRV65;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="SP_produzioneConnectionString" value="Data Source=SRV65;Initial Catalog=ProduzionePossidonioTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="PermessiConnectionString" value="Data Source=SRV65;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="UtenteCdcConnectionString" value="Data Source=SRV65;Initial Catalog=SP_Anagrafica;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="VocabolarioConnectionString" value="Data Source=SRV65;Initial Catalog=SP_Vocabolario;Persist Security Info=True;User ID=connGMW;Password=steamware" />
</appSettings>
<add key="_smtpCli" value="SRV63" />
<add key="GMWConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=TK_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="SP_produzioneConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=ProduzioneTekalTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="PermessiConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=TK_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="UtenteCdcConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=TK_Anagrafica;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="VocabolarioConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=TK_Vocabolario;Persist Security Info=True;User ID=connGMW;Password=steamware" />
</appSettings>
@@ -418,14 +418,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMWT"
"ProductCode" = "8:{C7D8BB73-EDF5-4B7A-95FC-0A9B4641462C}"
"PackageCode" = "8:{044412FD-B6A8-4562-B1C7-42ACC4B3B65E}"
"ProductCode" = "8:{B3473B00-133F-457A-8462-2FFDAE1679AC}"
"PackageCode" = "8:{FB8B801F-81AD-4321-A8AF-197D062076A2}"
"UpgradeCode" = "8:{B348C50D-8DAD-4430-AEF0-60800C94CB78}"
"RestartWWWService" = "11:TRUE"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:2.0.461"
"ProductVersion" = "8:2.0.463"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
@@ -375,14 +375,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMWT_test"
"ProductCode" = "8:{7EF1D8EA-791B-4B62-BA99-DF0D72D0D889}"
"PackageCode" = "8:{E43D24CE-8BFE-4262-8D2B-CF1B2AA7A4AE}"
"ProductCode" = "8:{9EFDDBB1-2B09-41D3-A8E3-63C4E63E9414}"
"PackageCode" = "8:{0BB832A9-59AD-4329-BCCD-63CCE52E86B8}"
"UpgradeCode" = "8:{9A41FB02-98D0-48FB-9924-75BB2A5649A0}"
"RestartWWWService" = "11:TRUE"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:2.0.461"
"ProductVersion" = "8:2.0.463"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
+136 -92
View File
@@ -23163,94 +23163,106 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[14];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[16];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM dbo.RigheListePrelievo";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_getRigaPrelievoByCodLista";
this._commandCollection[1].CommandText = "dbo.stp_RLP_getBloccateMovByUdc";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].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[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_getRigaPrelievoByCodListaPrelevate";
this._commandCollection[2].CommandText = "dbo.stp_RLP_getBloccateQtaByUdc";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_RLP_getByUdc";
this._commandCollection[3].CommandText = "dbo.stp_getRigaPrelievoByCodLista";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_RLP_getOpenByUserTipo";
this._commandCollection[4].CommandText = "dbo.stp_getRigaPrelievoByCodListaPrelevate";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].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[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_righePrelevateByUdc";
this._commandCollection[5].CommandText = "dbo.stp_RLP_getByUdc";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "dbo.stp_setAnnullaUdcPrelevato";
this._commandCollection[6].CommandText = "dbo.stp_RLP_getOpenByUserTipo";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoLista", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
this._commandCollection[7].CommandText = "dbo.stp_RigheListePrelievo_eliminaNonPrelevate";
this._commandCollection[7].CommandText = "dbo.stp_righePrelevateByUdc";
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, 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_RLP_deleteFromCodLista";
this._commandCollection[8].CommandText = "dbo.stp_setAnnullaUdcPrelevato";
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("@Original_CodLista", global::System.Data.SqlDbType.VarChar, 12, 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("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, 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("@UDC", global::System.Data.SqlDbType.NVarChar, 50, 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_RLP_eliminaNonPrelevate";
this._commandCollection[9].CommandText = "dbo.stp_RigheListePrelievo_eliminaNonPrelevate";
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("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, 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("@CodLista", global::System.Data.SqlDbType.VarChar, 12, 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_RLP_resetPrelevate";
this._commandCollection[10].CommandText = "dbo.stp_RLP_deleteFromCodLista";
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("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, 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("@Original_CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[11].Connection = this.Connection;
this._commandCollection[11].CommandText = "dbo.stp_RLP_sbloccaNonPrelevate";
this._commandCollection[11].CommandText = "dbo.stp_RLP_eliminaNonPrelevate";
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[11].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[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[12].Connection = this.Connection;
this._commandCollection[12].CommandText = "dbo.stp_RLP_updateQty";
this._commandCollection[12].CommandText = "dbo.stp_RLP_resetPrelevate";
this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[12].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[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[13].Connection = this.Connection;
this._commandCollection[13].CommandText = "dbo.stp_UDC_upsertPrelevato";
this._commandCollection[13].CommandText = "dbo.stp_RLP_sbloccaNonPrelevate";
this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[14].Connection = this.Connection;
this._commandCollection[14].CommandText = "dbo.stp_RLP_updateQty";
this._commandCollection[14].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[14].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[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[15] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[15].Connection = this.Connection;
this._commandCollection[15].CommandText = "dbo.stp_UDC_upsertPrelevato";
this._commandCollection[15].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[15].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[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.NVarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[15].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -23278,8 +23290,40 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable getByCodLista(string CodLista) {
public virtual DS_magazzino.RigheListePrelievoDataTable getBloccateMovByUdc(string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC));
}
DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable getBloccateQtaByUdc(string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(UDC));
}
DS_magazzino.RigheListePrelievoDataTable dataTable = new DS_magazzino.RigheListePrelievoDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable getByCodLista(string CodLista) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((CodLista == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23295,7 +23339,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable getByCodListaPrelevate(string CodLista) {
this.Adapter.SelectCommand = this.CommandCollection[2];
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((CodLista == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23311,7 +23355,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable getByUdc(string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[3];
this.Adapter.SelectCommand = this.CommandCollection[5];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23327,7 +23371,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable getOpenByUserTipo(string CodSoggetto, string CodTipoLista) {
this.Adapter.SelectCommand = this.CommandCollection[4];
this.Adapter.SelectCommand = this.CommandCollection[6];
if ((CodSoggetto == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23349,7 +23393,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable getPrelevateByUdc(string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[5];
this.Adapter.SelectCommand = this.CommandCollection[7];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23365,7 +23409,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable setAnnullaUdcPrelevato(string CodLista, string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[6];
this.Adapter.SelectCommand = this.CommandCollection[8];
if ((CodLista == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23387,7 +23431,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.RigheListePrelievoDataTable upsertPrelevato(string CodLista, string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[13];
this.Adapter.SelectCommand = this.CommandCollection[15];
if ((CodLista == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23608,60 +23652,6 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_RigheListePrelievo_eliminaNonPrelevate(string CodLista) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
if ((CodLista == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(CodLista));
}
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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_RLP_deleteFromCodLista(string Original_CodLista) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
if ((Original_CodLista == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(Original_CodLista));
}
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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_RLP_eliminaNonPrelevate(string CodLista) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
if ((CodLista == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -23688,8 +23678,62 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_RLP_resetPrelevate(string CodLista) {
public virtual int stp_RLP_deleteFromCodLista(string Original_CodLista) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
if ((Original_CodLista == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(Original_CodLista));
}
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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_RLP_eliminaNonPrelevate(string CodLista) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
if ((CodLista == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(CodLista));
}
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;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_RLP_resetPrelevate(string CodLista) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12];
if ((CodLista == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23716,7 +23760,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_RLP_sbloccaNonPrelevate(string CodLista, string UDC) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[11];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[13];
if ((CodLista == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -23749,7 +23793,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_RLP_updateQty(string UDC, global::System.Nullable<decimal> Qta) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[14];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="137" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoCartellini" ZOrder="1" X="79" Y="230" Height="495" Width="259" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:AnagMag" ZOrder="6" X="1047" Y="389" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
@@ -19,7 +19,7 @@
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="3" X="733" Y="1102" Height="362" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:V_DettMagPart" ZOrder="13" X="1027" Y="998" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="21" X="735" Y="891" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:RigheListePrelievo" ZOrder="18" X="86" Y="797" Height="307" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:RigheListePrelievo" ZOrder="18" X="86" Y="797" Height="307" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="5" X="430" Y="879" Height="381" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_righeListePrelievoPosizione" ZOrder="19" X="400" Y="1301" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_particolariEsponenteFigura" ZOrder="25" X="1042" Y="1386" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
@@ -124,7 +124,7 @@
<Y>926</Y>
</Point>
<Point>
<X>319</X>
<X>352</X>
<Y>926</Y>
</Point>
</RoutePoints>
+3
View File
@@ -342,8 +342,11 @@
</ItemGroup>
<ItemGroup>
<Content Include="SqlScripts\V1.2\GMW_410_TEKAL\Sincroniz da TK_GMWTest a TK_GMW NON USARE.txt" />
<None Include="SqlScripts\V2.0\GMW_00463.sql" />
<None Include="SqlScripts\V2.0\GMW_00462.sql" />
<None Include="SqlScripts\V2.0\GMW_00461.sql" />
<None Include="SqlScripts\V2.0\GMW_00452_Sistemazione Viste TOP.sql" />
<None Include="SqlScripts\Vocabolario\vocab_463.sql" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+38 -2
View File
@@ -302,6 +302,38 @@ namespace GMW_data
return answ;
}
/// <summary>
/// verifica se l'UDC indicato POSSA ESSERE MOVIMENTATO (ovvero NON in LDP in stato "bloccato")
/// </summary>
/// <param name="UDC"></param>
/// <returns></returns>
public bool checkUDC_mov(string UDC)
{
bool answ = false;
try
{
answ = (taRigheListePrelievo.getBloccateMovByUdc(UDC).Rows.Count == 0);
}
catch
{ }
return answ;
}
/// <summary>
/// verifica se l'UDC indicato POSSA ESSERE OGGETTO DI RETTIFICA QTA (ovvero NON in LDP in stato "bloccato")
/// </summary>
/// <param name="UDC"></param>
/// <returns></returns>
public bool checkUDC_qty(string UDC)
{
bool answ = false;
try
{
answ = (taRigheListePrelievo.getBloccateQtaByUdc(UDC).Rows.Count == 0);
}
catch
{ }
return answ;
}
/// <summary>
/// effettua lo scaricamento (da db e da AS400) degli UDC di MP/WIP, registrando l'evento "UDC_CONS"
/// </summary>
/// <param name="UDC">Codice UDC</param>
@@ -1483,6 +1515,10 @@ namespace GMW_data
// leggo da righe lista prelievo il dato udc che mi serve
DS_magazzino.RigheListePrelievoDataTable tabellaRigheListaPrelievo = taRigheListePrelievo.getByCodListaPrelevate(CodLista);
DS_magazzino.RigheListePrelievoRow rigaListaPrelievo = tabellaRigheListaPrelievo[0];
// Modifica x gestioen "blocco " da stato LDP: PRIMA passo a bozza...
taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.bozza);
// sposto ("metto a terra") gli UDC
string _UDC = "";
foreach (DS_magazzino.RigheListePrelievoRow row in tabellaRigheListaPrelievo.Rows)
@@ -1517,8 +1553,8 @@ namespace GMW_data
}
// indico le righe come NON prelevate...
taRigheListePrelievo.stp_RLP_resetPrelevate(CodLista);
// aggiorno stato lista che torna a BOZZA
taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.bozza);
//// aggiorno stato lista che torna a BOZZA
//taElencoListePrelievo.updateStato(CodSoggetto, CodLista, (int)statoLista.bozza);
answ = esitoOperazione.ok;
logger.lg.scriviLog(string.Format(" | {0} | resettata lista di prelievo UDC {1} | utente {2} | tipo {2}", clientIp, CodLista, CodSoggetto), tipoLog.INFO);
}
+233
View File
@@ -0,0 +1,233 @@
/*
Modifica di tab conf x definire se si possano spostare o modificare qta degli UDC in liste di prelievo secondo lo stato di queste LDP
*/
alter table AnagStatiListe add
canMovUDC bit,
canQtaUDC bit;
go
set xact_abort on
go
begin transaction
go
UPDATE dbo.AnagStatiListe SET
canMovUDC=1, canQtaUDC=1
WHERE CodStatoLista=0
UPDATE dbo.AnagStatiListe SET
canMovUDC=1, canQtaUDC=1
WHERE CodStatoLista=1
UPDATE dbo.AnagStatiListe SET
canMovUDC=1, canQtaUDC=1
WHERE CodStatoLista=2
UPDATE dbo.AnagStatiListe SET
canMovUDC=1, canQtaUDC=1
WHERE CodStatoLista=3
UPDATE dbo.AnagStatiListe SET
canMovUDC=0, canQtaUDC=0
WHERE CodStatoLista=4
go
commit transaction
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/***************************************
* STORED stp_spostaUdc
*
* sposta un UDC, salvandone la posizione precedente (se esiste) nella tab storica
*
* Steamware, S.E.L.
* mod: 2010.06.11
*
****************************************/
alter PROCEDURE stp_spostaUdc
(
@CodCS VARCHAR(2),
@UDC VARCHAR(50),
@IdxCellaTo INT,
@resetRLP BIT
)
AS
BEGIN TRAN
-- DICHIARAZIONI iniziali variabili
DECLARE @IdxCellaFrom INT
DECLARE @capienza INT
DECLARE @numUdc INT
DECLARE @udcInLdpPrel BIT
-- controllo cella di partenza
SET @IdxCellaFrom = (SELECT IdxCella FROM PosizioneUdcCorrente WHERE UDC = @UDC)
SET @IdxCellaFrom = ISNULL(@IdxCellaFrom,0) -- controllo x cella null...
-- controllo UDC, se faccia parte di LDP che NON permette MOV...
SET @udcInLdpPrel = ( SELECT ISNULL(COUNT(rldp.UDC),0)
FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp
ON ldp.CodLista=rldp.CodLista INNER JOIN AnagStatiListe asl
ON ldp.CodStatoLista = asl.CodStatoLista
WHERE asl.canMovUDC = 0
AND rldp.UDC=@UDC )
-- controllo se cella di destinazione e di partenza coincidono NON FACCIO NULLA... altrimenti procedo
IF (@IdxCellaTo <> @IdxCellaFrom)
BEGIN
-- controllo UDC "libero" da LDP (ovvero non faccia parte di LDP in uno stato che NON permette MOV, nel qual caso NON sposto)
IF (@udcInLdpPrel = 0)
-- tutto ok PROCEDO!
BEGIN
-- controllo se la cella di partenza vada indicata come piena o meno
SET @capienza = (
SELECT tc.Capienza
FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella
WHERE c.IdxCella = @IdxCellaFrom
)
SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaFrom)
-- se capienza cella di partenza NON raggiunta aggiorno NON Piena
IF(@numUdc -1 < @capienza)
BEGIN
EXEC stp_celle_updPiena @IdxCellaFrom, 0
END
-- cancello posizione occupata
DELETE
FROM PosizioneUdcCorrente
WHERE UDC = @UDC
-- SE RICHIESTO cancello eventuali righe liste di prelievo FUSI per l'UDC
IF(@resetRLP = 1)
BEGIN
DELETE FROM RigheListePrelievo
WHERE UDC = @UDC AND CodLista IN (
SELECT CodLista FROM ElencoListePrelievo
--WHERE CodTipoLista='01-PreFus'
WHERE CodStatoLista < 4
)
END
-- creo una nuova posizione per l'UDC
INSERT INTO PosizioneUdcCorrente(UDC, IdxCella, CodCS, DataRif)
VALUES(@UDC, @IdxCellaTo, @CodCS, GETDATE())
SET @numUdc = (SELECT COUNT(*) FROM PosizioneUdcCorrente WHERE IdxCella = @IdxCellaTo)
-- controllo se la cella di dest vada indicata come piena, altrimenti NON la indicherò (mai) come piena...
SET @capienza = (
SELECT CASE CheckPiena WHEN 1 THEN tc.Capienza ELSE @numUdc + 1 END
FROM TipoCella TC INNER JOIN Celle c ON TC.IdxTipoCella=c.IdxTipoCella
WHERE c.IdxCella = @IdxCellaTo
)
-- se capienza raggiunta aggiorno...
IF(@numUdc >= @capienza)
BEGIN
EXEC stp_celle_updPiena @IdxCellaTo, 1
END
END -- cellaFrom e cellaTo non coincidono...
END -- UDC NON appartiene a LDP già prelevate...
COMMIT TRAN
RETURN
go
commit;
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/***************************************
* STORED stp_UDC_updateQty
*
* update qta UDC
*
* Steamware, S.E.L.
* mod: 2012.05.30
*
****************************************/
alter PROCEDURE stp_UDC_updateQty
(
@UDC VARCHAR(50),
@CodSoggetto VARCHAR(17),
@CodTipoDichiaraz CHAR(1),
@CodEvento VARCHAR(10),
@Qta DECIMAL(10,2)
)
AS
DECLARE @udcInLdpPrel BIT
------------------------------------------------------------------------------------------------------
-- Ciclo principale x edit record
------------------------------------------------------------------------------------------------------
BEGIN TRAN
-- controllo UDC, se faccia parte di LDP che NON permette modifica QTA...
SET @udcInLdpPrel = ( SELECT ISNULL(COUNT(rldp.UDC),0)
FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp
ON ldp.CodLista=rldp.CodLista INNER JOIN AnagStatiListe asl
ON ldp.CodStatoLista = asl.CodStatoLista
WHERE asl.canQtaUDC = 0
AND rldp.UDC=@UDC )
-- controllo UDC "libero" da LDP (ovvero non faccia parte di LDP in uno stato che NON permette Modifica QTA, nel qual caso NON sposto)
IF (@udcInLdpPrel = 0)
-- tutto ok PROCEDO!
BEGIN
-- modifico il record
UPDATE ElencoCartellini
SET Qta = @Qta
,ModDate = GETDATE()
,CodEvento = @CodEvento
,CodSoggetto = @CodSoggetto
WHERE UDC = @UDC
END
COMMIT TRAN
------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------
-- restituisco la tab dati con l'udc appena inserito
------------------------------------------------------------------------------------------------------
SELECT *
FROM ElencoCartellini
WHERE UDC = @UDC
------------------------------------------------------------------------------------------------------
RETURN
go
commit;
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(462, GETDATE())
GO
@@ -0,0 +1,70 @@
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/***************************************
* STORED stp_RLP_getBloccateMovByUdc
*
* ottiene ELENCO RLP bloccati x movimentazione dato UDC
*
* Steamware, S.E.L.
* mod: 2012.07.11
*
****************************************/
create PROCEDURE stp_RLP_getBloccateMovByUdc
(
@UDC VARCHAR(50)
)
AS
SELECT rldp.*
FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp
ON ldp.CodLista=rldp.CodLista INNER JOIN AnagStatiListe asl
ON ldp.CodStatoLista = asl.CodStatoLista
WHERE asl.canMovUDC = 0
AND rldp.UDC=@UDC
RETURN
go
/***************************************
* STORED stp_RLP_getBloccateQtaByUdc
*
* ottiene ELENCO RLP bloccati x rettifica qta dato UDC
*
* Steamware, S.E.L.
* mod: 2012.07.11
*
****************************************/
create PROCEDURE stp_RLP_getBloccateQtaByUdc
(
@UDC VARCHAR(50)
)
AS
SELECT rldp.*
FROM RigheListePrelievo rldp INNER JOIN ElencoListePrelievo ldp
ON ldp.CodLista=rldp.CodLista INNER JOIN AnagStatiListe asl
ON ldp.CodStatoLista = asl.CodStatoLista
WHERE asl.canQtaUDC = 0
AND rldp.UDC=@UDC
RETURN
go
commit;
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(463, GETDATE())
GO
@@ -0,0 +1,6 @@
exec stp_insNewLemma 'UdcNonSpostabile', 'UDC non spostabile'
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(463, GETDATE())
GO
+1 -1
View File
@@ -4,7 +4,7 @@
</configSections>
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=TK_GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"
providerName="System.Data.SqlClient" />
<add name="GMW_data.Properties.Settings.SP_produzioneConnectionString"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_produzione;Persist Security Info=True;User ID=sa;Password=keyhammer"
Binary file not shown.
+1 -1
View File
@@ -4,7 +4,7 @@
</configSections>
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=TK_GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"
providerName="System.Data.SqlClient" />
<add name="GMW_data.Properties.Settings.SP_produzioneConnectionString"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_produzione;Persist Security Info=True;User ID=sa;Password=keyhammer"
Binary file not shown.
+3
View File
@@ -103,6 +103,9 @@
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\PDF\**\**" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\PDF\**\**\*" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\PDF\**\**\**\*.pdf" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\images\flusso_*.png*" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\temp" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\temp\*" />
</ItemGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.WebDeployment.targets.
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="2.0" />
<add key="minRev" value="461" />
<add key="minRev" value="463" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
+6 -6
View File
@@ -390,14 +390,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW"
"ProductCode" = "8:{A845DA7A-F5D7-4CCB-85D9-5CEDB0C87E7B}"
"PackageCode" = "8:{55FBAB62-E12B-4B2A-B342-2E5199248E2C}"
"ProductCode" = "8:{86470EBD-1200-4E32-8EAE-1F19E5B1F203}"
"PackageCode" = "8:{0DBA4322-802B-4E0F-9DB4-482D95642733}"
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
"RestartWWWService" = "11:TRUE"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:2.0.461"
"ProductVersion" = "8:2.0.463"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
@@ -870,7 +870,7 @@
}
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_4FD0E5B75A7F47B79080EC0983BE6583"
{
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\InstallerTK\\SetDirectoryPermission.exe"
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Release\\SetDirectoryPermission.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"
@@ -898,7 +898,7 @@
}
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_8BDD7AA9D46A46EC80880F83F13C902E"
{
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\InstallerTK\\IISConsoleVB.exe"
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Release\\IISConsoleVB.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"
Binary file not shown.
Binary file not shown.
@@ -375,14 +375,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW_test"
"ProductCode" = "8:{FC0BA40A-7EE7-466C-B8F1-0748A7C10D84}"
"PackageCode" = "8:{3ECC99A6-8B8F-449F-BFA5-84405D5B7677}"
"ProductCode" = "8:{615A650C-5E1D-4FBA-BAFC-1A4E027182D2}"
"PackageCode" = "8:{013C4D9C-9E80-4FAB-B7CA-82C918DD2767}"
"UpgradeCode" = "8:{6FD64E39-D93B-4ADA-ADF3-303A1BCA49C2}"
"RestartWWWService" = "11:TRUE"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:2.0.461"
"ProductVersion" = "8:2.0.463"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
@@ -827,7 +827,7 @@
{
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_110D6612090D4EDA92F772F593B23D78"
{
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\InstallerSP\\IISConsoleVB.exe"
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Release\\IISConsoleVB.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_D4983B53F0234BFF98835BF3AFECBB8D"
@@ -855,7 +855,7 @@
}
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_179F2C709A0749C4A5EBA956FADE7EE3"
{
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\InstallerSP\\SetDirectoryPermission.exe"
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Release\\SetDirectoryPermission.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_D4983B53F0234BFF98835BF3AFECBB8D"