Update delibere funziona (tranne grafica...)
git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@263 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -208,3 +208,103 @@
|
||||
background-color: #FFAAFF;
|
||||
padding: 0px 2px 0px 2px;
|
||||
}
|
||||
.btnDeliberaFusi
|
||||
{
|
||||
display: block;
|
||||
width: 100px;
|
||||
height:40px;
|
||||
border: solid 2px green;
|
||||
background-color: #AAFFAA;
|
||||
padding: 0px 2px 0px 2px;
|
||||
}
|
||||
.btnDeliberaWipPre
|
||||
{
|
||||
display: block;
|
||||
width: 100px;
|
||||
height:40px;
|
||||
border: solid 2px green;
|
||||
background-color: #AAFFAA;
|
||||
padding: 0px 2px 0px 2px;
|
||||
}
|
||||
.btnDeliberaWipPost
|
||||
{
|
||||
display: block;
|
||||
width: 100px;
|
||||
height:40px;
|
||||
border: solid 2px green;
|
||||
background-color: #AAFFAA;
|
||||
padding: 0px 2px 0px 2px;
|
||||
}
|
||||
|
||||
|
||||
/* classe comune per bottoni selezione terminalino
|
||||
|
||||
.bottoniSel
|
||||
|
||||
{
|
||||
display: block;
|
||||
width: 100px;
|
||||
height:40px;
|
||||
padding: 0px 2px 0px 2px;
|
||||
}
|
||||
|
||||
*/
|
||||
/* id per bottoni singoli */
|
||||
|
||||
/*
|
||||
|
||||
|
||||
|
||||
.btnDeposita
|
||||
{
|
||||
border: solid 2px red;
|
||||
background-color: #FFAAAA;
|
||||
}
|
||||
.btnSposta
|
||||
{
|
||||
border: solid 2px green;
|
||||
background-color: #AAFFAA;
|
||||
}
|
||||
.btnRettifica
|
||||
{
|
||||
border: solid 2px blue;
|
||||
background-color: #AAAAFF;
|
||||
}
|
||||
.btnPreleva
|
||||
{
|
||||
border: solid 2px red;
|
||||
background-color: #FFAAFF;
|
||||
}
|
||||
.btnConferma
|
||||
{
|
||||
border: solid 2px yellow;
|
||||
background-color: #FFFFAA;
|
||||
}
|
||||
.btnCellaPiena
|
||||
{
|
||||
border: solid 2px blue;
|
||||
background-color: #AAFFFF;
|
||||
}
|
||||
.btnBarcode
|
||||
{
|
||||
border: solid 2px blue;
|
||||
background-color: #AAFFFF;
|
||||
}
|
||||
.btnChiudi
|
||||
{
|
||||
border: solid 2px yellow;
|
||||
background-color: #FFFFAA;
|
||||
}
|
||||
.btnChiudiInput
|
||||
{
|
||||
border: solid 2px red;
|
||||
background-color: #FFAAFF;
|
||||
}
|
||||
.btnDelibera
|
||||
{
|
||||
border: solid 2px green;
|
||||
background-color: #AAFFAA;
|
||||
}
|
||||
|
||||
|
||||
*/
|
||||
|
||||
@@ -119,18 +119,13 @@
|
||||
<add key="_adminEmail" value="samuele@steamware.net" />
|
||||
<add key="_logDir" value="~/logs/" />
|
||||
<add key="_smtpCli" value="keyhammer.ath.cx" />
|
||||
<add key="GMWConnectionString" value="Data Source=localhost\sql2008;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="PermessiConnectionString" value="Data Source=localhost\sql2008;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=localhost\sql2008;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=localhost\sql2008;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<!--<add key="GMWConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="GMWConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" />-->
|
||||
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=localhost\sql2008;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
<!--<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>-->
|
||||
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
|
||||
</connectionStrings>
|
||||
<system.web.extensions>
|
||||
<scripting>
|
||||
|
||||
@@ -9,6 +9,17 @@
|
||||
<asp:Button ID="btnSposta" runat="server" CssClass="btnSposta" OnClick="btnSposta_Click" />
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin: 2px; text-align: center;">
|
||||
<div style="float: left;">
|
||||
<asp:Button ID="btnDeliberaFusi" runat="server" CssClass="btnDeliberaFusi" OnClick="btnDeliberaFusi_Click" />
|
||||
</div>
|
||||
<div style="float: left;">
|
||||
<asp:Button ID="btnDeliberaWipPre" runat="server" CssClass="btnDeliberaWipPre" OnClick="btnDeliberaWipPre_Click" />
|
||||
</div>
|
||||
<div style="float: right;">
|
||||
<asp:Button ID="btnDeliberaWipPost" runat="server" CssClass="btnDeliberaWipPost" OnClick="btnDeliberaWipPost_Click" />
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin: 2px; text-align: center;">
|
||||
<div style="float: left;">
|
||||
<asp:Button ID="btnRettifica" runat="server" CssClass="btnRettifica" OnClick="btnRettifica_Click" />
|
||||
|
||||
@@ -255,7 +255,7 @@ namespace GMW_Term.WebUserControls
|
||||
btnSposta.Visible = false;
|
||||
btnRettifica.Visible = false;
|
||||
}
|
||||
// permetto dichiudere sempre
|
||||
// permetto di chiudere sempre
|
||||
btnChiudi.Visible = true;
|
||||
// button preleva abilitato SOLO SE c'è una lista di prelievo attiva per l'utente e per il particolare corrente... e se l'UDC non è stato prelevato
|
||||
if (_CodLista != "" && (_PartLdP == _PartUdc) && _UdcDisp)
|
||||
@@ -266,9 +266,59 @@ namespace GMW_Term.WebUserControls
|
||||
{
|
||||
btnPreleva.Visible = false;
|
||||
}
|
||||
// setup ulteriori pulsanti
|
||||
setupBtnDelibere();
|
||||
setupBtnChiudi();
|
||||
}
|
||||
/// <summary>
|
||||
/// sistemo btn x delibere
|
||||
/// </summary>
|
||||
private void setupBtnDelibere()
|
||||
{
|
||||
string codTipoDelibera = "";
|
||||
DS_magazzino.v_UdcDetailRow rigaUdc;
|
||||
try
|
||||
{
|
||||
rigaUdc = MagClass.magazzino.taDettUDC.getByFullUdc(_UDC, _CodCS)[0];
|
||||
codTipoDelibera = MagClass.magazzino.taPosizDelib.getByIdxPosizione(rigaUdc.IdxPosizione)[0].CodTipoDelibera;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// se la posizione prevede una delibera mostro il relativo pulsante...
|
||||
if (codTipoDelibera != "")
|
||||
{
|
||||
switch (codTipoDelibera) //!!!OCCHIO HARD CODED!!!
|
||||
{
|
||||
case "DelibFusi":
|
||||
btnDeliberaFusi.Visible = true;
|
||||
btnDeliberaWipPre.Visible = false;
|
||||
btnDeliberaWipPost.Visible = false;
|
||||
break;
|
||||
case "DelibWipPost":
|
||||
btnDeliberaFusi.Visible = false;
|
||||
btnDeliberaWipPre.Visible = false;
|
||||
btnDeliberaWipPost.Visible = true;
|
||||
break;
|
||||
case "DelibWipPre":
|
||||
btnDeliberaFusi.Visible = false;
|
||||
btnDeliberaWipPre.Visible = true;
|
||||
btnDeliberaWipPost.Visible = false;
|
||||
break;
|
||||
default:
|
||||
btnDeliberaFusi.Visible = false;
|
||||
btnDeliberaWipPre.Visible = false;
|
||||
btnDeliberaWipPost.Visible = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
btnDeliberaFusi.Visible = false;
|
||||
btnDeliberaWipPre.Visible = false;
|
||||
btnDeliberaWipPost.Visible = false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// sistemo btn x chiusura
|
||||
/// </summary>
|
||||
private void setupBtnChiudi()
|
||||
@@ -276,11 +326,6 @@ namespace GMW_Term.WebUserControls
|
||||
// mostro chiudi generale o chiudi del modulo a seconda dello stato
|
||||
switch (editAttivo)
|
||||
{
|
||||
case tipoEditUdc.nd:
|
||||
btnBarcode.Visible = true;
|
||||
btnChiudiInput.Visible = false;
|
||||
btnChiudi.Visible = true;
|
||||
break;
|
||||
case tipoEditUdc.deposito:
|
||||
btnBarcode.Visible = true;
|
||||
btnChiudiInput.Visible = true;
|
||||
@@ -328,6 +373,13 @@ namespace GMW_Term.WebUserControls
|
||||
btnChiudiInput.AccessKey = "0";
|
||||
btnBarcode.Text = "[1] - Barcode";
|
||||
btnBarcode.AccessKey = "1";
|
||||
// buttons delibera
|
||||
btnDeliberaFusi.Text = "[3] - F " + traduci("delibera");
|
||||
btnDeliberaFusi.AccessKey = "3";
|
||||
btnDeliberaWipPre.Text = "[3] - pre " + traduci("delibera");
|
||||
btnDeliberaWipPre.AccessKey = "3";
|
||||
btnDeliberaWipPost.Text = "[3] - post " + traduci("delibera");
|
||||
btnDeliberaWipPost.AccessKey = "3";
|
||||
// buttons secondari
|
||||
btnConferma.Text = "[2] - OK";
|
||||
btnConferma.AccessKey = "2";
|
||||
@@ -528,6 +580,48 @@ namespace GMW_Term.WebUserControls
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// click button DELIBERA FUSI
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnDeliberaFusi_Click(object sender, EventArgs e)
|
||||
{
|
||||
editAttivo = tipoEditUdc.deliberaFusi;
|
||||
doResetPnl();
|
||||
if (eh_btnPressed != null)
|
||||
{
|
||||
eh_btnPressed(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// click button DELIBERA WIP pre spedizione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnDeliberaWipPre_Click(object sender, EventArgs e)
|
||||
{
|
||||
editAttivo = tipoEditUdc.deliberaWipPre;
|
||||
doResetPnl();
|
||||
if (eh_btnPressed != null)
|
||||
{
|
||||
eh_btnPressed(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// click button DELIBERA WIP post spedizione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnDeliberaWipPost_Click(object sender, EventArgs e)
|
||||
{
|
||||
editAttivo = tipoEditUdc.deliberaWipPost;
|
||||
doResetPnl();
|
||||
if (eh_btnPressed != null)
|
||||
{
|
||||
eh_btnPressed(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// richiesta di spostamento di un UDC: mostro input x nuova posizione!
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
@@ -590,7 +684,7 @@ namespace GMW_Term.WebUserControls
|
||||
case tipoEditUdc.rettifica:
|
||||
break;
|
||||
case tipoEditUdc.spostamento:
|
||||
if (eh_btnPressed != null)
|
||||
if (eh_btnPressed != null)
|
||||
{
|
||||
eh_btnPressed(this, new EventArgs());
|
||||
}
|
||||
|
||||
@@ -40,6 +40,33 @@ namespace GMW_Term.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnSposta;
|
||||
|
||||
/// <summary>
|
||||
/// btnDeliberaFusi control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnDeliberaFusi;
|
||||
|
||||
/// <summary>
|
||||
/// btnDeliberaWipPre control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnDeliberaWipPre;
|
||||
|
||||
/// <summary>
|
||||
/// btnDeliberaWipPost control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnDeliberaWipPost;
|
||||
|
||||
/// <summary>
|
||||
/// btnRettifica control.
|
||||
/// </summary>
|
||||
|
||||
@@ -211,8 +211,17 @@ namespace GMW_Term.WebUserControls
|
||||
{
|
||||
case tipoEditUdc.nd:
|
||||
break;
|
||||
case tipoEditUdc.deliberaFusi:
|
||||
deliberaUdc();
|
||||
break;
|
||||
case tipoEditUdc.deliberaWipPost:
|
||||
deliberaUdc();
|
||||
break;
|
||||
case tipoEditUdc.deliberaWipPre:
|
||||
deliberaUdc();
|
||||
break;
|
||||
case tipoEditUdc.deposito:
|
||||
depositaUdc(_cellaPiena);
|
||||
depositaUdc(_cellaPiena);
|
||||
break;
|
||||
case tipoEditUdc.prelievo:
|
||||
break;
|
||||
@@ -378,6 +387,36 @@ namespace GMW_Term.WebUserControls
|
||||
|
||||
#region metodi operativi interni
|
||||
|
||||
/// <summary>
|
||||
/// effattua al delibera dell'UDC indicato
|
||||
/// </summary>
|
||||
private void deliberaUdc()
|
||||
{
|
||||
string tipoDelibera = "";
|
||||
switch (editAttivo)
|
||||
{
|
||||
case tipoEditUdc.deliberaFusi:
|
||||
tipoDelibera = "DelibFusi";
|
||||
break;
|
||||
case tipoEditUdc.deliberaWipPost:
|
||||
tipoDelibera = "DelibWipPost";
|
||||
break;
|
||||
case tipoEditUdc.deliberaWipPre:
|
||||
tipoDelibera = "DelibWipPre";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (tipoDelibera != "")
|
||||
{
|
||||
StateMachine.SM.deliberaUdc(_UDC, tipoDelibera);
|
||||
}
|
||||
// resetto buttons
|
||||
mod_btnUdc1.doReset();
|
||||
// aggiorna dati
|
||||
frmView.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// effettua salvataggio, mostra cella updated, eventuale set piena della cella
|
||||
/// </summary>
|
||||
@@ -597,6 +636,9 @@ namespace GMW_Term.WebUserControls
|
||||
public enum tipoEditUdc
|
||||
{
|
||||
nd,
|
||||
deliberaFusi,
|
||||
deliberaWipPost,
|
||||
deliberaWipPre,
|
||||
deposito,
|
||||
prelievo,
|
||||
rettifica,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1,4 +1,3 @@
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\ResolveAssemblyReference.cache
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_Term.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\GMW_Term.pdb
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\AjaxControlToolkit.dll
|
||||
@@ -25,5 +24,6 @@ c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\tr-TR\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\zh-CHS\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\bin\zh-CHT\AjaxControlToolkit.resources.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\ResolveAssemblyReference.cache
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.dll
|
||||
c:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\GMW\GMW_Term\obj\Debug\GMW_Term.pdb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -345,7 +345,7 @@
|
||||
"Name" = "8:Microsoft Visual Studio"
|
||||
"ProductName" = "8:GMW_WS"
|
||||
"ProductCode" = "8:{09427394-A176-4B2D-A2C2-ABD5D89F2D23}"
|
||||
"PackageCode" = "8:{8E199F94-7D01-4BB2-BB64-FCAA56D8D089}"
|
||||
"PackageCode" = "8:{7CA3BE45-9C3A-42DC-9FBE-E882C973861D}"
|
||||
"UpgradeCode" = "8:{BA470335-3D4B-4C20-8152-90A5F0F14FE0}"
|
||||
"RestartWWWService" = "11:TRUE"
|
||||
"RemovePreviousVersions" = "11:TRUE"
|
||||
|
||||
Generated
+602
-81
@@ -67,6 +67,8 @@ namespace GMW_data {
|
||||
|
||||
private RapQualDataTable tableRapQual;
|
||||
|
||||
private v_posizioniDelibereDataTable tablev_posizioniDelibere;
|
||||
|
||||
private global::System.Data.DataRelation relationFK_PosizioneUdcCorrente_ElencoCartellini;
|
||||
|
||||
private global::System.Data.DataRelation relationFK_PosizioneUdcStorico_ElencoCartellini;
|
||||
@@ -178,6 +180,9 @@ namespace GMW_data {
|
||||
if ((ds.Tables["RapQual"] != null)) {
|
||||
base.Tables.Add(new RapQualDataTable(ds.Tables["RapQual"]));
|
||||
}
|
||||
if ((ds.Tables["v_posizioniDelibere"] != null)) {
|
||||
base.Tables.Add(new v_posizioniDelibereDataTable(ds.Tables["v_posizioniDelibere"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -385,6 +390,15 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
||||
public v_posizioniDelibereDataTable v_posizioniDelibere {
|
||||
get {
|
||||
return this.tablev_posizioniDelibere;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.BrowsableAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
|
||||
@@ -507,6 +521,9 @@ namespace GMW_data {
|
||||
if ((ds.Tables["RapQual"] != null)) {
|
||||
base.Tables.Add(new RapQualDataTable(ds.Tables["RapQual"]));
|
||||
}
|
||||
if ((ds.Tables["v_posizioniDelibere"] != null)) {
|
||||
base.Tables.Add(new v_posizioniDelibereDataTable(ds.Tables["v_posizioniDelibere"]));
|
||||
}
|
||||
this.DataSetName = ds.DataSetName;
|
||||
this.Prefix = ds.Prefix;
|
||||
this.Namespace = ds.Namespace;
|
||||
@@ -663,6 +680,12 @@ namespace GMW_data {
|
||||
this.tableRapQual.InitVars();
|
||||
}
|
||||
}
|
||||
this.tablev_posizioniDelibere = ((v_posizioniDelibereDataTable)(base.Tables["v_posizioniDelibere"]));
|
||||
if ((initTable == true)) {
|
||||
if ((this.tablev_posizioniDelibere != null)) {
|
||||
this.tablev_posizioniDelibere.InitVars();
|
||||
}
|
||||
}
|
||||
this.relationFK_PosizioneUdcCorrente_ElencoCartellini = this.Relations["FK_PosizioneUdcCorrente_ElencoCartellini"];
|
||||
this.relationFK_PosizioneUdcStorico_ElencoCartellini = this.Relations["FK_PosizioneUdcStorico_ElencoCartellini"];
|
||||
this.relationFK_Blocchi_AnagMag = this.Relations["FK_Blocchi_AnagMag"];
|
||||
@@ -725,6 +748,8 @@ namespace GMW_data {
|
||||
base.Tables.Add(this.tableV_MagazziniLogiciOverview);
|
||||
this.tableRapQual = new RapQualDataTable();
|
||||
base.Tables.Add(this.tableRapQual);
|
||||
this.tablev_posizioniDelibere = new v_posizioniDelibereDataTable();
|
||||
base.Tables.Add(this.tablev_posizioniDelibere);
|
||||
this.relationFK_PosizioneUdcCorrente_ElencoCartellini = new global::System.Data.DataRelation("FK_PosizioneUdcCorrente_ElencoCartellini", new global::System.Data.DataColumn[] {
|
||||
this.tableElencoCartellini.UDCColumn}, new global::System.Data.DataColumn[] {
|
||||
this.tablePosizioneUdcCorrente.UDCColumn}, false);
|
||||
@@ -880,6 +905,11 @@ namespace GMW_data {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private bool ShouldSerializev_posizioniDelibere() {
|
||||
return false;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
||||
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
|
||||
@@ -975,6 +1005,8 @@ namespace GMW_data {
|
||||
|
||||
public delegate void RapQualRowChangeEventHandler(object sender, RapQualRowChangeEvent e);
|
||||
|
||||
public delegate void v_posizioniDelibereRowChangeEventHandler(object sender, v_posizioniDelibereRowChangeEvent e);
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
@@ -8405,6 +8437,254 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the strongly named DataTable class.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
[global::System.Serializable()]
|
||||
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
||||
public partial class v_posizioniDelibereDataTable : global::System.Data.TypedTableBase<v_posizioniDelibereRow> {
|
||||
|
||||
private global::System.Data.DataColumn columnIdxPosizione;
|
||||
|
||||
private global::System.Data.DataColumn columnCodTipoDelibera;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_posizioniDelibereDataTable() {
|
||||
this.TableName = "v_posizioniDelibere";
|
||||
this.BeginInit();
|
||||
this.InitClass();
|
||||
this.EndInit();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal v_posizioniDelibereDataTable(global::System.Data.DataTable table) {
|
||||
this.TableName = table.TableName;
|
||||
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
|
||||
this.CaseSensitive = table.CaseSensitive;
|
||||
}
|
||||
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
|
||||
this.Locale = table.Locale;
|
||||
}
|
||||
if ((table.Namespace != table.DataSet.Namespace)) {
|
||||
this.Namespace = table.Namespace;
|
||||
}
|
||||
this.Prefix = table.Prefix;
|
||||
this.MinimumCapacity = table.MinimumCapacity;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected v_posizioniDelibereDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
||||
base(info, context) {
|
||||
this.InitVars();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataColumn IdxPosizioneColumn {
|
||||
get {
|
||||
return this.columnIdxPosizione;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataColumn CodTipoDeliberaColumn {
|
||||
get {
|
||||
return this.columnCodTipoDelibera;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
public int Count {
|
||||
get {
|
||||
return this.Rows.Count;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_posizioniDelibereRow this[int index] {
|
||||
get {
|
||||
return ((v_posizioniDelibereRow)(this.Rows[index]));
|
||||
}
|
||||
}
|
||||
|
||||
public event v_posizioniDelibereRowChangeEventHandler v_posizioniDelibereRowChanging;
|
||||
|
||||
public event v_posizioniDelibereRowChangeEventHandler v_posizioniDelibereRowChanged;
|
||||
|
||||
public event v_posizioniDelibereRowChangeEventHandler v_posizioniDelibereRowDeleting;
|
||||
|
||||
public event v_posizioniDelibereRowChangeEventHandler v_posizioniDelibereRowDeleted;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void Addv_posizioniDelibereRow(v_posizioniDelibereRow row) {
|
||||
this.Rows.Add(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_posizioniDelibereRow Addv_posizioniDelibereRow(int IdxPosizione, string CodTipoDelibera) {
|
||||
v_posizioniDelibereRow rowv_posizioniDelibereRow = ((v_posizioniDelibereRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
IdxPosizione,
|
||||
CodTipoDelibera};
|
||||
rowv_posizioniDelibereRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowv_posizioniDelibereRow);
|
||||
return rowv_posizioniDelibereRow;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_posizioniDelibereRow FindByCodTipoDelibera(string CodTipoDelibera) {
|
||||
return ((v_posizioniDelibereRow)(this.Rows.Find(new object[] {
|
||||
CodTipoDelibera})));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public override global::System.Data.DataTable Clone() {
|
||||
v_posizioniDelibereDataTable cln = ((v_posizioniDelibereDataTable)(base.Clone()));
|
||||
cln.InitVars();
|
||||
return cln;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Data.DataTable CreateInstance() {
|
||||
return new v_posizioniDelibereDataTable();
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal void InitVars() {
|
||||
this.columnIdxPosizione = base.Columns["IdxPosizione"];
|
||||
this.columnCodTipoDelibera = base.Columns["CodTipoDelibera"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitClass() {
|
||||
this.columnIdxPosizione = new global::System.Data.DataColumn("IdxPosizione", typeof(int), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnIdxPosizione);
|
||||
this.columnCodTipoDelibera = new global::System.Data.DataColumn("CodTipoDelibera", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnCodTipoDelibera);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnCodTipoDelibera}, true));
|
||||
this.columnIdxPosizione.AllowDBNull = false;
|
||||
this.columnCodTipoDelibera.AllowDBNull = false;
|
||||
this.columnCodTipoDelibera.Unique = true;
|
||||
this.columnCodTipoDelibera.MaxLength = 50;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_posizioniDelibereRow Newv_posizioniDelibereRow() {
|
||||
return ((v_posizioniDelibereRow)(this.NewRow()));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
||||
return new v_posizioniDelibereRow(builder);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override global::System.Type GetRowType() {
|
||||
return typeof(v_posizioniDelibereRow);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanged(e);
|
||||
if ((this.v_posizioniDelibereRowChanged != null)) {
|
||||
this.v_posizioniDelibereRowChanged(this, new v_posizioniDelibereRowChangeEvent(((v_posizioniDelibereRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowChanging(e);
|
||||
if ((this.v_posizioniDelibereRowChanging != null)) {
|
||||
this.v_posizioniDelibereRowChanging(this, new v_posizioniDelibereRowChangeEvent(((v_posizioniDelibereRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleted(e);
|
||||
if ((this.v_posizioniDelibereRowDeleted != null)) {
|
||||
this.v_posizioniDelibereRowDeleted(this, new v_posizioniDelibereRowChangeEvent(((v_posizioniDelibereRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
||||
base.OnRowDeleting(e);
|
||||
if ((this.v_posizioniDelibereRowDeleting != null)) {
|
||||
this.v_posizioniDelibereRowDeleting(this, new v_posizioniDelibereRowChangeEvent(((v_posizioniDelibereRow)(e.Row)), e.Action));
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public void Removev_posizioniDelibereRow(v_posizioniDelibereRow row) {
|
||||
this.Rows.Remove(row);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
||||
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
||||
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
||||
DS_magazzino ds = new DS_magazzino();
|
||||
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
||||
any1.MinOccurs = new decimal(0);
|
||||
any1.MaxOccurs = decimal.MaxValue;
|
||||
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any1);
|
||||
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
||||
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
||||
any2.MinOccurs = new decimal(1);
|
||||
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
||||
sequence.Items.Add(any2);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute1.Name = "namespace";
|
||||
attribute1.FixedValue = ds.Namespace;
|
||||
type.Attributes.Add(attribute1);
|
||||
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
||||
attribute2.Name = "tableTypeName";
|
||||
attribute2.FixedValue = "v_posizioniDelibereDataTable";
|
||||
type.Attributes.Add(attribute2);
|
||||
type.Particle = sequence;
|
||||
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
||||
if (xs.Contains(dsSchema.TargetNamespace)) {
|
||||
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
||||
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
||||
try {
|
||||
global::System.Xml.Schema.XmlSchema schema = null;
|
||||
dsSchema.Write(s1);
|
||||
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
||||
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
||||
s2.SetLength(0);
|
||||
schema.Write(s2);
|
||||
if ((s1.Length == s2.Length)) {
|
||||
s1.Position = 0;
|
||||
s2.Position = 0;
|
||||
for (; ((s1.Position != s1.Length)
|
||||
&& (s1.ReadByte() == s2.ReadByte())); ) {
|
||||
;
|
||||
}
|
||||
if ((s1.Position == s1.Length)) {
|
||||
return type;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
finally {
|
||||
if ((s1 != null)) {
|
||||
s1.Close();
|
||||
}
|
||||
if ((s2 != null)) {
|
||||
s2.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
xs.Add(dsSchema);
|
||||
return type;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
@@ -10052,11 +10332,11 @@ namespace GMW_data {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public string Particolare {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tablev_UdcDetail.ParticolareColumn]));
|
||||
if (this.IsParticolareNull()) {
|
||||
return string.Empty;
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'Particolare\' in table \'v_UdcDetail\' is DBNull.", e);
|
||||
else {
|
||||
return ((string)(this[this.tablev_UdcDetail.ParticolareColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
@@ -12504,6 +12784,41 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents strongly named DataRow class.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
public partial class v_posizioniDelibereRow : global::System.Data.DataRow {
|
||||
|
||||
private v_posizioniDelibereDataTable tablev_posizioniDelibere;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal v_posizioniDelibereRow(global::System.Data.DataRowBuilder rb) :
|
||||
base(rb) {
|
||||
this.tablev_posizioniDelibere = ((v_posizioniDelibereDataTable)(this.Table));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public int IdxPosizione {
|
||||
get {
|
||||
return ((int)(this[this.tablev_posizioniDelibere.IdxPosizioneColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tablev_posizioniDelibere.IdxPosizioneColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public string CodTipoDelibera {
|
||||
get {
|
||||
return ((string)(this[this.tablev_posizioniDelibere.CodTipoDeliberaColumn]));
|
||||
}
|
||||
set {
|
||||
this[this.tablev_posizioniDelibere.CodTipoDeliberaColumn] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
@@ -13154,6 +13469,37 @@ namespace GMW_data {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Row event argument class
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
public class v_posizioniDelibereRowChangeEvent : global::System.EventArgs {
|
||||
|
||||
private v_posizioniDelibereRow eventRow;
|
||||
|
||||
private global::System.Data.DataRowAction eventAction;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_posizioniDelibereRowChangeEvent(v_posizioniDelibereRow row, global::System.Data.DataRowAction action) {
|
||||
this.eventRow = row;
|
||||
this.eventAction = action;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_posizioniDelibereRow Row {
|
||||
get {
|
||||
return this.eventRow;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public global::System.Data.DataRowAction Action {
|
||||
get {
|
||||
return this.eventAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace GMW_data.DS_magazzinoTableAdapters {
|
||||
@@ -23645,6 +23991,181 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///Represents the connection and commands used to retrieve and save data.
|
||||
///</summary>
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
|
||||
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[global::System.ComponentModel.ToolboxItem(true)]
|
||||
[global::System.ComponentModel.DataObjectAttribute(true)]
|
||||
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
||||
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public partial class v_posizioniDelibereTableAdapter : global::System.ComponentModel.Component {
|
||||
|
||||
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
||||
|
||||
private global::System.Data.SqlClient.SqlConnection _connection;
|
||||
|
||||
private global::System.Data.SqlClient.SqlTransaction _transaction;
|
||||
|
||||
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
||||
|
||||
private bool _clearBeforeFill;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public v_posizioniDelibereTableAdapter() {
|
||||
this.ClearBeforeFill = true;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
||||
get {
|
||||
if ((this._adapter == null)) {
|
||||
this.InitAdapter();
|
||||
}
|
||||
return this._adapter;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal global::System.Data.SqlClient.SqlConnection Connection {
|
||||
get {
|
||||
if ((this._connection == null)) {
|
||||
this.InitConnection();
|
||||
}
|
||||
return this._connection;
|
||||
}
|
||||
set {
|
||||
this._connection = value;
|
||||
if ((this.Adapter.InsertCommand != null)) {
|
||||
this.Adapter.InsertCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.DeleteCommand != null)) {
|
||||
this.Adapter.DeleteCommand.Connection = value;
|
||||
}
|
||||
if ((this.Adapter.UpdateCommand != null)) {
|
||||
this.Adapter.UpdateCommand.Connection = value;
|
||||
}
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
if ((this.CommandCollection[i] != null)) {
|
||||
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
||||
get {
|
||||
return this._transaction;
|
||||
}
|
||||
set {
|
||||
this._transaction = value;
|
||||
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
||||
this.CommandCollection[i].Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.DeleteCommand != null))) {
|
||||
this.Adapter.DeleteCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.InsertCommand != null))) {
|
||||
this.Adapter.InsertCommand.Transaction = this._transaction;
|
||||
}
|
||||
if (((this.Adapter != null)
|
||||
&& (this.Adapter.UpdateCommand != null))) {
|
||||
this.Adapter.UpdateCommand.Transaction = this._transaction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
||||
get {
|
||||
if ((this._commandCollection == null)) {
|
||||
this.InitCommandCollection();
|
||||
}
|
||||
return this._commandCollection;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public bool ClearBeforeFill {
|
||||
get {
|
||||
return this._clearBeforeFill;
|
||||
}
|
||||
set {
|
||||
this._clearBeforeFill = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitAdapter() {
|
||||
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
||||
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
||||
tableMapping.SourceTable = "Table";
|
||||
tableMapping.DataSetTable = "v_posizioniDelibere";
|
||||
tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione");
|
||||
tableMapping.ColumnMappings.Add("CodTipoDelibera", "CodTipoDelibera");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitConnection() {
|
||||
this._connection = new global::System.Data.SqlClient.SqlConnection();
|
||||
this._connection.ConnectionString = global::GMW_data.Properties.Settings.Default.GMWConnectionString;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT IdxPosizione, CodTipoDelibera FROM dbo.v_posizioniDelibere";
|
||||
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 = "SELECT IdxPosizione, CodTipoDelibera\r\nFROM v_posizioniDelibere\r" +
|
||||
"\nWHERE (IdxPosizione = @IdxPosizione)";
|
||||
this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
||||
public virtual int Fill(DS_magazzino.v_posizioniDelibereDataTable dataTable) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
if ((this.ClearBeforeFill == true)) {
|
||||
dataTable.Clear();
|
||||
}
|
||||
int returnValue = this.Adapter.Fill(dataTable);
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
||||
public virtual DS_magazzino.v_posizioniDelibereDataTable GetData() {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[0];
|
||||
DS_magazzino.v_posizioniDelibereDataTable dataTable = new DS_magazzino.v_posizioniDelibereDataTable();
|
||||
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.v_posizioniDelibereDataTable getByIdxPosizione(int IdxPosizione) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
this.Adapter.SelectCommand.Parameters[0].Value = ((int)(IdxPosizione));
|
||||
DS_magazzino.v_posizioniDelibereDataTable dataTable = new DS_magazzino.v_posizioniDelibereDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
||||
///</summary>
|
||||
@@ -23984,15 +24505,6 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._blocchiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._blocchiTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._tipoListaPrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
@@ -24002,12 +24514,12 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagPosizioniTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
if ((this._blocchiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._anagPosizioniTableAdapter.Update(updatedRows));
|
||||
result = (result + this._blocchiTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
@@ -24020,6 +24532,15 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagPosizioniTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._anagPosizioniTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._elencoCartelliniTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
@@ -24047,21 +24568,12 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._righeListePrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
if ((this._anagImballiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._righeListePrelievoTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._posizioneUdcStoricoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._posizioneUdcStoricoTableAdapter.Update(updatedRows));
|
||||
result = (result + this._anagImballiTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
@@ -24074,12 +24586,21 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagImballiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
if ((this._posizioneUdcStoricoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._anagImballiTableAdapter.Update(updatedRows));
|
||||
result = (result + this._posizioneUdcStoricoTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
if ((this._righeListePrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] updatedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
|
||||
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
|
||||
if (((updatedRows != null)
|
||||
&& (0 < updatedRows.Length))) {
|
||||
result = (result + this._righeListePrelievoTableAdapter.Update(updatedRows));
|
||||
allChangedRows.AddRange(updatedRows);
|
||||
}
|
||||
}
|
||||
@@ -24100,14 +24621,6 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._blocchiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._blocchiTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._tipoListaPrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
@@ -24116,11 +24629,11 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagPosizioniTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if ((this._blocchiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.Blocchi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._anagPosizioniTableAdapter.Update(addedRows));
|
||||
result = (result + this._blocchiTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
@@ -24132,6 +24645,14 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagPosizioniTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._anagPosizioniTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._elencoCartelliniTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.ElencoCartellini.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
@@ -24156,19 +24677,11 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._righeListePrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if ((this._anagImballiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._righeListePrelievoTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._posizioneUdcStoricoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._posizioneUdcStoricoTableAdapter.Update(addedRows));
|
||||
result = (result + this._anagImballiTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
@@ -24180,11 +24693,19 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagImballiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if ((this._posizioneUdcStoricoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.PosizioneUdcStorico.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._anagImballiTableAdapter.Update(addedRows));
|
||||
result = (result + this._posizioneUdcStoricoTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
if ((this._righeListePrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] addedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Added);
|
||||
if (((addedRows != null)
|
||||
&& (0 < addedRows.Length))) {
|
||||
result = (result + this._righeListePrelievoTableAdapter.Update(addedRows));
|
||||
allAddedRows.AddRange(addedRows);
|
||||
}
|
||||
}
|
||||
@@ -24197,19 +24718,11 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
private int UpdateDeletedRows(DS_magazzino dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
|
||||
int result = 0;
|
||||
if ((this._anagImballiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if ((this._righeListePrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._anagImballiTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._posizioneUdcCorrenteTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._posizioneUdcCorrenteTableAdapter.Update(deletedRows));
|
||||
result = (result + this._righeListePrelievoTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
@@ -24221,11 +24734,19 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._righeListePrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.RigheListePrelievo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if ((this._posizioneUdcCorrenteTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.PosizioneUdcCorrente.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._righeListePrelievoTableAdapter.Update(deletedRows));
|
||||
result = (result + this._posizioneUdcCorrenteTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagImballiTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.AnagImballi.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._anagImballiTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
@@ -24253,14 +24774,6 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._tipoCellaTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._tipoCellaTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagPosizioniTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.AnagPosizioni.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
@@ -24269,11 +24782,11 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._tipoListaPrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if ((this._tipoCellaTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.TipoCella.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._tipoListaPrelievoTableAdapter.Update(deletedRows));
|
||||
result = (result + this._tipoCellaTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
@@ -24285,6 +24798,14 @@ SELECT nRapQual, DataRapQual, ProgUDC, CodFor, DestTerz, CodLega, DataPrelFus, T
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._tipoListaPrelievoTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.TipoListaPrelievo.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
&& (0 < deletedRows.Length))) {
|
||||
result = (result + this._tipoListaPrelievoTableAdapter.Update(deletedRows));
|
||||
allChangedRows.AddRange(deletedRows);
|
||||
}
|
||||
}
|
||||
if ((this._anagMagTableAdapter != null)) {
|
||||
global::System.Data.DataRow[] deletedRows = dataSet.AnagMag.Select(null, null, global::System.Data.DataViewRowState.Deleted);
|
||||
if (((deletedRows != null)
|
||||
|
||||
+640
-592
File diff suppressed because it is too large
Load Diff
@@ -4,32 +4,33 @@
|
||||
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="27" ViewPortY="1" 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="27" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="23" X="68" Y="319" Height="459" Width="250" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="294" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="1" X="1008" Y="389" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="12" X="409" Y="544" Height="265" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="31" X="412" Y="310" Height="168" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Blocchi" ZOrder="26" X="1015" Y="660" Height="325" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="181" />
|
||||
<Shape ID="DesignTable:Celle" ZOrder="17" X="712" Y="420" Height="438" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:TipoCella" ZOrder="6" X="1007" Y="-15" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_UdcDetail" ZOrder="4" X="693" Y="9" Height="381" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagImballi" ZOrder="25" X="90" Y="75" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="8" X="95" Y="1131" Height="248" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="19" X="733" Y="1102" Height="286" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:V_DettMagPart" ZOrder="3" X="1027" Y="998" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="14" X="735" Y="891" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:RigheListePrelievo" ZOrder="9" X="83" Y="846" Height="257" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="130" />
|
||||
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="10" X="430" Y="879" Height="400" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_righeListePrelievoPosizione" ZOrder="11" X="400" Y="1301" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_particolariEsponenteFigura" ZOrder="20" X="1042" Y="1386" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagPosizioni" ZOrder="16" X="375" Y="103" Height="115" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:V_statoCelleCapienzaAssegnati" ZOrder="13" X="111" Y="1437" Height="229" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:V_MagazziniLogiciOverview" ZOrder="5" X="730" Y="1426" Height="267" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:RapQual" ZOrder="2" X="1058" Y="1667" Height="343" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="24" X="68" Y="319" Height="459" Width="250" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="294" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="3" X="1008" Y="389" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="13" X="409" Y="544" Height="265" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="32" X="412" Y="310" Height="168" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Blocchi" ZOrder="27" X="1015" Y="660" Height="325" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="181" />
|
||||
<Shape ID="DesignTable:Celle" ZOrder="18" X="712" Y="420" Height="438" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:TipoCella" ZOrder="7" X="1007" Y="-15" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_UdcDetail" ZOrder="1" X="693" Y="-21" Height="400" Width="262" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:AnagImballi" ZOrder="26" X="90" Y="75" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="9" X="95" Y="1131" Height="248" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="20" X="733" Y="1102" Height="286" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
|
||||
<Shape ID="DesignTable:V_DettMagPart" ZOrder="5" X="1027" Y="998" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="15" X="735" Y="891" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:RigheListePrelievo" ZOrder="10" X="83" Y="846" Height="257" Width="247" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="130" />
|
||||
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="11" X="430" Y="879" Height="400" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_righeListePrelievoPosizione" ZOrder="12" X="400" Y="1301" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:v_particolariEsponenteFigura" ZOrder="21" X="1042" Y="1386" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagPosizioni" ZOrder="17" X="375" Y="103" Height="115" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
<Shape ID="DesignTable:V_statoCelleCapienzaAssegnati" ZOrder="14" X="111" Y="1437" Height="229" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:V_MagazziniLogiciOverview" ZOrder="6" X="730" Y="1426" Height="267" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
|
||||
<Shape ID="DesignTable:RapQual" ZOrder="4" X="1058" Y="1667" Height="343" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:v_posizioniDelibere" ZOrder="2" X="107" Y="1701" Height="134" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="32" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="33" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>318</X>
|
||||
@@ -41,7 +42,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="30" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="31" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>318</X>
|
||||
@@ -53,7 +54,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Blocchi_AnagMag" ZOrder="29" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Blocchi_AnagMag" ZOrder="30" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1158</X>
|
||||
@@ -65,7 +66,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="18" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="19" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>712</X>
|
||||
@@ -77,7 +78,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Celle_Blocchi1" ZOrder="28" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Celle_Blocchi1" ZOrder="29" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1015</X>
|
||||
@@ -89,7 +90,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_TipoCella_AnagMag" ZOrder="27" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_TipoCella_AnagMag" ZOrder="28" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1100</X>
|
||||
@@ -101,7 +102,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RigheListePrelievo_ElencoCartellini" ZOrder="24" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RigheListePrelievo_ElencoCartellini" ZOrder="25" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>197</X>
|
||||
@@ -113,7 +114,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_RigheListePrelievo_ElencoListePrelievo11" ZOrder="22" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_RigheListePrelievo_ElencoListePrelievo11" ZOrder="23" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>430</X>
|
||||
@@ -125,7 +126,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ElencoListePrelievo_TipoListaPrelievo11" ZOrder="21" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ElencoListePrelievo_TipoListaPrelievo11" ZOrder="22" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>735</X>
|
||||
@@ -137,7 +138,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagPosizioni" ZOrder="15" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagPosizioni" ZOrder="16" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>392</X>
|
||||
@@ -153,7 +154,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Celle_TipoCella" ZOrder="7" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Celle_TipoCella" ZOrder="8" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1007</X>
|
||||
|
||||
@@ -160,6 +160,7 @@
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="SqlScripts\GMW_00259.sql" />
|
||||
<None Include="SqlScripts\GMW_00258.sql" />
|
||||
<None Include="SqlScripts\GMW_00257.sql" />
|
||||
<None Include="SqlScripts\GMW_00255.sql" />
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace GMW_data
|
||||
public DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter taPartExpFig;
|
||||
public DS_magazzinoTableAdapters.V_statoCelleCapienzaAssegnatiTableAdapter taStatoCelle;
|
||||
public DS_magazzinoTableAdapters.RapQualTableAdapter taRapQual;
|
||||
public DS_magazzinoTableAdapters.v_posizioniDelibereTableAdapter taPosizDelib;
|
||||
|
||||
|
||||
/// <summary>
|
||||
@@ -59,6 +60,7 @@ namespace GMW_data
|
||||
taPartExpFig = new GMW_data.DS_magazzinoTableAdapters.v_particolariEsponenteFiguraTableAdapter();
|
||||
taStatoCelle = new GMW_data.DS_magazzinoTableAdapters.V_statoCelleCapienzaAssegnatiTableAdapter();
|
||||
taRapQual = new GMW_data.DS_magazzinoTableAdapters.RapQualTableAdapter();
|
||||
taPosizDelib = new GMW_data.DS_magazzinoTableAdapters.v_posizioniDelibereTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
@@ -85,6 +87,7 @@ namespace GMW_data
|
||||
taPartExpFig.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taStatoCelle.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taRapQual.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taPosizDelib.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
-- update tab transizione eventi
|
||||
|
||||
update AnagTipoDelibere
|
||||
set CodEvento='DelWipPost'
|
||||
where CodTipoDelibera='DelibWipPost'
|
||||
go
|
||||
|
||||
|
||||
|
||||
-- registro versione...
|
||||
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(259, GETDATE())
|
||||
GO
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user