update terminalino con modifiche by Gian

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@442 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2012-03-19 08:55:47 +00:00
parent 22d2e8bc83
commit 14fb0130de
68 changed files with 2163 additions and 807 deletions
+22 -4
View File
@@ -19,6 +19,24 @@ namespace GMW.WS
public class AutoCompletamento : System.Web.Services.WebService
{
[System.Web.Services.WebMethod]
public string[] elencoAnime(string prefixText, int count)
{
// inizializzo risposta
List<string> suggerimenti = new List<string>();
// proseguo SOLO SE min "MinCharAutocomplete" char...
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
{
// elenco candidati
DS_Utility.v_selParticolariDataTable tabParticolari = utils.obj.taSelPart.getByConditioPref("A", prefixText);
// aggiungo ogni riga...
foreach (DS_Utility.v_selParticolariRow riga in tabParticolari)
{
suggerimenti.Add(riga.value);
}
}
return suggerimenti.ToArray();
}
[System.Web.Services.WebMethod]
public string[] elencoParticolari(string prefixText, int count)
{
@@ -28,11 +46,11 @@ namespace GMW.WS
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
{
// elenco candidati
DS_magazzino.V_ParticolariOverviewDataTable tabParticolari = MagClass.magazzino.taVParticolariOverwiew.getByLikePrefix(prefixText, memLayer.ML.confReadString("CodCS"));
DS_Utility.v_selParticolariDataTable tabParticolari = utils.obj.taSelPart.getByConditioPref("P", prefixText);
// aggiungo ogni riga...
foreach (DS_magazzino.V_ParticolariOverviewRow riga in tabParticolari)
foreach (DS_Utility.v_selParticolariRow riga in tabParticolari)
{
suggerimenti.Add(riga.Particolare);
suggerimenti.Add(riga.value);
}
}
return suggerimenti.ToArray();
@@ -55,6 +73,6 @@ namespace GMW.WS
}
return suggerimenti.ToArray();
}
}
}
+1 -1
View File
@@ -60,7 +60,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="426" />
<add key="minRev" value="427" />
<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" />
+4 -2
View File
@@ -63,7 +63,8 @@
<asp:SessionParameter Name="IdxCella" Type="Int32" SessionField="IdxCellaMag" DefaultValue="0" />
</SelectParameters>
<FilterParameters>
<asp:SessionParameter Name="search" Type="String" SessionField="valoreCercatoCella" DefaultValue="" />
<asp:SessionParameter Name="search" Type="String" SessionField="valoreCercatoCella"
DefaultValue="" />
</FilterParameters>
</asp:ObjectDataSource>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />&nbsp;&nbsp;
@@ -104,7 +105,8 @@
<td>
<asp:TextBox runat="server" ID="txtNewCella" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtNewCella"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoCelle" />
MinimumPrefixLength="2" CompletionInterval="200" ServicePath="~/WS/AutoCompletamento.asmx"
ServiceMethod="elencoCelle" />
</td>
</tr>
<tr>
+1 -1
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
// Runtime Version:2.0.50727.4963
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
+2 -1
View File
@@ -48,7 +48,8 @@
<asp:TextBox runat="server" ID="txtBarcode" Height="60px" Width="400px" Font-Size="32pt"
AutoPostBack="True" Style="text-align: center" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtBarcode"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" CompletionInterval="1000" />
MinimumPrefixLength="2" CompletionInterval="200" ServicePath="~/WS/AutoCompletamento.asmx"
ServiceMethod="elencoAnime" />
</div>
<div>
<asp:Label runat="server" ID="lblNote" />
+2 -1
View File
@@ -43,7 +43,8 @@
<td>
<asp:TextBox runat="server" ID="txtNewCella" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtNewCella"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoCelle" />
MinimumPrefixLength="2" CompletionInterval="200" ServicePath="~/WS/AutoCompletamento.asmx"
ServiceMethod="elencoCelle" />
</td>
</tr>
<tr>
+1 -1
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
// Runtime Version:2.0.50727.4963
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -28,7 +28,8 @@
DataValueField="value" AutoPostBack="True" OnSelectedIndexChanged="ddlTipoLista_SelectedIndexChanged">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsTipoLista" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GMW_data.DS_UtilityTableAdapters.v_selTipoListaTableAdapter"></asp:ObjectDataSource>
SelectMethod="GetData" TypeName="GMW_data.DS_UtilityTableAdapters.v_selTipoListaTableAdapter">
</asp:ObjectDataSource>
</td>
<td>
<asp:TextBox ID="txtParticolare" runat="server" OnTextChanged="txtParticolare_TextChanged"
@@ -36,7 +37,8 @@
<asp:RequiredFieldValidator ID="rfvParticolare" runat="server" ErrorMessage="!!!"
ControlToValidate="txtParticolare" Display="Dynamic" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtParticolare"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" />
MinimumPrefixLength="2" CompletionInterval="200" ServicePath="~/WS/AutoCompletamento.asmx"
ServiceMethod="elencoParticolari" />
</td>
<td>
<asp:DropDownList ID="ddlEsponente" runat="server" DataSourceID="odsEsponente" DataTextField="Esponente"
@@ -33,7 +33,8 @@
<asp:TextBox runat="server" ID="txtBarcode" Height="60px" Width="480px" Font-Size="32pt"
AutoPostBack="True" Style="text-align: center" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtBarcode"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" CompletionInterval="1000" />
MinimumPrefixLength="2" CompletionInterval="200" ServicePath="~/WS/AutoCompletamento.asmx"
ServiceMethod="elencoParticolari" />
</div>
<div style="padding-top: 10; padding-bottom: 10;">
<div style="padding-top: 10; padding-bottom: 10;">
@@ -33,7 +33,8 @@
<asp:TextBox runat="server" ID="txtBarcode" Height="60px" Width="480px" Font-Size="32pt"
AutoPostBack="True" Style="text-align: center" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtBarcode"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" CompletionInterval="1000" />
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" MinimumPrefixLength="2"
CompletionInterval="200" />
</div>
<div style="padding-top: 10; padding-bottom: 10;">
<div style="padding-top: 10; padding-bottom: 10;">
@@ -66,7 +66,8 @@
<div style="float: right; text-align: center;">
<asp:Label runat="server" ID="lblQta" />
<br />
<asp:TextBox runat="server" ID="txtQta" Height="60px" Width="160px" Font-Size="32pt" Style="text-align: center" />
<asp:TextBox runat="server" ID="txtQta" Height="60px" Width="160px" Font-Size="32pt"
Style="text-align: center" />
</div>
<div style="clear: both;">
<br />
@@ -78,9 +79,11 @@
<div>
<asp:Label runat="server" ID="lblBarcode" Text="Barcode" />
<br />
<asp:TextBox runat="server" ID="txtBarcode" Height="60px" Width="400px" Font-Size="32pt" Style="text-align: center" />
<asp:TextBox runat="server" ID="txtBarcode" Height="60px" Width="400px" Font-Size="32pt"
Style="text-align: center" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtBarcode"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" CompletionInterval="1000" />
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" MinimumPrefixLength="2"
CompletionInterval="200" />
</div>
<div>
<asp:Label runat="server" ID="lblNote" />
@@ -12,7 +12,8 @@
<asp:Label runat="server" ID="lblPrinter" />
</div>
<div>
<asp:Label runat="server" ID="lblCurrentPage" Text="Pag Corrente" Font-Size="16pt" ForeColor="White" />
<asp:Label runat="server" ID="lblCurrentPage" Text="Pag Corrente" Font-Size="16pt"
ForeColor="White" />
<br />
<asp:HyperLink runat="server" ID="hlMenu" NavigateUrl="~/menu.aspx" Text="Main Menu" />
</div>
@@ -32,7 +33,8 @@
<div style="float: right; text-align: center;">
<asp:Label runat="server" ID="lblQta" />
<br />
<asp:TextBox runat="server" ID="txtQta" Height="60px" Width="200px" Font-Size="32pt" Style="text-align: center" />
<asp:TextBox runat="server" ID="txtQta" Height="60px" Width="200px" Font-Size="32pt"
Style="text-align: center" />
</div>
<div style="clear: both;">
<br />
@@ -45,9 +47,10 @@
<asp:Label runat="server" ID="lblBarcode" Text="Barcode" />
<br />
<asp:TextBox runat="server" ID="txtBarcode" Height="60px" Width="400px" Font-Size="32pt"
AutoPostBack="True" Style="text-align: center" />
AutoPostBack="True" Style="text-align: center" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtBarcode"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" CompletionInterval="1000" />
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" MinimumPrefixLength="2"
CompletionInterval="200" />
</div>
<div>
<asp:Label runat="server" ID="lblNote" />
@@ -43,6 +43,9 @@
<asp:TemplateField HeaderText="DescMag" SortExpression="DescMag">
<ItemTemplate>
<asp:Label ID="lblDescMag" runat="server" Text='<%# Eval("DescMag") %>' />
<div class="didascalia">
<asp:Label ID="lblDescBlocco" runat="server" Text='<%# Eval("DescBlocco") %>' />
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="CodBlocco" SortExpression="CodBlocco">
+1 -1
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
// Runtime Version:2.0.50727.4963
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
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="Tekal" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="426" />
<add key="minRev" value="427" />
<add key="copyRight" value="SteamWare © 2010-2011" />
<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="1.2" />
<add key="minRev" value="426" />
<add key="minRev" value="427" />
<add key="copyRight" value="SteamWare © 2010-2011" />
<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="1.2" />
<add key="minRev" value="426" />
<add key="minRev" value="427" />
<add key="copyRight" value="SteamWare © 2010-2011" />
<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="1.2" />
<add key="minRev" value="426" />
<add key="minRev" value="427" />
<add key="copyRight" value="SteamWare © 2010-2011" />
<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="1.2" />
<add key="minRev" value="426" />
<add key="minRev" value="427" />
<add key="copyRight" value="SteamWare © 2010-2011" />
<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.
Binary file not shown.
Binary file not shown.
+3
View File
@@ -22,6 +22,9 @@ namespace GMW_Term
mod_barcode1.eh_scannedCella += new EventHandler(mod_barcode1_eh_scannedCella);
mod_barcode1.eh_resetUser += new EventHandler(mod_barcode1_eh_resetUser);
checkVisibility();
// imposto btnHome
mod_barcode1.homeBtnText = "btnTermMenuLDP";
mod_barcode1.homeBtnLink = "~/menuLDP.aspx";
}
/// <summary>
/// controlla visibilità lista di prelievo (se non c'è user ins essione non mostra LDP)
+3 -1
View File
@@ -10,7 +10,9 @@ namespace GMW_Term
{
protected void Page_Load(object sender, EventArgs e)
{
// imposto btnHome
mod_listePrelievo1.homeBtnText = "btnTermMenuLDP";
mod_listePrelievo1.homeBtnLink = "~/menuLDP.aspx";
}
}
}
+3
View File
@@ -18,6 +18,9 @@ namespace GMW_Term
mod_barcode1.eh_scannedUdc += new EventHandler(mod_barcode1_eh_scannedUdc);
mod_barcode1.eh_scannedUser += new EventHandler(mod_barcode1_eh_scannedUser);
mod_barcode1.eh_resetUser += new EventHandler(mod_barcode1_eh_resetUser);
// imposto btnHome
mod_barcode1.homeBtnText = "btnTermMenuLDP";
mod_barcode1.homeBtnLink = "~/menuLDP.aspx";
}
void mod_barcode1_eh_resetUser(object sender, EventArgs e)
+1 -1
View File
@@ -58,7 +58,7 @@
<add key="appName" value="GMW_Term" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="425" />
<add key="minRev" value="428" />
<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" />
@@ -13,6 +13,9 @@ namespace GMW_Term.WebUserControls
{
// variabile per verificare se è operatore
bool _validUserInSession = false;
string _homeBtnText = "Home";
string _homeBtnLink = "~/Home.aspx";
/// <summary>
/// wrapper traduzione termini
@@ -35,6 +38,48 @@ namespace GMW_Term.WebUserControls
#endregion
/// <summary>
/// testo del pulsante HOME
/// </summary>
public string homeBtnText
{
set
{
_homeBtnText = value;
traduciObj();
}
get
{
return _homeBtnText;
}
}
/// <summary>
/// link del pulsante HOME
/// </summary>
public string homeBtnLink
{
set
{
_homeBtnLink = value;
traduciObj();
}
get
{
return _homeBtnLink;
}
}
/// <summary>
/// traduce stringhe oggetti
/// </summary>
protected void traduciObj()
{
// scrive label e text bottoni
btnLoginPage.Text = string.Format("{0}\n[Alt+{1}]", traduci("Login"), 7);
btnLoginPage.AccessKey = "7";
btnButtonsHome.Text = string.Format("{0}\n[Alt+{1}]", traduci(_homeBtnText), 9);
btnButtonsHome.AccessKey = "9";
}
/// <summary>
/// metodi al caricamento della pagina
/// </summary>
@@ -42,16 +87,13 @@ namespace GMW_Term.WebUserControls
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
// scrive label e text bottoni
btnLoginPage.Text = "[7]-Login";
btnLoginPage.AccessKey = "7";
btnButtonsHome.Text = "[9]-Home";
btnButtonsHome.AccessKey = "9";
traduciObj();
// se username è valorizzato...
verificaOperatoreInSessione();
if (_validUserInSession)
{
btnLoginPage.Text = "[7]-LogOut";
btnLoginPage.Text = string.Format("{0}\n[Alt+{1}]", traduci("Logout"), 7);
btnLoginPage.Visible = memLayer.ML.confReadBool("showLogout");
btnButtonsHome.Visible = true;
// se ho un precedente valore barcode lo mostro...
@@ -362,7 +404,7 @@ namespace GMW_Term.WebUserControls
/// <param name="e"></param>
protected void btnButtonsHome_Click(object sender, EventArgs e)
{
Response.Redirect("Home.aspx");
Response.Redirect(homeBtnLink);
}
/// <summary>
/// Verifica se c'è un valore in sessione di tipo operatore
+11 -5
View File
@@ -1,9 +1,15 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_home.ascx.cs" Inherits="GMW_Term.WebUserControls.mod_home" %>
<div id="1" class="quadro_wide">
<asp:Button ID="btn1" runat="server" CssClass="btnAzzurroWide" OnClick="btn1_Click" />
<div id="Div1" class="quadro1">
<asp:Button ID="btn1" runat="server" CssClass="btnAzzurro" OnClick="btn1_Click" />
</div>
<div id="cl1" class="clearAll">
<div id="2" class="quadro2">
<asp:Button ID="btn2" runat="server" CssClass="btnBlu" OnClick="btn2_Click" />
</div>
<div id="3" class="quadro_wide">
<asp:Button ID="btn2" runat="server" CssClass="btnBluWide" OnClick="btn2_Click" />
<div id="Div2" class="clearAll">
</div>
<div id="Div3" class="quadro3">
<asp:Button ID="btn3" runat="server" CssClass="btnRosso" OnClick="btn3_Click" />
</div>
<div id="4" class="quadro4">
&nbsp;
</div>
+22 -2
View File
@@ -27,17 +27,37 @@ namespace GMW_Term.WebUserControls
btn1.AccessKey = "2";
btn2.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermMenuMov"), 8);
btn2.AccessKey = "8";
btn3.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnLogout"), 0);
btn3.AccessKey = "0";
}
/// <summary>
/// vado menù LDP
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btn1_Click(object sender, EventArgs e)
{
Response.Redirect("MenuLDP.aspx");
}
/// <summary>
/// vado menù movimenti
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btn2_Click(object sender, EventArgs e)
{
Response.Redirect("MenuMov.aspx");
}
/// <summary>
/// reset e login
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btn3_Click(object sender, EventArgs e)
{
TermUtils.TU.forceLogOut();
Response.Redirect("Barcode.aspx");
}
}
}
+9
View File
@@ -30,5 +30,14 @@ namespace GMW_Term.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btn2;
/// <summary>
/// btn3 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 btn3;
}
}
@@ -241,6 +241,38 @@ namespace GMW_Term.WebUserControls
#endregion
string _homeBtnText = "Home";
string _homeBtnLink = "~/Home.aspx";
/// <summary>
/// testo del pulsante HOME
/// </summary>
public string homeBtnText
{
set
{
_homeBtnText = value;
traduciObj();
}
get
{
return _homeBtnText;
}
}
/// <summary>
/// link del pulsante HOME
/// </summary>
public string homeBtnLink
{
set
{
_homeBtnLink = value;
traduciObj();
}
get
{
return _homeBtnLink;
}
}
// variabile per verificare se è operatore
bool _validUserInSession = false;
@@ -258,6 +290,23 @@ namespace GMW_Term.WebUserControls
_validUserInSession = true;
}
}
/// <summary>
/// traduce stringhe oggetti
/// </summary>
protected void traduciObj()
{
// scrive label e text bottoni
btnLoginPage.Text = string.Format("{0}\n[Alt+{1}]", traduci("Logout"), 7);
btnLoginPage.AccessKey = "7";
btnButtonsHome.Text = string.Format("{0}\n[Alt+{1}]", traduci(_homeBtnText), 9);
btnButtonsHome.AccessKey = "9";
btnShowPeriodo.Text = string.Format("{0}\n[Alt+{1}]", traduci("ImpostaPeriodo"), 8);
btnShowPeriodo.AccessKey = "8";
btnCloseDet.Text = string.Format("{0}\n[Alt+{1}]", traduci("Close"), 3);
btnCloseDet.AccessKey = "3";
btnBarcode.Text = string.Format("{0}\n[Alt+{1}]", traduci("Barcode"), 1);
btnBarcode.AccessKey = "1";
}
/// <summary>
/// metodi al caricamento della pagina
@@ -266,17 +315,7 @@ namespace GMW_Term.WebUserControls
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
// scrive label e text bottoni
btnShowPeriodo.Text = "[8] - Imposta periodo";
btnShowPeriodo.AccessKey = "8";
btnLoginPage.Text = "[7]-LogOut";
btnLoginPage.AccessKey = "7";
btnButtonsHome.Text = "[9]-Home";
btnButtonsHome.AccessKey = "9";
btnCloseDet.Text = "[3]-" + traduci("Close");
btnCloseDet.AccessKey = "3";
btnBarcode.Text = "[1]-Barcode";
btnBarcode.AccessKey = "1";
traduciObj();
// se username è valorizzato...
verificaOperatoreInSessione();
if (_validUserInSession)
@@ -838,7 +877,7 @@ namespace GMW_Term.WebUserControls
/// <param name="e"></param>
protected void btnButtonsHome_Click(object sender, EventArgs e)
{
Response.Redirect("~/Home.aspx");
Response.Redirect(homeBtnLink);
}
/// <summary>
/// nasconde dettagli
@@ -5,6 +5,7 @@ using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
using GMW_data;
namespace GMW_Term.WebUserControls
{
@@ -23,7 +24,6 @@ namespace GMW_Term.WebUserControls
protected void Page_Load(object sender, EventArgs e)
{
// scrive label e text bottoni
btn1.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermTakeListBarcode"), 1);
btn1.AccessKey = "1";
btn2.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermTakeListHome"), 3);
@@ -32,6 +32,38 @@ namespace GMW_Term.WebUserControls
btn3.AccessKey = "7";
btn4.Text = string.Format("{0}\n[Alt+{1}]", traduci("btnTermSmartList"), 9);
btn4.AccessKey = "9";
checkLavoriInCorso();
}
/// <summary>
/// verifica se ci siano in corso smartList o LDP normali e disabilita il contrario
/// </summary>
private void checkLavoriInCorso()
{
bool hasSmartList = false;
try
{
hasSmartList = (MagClass.magazzino.taElencoListePrelievo.getOpenByUserTipo(MagClass.magazzino.CodSoggCurrUser, "00-Smart").Rows.Count > 0);
}
catch
{ }
if (hasSmartList)
{
// smartList attiva
btn1.Enabled = false;
btn3.Enabled = false;
}
else if (memLayer.ML.isInSessionObject("CodListaAttiva"))
{
// LDP tradizionale attiva
btn4.Enabled = false;
}
else
{
// niente attivo!
btn1.Enabled = true;
btn3.Enabled = true;
btn4.Enabled = true;
}
}
protected void btn1_Click(object sender, EventArgs e)
@@ -32,22 +32,32 @@ namespace GMW_Term.WebUserControls
// recupero barcode e controllo sia valido
string barcode = memLayer.ML.StringSessionObj("UDC_sel");
bool barcodeOk = MagClass.magazzino.checkUDC(barcode);
if (barcodeOk)
bool udcPrelevabile = (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(barcode).Rows.Count == 0);
if (udcPrelevabile)
{
// controllo se barcode è ok x LDP corrente...
if (MagClass.magazzino.verificaDatiUdc(MagClass.magazzino.codListaAttivaUtente, barcode))
if (barcodeOk)
{
MagClass.magazzino.confermaUdcPrelevatoPerLista(MagClass.magazzino.codListaAttivaUtente, barcode);
lblErrore.Visible = false;
// controllo se barcode è ok x LDP corrente...
if (MagClass.magazzino.verificaDatiUdc(MagClass.magazzino.codListaAttivaUtente, barcode))
{
MagClass.magazzino.confermaUdcPrelevatoPerLista(MagClass.magazzino.codListaAttivaUtente, barcode);
lblErrore.Visible = false;
}
else
{
// salvo errore
lblErrore.Visible = true;
lblErrore.Text = traduci("BarcodeNonValidoLDP");
}
// svuoto barcode selezionato
memLayer.ML.emptySessionVal("Barcode_sel");
}
else
{
// salvo errore
lblErrore.Visible = true;
lblErrore.Text = traduci("BarcodeNonValidoLDP");
}
// svuoto barcode selezionato
memLayer.ML.emptySessionVal("Barcode_sel");
}
else
{
// indico barcode già caricato
lblErrore.Visible = true;
lblErrore.Text = string.Format("{0}: {1}", barcode, traduci("udcGiaPrelevato"));
}
//update visualizzazione
lblListaAttiva.Text = traduci("ListaPrel");
@@ -38,7 +38,7 @@ namespace GMW_Term.WebUserControls
string barcode = memLayer.ML.StringSessionObj("UDC_sel");
string particolare = "";
bool barcodeOk = MagClass.magazzino.checkUDC(barcode);
bool udcPrelevabile = (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(barcode).Rows.Count < 1);
bool udcPrelevabile = (MagClass.magazzino.taRigheListePrelievo.getPrelevateByUdc(barcode).Rows.Count == 0);
if (barcodeOk && udcPrelevabile)
{
try
@@ -160,6 +160,9 @@ namespace GMW_Term.WebUserControls
MagClass.magazzino.taRigheListePrelievo.stp_RLP_deleteFromCodLista(riga.CodLista);
// elimino lista
MagClass.magazzino.taElencoListePrelievo.DeleteQuery(riga.CodLista);
// elimino task attivo e cod lista attuale
memLayer.ML.emptySessionVal("CodListaAttiva");
memLayer.ML.emptySessionVal("activeTask");
}
catch
{ }
Binary file not shown.
Binary file not shown.
+3
View File
@@ -19,6 +19,9 @@ namespace GMW_Term
mod_barcode1.eh_scannedUdc += new EventHandler(mod_barcode1_eh_scannedUdc);
mod_barcode1.eh_scannedCella += new EventHandler(mod_barcode1_eh_scannedCella);
checkVisibility();
// imposto btnHome
mod_barcode1.homeBtnText = "btnTermMenuMov";
mod_barcode1.homeBtnLink = "~/MenuMov.aspx";
}
/// <summary>
/// controllo visibilità dati valori in sessione
+3
View File
@@ -17,6 +17,9 @@ namespace GMW_Term
// imposto controllo valori scansionati
mod_barcode1.eh_scannedUdc += new EventHandler(mod_barcode1_eh_scannedUdc);
mod_barcode1.eh_scannedCella += new EventHandler(mod_barcode1_eh_scannedCella);
// imposto btnHome
mod_barcode1.homeBtnText = "btnTermMenuMov";
mod_barcode1.homeBtnLink = "~/MenuMov.aspx";
}
void mod_barcode1_eh_scannedCella(object sender, EventArgs e)
{
Binary file not shown.
@@ -344,14 +344,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMWT"
"ProductCode" = "8:{FA3C0ABA-85AA-4657-8986-F628BBD906C8}"
"PackageCode" = "8:{5B95E951-C332-450D-9217-A74ED78E85A6}"
"ProductCode" = "8:{6CD3FC34-539E-41F3-9374-394EF05EAB00}"
"PackageCode" = "8:{00EB130E-692D-454C-9FD3-63A4B5DDC56A}"
"UpgradeCode" = "8:{B348C50D-8DAD-4430-AEF0-60800C94CB78}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.1.426"
"ProductVersion" = "8:1.1.428"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
+610
View File
@@ -53,6 +53,8 @@ namespace GMW_data {
private AS400_ComandiDataTable tableAS400_Comandi;
private v_selParticolariDataTable tablev_selParticolari;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -121,6 +123,9 @@ namespace GMW_data {
if ((ds.Tables["AS400_Comandi"] != null)) {
base.Tables.Add(new AS400_ComandiDataTable(ds.Tables["AS400_Comandi"]));
}
if ((ds.Tables["v_selParticolari"] != null)) {
base.Tables.Add(new v_selParticolariDataTable(ds.Tables["v_selParticolari"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -265,6 +270,15 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public v_selParticolariDataTable v_selParticolari {
get {
return this.tablev_selParticolari;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.BrowsableAttribute(true)]
[global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
@@ -366,6 +380,9 @@ namespace GMW_data {
if ((ds.Tables["AS400_Comandi"] != null)) {
base.Tables.Add(new AS400_ComandiDataTable(ds.Tables["AS400_Comandi"]));
}
if ((ds.Tables["v_selParticolari"] != null)) {
base.Tables.Add(new v_selParticolariDataTable(ds.Tables["v_selParticolari"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -480,6 +497,12 @@ namespace GMW_data {
this.tableAS400_Comandi.InitVars();
}
}
this.tablev_selParticolari = ((v_selParticolariDataTable)(base.Tables["v_selParticolari"]));
if ((initTable == true)) {
if ((this.tablev_selParticolari != null)) {
this.tablev_selParticolari.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -517,6 +540,8 @@ namespace GMW_data {
base.Tables.Add(this.tablev_selDestinatariListePrelievo);
this.tableAS400_Comandi = new AS400_ComandiDataTable();
base.Tables.Add(this.tableAS400_Comandi);
this.tablev_selParticolari = new v_selParticolariDataTable();
base.Tables.Add(this.tablev_selParticolari);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -589,6 +614,11 @@ namespace GMW_data {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializev_selParticolari() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
@@ -670,6 +700,8 @@ namespace GMW_data {
public delegate void AS400_ComandiRowChangeEventHandler(object sender, AS400_ComandiRowChangeEvent e);
public delegate void v_selParticolariRowChangeEventHandler(object sender, v_selParticolariRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -4356,6 +4388,268 @@ 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_selParticolariDataTable : global::System.Data.TypedTableBase<v_selParticolariRow> {
private global::System.Data.DataColumn columnvalue;
private global::System.Data.DataColumn columnlabel;
private global::System.Data.DataColumn columnconditio;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_selParticolariDataTable() {
this.TableName = "v_selParticolari";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal v_selParticolariDataTable(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_selParticolariDataTable(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 valueColumn {
get {
return this.columnvalue;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn labelColumn {
get {
return this.columnlabel;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn conditioColumn {
get {
return this.columnconditio;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_selParticolariRow this[int index] {
get {
return ((v_selParticolariRow)(this.Rows[index]));
}
}
public event v_selParticolariRowChangeEventHandler v_selParticolariRowChanging;
public event v_selParticolariRowChangeEventHandler v_selParticolariRowChanged;
public event v_selParticolariRowChangeEventHandler v_selParticolariRowDeleting;
public event v_selParticolariRowChangeEventHandler v_selParticolariRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Addv_selParticolariRow(v_selParticolariRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_selParticolariRow Addv_selParticolariRow(string value, string label, string conditio) {
v_selParticolariRow rowv_selParticolariRow = ((v_selParticolariRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
value,
label,
conditio};
rowv_selParticolariRow.ItemArray = columnValuesArray;
this.Rows.Add(rowv_selParticolariRow);
return rowv_selParticolariRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_selParticolariRow FindByvalue(string value) {
return ((v_selParticolariRow)(this.Rows.Find(new object[] {
value})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
v_selParticolariDataTable cln = ((v_selParticolariDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new v_selParticolariDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnvalue = base.Columns["value"];
this.columnlabel = base.Columns["label"];
this.columnconditio = base.Columns["conditio"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnvalue = new global::System.Data.DataColumn("value", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalue);
this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnlabel);
this.columnconditio = new global::System.Data.DataColumn("conditio", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnconditio);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnvalue}, true));
this.columnvalue.AllowDBNull = false;
this.columnvalue.Unique = true;
this.columnvalue.MaxLength = 15;
this.columnlabel.MaxLength = 30;
this.columnconditio.MaxLength = 1;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_selParticolariRow Newv_selParticolariRow() {
return ((v_selParticolariRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new v_selParticolariRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(v_selParticolariRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.v_selParticolariRowChanged != null)) {
this.v_selParticolariRowChanged(this, new v_selParticolariRowChangeEvent(((v_selParticolariRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.v_selParticolariRowChanging != null)) {
this.v_selParticolariRowChanging(this, new v_selParticolariRowChangeEvent(((v_selParticolariRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.v_selParticolariRowDeleted != null)) {
this.v_selParticolariRowDeleted(this, new v_selParticolariRowChangeEvent(((v_selParticolariRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.v_selParticolariRowDeleting != null)) {
this.v_selParticolariRowDeleting(this, new v_selParticolariRowChangeEvent(((v_selParticolariRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Removev_selParticolariRow(v_selParticolariRow 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_Utility ds = new DS_Utility();
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_selParticolariDataTable";
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>
@@ -5391,6 +5685,81 @@ 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_selParticolariRow : global::System.Data.DataRow {
private v_selParticolariDataTable tablev_selParticolari;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal v_selParticolariRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tablev_selParticolari = ((v_selParticolariDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string value {
get {
return ((string)(this[this.tablev_selParticolari.valueColumn]));
}
set {
this[this.tablev_selParticolari.valueColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string label {
get {
try {
return ((string)(this[this.tablev_selParticolari.labelColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'label\' in table \'v_selParticolari\' is DBNull.", e);
}
}
set {
this[this.tablev_selParticolari.labelColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string conditio {
get {
try {
return ((string)(this[this.tablev_selParticolari.conditioColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'conditio\' in table \'v_selParticolari\' is DBNull.", e);
}
}
set {
this[this.tablev_selParticolari.conditioColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IslabelNull() {
return this.IsNull(this.tablev_selParticolari.labelColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetlabelNull() {
this[this.tablev_selParticolari.labelColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsconditioNull() {
return this.IsNull(this.tablev_selParticolari.conditioColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetconditioNull() {
this[this.tablev_selParticolari.conditioColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -5824,6 +6193,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_selParticolariRowChangeEvent : global::System.EventArgs {
private v_selParticolariRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_selParticolariRowChangeEvent(v_selParticolariRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_selParticolariRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace GMW_data.DS_UtilityTableAdapters {
@@ -9055,6 +9455,216 @@ namespace GMW_data.DS_UtilityTableAdapters {
}
}
/// <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_selParticolariTableAdapter : 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_selParticolariTableAdapter() {
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()]
public 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_selParticolari";
tableMapping.ColumnMappings.Add("value", "value");
tableMapping.ColumnMappings.Add("label", "label");
tableMapping.ColumnMappings.Add("conditio", "conditio");
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[3];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT value, label, conditio FROM dbo.v_selParticolari";
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_particolariByConditio";
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("@conditio", global::System.Data.SqlDbType.NVarChar, 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_particolariByConditioLikePref";
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("@conditio", global::System.Data.SqlDbType.NVarChar, 50, 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("@prefText", 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()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Utility.v_selParticolariDataTable 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_Utility.v_selParticolariDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Utility.v_selParticolariDataTable dataTable = new DS_Utility.v_selParticolariDataTable();
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_Utility.v_selParticolariDataTable getByConditio(string conditio) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((conditio == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(conditio));
}
DS_Utility.v_selParticolariDataTable dataTable = new DS_Utility.v_selParticolariDataTable();
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_Utility.v_selParticolariDataTable getByConditioPref(string conditio, string prefText) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((conditio == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(conditio));
}
if ((prefText == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(prefText));
}
DS_Utility.v_selParticolariDataTable dataTable = new DS_Utility.v_selParticolariDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+132 -59
View File
@@ -577,6 +577,48 @@ where value = @value</CommandText>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selParticolariTableAdapter" GeneratorDataComponentClassName="v_selParticolariTableAdapter" Name="v_selParticolari" UserDataComponentName="v_selParticolariTableAdapter">
<MainSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.v_selParticolari" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT value, label, conditio FROM dbo.v_selParticolari</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_particolariByConditio" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_particolariByConditio</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@conditio" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_particolariByConditioLikePref" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditioPref" GetMethodModifier="Public" GetMethodName="getByConditioPref" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditioPref" UserSourceName="getByConditioPref">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_particolariByConditioLikePref</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@conditio" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@prefText" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -588,21 +630,21 @@ where value = @value</CommandText>
<xs:element name="v_selMag" msprop:Generator_UserTableName="v_selMag" msprop:Generator_RowDeletedName="v_selMagRowDeleted" msprop:Generator_RowChangedName="v_selMagRowChanged" msprop:Generator_RowClassName="v_selMagRow" msprop:Generator_RowChangingName="v_selMagRowChanging" msprop:Generator_RowEvArgName="v_selMagRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMagRowChangeEventHandler" msprop:Generator_TableClassName="v_selMagDataTable" msprop:Generator_TableVarName="tablev_selMag" msprop:Generator_RowDeletingName="v_selMagRowDeleting" msprop:Generator_TablePropName="v_selMag">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
@@ -615,22 +657,22 @@ where value = @value</CommandText>
<xs:element name="v_selBlocco" msprop:Generator_UserTableName="v_selBlocco" msprop:Generator_RowDeletedName="v_selBloccoRowDeleted" msprop:Generator_RowChangedName="v_selBloccoRowChanged" msprop:Generator_RowClassName="v_selBloccoRow" msprop:Generator_RowChangingName="v_selBloccoRowChanging" msprop:Generator_RowEvArgName="v_selBloccoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selBloccoRowChangeEventHandler" msprop:Generator_TableClassName="v_selBloccoDataTable" msprop:Generator_TableVarName="tablev_selBlocco" msprop:Generator_RowDeletingName="v_selBloccoRowDeleting" msprop:Generator_TablePropName="v_selBlocco">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="151" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -643,35 +685,15 @@ where value = @value</CommandText>
<xs:element name="v_selTipoCella" msprop:Generator_UserTableName="v_selTipoCella" msprop:Generator_RowDeletedName="v_selTipoCellaRowDeleted" msprop:Generator_RowChangedName="v_selTipoCellaRowChanged" msprop:Generator_RowClassName="v_selTipoCellaRow" msprop:Generator_RowChangingName="v_selTipoCellaRowChanging" msprop:Generator_RowEvArgName="v_selTipoCellaRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoCellaRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoCellaDataTable" msprop:Generator_TableVarName="tablev_selTipoCella" msprop:Generator_RowDeletingName="v_selTipoCellaRowDeleting" msprop:Generator_TablePropName="v_selTipoCella">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="162" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_getImpiantiByCodCS" msprop:Generator_UserTableName="stp_getImpiantiByCodCS" msprop:Generator_RowDeletedName="stp_getImpiantiByCodCSRowDeleted" msprop:Generator_RowChangedName="stp_getImpiantiByCodCSRowChanged" msprop:Generator_RowClassName="stp_getImpiantiByCodCSRow" msprop:Generator_RowChangingName="stp_getImpiantiByCodCSRowChanging" msprop:Generator_RowEvArgName="stp_getImpiantiByCodCSRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_getImpiantiByCodCSRowChangeEventHandler" msprop:Generator_TableClassName="stp_getImpiantiByCodCSDataTable" msprop:Generator_TableVarName="tablestp_getImpiantiByCodCS" msprop:Generator_RowDeletingName="stp_getImpiantiByCodCSRowDeleting" msprop:Generator_TablePropName="stp_getImpiantiByCodCS">
<xs:complexType>
<xs:sequence>
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -685,21 +707,41 @@ where value = @value</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescImpianto" msprop:Generator_UserColumnName="DescImpianto" msprop:Generator_ColumnPropNameInRow="DescImpianto" msprop:Generator_ColumnVarNameInTable="columnDescImpianto" msprop:Generator_ColumnPropNameInTable="DescImpiantoColumn" minOccurs="0">
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_getImpiantiByCodCS" msprop:Generator_UserTableName="stp_getImpiantiByCodCS" msprop:Generator_RowDeletedName="stp_getImpiantiByCodCSRowDeleted" msprop:Generator_RowChangedName="stp_getImpiantiByCodCSRowChanged" msprop:Generator_RowClassName="stp_getImpiantiByCodCSRow" msprop:Generator_RowChangingName="stp_getImpiantiByCodCSRowChanging" msprop:Generator_RowEvArgName="stp_getImpiantiByCodCSRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_getImpiantiByCodCSRowChangeEventHandler" msprop:Generator_TableClassName="stp_getImpiantiByCodCSDataTable" msprop:Generator_TableVarName="tablestp_getImpiantiByCodCS" msprop:Generator_RowDeletingName="stp_getImpiantiByCodCSRowDeleting" msprop:Generator_TablePropName="stp_getImpiantiByCodCS">
<xs:complexType>
<xs:sequence>
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Campionatura" msprop:Generator_UserColumnName="Campionatura" msprop:Generator_ColumnPropNameInRow="Campionatura" msprop:Generator_ColumnVarNameInTable="columnCampionatura" msprop:Generator_ColumnPropNameInTable="CampionaturaColumn" minOccurs="0">
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescImpianto" msprop:Generator_UserColumnName="DescImpianto" msprop:Generator_ColumnVarNameInTable="columnDescImpianto" msprop:Generator_ColumnPropNameInRow="DescImpianto" msprop:Generator_ColumnPropNameInTable="DescImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Campionatura" msprop:Generator_UserColumnName="Campionatura" msprop:Generator_ColumnVarNameInTable="columnCampionatura" msprop:Generator_ColumnPropNameInRow="Campionatura" msprop:Generator_ColumnPropNameInTable="CampionaturaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TipoLinea" msprop:Generator_UserColumnName="TipoLinea" msprop:Generator_ColumnPropNameInRow="TipoLinea" msprop:Generator_ColumnVarNameInTable="columnTipoLinea" msprop:Generator_ColumnPropNameInTable="TipoLineaColumn" minOccurs="0">
<xs:element name="TipoLinea" msprop:Generator_UserColumnName="TipoLinea" msprop:Generator_ColumnVarNameInTable="columnTipoLinea" msprop:Generator_ColumnPropNameInRow="TipoLinea" msprop:Generator_ColumnPropNameInTable="TipoLineaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
@@ -712,29 +754,29 @@ where value = @value</CommandText>
<xs:element name="STP" msprop:Generator_UserTableName="STP" msprop:Generator_RowDeletedName="STPRowDeleted" msprop:Generator_RowChangedName="STPRowChanged" msprop:Generator_RowClassName="STPRow" msprop:Generator_RowChangingName="STPRowChanging" msprop:Generator_RowEvArgName="STPRowChangeEvent" msprop:Generator_RowEvHandlerName="STPRowChangeEventHandler" msprop:Generator_TableClassName="STPDataTable" msprop:Generator_TableVarName="tableSTP" msprop:Generator_RowDeletingName="STPRowDeleting" msprop:Generator_TablePropName="STP">
<xs:complexType>
<xs:sequence>
<xs:element name="Versione" msprop:Generator_UserColumnName="Versione" msprop:Generator_ColumnPropNameInRow="Versione" msprop:Generator_ColumnVarNameInTable="columnVersione" msprop:Generator_ColumnPropNameInTable="VersioneColumn" type="xs:int" />
<xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Versione" msprop:Generator_UserColumnName="Versione" msprop:Generator_ColumnVarNameInTable="columnVersione" msprop:Generator_ColumnPropNameInRow="Versione" msprop:Generator_ColumnPropNameInTable="VersioneColumn" type="xs:int" />
<xs:element name="Data" msprop:Generator_UserColumnName="Data" msprop:Generator_ColumnVarNameInTable="columnData" msprop:Generator_ColumnPropNameInRow="Data" msprop:Generator_ColumnPropNameInTable="DataColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPeriodiTrad" msprop:Generator_UserTableName="v_selPeriodiTrad" msprop:Generator_RowDeletedName="v_selPeriodiTradRowDeleted" msprop:Generator_RowChangedName="v_selPeriodiTradRowChanged" msprop:Generator_RowClassName="v_selPeriodiTradRow" msprop:Generator_RowChangingName="v_selPeriodiTradRowChanging" msprop:Generator_RowEvArgName="v_selPeriodiTradRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPeriodiTradRowChangeEventHandler" msprop:Generator_TableClassName="v_selPeriodiTradDataTable" msprop:Generator_TableVarName="tablev_selPeriodiTrad" msprop:Generator_RowDeletingName="v_selPeriodiTradRowDeleting" msprop:Generator_TablePropName="v_selPeriodiTrad">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
@@ -747,8 +789,8 @@ where value = @value</CommandText>
<xs:element name="v_selStatiListe" msprop:Generator_UserTableName="v_selStatiListe" msprop:Generator_RowDeletedName="v_selStatiListeRowDeleted" msprop:Generator_RowChangedName="v_selStatiListeRowChanged" msprop:Generator_RowClassName="v_selStatiListeRow" msprop:Generator_RowChangingName="v_selStatiListeRowChanging" msprop:Generator_RowEvArgName="v_selStatiListeRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selStatiListeRowChangeEventHandler" msprop:Generator_TableClassName="v_selStatiListeDataTable" msprop:Generator_TableVarName="tablev_selStatiListe" msprop:Generator_RowDeletingName="v_selStatiListeRowDeleting" msprop:Generator_TablePropName="v_selStatiListe">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -761,14 +803,14 @@ where value = @value</CommandText>
<xs:element name="v_selTipoLista" msprop:Generator_UserTableName="v_selTipoLista" msprop:Generator_RowDeletedName="v_selTipoListaRowDeleted" msprop:Generator_RowChangedName="v_selTipoListaRowChanged" msprop:Generator_RowClassName="v_selTipoListaRow" msprop:Generator_RowChangingName="v_selTipoListaRowChanging" msprop:Generator_RowEvArgName="v_selTipoListaRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoListaRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoListaDataTable" msprop:Generator_TableVarName="tablev_selTipoLista" msprop:Generator_RowDeletingName="v_selTipoListaRowDeleting" msprop:Generator_TablePropName="v_selTipoLista">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
@@ -781,29 +823,29 @@ where value = @value</CommandText>
<xs:element name="v_selUdcByPart" msprop:Generator_UserTableName="v_selUdcByPart" msprop:Generator_RowDeletedName="v_selUdcByPartRowDeleted" msprop:Generator_RowChangedName="v_selUdcByPartRowChanged" msprop:Generator_RowClassName="v_selUdcByPartRow" msprop:Generator_RowChangingName="v_selUdcByPartRowChanging" msprop:Generator_RowEvArgName="v_selUdcByPartRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selUdcByPartRowChangeEventHandler" msprop:Generator_TableClassName="v_selUdcByPartDataTable" msprop:Generator_TableVarName="tablev_selUdcByPart" msprop:Generator_RowDeletingName="v_selUdcByPartRowDeleting" msprop:Generator_TablePropName="v_selUdcByPart">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="152" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Particolare" msprop:Generator_UserColumnName="Particolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn" minOccurs="0">
<xs:element name="Particolare" msprop:Generator_UserColumnName="Particolare" msprop:Generator_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxPosizione" msprop:Generator_UserColumnName="IdxPosizione" msprop:Generator_ColumnPropNameInRow="IdxPosizione" msprop:Generator_ColumnVarNameInTable="columnIdxPosizione" msprop:Generator_ColumnPropNameInTable="IdxPosizioneColumn" type="xs:int" minOccurs="0" />
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:element name="IdxPosizione" msprop:Generator_UserColumnName="IdxPosizione" msprop:Generator_ColumnVarNameInTable="columnIdxPosizione" msprop:Generator_ColumnPropNameInRow="IdxPosizione" msprop:Generator_ColumnPropNameInTable="IdxPosizioneColumn" type="xs:int" minOccurs="0" />
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
@@ -816,14 +858,14 @@ where value = @value</CommandText>
<xs:element name="v_selTipoDelibera" msprop:Generator_UserTableName="v_selTipoDelibera" msprop:Generator_RowDeletedName="v_selTipoDeliberaRowDeleted" msprop:Generator_RowChangedName="v_selTipoDeliberaRowChanged" msprop:Generator_RowClassName="v_selTipoDeliberaRow" msprop:Generator_RowChangingName="v_selTipoDeliberaRowChanging" msprop:Generator_RowEvArgName="v_selTipoDeliberaRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoDeliberaRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoDeliberaDataTable" msprop:Generator_TableVarName="tablev_selTipoDelibera" msprop:Generator_RowDeletingName="v_selTipoDeliberaRowDeleting" msprop:Generator_TablePropName="v_selTipoDelibera">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -836,21 +878,21 @@ where value = @value</CommandText>
<xs:element name="stp_ricercaFullTerminalino" msprop:Generator_UserTableName="stp_ricercaFullTerminalino" msprop:Generator_RowDeletedName="stp_ricercaFullTerminalinoRowDeleted" msprop:Generator_RowChangedName="stp_ricercaFullTerminalinoRowChanged" msprop:Generator_RowClassName="stp_ricercaFullTerminalinoRow" msprop:Generator_RowChangingName="stp_ricercaFullTerminalinoRowChanging" msprop:Generator_RowEvArgName="stp_ricercaFullTerminalinoRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_ricercaFullTerminalinoRowChangeEventHandler" msprop:Generator_TableClassName="stp_ricercaFullTerminalinoDataTable" msprop:Generator_TableVarName="tablestp_ricercaFullTerminalino" msprop:Generator_RowDeletingName="stp_ricercaFullTerminalinoRowDeleting" msprop:Generator_TablePropName="stp_ricercaFullTerminalino">
<xs:complexType>
<xs:sequence>
<xs:element name="Tipo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Tipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" minOccurs="0">
<xs:element name="Tipo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="11" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="valore" msdata:ReadOnly="true" msprop:Generator_UserColumnName="valore" msprop:Generator_ColumnPropNameInRow="valore" msprop:Generator_ColumnVarNameInTable="columnvalore" msprop:Generator_ColumnPropNameInTable="valoreColumn" minOccurs="0">
<xs:element name="valore" msdata:ReadOnly="true" msprop:Generator_UserColumnName="valore" msprop:Generator_ColumnVarNameInTable="columnvalore" msprop:Generator_ColumnPropNameInRow="valore" msprop:Generator_ColumnPropNameInTable="valoreColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -863,21 +905,21 @@ where value = @value</CommandText>
<xs:element name="v_selMagLogico" msprop:Generator_UserTableName="v_selMagLogico" msprop:Generator_RowDeletedName="v_selMagLogicoRowDeleted" msprop:Generator_RowChangedName="v_selMagLogicoRowChanged" msprop:Generator_RowClassName="v_selMagLogicoRow" msprop:Generator_RowChangingName="v_selMagLogicoRowChanging" msprop:Generator_RowEvArgName="v_selMagLogicoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMagLogicoRowChangeEventHandler" msprop:Generator_TableClassName="v_selMagLogicoDataTable" msprop:Generator_TableVarName="tablev_selMagLogico" msprop:Generator_RowDeletingName="v_selMagLogicoRowDeleting" msprop:Generator_TablePropName="v_selMagLogico">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" minOccurs="0">
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
@@ -917,22 +959,49 @@ where value = @value</CommandText>
<xs:element name="AS400_Comandi" msprop:Generator_UserTableName="AS400_Comandi" msprop:Generator_RowDeletedName="AS400_ComandiRowDeleted" msprop:Generator_RowChangedName="AS400_ComandiRowChanged" msprop:Generator_RowClassName="AS400_ComandiRow" msprop:Generator_RowChangingName="AS400_ComandiRowChanging" msprop:Generator_RowEvArgName="AS400_ComandiRowChangeEvent" msprop:Generator_RowEvHandlerName="AS400_ComandiRowChangeEventHandler" msprop:Generator_TableClassName="AS400_ComandiDataTable" msprop:Generator_TableVarName="tableAS400_Comandi" msprop:Generator_RowDeletingName="AS400_ComandiRowDeleting" msprop:Generator_TablePropName="AS400_Comandi">
<xs:complexType>
<xs:sequence>
<xs:element name="DataEsecuzione" msprop:Generator_UserColumnName="DataEsecuzione" msprop:Generator_ColumnVarNameInTable="columnDataEsecuzione" msprop:Generator_ColumnPropNameInRow="DataEsecuzione" msprop:Generator_ColumnPropNameInTable="DataEsecuzioneColumn" type="xs:dateTime" />
<xs:element name="Stored" msprop:Generator_UserColumnName="Stored" msprop:Generator_ColumnVarNameInTable="columnStored" msprop:Generator_ColumnPropNameInRow="Stored" msprop:Generator_ColumnPropNameInTable="StoredColumn">
<xs:element name="DataEsecuzione" msprop:Generator_UserColumnName="DataEsecuzione" msprop:Generator_ColumnPropNameInRow="DataEsecuzione" msprop:Generator_ColumnVarNameInTable="columnDataEsecuzione" msprop:Generator_ColumnPropNameInTable="DataEsecuzioneColumn" type="xs:dateTime" />
<xs:element name="Stored" msprop:Generator_UserColumnName="Stored" msprop:Generator_ColumnPropNameInRow="Stored" msprop:Generator_ColumnVarNameInTable="columnStored" msprop:Generator_ColumnPropNameInTable="StoredColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ComandoTSQL" msprop:Generator_UserColumnName="ComandoTSQL" msprop:Generator_ColumnVarNameInTable="columnComandoTSQL" msprop:Generator_ColumnPropNameInRow="ComandoTSQL" msprop:Generator_ColumnPropNameInTable="ComandoTSQLColumn" minOccurs="0">
<xs:element name="ComandoTSQL" msprop:Generator_UserColumnName="ComandoTSQL" msprop:Generator_ColumnPropNameInRow="ComandoTSQL" msprop:Generator_ColumnVarNameInTable="columnComandoTSQL" msprop:Generator_ColumnPropNameInTable="ComandoTSQLColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Test" msprop:Generator_UserColumnName="Test" msprop:Generator_ColumnVarNameInTable="columnTest" msprop:Generator_ColumnPropNameInRow="Test" msprop:Generator_ColumnPropNameInTable="TestColumn" type="xs:int" minOccurs="0" />
<xs:element name="Test" msprop:Generator_UserColumnName="Test" msprop:Generator_ColumnPropNameInRow="Test" msprop:Generator_ColumnVarNameInTable="columnTest" msprop:Generator_ColumnPropNameInTable="TestColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selParticolari" msprop:Generator_UserTableName="v_selParticolari" msprop:Generator_RowDeletedName="v_selParticolariRowDeleted" msprop:Generator_TableClassName="v_selParticolariDataTable" msprop:Generator_RowChangedName="v_selParticolariRowChanged" msprop:Generator_RowClassName="v_selParticolariRow" msprop:Generator_RowChangingName="v_selParticolariRowChanging" msprop:Generator_RowEvArgName="v_selParticolariRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selParticolariRowChangeEventHandler" msprop:Generator_TablePropName="v_selParticolari" msprop:Generator_TableVarName="tablev_selParticolari" msprop:Generator_RowDeletingName="v_selParticolariRowDeleting">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -984,5 +1053,9 @@ where value = @value</CommandText>
<xs:selector xpath=".//mstns:v_selDestinatariListePrelievo" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selParticolari_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selParticolari" />
<xs:field xpath="mstns:value" />
</xs:unique>
</xs:element>
</xs:schema>
+16 -15
View File
@@ -4,22 +4,23 @@
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="-10" 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="-4" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:v_selMag" ZOrder="6" X="51" Y="61" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selBlocco" ZOrder="5" X="598" Y="103" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_selTipoCella" ZOrder="14" X="716" Y="476" Height="191" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:stp_getImpiantiByCodCS" ZOrder="13" X="390" Y="614" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:STP" ZOrder="1" X="14" Y="297" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="81" />
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="12" X="703" Y="779" Height="153" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selStatiListe" ZOrder="11" X="949" Y="219" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selTipoLista" ZOrder="10" X="1005" Y="684" Height="115" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selUdcByPart" ZOrder="3" X="1003" Y="426" Height="191" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:v_selTipoDelibera" ZOrder="9" X="948" Y="56" Height="115" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:stp_ricercaFullTerminalino" ZOrder="8" X="377" Y="346" Height="134" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selMagLogico" ZOrder="7" X="56" Y="683" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selDestinatariListePrelievo" ZOrder="4" X="309" Y="77" Height="172" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AS400_Comandi" ZOrder="2" X="131" Y="881" Height="172" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_selMag" ZOrder="7" X="51" Y="61" Height="153" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selBlocco" ZOrder="6" X="598" Y="103" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_selTipoCella" ZOrder="15" X="635" Y="330" Height="191" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:stp_getImpiantiByCodCS" ZOrder="14" X="313" Y="598" Height="172" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:STP" ZOrder="2" X="14" Y="297" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="81" />
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="13" X="681" Y="545" Height="153" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selStatiListe" ZOrder="12" X="949" Y="219" Height="115" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selTipoLista" ZOrder="11" X="1005" Y="684" Height="115" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_selUdcByPart" ZOrder="4" X="1003" Y="426" Height="191" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:v_selTipoDelibera" ZOrder="10" X="948" Y="56" Height="115" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:stp_ricercaFullTerminalino" ZOrder="9" X="377" Y="346" Height="134" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selMagLogico" ZOrder="8" X="56" Y="683" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_selDestinatariListePrelievo" ZOrder="5" X="309" Y="77" Height="172" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AS400_Comandi" ZOrder="3" X="131" Y="881" Height="172" Width="238" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:v_selParticolari" ZOrder="1" X="676" Y="732" Height="172" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
</Shapes>
<Connectors />
</DiagramLayout>
+46 -22
View File
@@ -4777,6 +4777,8 @@ namespace GMW_data {
private global::System.Data.DataColumn columnNewest;
private global::System.Data.DataColumn columnDescBlocco;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public V_MagazziniOverviewDataTable() {
this.TableName = "V_MagazziniOverview";
@@ -4884,6 +4886,13 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn DescBloccoColumn {
get {
return this.columnDescBlocco;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
@@ -4913,7 +4922,7 @@ namespace GMW_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public V_MagazziniOverviewRow AddV_MagazziniOverviewRow(string CodCS, string CodMag, string DescMag, int IdxBlocco, string CodBlocco, int TotCelle, int CelleAttive, int CelleOccupate, int CelleLibere, System.DateTime Oldest, System.DateTime Newest) {
public V_MagazziniOverviewRow AddV_MagazziniOverviewRow(string CodCS, string CodMag, string DescMag, int IdxBlocco, string CodBlocco, int TotCelle, int CelleAttive, int CelleOccupate, int CelleLibere, System.DateTime Oldest, System.DateTime Newest, string DescBlocco) {
V_MagazziniOverviewRow rowV_MagazziniOverviewRow = ((V_MagazziniOverviewRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodCS,
@@ -4926,7 +4935,8 @@ namespace GMW_data {
CelleOccupate,
CelleLibere,
Oldest,
Newest};
Newest,
DescBlocco};
rowV_MagazziniOverviewRow.ItemArray = columnValuesArray;
this.Rows.Add(rowV_MagazziniOverviewRow);
return rowV_MagazziniOverviewRow;
@@ -4965,6 +4975,7 @@ namespace GMW_data {
this.columnCelleLibere = base.Columns["CelleLibere"];
this.columnOldest = base.Columns["Oldest"];
this.columnNewest = base.Columns["Newest"];
this.columnDescBlocco = base.Columns["DescBlocco"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4991,6 +5002,8 @@ namespace GMW_data {
base.Columns.Add(this.columnOldest);
this.columnNewest = new global::System.Data.DataColumn("Newest", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnNewest);
this.columnDescBlocco = new global::System.Data.DataColumn("DescBlocco", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnDescBlocco);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodCS,
this.columnCodMag,
@@ -5001,11 +5014,13 @@ namespace GMW_data {
this.columnCodMag.MaxLength = 50;
this.columnDescMag.MaxLength = 50;
this.columnIdxBlocco.AllowDBNull = false;
this.columnCodBlocco.AllowDBNull = false;
this.columnCodBlocco.MaxLength = 3;
this.columnTotCelle.ReadOnly = true;
this.columnCelleLibere.ReadOnly = true;
this.columnOldest.ReadOnly = true;
this.columnNewest.ReadOnly = true;
this.columnDescBlocco.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12193,12 +12208,7 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string CodBlocco {
get {
try {
return ((string)(this[this.tableV_MagazziniOverview.CodBloccoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'CodBlocco\' in table \'V_MagazziniOverview\' is DBNull.", e);
}
return ((string)(this[this.tableV_MagazziniOverview.CodBloccoColumn]));
}
set {
this[this.tableV_MagazziniOverview.CodBloccoColumn] = value;
@@ -12295,6 +12305,21 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string DescBlocco {
get {
try {
return ((string)(this[this.tableV_MagazziniOverview.DescBloccoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'DescBlocco\' in table \'V_MagazziniOverview\' is DBNull.", e);
}
}
set {
this[this.tableV_MagazziniOverview.DescBloccoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDescMagNull() {
return this.IsNull(this.tableV_MagazziniOverview.DescMagColumn);
@@ -12305,16 +12330,6 @@ namespace GMW_data {
this[this.tableV_MagazziniOverview.DescMagColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsCodBloccoNull() {
return this.IsNull(this.tableV_MagazziniOverview.CodBloccoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetCodBloccoNull() {
this[this.tableV_MagazziniOverview.CodBloccoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsTotCelleNull() {
return this.IsNull(this.tableV_MagazziniOverview.TotCelleColumn);
@@ -12374,6 +12389,16 @@ namespace GMW_data {
public void SetNewestNull() {
this[this.tableV_MagazziniOverview.NewestColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDescBloccoNull() {
return this.IsNull(this.tableV_MagazziniOverview.DescBloccoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetDescBloccoNull() {
this[this.tableV_MagazziniOverview.DescBloccoColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -22051,6 +22076,7 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
tableMapping.ColumnMappings.Add("CelleLibere", "CelleLibere");
tableMapping.ColumnMappings.Add("Oldest", "Oldest");
tableMapping.ColumnMappings.Add("Newest", "Newest");
tableMapping.ColumnMappings.Add("DescBlocco", "DescBlocco");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -22065,8 +22091,7 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT CodCS, CodMag, DescMag, IdxBlocco, CodBlocco, TotCelle, CelleAttive, Celle" +
"Occupate, CelleLibere, Oldest, Newest FROM dbo.V_MagazziniOverview";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.V_MagazziniOverview";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -25559,8 +25584,7 @@ SELECT IdxPosizione, DescPosizione, IsRiattivaEnabled FROM AnagPosizioni WHERE (
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 CodCS, CodMagLogico, DescMagLogico, IdxBlocco, CodMag, CodBlocco, CelleOcc" +
"upate, Oldest, Newest FROM dbo.V_MagazziniLogiciOverview";
this._commandCollection[0].CommandText = "SELECT *\r\nFROM dbo.V_MagazziniLogiciOverview";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
File diff suppressed because it is too large Load Diff
+25 -25
View File
@@ -4,33 +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="-10" ViewPortY="-21" 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="1" ViewPortY="1083" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoCartellini" ZOrder="6" X="79" Y="230" Height="495" Width="259" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:AnagMag" ZOrder="3" X="1047" Y="389" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="7" X="409" Y="544" Height="286" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoCartellini" ZOrder="7" X="79" Y="230" Height="495" Width="259" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:AnagMag" ZOrder="4" X="1047" Y="389" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="8" X="409" Y="544" Height="286" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="35" X="412" Y="310" Height="168" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Blocchi" ZOrder="30" X="1072" Y="655" Height="325" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="181" />
<Shape ID="DesignTable:Celle" ZOrder="8" X="712" Y="420" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:TipoCella" ZOrder="14" 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="-21" Height="419" Width="262" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Celle" ZOrder="9" X="712" Y="420" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:TipoCella" ZOrder="15" X="1007" Y="-15" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_UdcDetail" ZOrder="5" X="693" Y="-21" Height="419" Width="262" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagImballi" ZOrder="29" X="99" Y="18" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="16" X="95" Y="1131" Height="248" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="24" X="733" Y="1102" Height="286" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:V_DettMagPart" ZOrder="12" X="1027" Y="998" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="20" X="735" Y="891" Height="172" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:RigheListePrelievo" ZOrder="17" X="86" Y="797" Height="307" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="2" X="430" Y="879" Height="381" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_righeListePrelievoPosizione" ZOrder="18" X="400" Y="1301" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="17" X="95" Y="1131" Height="248" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="1" 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:ElencoListePrelievo" ZOrder="3" 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" />
<Shape ID="DesignTable:AnagPosizioni" ZOrder="22" X="375" Y="103" Height="153" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:V_statoCelleCapienzaAssegnati" ZOrder="19" X="111" Y="1437" Height="229" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniLogiciOverview" ZOrder="13" X="730" Y="1426" Height="267" Width="217" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:RapQual" ZOrder="5" X="1071" Y="1633" Height="419" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:v_posizioniDelibere" ZOrder="11" X="107" Y="1701" Height="134" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_RapQualSunto" ZOrder="10" X="498" Y="1731" Height="267" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagParticolari" ZOrder="9" X="765" Y="1768" Height="210" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagLeghe" ZOrder="1" X="158" Y="1873" Height="134" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagPosizioni" ZOrder="23" X="375" Y="103" Height="153" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:V_statoCelleCapienzaAssegnati" ZOrder="20" X="111" Y="1437" Height="229" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniLogiciOverview" ZOrder="14" X="730" Y="1495" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:RapQual" ZOrder="6" X="1071" Y="1633" Height="419" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:v_posizioniDelibere" ZOrder="12" X="107" Y="1701" Height="134" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_RapQualSunto" ZOrder="11" X="498" Y="1731" Height="267" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagParticolari" ZOrder="10" X="765" Y="1768" Height="210" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagLeghe" ZOrder="2" X="158" Y="1873" Height="134" Width="210" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="36" LineWidth="11">
@@ -69,7 +69,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="23" LineWidth="11">
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="24" LineWidth="11">
<RoutePoints>
<Point>
<X>712</X>
@@ -141,7 +141,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagPosizioni" ZOrder="21" LineWidth="11">
<Connector ID="DesignRelation:FK_ElencoCartellini_AnagPosizioni" ZOrder="22" LineWidth="11">
<RoutePoints>
<Point>
<X>392</X>
@@ -157,7 +157,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Celle_TipoCella" ZOrder="15" LineWidth="11">
<Connector ID="DesignRelation:FK_Celle_TipoCella" ZOrder="16" LineWidth="11">
<RoutePoints>
<Point>
<X>1029</X>
+1
View File
@@ -271,6 +271,7 @@
<None Include="SqlScripts\V1.1\GMW_00225.sql" />
<None Include="SqlScripts\V1.1\GMW_00230.sql" />
<None Include="SqlScripts\V1.1\GMW_00360.sql" />
<None Include="SqlScripts\V1.2\GMW_00427.sql" />
<None Include="SqlScripts\V1.2\GMW_00426.sql" />
<None Include="SqlScripts\V1.2\GMW_00425.sql" />
<None Include="SqlScripts\V1.2\GMW_00414.sql" />
+406
View File
@@ -0,0 +1,406 @@
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
create VIEW v_selParticolari
AS
SELECT Particolare AS value, DescParticolare AS label, ClassifArticolo AS conditio
FROM RilPro.AnagParticolari
go
commit;
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/*****************************************
* STORED stp_particolariByConditio
*
* Recupera elenco particolari data la condizione
*
* Steamware, S.E.L.
* mod: 2012.03.16
*
****************************************/
create PROCEDURE stp_particolariByConditio
(
@conditio NVARCHAR(50)
)
AS
SELECT *
FROM v_selParticolari
WHERE conditio = @conditio
RETURN
go
/*****************************************
* STORED stp_particolariByConditioLikePref
*
* Recupera elenco particolari data la condizione e l'inizio del campo value (ricerca like)
*
* Steamware, S.E.L.
* mod: 2012.03.16
*
****************************************/
create PROCEDURE stp_particolariByConditioLikePref
(
@conditio NVARCHAR(50),
@prefText NVARCHAR(50)
)
AS
SELECT *
FROM v_selParticolari
WHERE conditio = @conditio
AND value LIKE @prefText + '%'
RETURN
go
commit;
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
alter VIEW V_MagazziniOverview
AS
SELECT TOP (100) PERCENT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.DescBlocco,
dbo.TipoCella.Capienza * dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, dbo.TipoCella.Capienza * COUNT(DISTINCT dbo.Celle.IdxCella)
AS CelleAttive, COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleOccupate, dbo.TipoCella.Capienza * COUNT(DISTINCT dbo.Celle.IdxCella)
- COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleLibere, ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest,
ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest
FROM dbo.TipoCella INNER JOIN
dbo.AnagMag INNER JOIN
dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON dbo.TipoCella.CodMag = dbo.AnagMag.CodMag AND
dbo.TipoCella.CodCS = dbo.AnagMag.CodCS LEFT OUTER JOIN
dbo.Celle ON dbo.TipoCella.IdxTipoCella = dbo.Celle.IdxTipoCella AND dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco LEFT OUTER JOIN
dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella
WHERE (dbo.Celle.Attiva = 1)
GROUP BY dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco, dbo.Blocchi.NumX, dbo.Blocchi.NumY,
dbo.Blocchi.NumZ, dbo.TipoCella.Capienza, dbo.Blocchi.DescBlocco
ORDER BY dbo.AnagMag.CodMag, dbo.Blocchi.CodBlocco
go
exec sp_updateextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
Begin DesignProperties =
Begin PaneConfigurations =
Begin PaneConfiguration = 0
NumPanes = 4
Configuration = "(H (1[39] 4[23] 2[11] 3) )"
End
Begin PaneConfiguration = 1
NumPanes = 3
Configuration = "(H (1 [50] 4 [25] 3))"
End
Begin PaneConfiguration = 2
NumPanes = 3
Configuration = "(H (1 [50] 2 [25] 3))"
End
Begin PaneConfiguration = 3
NumPanes = 3
Configuration = "(H (4 [30] 2 [40] 3))"
End
Begin PaneConfiguration = 4
NumPanes = 2
Configuration = "(H (1 [56] 3))"
End
Begin PaneConfiguration = 5
NumPanes = 2
Configuration = "(H (2 [66] 3))"
End
Begin PaneConfiguration = 6
NumPanes = 2
Configuration = "(H (4 [50] 3))"
End
Begin PaneConfiguration = 7
NumPanes = 1
Configuration = "(V (3))"
End
Begin PaneConfiguration = 8
NumPanes = 3
Configuration = "(H (1[56] 4[18] 2) )"
End
Begin PaneConfiguration = 9
NumPanes = 2
Configuration = "(H (1 [75] 4))"
End
Begin PaneConfiguration = 10
NumPanes = 2
Configuration = "(H (1[66] 2) )"
End
Begin PaneConfiguration = 11
NumPanes = 2
Configuration = "(H (4 [60] 2))"
End
Begin PaneConfiguration = 12
NumPanes = 1
Configuration = "(H (1) )"
End
Begin PaneConfiguration = 13
NumPanes = 1
Configuration = "(V (4))"
End
Begin PaneConfiguration = 14
NumPanes = 1
Configuration = "(V (2))"
End
ActivePaneConfig = 0
End
Begin DiagramPane =
Begin Origin =
Top = 0
Left = 0
End
Begin Tables =
Begin Table = "TipoCella"
Begin Extent =
Top = 6
Left = 38
Bottom = 135
Right = 224
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "AnagMag"
Begin Extent =
Top = 6
Left = 662
Bottom = 118
Right = 832
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "Blocchi"
Begin Extent =
Top = 36
Left = 974
Bottom = 257
Right = 1144
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "Celle"
Begin Extent =
Top = 149
Left = 629
Bottom = 313
Right = 799
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "PosizioneUdcCorrente"
Begin Extent =
Top = 159
Left = 201
Bottom = 288
Right = 371
End
DisplayFlags = 280
TopColumn = 0
End
End
End
Begin SQLPane =
End
Begin DataPane =
Begin ParameterDefaults = ""
End
Begin ColumnWidths = 13
Width = 284
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1665
Width = 1665
Width = 1500
Width = 1500
End
End
B', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview';
go
exec sp_updateextendedproperty 'MS_DiagramPane2', 'egin CriteriaPane =
Begin ColumnWidths = 12
Column = 1440
Alias = 900
Table = 1170
Output = 720
Append = 1400
NewValue = 1170
SortType = 1350
SortOrder = 1410
GroupBy = 1350
Filter = 1350
Or = 1350
Or = 1350
Or = 1350
End
End
End
', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview';
go
commit;
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/***************************************
* STORED stp_ParticolariOverview
*
* elenco di overview sullo stato dei magazzini (dettaglio a "maglie larghe")
*
* Steamware, S.E.L.
* mod: 2010.06.02
*
****************************************/
alter PROCEDURE stp_magazzinoOverview
(
@CodCS VARCHAR(2)
)
AS
SELECT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco,
TipoCella.Capienza * Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ AS TotCelle,
TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) AS CelleAttive,
COUNT(PosizioneUdcCorrente.UDC) AS CelleOccupate,
TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) - COUNT(PosizioneUdcCorrente.UDC) AS CelleLibere,
ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest
FROM TipoCella INNER JOIN
AnagMag INNER JOIN
Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS ON TipoCella.CodMag = AnagMag.CodMag AND
TipoCella.CodCS = AnagMag.CodCS LEFT OUTER JOIN
Celle ON TipoCella.IdxTipoCella = Celle.IdxTipoCella AND Blocchi.IdxBlocco = Celle.IdxBlocco LEFT OUTER JOIN
PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella
WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ISNULL(AnagMag.Nascosto, 0) = 0)
GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco,
Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ,
TipoCella.Capienza
ORDER BY AnagMag.CodMag, Blocchi.CodBlocco
RETURN
go
/***************************************
* STORED stp_ParticolariOverview
*
* restituisce solo la riga con il num max di celle DI UN DATO magazzino
*
* Steamware, S.E.L.
* mod: 2010.06.02
*
****************************************/
alter PROCEDURE stp_magazzinoOverviewByMag_maxCelle
(
@CodCS VARCHAR(2),
@CodMag VARCHAR(50)
)
AS
WITH cte_celle AS(
SELECT b.CodBlocco, c.IdxTipoCella, COUNT(c.IdxCella) * t.Capienza AS numCelle
FROM Celle AS c INNER JOIN
Blocchi AS b ON c.IdxBlocco = b.IdxBlocco INNER JOIN
TipoCella AS t ON c.IdxTipoCella = t.IdxTipoCella
WHERE (b.CodCS = @CodCS) AND (b.CodMag = @CodMag)
GROUP BY b.CodBlocco, c.IdxTipoCella, t.Capienza
)
SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, b.IdxBlocco, b.CodBlocco, b.DescBlocco,
ISNULL(c.numCelle,ISNULL(b.NumX * b.NumY * b.NumZ,1)) AS TotCelle,
0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest
FROM AnagMag INNER JOIN Blocchi b ON AnagMag.CodMag = b.CodMag AND AnagMag.CodCS = b.CodCS INNER JOIN cte_celle c ON c.CodBlocco = b.CodBlocco
WHERE (AnagMag.CodCS = @CodCS) AND AnagMag.CodMag = @CodMag
ORDER BY TotCelle DESC
RETURN
go
/***************************************
* STORED stp_ParticolariOverview
*
* restituisce solo la riga con il num max di celle
*
* Steamware, S.E.L.
* mod: 2010.06.02
*
****************************************/
alter PROCEDURE stp_magazzinoOverview_maxCelle
(
@CodCS VARCHAR(2)
)
AS
WITH cte_celle AS(
SELECT b.CodBlocco, c.IdxTipoCella, COUNT(c.IdxCella) * t.Capienza AS numCelle
FROM Celle AS c INNER JOIN
Blocchi AS b ON c.IdxBlocco = b.IdxBlocco INNER JOIN
TipoCella AS t ON c.IdxTipoCella = t.IdxTipoCella
WHERE (b.CodCS = @CodCS)
GROUP BY b.CodBlocco, c.IdxTipoCella, t.Capienza
)
SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, b.IdxBlocco, b.CodBlocco, b.DescBlocco,
ISNULL(c.numCelle,ISNULL(b.NumX * b.NumY * b.NumZ,1)) AS TotCelle,
0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest
FROM AnagMag INNER JOIN Blocchi b ON AnagMag.CodMag = b.CodMag AND AnagMag.CodCS = b.CodCS INNER JOIN cte_celle c ON c.CodBlocco = b.CodBlocco
WHERE (AnagMag.CodCS = @CodCS)
ORDER BY TotCelle DESC
RETURN
go
commit;
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(427, GETDATE())
GO
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3
View File
@@ -16,6 +16,7 @@ namespace GMW_data
public DS_UtilityTableAdapters.v_selUdcByPartTableAdapter taUdcByPart;
public DS_UtilityTableAdapters.v_selDestinatariListePrelievoTableAdapter taDestListePre;
public DS_UtilityTableAdapters.AS400_ComandiTableAdapter taAs400;
public DS_UtilityTableAdapters.v_selParticolariTableAdapter taSelPart;
/// <summary>
@@ -28,6 +29,7 @@ namespace GMW_data
taUdcByPart = new GMW_data.DS_UtilityTableAdapters.v_selUdcByPartTableAdapter();
taDestListePre = new GMW_data.DS_UtilityTableAdapters.v_selDestinatariListePrelievoTableAdapter();
taAs400 = new GMW_data.DS_UtilityTableAdapters.AS400_ComandiTableAdapter();
taSelPart = new GMW_data.DS_UtilityTableAdapters.v_selParticolariTableAdapter();
}
/// <summary>
/// effettua setup dei connection strings da web.config delal singola applicazione
@@ -41,6 +43,7 @@ namespace GMW_data
taUdcByPart.Connection.ConnectionString = connString;
taDestListePre.Connection.ConnectionString = connString;
taAs400.Connection.ConnectionString = connString;
taSelPart.Connection.ConnectionString = connString;
}
#endregion
@@ -19,6 +19,24 @@ namespace GMW.WS
public class AutoCompletamento : System.Web.Services.WebService
{
[System.Web.Services.WebMethod]
public string[] elencoAnime(string prefixText, int count)
{
// inizializzo risposta
List<string> suggerimenti = new List<string>();
// proseguo SOLO SE min "MinCharAutocomplete" char...
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
{
// elenco candidati
DS_Utility.v_selParticolariDataTable tabParticolari = utils.obj.taSelPart.getByConditioPref("A", prefixText);
// aggiungo ogni riga...
foreach (DS_Utility.v_selParticolariRow riga in tabParticolari)
{
suggerimenti.Add(riga.value);
}
}
return suggerimenti.ToArray();
}
[System.Web.Services.WebMethod]
public string[] elencoParticolari(string prefixText, int count)
{
@@ -28,11 +46,11 @@ namespace GMW.WS
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
{
// elenco candidati
DS_magazzino.V_ParticolariOverviewDataTable tabParticolari = MagClass.magazzino.taVParticolariOverwiew.getByLikePrefix(prefixText, memLayer.ML.confReadString("CodCS"));
DS_Utility.v_selParticolariDataTable tabParticolari = utils.obj.taSelPart.getByConditioPref("P", prefixText);
// aggiungo ogni riga...
foreach (DS_magazzino.V_ParticolariOverviewRow riga in tabParticolari)
foreach (DS_Utility.v_selParticolariRow riga in tabParticolari)
{
suggerimenti.Add(riga.Particolare);
suggerimenti.Add(riga.value);
}
}
return suggerimenti.ToArray();
@@ -55,6 +73,6 @@ namespace GMW.WS
}
return suggerimenti.ToArray();
}
}
}
+3 -3
View File
@@ -307,7 +307,7 @@
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW"
"ProductCode" = "8:{FC1F8B43-87CB-46E0-A0F8-E8340418AE0F}"
"PackageCode" = "8:{ADC688D8-DF87-421A-B41B-0407AC137271}"
"PackageCode" = "8:{23E05040-E8BA-47DF-A8D4-0567E2009850}"
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
@@ -786,7 +786,7 @@
}
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_4FD0E5B75A7F47B79080EC0983BE6583"
{
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Debug\\SetDirectoryPermission.exe"
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Release\\SetDirectoryPermission.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"
@@ -814,7 +814,7 @@
}
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_8BDD7AA9D46A46EC80880F83F13C902E"
{
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Debug\\IISConsoleVB.exe"
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Release\\IISConsoleVB.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_5606017201AE45B480A8ABD8B8D68264"
Binary file not shown.
@@ -301,14 +301,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW_test"
"ProductCode" = "8:{B2CB0FAC-4475-48F8-8881-A0B82EF5456C}"
"PackageCode" = "8:{1D1C061C-BA9B-4E2C-A74A-3B3CBE0C783A}"
"ProductCode" = "8:{57FE96F9-ABD2-44EE-80E3-F3A11A0F183B}"
"PackageCode" = "8:{5FF48EA0-229F-47D6-8A66-4BEA9796518A}"
"UpgradeCode" = "8:{6FD64E39-D93B-4ADA-ADF3-303A1BCA49C2}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.1.426"
"ProductVersion" = "8:1.1.427"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
@@ -753,7 +753,7 @@
{
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_110D6612090D4EDA92F772F593B23D78"
{
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Debug\\IISConsoleVB.exe"
"SourcePath" = "8:..\\..\\IISCustomActionVB\\IISConsoleVB\\obj\\Release\\IISConsoleVB.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_D4983B53F0234BFF98835BF3AFECBB8D"
@@ -781,7 +781,7 @@
}
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_179F2C709A0749C4A5EBA956FADE7EE3"
{
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Debug\\SetDirectoryPermission.exe"
"SourcePath" = "8:..\\..\\SetDirectoryPermission\\obj\\Release\\SetDirectoryPermission.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_D4983B53F0234BFF98835BF3AFECBB8D"