Fix db x upgrade

General refresh
Update installers alla 85 (WS e GMW)

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@89 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2010-06-09 14:54:25 +00:00
parent 904efa4847
commit 6254ccdc87
51 changed files with 5274 additions and 437 deletions
+16
View File
@@ -203,6 +203,20 @@
<Compile Include="WebMasterPages\MasterAjax.master.designer.cs">
<DependentUpon>MasterAjax.master</DependentUpon>
</Compile>
<Compile Include="WebMasterPages\TermPage.Master.cs">
<DependentUpon>TermPage.Master</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebMasterPages\TermPage.Master.designer.cs">
<DependentUpon>TermPage.Master</DependentUpon>
</Compile>
<Compile Include="WebMasterPages\TermPageAjax.Master.cs">
<DependentUpon>TermPageAjax.Master</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebMasterPages\TermPageAjax.Master.designer.cs">
<DependentUpon>TermPageAjax.Master</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_anagBlocchi.ascx.cs">
<DependentUpon>mod_anagBlocchi.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -744,6 +758,8 @@
</ItemGroup>
<ItemGroup>
<None Include="images\Thumbs.db" />
<Content Include="WebMasterPages\TermPageAjax.Master" />
<Content Include="WebMasterPages\TermPage.Master" />
</ItemGroup>
<ItemGroup>
<Folder Include="logs\" />
+1 -1
View File
@@ -65,7 +65,7 @@
<add key="welcomeApp" value="GMW_welcomeApp" />
<add key="appName" value="GMW" />
<add key="mainRev" value="1.0" />
<add key="minRev" value="80" />
<add key="minRev" value="85" />
<add key="copyRight" value="SteamWare © 2010" />
<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" />
+18
View File
@@ -0,0 +1,18 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="TermPage.master.cs" Inherits="GMW.WebMasterPages.TermPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div style="width:240px; height:320px;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GMW.WebMasterPages
{
public partial class TermPage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+43
View File
@@ -0,0 +1,43 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebMasterPages {
public partial class TermPage {
/// <summary>
/// head 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.ContentPlaceHolder head;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
}
}
@@ -0,0 +1,24 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="TermPageAjax.master.cs"
Inherits="GMW.WebMasterPages.TermPageAjax" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="sm" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true"
EnableScriptLocalization="true">
</asp:ToolkitScriptManager>
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
</body>
</html>
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GMW.WebMasterPages
{
public partial class TermPageAjax : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
+52
View File
@@ -0,0 +1,52 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebMasterPages {
public partial class TermPageAjax {
/// <summary>
/// head 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.ContentPlaceHolder head;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// sm control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.ToolkitScriptManager sm;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
}
}
@@ -1 +1,75 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_detailParticolari.ascx.cs" Inherits="GMW.WebUserControls.mod_detailParticolari" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound"
DataKeyNames="DescStato,Esponente" DataSourceID="ods" OnPageIndexChanged="grView_PageIndexChanged"
OnSorted="grView_Sorted">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<Columns>
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click"
Visible="true" />
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="CodMag" SortExpression="CodMag">
<ItemTemplate>
<asp:Label ID="lblCodMag" runat="server" Text='<%# Eval("CodMag") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="CodBlocco" SortExpression="CodBlocco">
<ItemTemplate>
<asp:Label ID="lblCodBlocco" runat="server" Text='<%# Eval("CodBlocco") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Esponente" SortExpression="Esponente">
<ItemTemplate>
<asp:Label ID="lblEsponente" runat="server" Text='<%# Eval("Esponente") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="DescStato" SortExpression="DescStato">
<ItemTemplate>
<asp:Label ID="lblDescStato" runat="server" Text='<%# Eval("DescStato") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="NumUDC" SortExpression="NumUDC">
<ItemTemplate>
<asp:Label ID="lblNumUDC" runat="server" Text='<%# Eval("NumUDC") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="QtaTotPz" SortExpression="QtaTotPz">
<ItemTemplate>
<asp:Label ID="lblQtaTotPz" runat="server" Text='<%# Eval("QtaTotPz") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="DateRange" SortExpression="Oldest">
<ItemTemplate>
<asp:Label ID="lblOldest" runat="server" Text='<%# Eval("Oldest","{0:dd/MM/yyyy}") %>' />
-->
<asp:Label ID="lblNewest" runat="server" Text='<%# Eval("Newest","{0:dd/MM/yyyy}") %>' />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getParetoByParticolare"
TypeName="GMW_data.DS_magazzinoTableAdapters.V_DettMagPartTableAdapter">
<SelectParameters>
<asp:SessionParameter Name="CodCS" Type="String" SessionField="CodCS" DefaultValue="MM" />
<asp:SessionParameter Name="Particolare" Type="String" SessionField="Particolare_sel"
DefaultValue="PP" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />&nbsp;&nbsp;
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
@@ -1,17 +1,199 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
using GMW_data;
namespace GMW.WebUserControls
{
public partial class mod_detailParticolari : System.Web.UI.UserControl
public partial class mod_detailParticolari : SteamWare.ApplicationUserControl
{
protected void Page_Load(object sender, EventArgs e)
{
#region area da NON modificare
#region area protected
protected string _idxGridView;
protected string _idxGridViewExt;
protected string _tabCache;
/// <summary>
/// aggiorna controlli datagrid e numero righe in pagina
/// </summary>
protected override void aggiornaControlliDataGL()
{
base.aggiornaControlliDataGL();
grView.PageSize = _righeDataGridMed;
}
/// <summary>
/// traduce gli header delle colonne
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
/// <summary>
/// reset della selezione
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
/// <summary>
/// collega i controlli
/// </summary>
protected override void bindControlli()
{
base.bindControlli();
caricaTabelle();
}
#endregion
#region gestione eventi
public event EventHandler eh_resetSelezione;
public event EventHandler eh_nuovoValore;
public event EventHandler eh_selValore;
#endregion
#region public
/// <summary>
/// effettua update del modulo
/// </summary>
public void doUpdate()
{
resetSelezione();
}
#endregion
#endregion
#region area codice variabile
/// <summary>
/// carico le tabelle
/// </summary>
private void caricaTabelle()
{
}
/// <summary>
/// elenco colonne del datagrid
/// </summary>
/// <returns></returns>
protected DataColumnCollection colonneObj()
{
DS_magazzino.V_DettMagPartDataTable tabella = new DS_magazzino.V_DettMagPartDataTable();
DataColumnCollection colonne = tabella.Columns;
return colonne;
}
/// <summary>
/// inizializzazione valori di default
/// </summary>
/// <param name="e"></param>
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
}
/// <summary>
/// segnalo nuovo valore filtro attivo...
/// </summary>
private void checkFixOds()
{
grView.DataBind();
}
/// <summary>
/// aggiorno visualizzazione
/// </summary>
private void updateOdsDaFiltro()
{
grView.DataBind();
}
/// <summary>
/// chiamata post page change gridview
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_PageIndexChanged(object sender, EventArgs e)
{
// sistemazione dell'ods post evento cambio pagina
checkFixOds();
}
/// <summary>
/// chiamata post sort gridview
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_Sorted(object sender, EventArgs e)
{
// sistemazione dell'ods post evento sort
checkFixOds();
}
/// <summary>
/// gestione cambio selezione valore
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
//// salvo in session il lo stato scelto...
//SteamWare.memLayer.ML.setSessionVal("DescStato_sel", grView.SelectedDataKey["DescStato"], false);
//// salvo anche l'esponente scelto...
//SteamWare.memLayer.ML.setSessionVal("Esponente_sel", grView.SelectedDataKey["Esponente"], false);
// sollevo evento nuovo valore...
if (eh_selValore != null)
{
eh_selValore(this, new EventArgs());
}
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
//SteamWare.memLayer.ML.emptySessionVal("DescStato_sel");
//SteamWare.memLayer.ML.emptySessionVal("Esponente_sel");
grView.SelectedIndex = -1;
grView.DataBind();
lblWarning.Visible = false;
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
#endregion
}
}
@@ -1,18 +1,52 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebUserControls
{
public partial class mod_detailParticolari
{
namespace GMW.WebUserControls {
public partial class mod_detailParticolari {
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// ods 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.ObjectDataSource ods;
/// <summary>
/// lblNumRec 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.Label lblNumRec;
/// <summary>
/// lblWarning 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.Label lblWarning;
}
}
@@ -1,6 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_paretoPartByFullSpec.ascx.cs" Inherits="GMW.WebUserControls.mod_paretoPartByFullSpec" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="mod_barPlot.ascx" TagName="mod_barPlot" TagPrefix="uc2" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound"
DataKeyNames="DescStato,Esponente" DataSourceID="ods" OnPageIndexChanged="grView_PageIndexChanged"
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

+1 -1
View File
@@ -6,7 +6,7 @@
<add key="welcomeApp" value="GMW_welcomeApp" />
<add key="appName" value="GMW"/>
<add key="mainRev" value="1.0"/>
<add key="minRev" value="80"/>
<add key="minRev" value="85"/>
<add key="copyRight" value="SteamWare © 2010"/>
<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.
+1 -1
View File
@@ -88,7 +88,7 @@
<add key="welcomeApp" value="GMW_welcomeApp" />
<add key="appName" value="GMW"/>
<add key="mainRev" value="1.0"/>
<add key="minRev" value="51"/>
<add key="minorRev" value="85"/>
<add key="copyRight" value="SteamWare © 2010"/>
<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
@@ -14,7 +14,7 @@ namespace GMW_WS
/// <summary>
/// WebService per gestione sw bilance
/// </summary>
[WebService(Namespace = "http://www.steamware.net/", Description = "Web Services che funziona da collettore di tutte le richieste delle applicazioni per le bilance integrate a <b>GMW</b> v.1.0.50")]
[WebService(Namespace = "http://www.steamware.net/", Description = "Web Services che funziona da collettore di tutte le richieste delle applicazioni per le bilance integrate a <b>GMW</b> v.1.0.85")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
public class bilance : System.Web.Services.WebService
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -6,7 +6,7 @@
<add key="welcomeApp" value="GMW_welcomeApp" />
<add key="appName" value="GMW"/>
<add key="mainRev" value="1.0"/>
<add key="minRev" value="51"/>
<add key="minorRev" value="85"/>
<add key="copyRight" value="SteamWare © 2010"/>
<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.
+3 -3
View File
@@ -344,14 +344,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW_WS"
"ProductCode" = "8:{BE396C8D-16AF-4259-88AB-3A24D70C22AA}"
"PackageCode" = "8:{F719988E-704B-4E30-A93F-DE27216A7712}"
"ProductCode" = "8:{04AE9758-A218-47B5-AC1B-EA88B6FDA581}"
"PackageCode" = "8:{933268D2-1E65-4558-B9BD-AFCC10097A4B}"
"UpgradeCode" = "8:{BA470335-3D4B-4C20-8152-90A5F0F14FE0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.0.51"
"ProductVersion" = "8:1.0.85"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
Binary file not shown.
+30 -1
View File
@@ -14151,7 +14151,7 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
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 * FROM dbo.V_DettMagPart";
@@ -14173,6 +14173,13 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMag", global::System.Data.SqlDbType.VarChar, 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("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_paretoDettMagByParticolare";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -14258,6 +14265,28 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.V_DettMagPartDataTable getParetoByParticolare(string CodCS, string Particolare) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((CodCS == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(CodCS));
}
if ((Particolare == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Particolare));
}
DS_magazzino.V_DettMagPartDataTable dataTable = new DS_magazzino.V_DettMagPartDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
+421 -409
View File
@@ -1256,6 +1256,18 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_paretoDettMagByParticolare" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getParetoByParticolare" GetMethodModifier="Public" GetMethodName="getParetoByParticolare" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getParetoByParticolare" UserSourceName="getParetoByParticolare">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_paretoDettMagByParticolare</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="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Particolare" Precision="0" ProviderType="VarChar" Scale="0" Size="20" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
@@ -1267,6 +1279,154 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="ElencoCartellini" msprop:Generator_UserTableName="ElencoCartellini" msprop:Generator_RowDeletedName="ElencoCartelliniRowDeleted" msprop:Generator_RowChangedName="ElencoCartelliniRowChanged" msprop:Generator_RowClassName="ElencoCartelliniRow" msprop:Generator_RowChangingName="ElencoCartelliniRowChanging" msprop:Generator_RowEvArgName="ElencoCartelliniRowChangeEvent" msprop:Generator_RowEvHandlerName="ElencoCartelliniRowChangeEventHandler" msprop:Generator_TableClassName="ElencoCartelliniDataTable" msprop:Generator_TableVarName="tableElencoCartellini" msprop:Generator_RowDeletingName="ElencoCartelliniRowDeleting" msprop:Generator_TablePropName="ElencoCartellini">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn">
<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" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RagSociale" msprop:Generator_UserColumnName="RagSociale" msprop:Generator_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<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="DescParticolare" msprop:Generator_UserColumnName="DescParticolare" msprop:Generator_ColumnVarNameInTable="columnDescParticolare" msprop:Generator_ColumnPropNameInRow="DescParticolare" msprop:Generator_ColumnPropNameInTable="DescParticolareColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DisegnoGrezzo" msprop:Generator_UserColumnName="DisegnoGrezzo" msprop:Generator_ColumnVarNameInTable="columnDisegnoGrezzo" msprop:Generator_ColumnPropNameInRow="DisegnoGrezzo" msprop:Generator_ColumnPropNameInTable="DisegnoGrezzoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Esponente" msprop:Generator_UserColumnName="Esponente" msprop:Generator_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</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="CodStampo" msprop:Generator_UserColumnName="CodStampo" msprop:Generator_ColumnVarNameInTable="columnCodStampo" msprop:Generator_ColumnPropNameInRow="CodStampo" msprop:Generator_ColumnPropNameInTable="CodStampoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Figura" msprop:Generator_UserColumnName="Figura" msprop:Generator_ColumnVarNameInTable="columnFigura" msprop:Generator_ColumnPropNameInRow="Figura" msprop:Generator_ColumnPropNameInTable="FiguraColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataFus" msprop:Generator_UserColumnName="DataFus" msprop:Generator_ColumnVarNameInTable="columnDataFus" msprop:Generator_ColumnPropNameInRow="DataFus" msprop:Generator_ColumnPropNameInTable="DataFusColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="TurnoFus" msprop:Generator_UserColumnName="TurnoFus" msprop:Generator_ColumnVarNameInTable="columnTurnoFus" msprop:Generator_ColumnPropNameInRow="TurnoFus" msprop:Generator_ColumnPropNameInTable="TurnoFusColumn" type="xs:int" minOccurs="0" />
<xs:element name="CodImballo" msprop:Generator_UserColumnName="CodImballo" msprop:Generator_ColumnVarNameInTable="columnCodImballo" msprop:Generator_ColumnPropNameInRow="CodImballo" msprop:Generator_ColumnPropNameInTable="CodImballoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodSoggetto" msprop:Generator_UserColumnName="CodSoggetto" msprop:Generator_ColumnVarNameInTable="columnCodSoggetto" msprop:Generator_ColumnPropNameInRow="CodSoggetto" msprop:Generator_ColumnPropNameInTable="CodSoggettoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="16" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumCont" msprop:Generator_UserColumnName="NumCont" msprop:Generator_ColumnVarNameInTable="columnNumCont" msprop:Generator_ColumnPropNameInRow="NumCont" msprop:Generator_ColumnPropNameInTable="NumContColumn" type="xs:int" minOccurs="0" />
<xs:element name="Tara" msprop:Generator_UserColumnName="Tara" msprop:Generator_ColumnVarNameInTable="columnTara" msprop:Generator_ColumnPropNameInRow="Tara" msprop:Generator_ColumnPropNameInTable="TaraColumn" type="xs:double" minOccurs="0" />
<xs:element name="Qta" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<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="PesoTot" msprop:Generator_UserColumnName="PesoTot" msprop:Generator_ColumnVarNameInTable="columnPesoTot" msprop:Generator_ColumnPropNameInRow="PesoTot" msprop:Generator_ColumnPropNameInTable="PesoTotColumn" type="xs:double" minOccurs="0" />
<xs:element name="PesoCad" msprop:Generator_UserColumnName="PesoCad" msprop:Generator_ColumnVarNameInTable="columnPesoCad" msprop:Generator_ColumnPropNameInRow="PesoCad" msprop:Generator_ColumnPropNameInTable="PesoCadColumn" type="xs:double" minOccurs="0" />
<xs:element name="CreateDate" msprop:Generator_UserColumnName="CreateDate" msprop:Generator_ColumnVarNameInTable="columnCreateDate" msprop:Generator_ColumnPropNameInRow="CreateDate" msprop:Generator_ColumnPropNameInTable="CreateDateColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="ModDate" msprop:Generator_UserColumnName="ModDate" msprop:Generator_ColumnVarNameInTable="columnModDate" msprop:Generator_ColumnPropNameInRow="ModDate" msprop:Generator_ColumnPropNameInTable="ModDateColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagMag" msprop:Generator_UserTableName="AnagMag" msprop:Generator_RowDeletedName="AnagMagRowDeleted" msprop:Generator_RowChangedName="AnagMagRowChanged" msprop:Generator_RowClassName="AnagMagRow" msprop:Generator_RowChangingName="AnagMagRowChanging" msprop:Generator_RowEvArgName="AnagMagRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagMagRowChangeEventHandler" msprop:Generator_TableClassName="AnagMagDataTable" msprop:Generator_TableVarName="tableAnagMag" msprop:Generator_RowDeletingName="AnagMagRowDeleting" msprop:Generator_TablePropName="AnagMag">
<xs:complexType>
<xs:sequence>
<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" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescMag" msprop:Generator_UserColumnName="DescMag" msprop:Generator_ColumnPropNameInRow="DescMag" msprop:Generator_ColumnVarNameInTable="columnDescMag" msprop:Generator_ColumnPropNameInTable="DescMagColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PosizioneUdcCorrente" msprop:Generator_UserTableName="PosizioneUdcCorrente" msprop:Generator_RowDeletedName="PosizioneUdcCorrenteRowDeleted" msprop:Generator_RowChangedName="PosizioneUdcCorrenteRowChanged" msprop:Generator_RowClassName="PosizioneUdcCorrenteRow" msprop:Generator_RowChangingName="PosizioneUdcCorrenteRowChanging" msprop:Generator_RowEvArgName="PosizioneUdcCorrenteRowChangeEvent" msprop:Generator_RowEvHandlerName="PosizioneUdcCorrenteRowChangeEventHandler" msprop:Generator_TableClassName="PosizioneUdcCorrenteDataTable" msprop:Generator_TableVarName="tablePosizioneUdcCorrente" msprop:Generator_RowDeletingName="PosizioneUdcCorrenteRowDeleting" msprop:Generator_TablePropName="PosizioneUdcCorrente">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInTable="UDCColumn">
@@ -1276,120 +1436,117 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:element name="IdxCella" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RagSociale" msprop:Generator_UserColumnName="RagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35" />
</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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescParticolare" msprop:Generator_UserColumnName="DescParticolare" msprop:Generator_ColumnPropNameInRow="DescParticolare" msprop:Generator_ColumnVarNameInTable="columnDescParticolare" msprop:Generator_ColumnPropNameInTable="DescParticolareColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DisegnoGrezzo" msprop:Generator_UserColumnName="DisegnoGrezzo" msprop:Generator_ColumnPropNameInRow="DisegnoGrezzo" msprop:Generator_ColumnVarNameInTable="columnDisegnoGrezzo" msprop:Generator_ColumnPropNameInTable="DisegnoGrezzoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Esponente" msprop:Generator_UserColumnName="Esponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodStampo" msprop:Generator_UserColumnName="CodStampo" msprop:Generator_ColumnPropNameInRow="CodStampo" msprop:Generator_ColumnVarNameInTable="columnCodStampo" msprop:Generator_ColumnPropNameInTable="CodStampoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Figura" msprop:Generator_UserColumnName="Figura" msprop:Generator_ColumnPropNameInRow="Figura" msprop:Generator_ColumnVarNameInTable="columnFigura" msprop:Generator_ColumnPropNameInTable="FiguraColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataFus" msprop:Generator_UserColumnName="DataFus" msprop:Generator_ColumnPropNameInRow="DataFus" msprop:Generator_ColumnVarNameInTable="columnDataFus" msprop:Generator_ColumnPropNameInTable="DataFusColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="TurnoFus" msprop:Generator_UserColumnName="TurnoFus" msprop:Generator_ColumnPropNameInRow="TurnoFus" msprop:Generator_ColumnVarNameInTable="columnTurnoFus" msprop:Generator_ColumnPropNameInTable="TurnoFusColumn" type="xs:int" minOccurs="0" />
<xs:element name="CodImballo" msprop:Generator_UserColumnName="CodImballo" msprop:Generator_ColumnPropNameInRow="CodImballo" msprop:Generator_ColumnVarNameInTable="columnCodImballo" msprop:Generator_ColumnPropNameInTable="CodImballoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodSoggetto" msprop:Generator_UserColumnName="CodSoggetto" msprop:Generator_ColumnPropNameInRow="CodSoggetto" msprop:Generator_ColumnVarNameInTable="columnCodSoggetto" msprop:Generator_ColumnPropNameInTable="CodSoggettoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="16" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumCont" msprop:Generator_UserColumnName="NumCont" msprop:Generator_ColumnPropNameInRow="NumCont" msprop:Generator_ColumnVarNameInTable="columnNumCont" msprop:Generator_ColumnPropNameInTable="NumContColumn" type="xs:int" minOccurs="0" />
<xs:element name="Tara" msprop:Generator_UserColumnName="Tara" msprop:Generator_ColumnPropNameInRow="Tara" msprop:Generator_ColumnVarNameInTable="columnTara" msprop:Generator_ColumnPropNameInTable="TaraColumn" type="xs:double" minOccurs="0" />
<xs:element name="Qta" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</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="PesoTot" msprop:Generator_UserColumnName="PesoTot" msprop:Generator_ColumnPropNameInRow="PesoTot" msprop:Generator_ColumnVarNameInTable="columnPesoTot" msprop:Generator_ColumnPropNameInTable="PesoTotColumn" type="xs:double" minOccurs="0" />
<xs:element name="PesoCad" msprop:Generator_UserColumnName="PesoCad" msprop:Generator_ColumnPropNameInRow="PesoCad" msprop:Generator_ColumnVarNameInTable="columnPesoCad" msprop:Generator_ColumnPropNameInTable="PesoCadColumn" type="xs:double" minOccurs="0" />
<xs:element name="CreateDate" msprop:Generator_UserColumnName="CreateDate" msprop:Generator_ColumnPropNameInRow="CreateDate" msprop:Generator_ColumnVarNameInTable="columnCreateDate" msprop:Generator_ColumnPropNameInTable="CreateDateColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="ModDate" msprop:Generator_UserColumnName="ModDate" msprop:Generator_ColumnPropNameInRow="ModDate" msprop:Generator_ColumnVarNameInTable="columnModDate" msprop:Generator_ColumnPropNameInTable="ModDateColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="DataRif" msprop:Generator_UserColumnName="DataRif" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_ColumnVarNameInTable="columnDataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagMag" msprop:Generator_UserTableName="AnagMag" msprop:Generator_RowDeletedName="AnagMagRowDeleted" msprop:Generator_RowChangedName="AnagMagRowChanged" msprop:Generator_RowClassName="AnagMagRow" msprop:Generator_RowChangingName="AnagMagRowChanging" msprop:Generator_RowEvArgName="AnagMagRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagMagRowChangeEventHandler" msprop:Generator_TableClassName="AnagMagDataTable" msprop:Generator_TableVarName="tableAnagMag" msprop:Generator_RowDeletingName="AnagMagRowDeleting" msprop:Generator_TablePropName="AnagMag">
<xs:element name="PosizioneUdcStorico" msprop:Generator_UserTableName="PosizioneUdcStorico" msprop:Generator_RowDeletedName="PosizioneUdcStoricoRowDeleted" msprop:Generator_RowChangedName="PosizioneUdcStoricoRowChanged" msprop:Generator_RowClassName="PosizioneUdcStoricoRow" msprop:Generator_RowChangingName="PosizioneUdcStoricoRowChanging" msprop:Generator_RowEvArgName="PosizioneUdcStoricoRowChangeEvent" msprop:Generator_RowEvHandlerName="PosizioneUdcStoricoRowChangeEventHandler" msprop:Generator_TableClassName="PosizioneUdcStoricoDataTable" msprop:Generator_TableVarName="tablePosizioneUdcStorico" msprop:Generator_RowDeletingName="PosizioneUdcStoricoRowDeleting" msprop:Generator_TablePropName="PosizioneUdcStorico">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInTable="UDCColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxCella" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataInizio" msprop:Generator_UserColumnName="DataInizio" msprop:Generator_ColumnPropNameInRow="DataInizio" msprop:Generator_ColumnVarNameInTable="columnDataInizio" msprop:Generator_ColumnPropNameInTable="DataInizioColumn" type="xs:dateTime" />
<xs:element name="DataFine" msprop:Generator_UserColumnName="DataFine" msprop:Generator_ColumnPropNameInRow="DataFine" msprop:Generator_ColumnVarNameInTable="columnDataFine" msprop:Generator_ColumnPropNameInTable="DataFineColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Blocchi" msprop:Generator_UserTableName="Blocchi" msprop:Generator_RowDeletedName="BlocchiRowDeleted" msprop:Generator_RowChangedName="BlocchiRowChanged" msprop:Generator_RowClassName="BlocchiRow" msprop:Generator_RowChangingName="BlocchiRowChanging" msprop:Generator_RowEvArgName="BlocchiRowChangeEvent" msprop:Generator_RowEvHandlerName="BlocchiRowChangeEventHandler" msprop:Generator_TableClassName="BlocchiDataTable" msprop:Generator_TableVarName="tableBlocchi" msprop:Generator_RowDeletingName="BlocchiRowDeleting" msprop:Generator_TablePropName="Blocchi">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxBlocco" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
<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" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescBlocco" msprop:Generator_UserColumnName="DescBlocco" msprop:Generator_ColumnVarNameInTable="columnDescBlocco" msprop:Generator_ColumnPropNameInRow="DescBlocco" msprop:Generator_ColumnPropNameInTable="DescBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumX" msprop:Generator_UserColumnName="NumX" msprop:Generator_ColumnVarNameInTable="columnNumX" msprop:Generator_ColumnPropNameInRow="NumX" msprop:Generator_ColumnPropNameInTable="NumXColumn" type="xs:int" minOccurs="0" />
<xs:element name="NumY" msprop:Generator_UserColumnName="NumY" msprop:Generator_ColumnVarNameInTable="columnNumY" msprop:Generator_ColumnPropNameInRow="NumY" msprop:Generator_ColumnPropNameInTable="NumYColumn" type="xs:int" minOccurs="0" />
<xs:element name="NumZ" msprop:Generator_UserColumnName="NumZ" msprop:Generator_ColumnVarNameInTable="columnNumZ" msprop:Generator_ColumnPropNameInRow="NumZ" msprop:Generator_ColumnPropNameInTable="NumZColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Celle" msprop:Generator_UserTableName="Celle" msprop:Generator_RowDeletedName="CelleRowDeleted" msprop:Generator_RowChangedName="CelleRowChanged" msprop:Generator_RowClassName="CelleRow" msprop:Generator_RowChangingName="CelleRowChanging" msprop:Generator_RowEvArgName="CelleRowChangeEvent" msprop:Generator_RowEvHandlerName="CelleRowChangeEventHandler" msprop:Generator_TableClassName="CelleDataTable" msprop:Generator_TableVarName="tableCelle" msprop:Generator_RowDeletingName="CelleRowDeleting" msprop:Generator_TablePropName="Celle">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxCella" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
<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="CodCella" msprop:Generator_UserColumnName="CodCella" msprop:Generator_ColumnVarNameInTable="columnCodCella" msprop:Generator_ColumnPropNameInRow="CodCella" msprop:Generator_ColumnPropNameInTable="CodCellaColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxTipoCella" msprop:Generator_UserColumnName="IdxTipoCella" msprop:Generator_ColumnVarNameInTable="columnIdxTipoCella" msprop:Generator_ColumnPropNameInRow="IdxTipoCella" msprop:Generator_ColumnPropNameInTable="IdxTipoCellaColumn" type="xs:int" minOccurs="0" />
<xs:element name="Descrizione" msprop:Generator_UserColumnName="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Attiva" msprop:Generator_UserColumnName="Attiva" msprop:Generator_ColumnVarNameInTable="columnAttiva" msprop:Generator_ColumnPropNameInRow="Attiva" msprop:Generator_ColumnPropNameInTable="AttivaColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" minOccurs="0" />
<xs:element name="X" msprop:Generator_UserColumnName="X" msprop:Generator_ColumnVarNameInTable="columnX" msprop:Generator_ColumnPropNameInRow="X" msprop:Generator_ColumnPropNameInTable="XColumn" type="xs:int" minOccurs="0" />
<xs:element name="Y" msprop:Generator_UserColumnName="Y" msprop:Generator_ColumnVarNameInTable="columnY" msprop:Generator_ColumnPropNameInRow="Y" msprop:Generator_ColumnPropNameInTable="YColumn" type="xs:int" minOccurs="0" />
<xs:element name="Z" msprop:Generator_UserColumnName="Z" msprop:Generator_ColumnVarNameInTable="columnZ" msprop:Generator_ColumnPropNameInRow="Z" msprop:Generator_ColumnPropNameInTable="ZColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TipoCella" msprop:Generator_UserTableName="TipoCella" msprop:Generator_RowDeletedName="TipoCellaRowDeleted" msprop:Generator_RowChangedName="TipoCellaRowChanged" msprop:Generator_RowClassName="TipoCellaRow" msprop:Generator_RowChangingName="TipoCellaRowChanging" msprop:Generator_RowEvArgName="TipoCellaRowChangeEvent" msprop:Generator_RowEvHandlerName="TipoCellaRowChangeEventHandler" msprop:Generator_TableClassName="TipoCellaDataTable" msprop:Generator_TableVarName="tableTipoCella" msprop:Generator_RowDeletingName="TipoCellaRowDeleting" msprop:Generator_TablePropName="TipoCella">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxTipoCella" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxTipoCella" msprop:Generator_ColumnVarNameInTable="columnIdxTipoCella" msprop:Generator_ColumnPropNameInRow="IdxTipoCella" msprop:Generator_ColumnPropNameInTable="IdxTipoCellaColumn" type="xs:int" />
<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">
@@ -1404,288 +1561,33 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescMag" msprop:Generator_UserColumnName="DescMag" msprop:Generator_ColumnVarNameInTable="columnDescMag" msprop:Generator_ColumnPropNameInRow="DescMag" msprop:Generator_ColumnPropNameInTable="DescMagColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PosizioneUdcCorrente" msprop:Generator_UserTableName="PosizioneUdcCorrente" msprop:Generator_RowDeletedName="PosizioneUdcCorrenteRowDeleted" msprop:Generator_RowChangedName="PosizioneUdcCorrenteRowChanged" msprop:Generator_RowClassName="PosizioneUdcCorrenteRow" msprop:Generator_RowChangingName="PosizioneUdcCorrenteRowChanging" msprop:Generator_RowEvArgName="PosizioneUdcCorrenteRowChangeEvent" msprop:Generator_RowEvHandlerName="PosizioneUdcCorrenteRowChangeEventHandler" msprop:Generator_TableClassName="PosizioneUdcCorrenteDataTable" msprop:Generator_TableVarName="tablePosizioneUdcCorrente" msprop:Generator_RowDeletingName="PosizioneUdcCorrenteRowDeleting" msprop:Generator_TablePropName="PosizioneUdcCorrente">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxCella" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
<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="DataRif" msprop:Generator_UserColumnName="DataRif" msprop:Generator_ColumnVarNameInTable="columnDataRif" msprop:Generator_ColumnPropNameInRow="DataRif" msprop:Generator_ColumnPropNameInTable="DataRifColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PosizioneUdcStorico" msprop:Generator_UserTableName="PosizioneUdcStorico" msprop:Generator_RowDeletedName="PosizioneUdcStoricoRowDeleted" msprop:Generator_RowChangedName="PosizioneUdcStoricoRowChanged" msprop:Generator_RowClassName="PosizioneUdcStoricoRow" msprop:Generator_RowChangingName="PosizioneUdcStoricoRowChanging" msprop:Generator_RowEvArgName="PosizioneUdcStoricoRowChangeEvent" msprop:Generator_RowEvHandlerName="PosizioneUdcStoricoRowChangeEventHandler" msprop:Generator_TableClassName="PosizioneUdcStoricoDataTable" msprop:Generator_TableVarName="tablePosizioneUdcStorico" msprop:Generator_RowDeletingName="PosizioneUdcStoricoRowDeleting" msprop:Generator_TablePropName="PosizioneUdcStorico">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxCella" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
<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="DataInizio" msprop:Generator_UserColumnName="DataInizio" msprop:Generator_ColumnVarNameInTable="columnDataInizio" msprop:Generator_ColumnPropNameInRow="DataInizio" msprop:Generator_ColumnPropNameInTable="DataInizioColumn" type="xs:dateTime" />
<xs:element name="DataFine" msprop:Generator_UserColumnName="DataFine" msprop:Generator_ColumnVarNameInTable="columnDataFine" msprop:Generator_ColumnPropNameInRow="DataFine" msprop:Generator_ColumnPropNameInTable="DataFineColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Blocchi" msprop:Generator_UserTableName="Blocchi" msprop:Generator_RowDeletedName="BlocchiRowDeleted" msprop:Generator_RowChangedName="BlocchiRowChanged" msprop:Generator_RowClassName="BlocchiRow" msprop:Generator_RowChangingName="BlocchiRowChanging" msprop:Generator_RowEvArgName="BlocchiRowChangeEvent" msprop:Generator_RowEvHandlerName="BlocchiRowChangeEventHandler" msprop:Generator_TableClassName="BlocchiDataTable" msprop:Generator_TableVarName="tableBlocchi" msprop:Generator_RowDeletingName="BlocchiRowDeleting" msprop:Generator_TablePropName="Blocchi">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxBlocco" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
<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" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<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="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescBlocco" msprop:Generator_UserColumnName="DescBlocco" msprop:Generator_ColumnPropNameInRow="DescBlocco" msprop:Generator_ColumnVarNameInTable="columnDescBlocco" msprop:Generator_ColumnPropNameInTable="DescBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumX" msprop:Generator_UserColumnName="NumX" msprop:Generator_ColumnPropNameInRow="NumX" msprop:Generator_ColumnVarNameInTable="columnNumX" msprop:Generator_ColumnPropNameInTable="NumXColumn" type="xs:int" minOccurs="0" />
<xs:element name="NumY" msprop:Generator_UserColumnName="NumY" msprop:Generator_ColumnPropNameInRow="NumY" msprop:Generator_ColumnVarNameInTable="columnNumY" msprop:Generator_ColumnPropNameInTable="NumYColumn" type="xs:int" minOccurs="0" />
<xs:element name="NumZ" msprop:Generator_UserColumnName="NumZ" msprop:Generator_ColumnPropNameInRow="NumZ" msprop:Generator_ColumnVarNameInTable="columnNumZ" msprop:Generator_ColumnPropNameInTable="NumZColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Celle" msprop:Generator_UserTableName="Celle" msprop:Generator_RowDeletedName="CelleRowDeleted" msprop:Generator_RowChangedName="CelleRowChanged" msprop:Generator_RowClassName="CelleRow" msprop:Generator_RowChangingName="CelleRowChanging" msprop:Generator_RowEvArgName="CelleRowChangeEvent" msprop:Generator_RowEvHandlerName="CelleRowChangeEventHandler" msprop:Generator_TableClassName="CelleDataTable" msprop:Generator_TableVarName="tableCelle" msprop:Generator_RowDeletingName="CelleRowDeleting" msprop:Generator_TablePropName="Celle">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxCella" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxCella" msprop:Generator_ColumnPropNameInRow="IdxCella" msprop:Generator_ColumnVarNameInTable="columnIdxCella" msprop:Generator_ColumnPropNameInTable="IdxCellaColumn" type="xs:int" />
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCella" msprop:Generator_UserColumnName="CodCella" msprop:Generator_ColumnPropNameInRow="CodCella" msprop:Generator_ColumnVarNameInTable="columnCodCella" msprop:Generator_ColumnPropNameInTable="CodCellaColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxTipoCella" msprop:Generator_UserColumnName="IdxTipoCella" msprop:Generator_ColumnPropNameInRow="IdxTipoCella" msprop:Generator_ColumnVarNameInTable="columnIdxTipoCella" msprop:Generator_ColumnPropNameInTable="IdxTipoCellaColumn" type="xs:int" minOccurs="0" />
<xs:element name="Descrizione" msprop:Generator_UserColumnName="Descrizione" msprop:Generator_ColumnPropNameInRow="Descrizione" msprop:Generator_ColumnVarNameInTable="columnDescrizione" msprop:Generator_ColumnPropNameInTable="DescrizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Attiva" msprop:Generator_UserColumnName="Attiva" msprop:Generator_ColumnPropNameInRow="Attiva" msprop:Generator_ColumnVarNameInTable="columnAttiva" msprop:Generator_ColumnPropNameInTable="AttivaColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" minOccurs="0" />
<xs:element name="X" msprop:Generator_UserColumnName="X" msprop:Generator_ColumnPropNameInRow="X" msprop:Generator_ColumnVarNameInTable="columnX" msprop:Generator_ColumnPropNameInTable="XColumn" type="xs:int" minOccurs="0" />
<xs:element name="Y" msprop:Generator_UserColumnName="Y" msprop:Generator_ColumnPropNameInRow="Y" msprop:Generator_ColumnVarNameInTable="columnY" msprop:Generator_ColumnPropNameInTable="YColumn" type="xs:int" minOccurs="0" />
<xs:element name="Z" msprop:Generator_UserColumnName="Z" msprop:Generator_ColumnPropNameInRow="Z" msprop:Generator_ColumnVarNameInTable="columnZ" msprop:Generator_ColumnPropNameInTable="ZColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TipoCella" msprop:Generator_UserTableName="TipoCella" msprop:Generator_RowDeletedName="TipoCellaRowDeleted" msprop:Generator_RowChangedName="TipoCellaRowChanged" msprop:Generator_RowClassName="TipoCellaRow" msprop:Generator_RowChangingName="TipoCellaRowChanging" msprop:Generator_RowEvArgName="TipoCellaRowChangeEvent" msprop:Generator_RowEvHandlerName="TipoCellaRowChangeEventHandler" msprop:Generator_TableClassName="TipoCellaDataTable" msprop:Generator_TableVarName="tableTipoCella" msprop:Generator_RowDeletingName="TipoCellaRowDeleting" msprop:Generator_TablePropName="TipoCella">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxTipoCella" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="IdxTipoCella" msprop:Generator_ColumnPropNameInRow="IdxTipoCella" msprop:Generator_ColumnVarNameInTable="columnIdxTipoCella" msprop:Generator_ColumnPropNameInTable="IdxTipoCellaColumn" type="xs:int" />
<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" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Quantita" msprop:Generator_UserColumnName="Quantita" msprop:Generator_ColumnPropNameInRow="Quantita" msprop:Generator_ColumnVarNameInTable="columnQuantita" msprop:Generator_ColumnPropNameInTable="QuantitaColumn" type="xs:int" />
<xs:element name="Capienza" msprop:Generator_UserColumnName="Capienza" msprop:Generator_ColumnPropNameInRow="Capienza" msprop:Generator_ColumnVarNameInTable="columnCapienza" msprop:Generator_ColumnPropNameInTable="CapienzaColumn" type="xs:int" />
<xs:element name="Max_X" msprop:Generator_UserColumnName="Max_X" msprop:Generator_ColumnPropNameInRow="Max_X" msprop:Generator_ColumnVarNameInTable="columnMax_X" msprop:Generator_ColumnPropNameInTable="Max_XColumn" type="xs:double" minOccurs="0" />
<xs:element name="Max_Y" msprop:Generator_UserColumnName="Max_Y" msprop:Generator_ColumnPropNameInRow="Max_Y" msprop:Generator_ColumnVarNameInTable="columnMax_Y" msprop:Generator_ColumnPropNameInTable="Max_YColumn" type="xs:double" minOccurs="0" />
<xs:element name="Max_Z" msprop:Generator_UserColumnName="Max_Z" msprop:Generator_ColumnPropNameInRow="Max_Z" msprop:Generator_ColumnVarNameInTable="columnMax_Z" msprop:Generator_ColumnPropNameInTable="Max_ZColumn" type="xs:double" minOccurs="0" />
<xs:element name="Max_Kg" msprop:Generator_UserColumnName="Max_Kg" msprop:Generator_ColumnPropNameInRow="Max_Kg" msprop:Generator_ColumnVarNameInTable="columnMax_Kg" msprop:Generator_ColumnPropNameInTable="Max_KgColumn" type="xs:double" minOccurs="0" />
<xs:element name="Quantita" msprop:Generator_UserColumnName="Quantita" msprop:Generator_ColumnVarNameInTable="columnQuantita" msprop:Generator_ColumnPropNameInRow="Quantita" msprop:Generator_ColumnPropNameInTable="QuantitaColumn" type="xs:int" />
<xs:element name="Capienza" msprop:Generator_UserColumnName="Capienza" msprop:Generator_ColumnVarNameInTable="columnCapienza" msprop:Generator_ColumnPropNameInRow="Capienza" msprop:Generator_ColumnPropNameInTable="CapienzaColumn" type="xs:int" />
<xs:element name="Max_X" msprop:Generator_UserColumnName="Max_X" msprop:Generator_ColumnVarNameInTable="columnMax_X" msprop:Generator_ColumnPropNameInRow="Max_X" msprop:Generator_ColumnPropNameInTable="Max_XColumn" type="xs:double" minOccurs="0" />
<xs:element name="Max_Y" msprop:Generator_UserColumnName="Max_Y" msprop:Generator_ColumnVarNameInTable="columnMax_Y" msprop:Generator_ColumnPropNameInRow="Max_Y" msprop:Generator_ColumnPropNameInTable="Max_YColumn" type="xs:double" minOccurs="0" />
<xs:element name="Max_Z" msprop:Generator_UserColumnName="Max_Z" msprop:Generator_ColumnVarNameInTable="columnMax_Z" msprop:Generator_ColumnPropNameInRow="Max_Z" msprop:Generator_ColumnPropNameInTable="Max_ZColumn" type="xs:double" minOccurs="0" />
<xs:element name="Max_Kg" msprop:Generator_UserColumnName="Max_Kg" msprop:Generator_ColumnVarNameInTable="columnMax_Kg" msprop:Generator_ColumnPropNameInRow="Max_Kg" msprop:Generator_ColumnPropNameInTable="Max_KgColumn" type="xs:double" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_UdcDetail" msprop:Generator_UserTableName="v_UdcDetail" msprop:Generator_RowDeletedName="v_UdcDetailRowDeleted" msprop:Generator_RowChangedName="v_UdcDetailRowChanged" msprop:Generator_RowClassName="v_UdcDetailRow" msprop:Generator_RowChangingName="v_UdcDetailRowChanging" msprop:Generator_RowEvArgName="v_UdcDetailRowChangeEvent" msprop:Generator_RowEvHandlerName="v_UdcDetailRowChangeEventHandler" msprop:Generator_TableClassName="v_UdcDetailDataTable" msprop:Generator_TableVarName="tablev_UdcDetail" msprop:Generator_RowDeletingName="v_UdcDetailRowDeleting" msprop:Generator_TablePropName="v_UdcDetail">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInTable="UDCColumn">
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RagSociale" msprop:Generator_UserColumnName="RagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" minOccurs="0">
<xs:element name="RagSociale" msprop:Generator_UserColumnName="RagSociale" msprop:Generator_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35" />
</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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescParticolare" msprop:Generator_UserColumnName="DescParticolare" msprop:Generator_ColumnPropNameInRow="DescParticolare" msprop:Generator_ColumnVarNameInTable="columnDescParticolare" msprop:Generator_ColumnPropNameInTable="DescParticolareColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DisegnoGrezzo" msprop:Generator_UserColumnName="DisegnoGrezzo" msprop:Generator_ColumnPropNameInRow="DisegnoGrezzo" msprop:Generator_ColumnVarNameInTable="columnDisegnoGrezzo" msprop:Generator_ColumnPropNameInTable="DisegnoGrezzoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Esponente" msprop:Generator_UserColumnName="Esponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataFus" msprop:Generator_UserColumnName="DataFus" msprop:Generator_ColumnPropNameInRow="DataFus" msprop:Generator_ColumnVarNameInTable="columnDataFus" msprop:Generator_ColumnPropNameInTable="DataFusColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="TurnoFus" msprop:Generator_UserColumnName="TurnoFus" msprop:Generator_ColumnPropNameInRow="TurnoFus" msprop:Generator_ColumnVarNameInTable="columnTurnoFus" msprop:Generator_ColumnPropNameInTable="TurnoFusColumn" type="xs:int" minOccurs="0" />
<xs:element name="CodImballo" msprop:Generator_UserColumnName="CodImballo" msprop:Generator_ColumnPropNameInRow="CodImballo" msprop:Generator_ColumnVarNameInTable="columnCodImballo" msprop:Generator_ColumnPropNameInTable="CodImballoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Qta" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="DescStato" msprop:Generator_UserColumnName="DescStato" msprop:Generator_ColumnPropNameInRow="DescStato" msprop:Generator_ColumnVarNameInTable="columnDescStato" msprop:Generator_ColumnPropNameInTable="DescStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ModDate" msprop:Generator_UserColumnName="ModDate" msprop:Generator_ColumnPropNameInRow="ModDate" msprop:Generator_ColumnVarNameInTable="columnModDate" msprop:Generator_ColumnPropNameInTable="ModDateColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="CodMag" msdata:ReadOnly="true" 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" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodBlocco" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCella" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodCella" msprop:Generator_ColumnPropNameInRow="CodCella" msprop:Generator_ColumnVarNameInTable="columnCodCella" msprop:Generator_ColumnPropNameInTable="CodCellaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="X" msdata:ReadOnly="true" msprop:Generator_UserColumnName="X" msprop:Generator_ColumnPropNameInRow="X" msprop:Generator_ColumnVarNameInTable="columnX" msprop:Generator_ColumnPropNameInTable="XColumn" type="xs:int" minOccurs="0" />
<xs:element name="Y" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Y" msprop:Generator_ColumnPropNameInRow="Y" msprop:Generator_ColumnVarNameInTable="columnY" msprop:Generator_ColumnPropNameInTable="YColumn" type="xs:int" minOccurs="0" />
<xs:element name="Z" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Z" msprop:Generator_ColumnPropNameInRow="Z" msprop:Generator_ColumnVarNameInTable="columnZ" msprop:Generator_ColumnPropNameInTable="ZColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagImballi" msprop:Generator_UserTableName="AnagImballi" msprop:Generator_RowDeletedName="AnagImballiRowDeleted" msprop:Generator_RowChangedName="AnagImballiRowChanged" msprop:Generator_RowClassName="AnagImballiRow" msprop:Generator_RowChangingName="AnagImballiRowChanging" msprop:Generator_RowEvArgName="AnagImballiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagImballiRowChangeEventHandler" msprop:Generator_TableClassName="AnagImballiDataTable" msprop:Generator_TableVarName="tableAnagImballi" msprop:Generator_RowDeletingName="AnagImballiRowDeleting" msprop:Generator_TablePropName="AnagImballi">
<xs:complexType>
<xs:sequence>
<xs:element name="CodImballo" msprop:Generator_UserColumnName="CodImballo" msprop:Generator_ColumnVarNameInTable="columnCodImballo" msprop:Generator_ColumnPropNameInRow="CodImballo" msprop:Generator_ColumnPropNameInTable="CodImballoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ClasseArticolo" msprop:Generator_UserColumnName="ClasseArticolo" msprop:Generator_ColumnVarNameInTable="columnClasseArticolo" msprop:Generator_ColumnPropNameInRow="ClasseArticolo" msprop:Generator_ColumnPropNameInTable="ClasseArticoloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescImballo" msprop:Generator_UserColumnName="DescImballo" msprop:Generator_ColumnVarNameInTable="columnDescImballo" msprop:Generator_ColumnPropNameInRow="DescImballo" msprop:Generator_ColumnPropNameInTable="DescImballoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="V_ParticolariOverview" msprop:Generator_UserTableName="V_ParticolariOverview" msprop:Generator_RowDeletedName="V_ParticolariOverviewRowDeleted" msprop:Generator_RowChangedName="V_ParticolariOverviewRowChanged" msprop:Generator_RowClassName="V_ParticolariOverviewRow" msprop:Generator_RowChangingName="V_ParticolariOverviewRowChanging" msprop:Generator_RowEvArgName="V_ParticolariOverviewRowChangeEvent" msprop:Generator_RowEvHandlerName="V_ParticolariOverviewRowChangeEventHandler" msprop:Generator_TableClassName="V_ParticolariOverviewDataTable" msprop:Generator_TableVarName="tableV_ParticolariOverview" msprop:Generator_RowDeletingName="V_ParticolariOverviewRowDeleting" msprop:Generator_TablePropName="V_ParticolariOverview">
<xs:complexType>
<xs:sequence>
<xs:element name="Particolare" msprop:Generator_UserColumnName="Particolare" msprop:Generator_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn">
<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" />
@@ -1699,85 +1601,102 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumUDC" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NumUDC" msprop:Generator_ColumnVarNameInTable="columnNumUDC" msprop:Generator_ColumnPropNameInRow="NumUDC" msprop:Generator_ColumnPropNameInTable="NumUDCColumn" type="xs:int" minOccurs="0" />
<xs:element name="TotQta" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TotQta" msprop:Generator_ColumnVarNameInTable="columnTotQta" msprop:Generator_ColumnPropNameInRow="TotQta" msprop:Generator_ColumnPropNameInTable="TotQtaColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="NumInMag" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NumInMag" msprop:Generator_ColumnVarNameInTable="columnNumInMag" msprop:Generator_ColumnPropNameInRow="NumInMag" msprop:Generator_ColumnPropNameInTable="NumInMagColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="V_MagazziniOverview" msprop:Generator_UserTableName="V_MagazziniOverview" msprop:Generator_RowDeletedName="V_MagazziniOverviewRowDeleted" msprop:Generator_RowChangedName="V_MagazziniOverviewRowChanged" msprop:Generator_RowClassName="V_MagazziniOverviewRow" msprop:Generator_RowChangingName="V_MagazziniOverviewRowChanging" msprop:Generator_RowEvArgName="V_MagazziniOverviewRowChangeEvent" msprop:Generator_RowEvHandlerName="V_MagazziniOverviewRowChangeEventHandler" msprop:Generator_TableClassName="V_MagazziniOverviewDataTable" msprop:Generator_TableVarName="tableV_MagazziniOverview" msprop:Generator_RowDeletingName="V_MagazziniOverviewRowDeleting" msprop:Generator_TablePropName="V_MagazziniOverview">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:element name="DisegnoGrezzo" msprop:Generator_UserColumnName="DisegnoGrezzo" msprop:Generator_ColumnVarNameInTable="columnDisegnoGrezzo" msprop:Generator_ColumnPropNameInRow="DisegnoGrezzo" msprop:Generator_ColumnPropNameInTable="DisegnoGrezzoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
<xs:element name="Esponente" msprop:Generator_UserColumnName="Esponente" msprop:Generator_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</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="DescMag" msprop:Generator_UserColumnName="DescMag" msprop:Generator_ColumnPropNameInRow="DescMag" msprop:Generator_ColumnVarNameInTable="columnDescMag" msprop:Generator_ColumnPropNameInTable="DescMagColumn" minOccurs="0">
<xs:element name="DataFus" msprop:Generator_UserColumnName="DataFus" msprop:Generator_ColumnVarNameInTable="columnDataFus" msprop:Generator_ColumnPropNameInRow="DataFus" msprop:Generator_ColumnPropNameInTable="DataFusColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="TurnoFus" msprop:Generator_UserColumnName="TurnoFus" msprop:Generator_ColumnVarNameInTable="columnTurnoFus" msprop:Generator_ColumnPropNameInRow="TurnoFus" msprop:Generator_ColumnPropNameInTable="TurnoFusColumn" type="xs:int" minOccurs="0" />
<xs:element name="CodImballo" msprop:Generator_UserColumnName="CodImballo" msprop:Generator_ColumnVarNameInTable="columnCodImballo" msprop:Generator_ColumnPropNameInRow="CodImballo" msprop:Generator_ColumnPropNameInTable="CodImballoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Qta" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="DescStato" msprop:Generator_UserColumnName="DescStato" msprop:Generator_ColumnVarNameInTable="columnDescStato" msprop:Generator_ColumnPropNameInRow="DescStato" msprop:Generator_ColumnPropNameInTable="DescStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
<xs:element name="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
<xs:element name="ModDate" msprop:Generator_UserColumnName="ModDate" msprop:Generator_ColumnVarNameInTable="columnModDate" msprop:Generator_ColumnPropNameInRow="ModDate" msprop:Generator_ColumnPropNameInTable="ModDateColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="CodMag" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodBlocco" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TotCelle" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TotCelle" msprop:Generator_ColumnPropNameInRow="TotCelle" msprop:Generator_ColumnVarNameInTable="columnTotCelle" msprop:Generator_ColumnPropNameInTable="TotCelleColumn" type="xs:int" minOccurs="0" />
<xs:element name="CelleAttive" msprop:Generator_UserColumnName="CelleAttive" msprop:Generator_ColumnPropNameInRow="CelleAttive" msprop:Generator_ColumnVarNameInTable="columnCelleAttive" msprop:Generator_ColumnPropNameInTable="CelleAttiveColumn" type="xs:int" minOccurs="0" />
<xs:element name="CelleOccupate" msprop:Generator_UserColumnName="CelleOccupate" msprop:Generator_ColumnPropNameInRow="CelleOccupate" msprop:Generator_ColumnVarNameInTable="columnCelleOccupate" msprop:Generator_ColumnPropNameInTable="CelleOccupateColumn" type="xs:int" minOccurs="0" />
<xs:element name="CelleLibere" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CelleLibere" msprop:Generator_ColumnPropNameInRow="CelleLibere" msprop:Generator_ColumnVarNameInTable="columnCelleLibere" msprop:Generator_ColumnPropNameInTable="CelleLibereColumn" type="xs:int" minOccurs="0" />
<xs:element name="Oldest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Oldest" msprop:Generator_ColumnPropNameInRow="Oldest" msprop:Generator_ColumnVarNameInTable="columnOldest" msprop:Generator_ColumnPropNameInTable="OldestColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Newest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Newest" msprop:Generator_ColumnPropNameInRow="Newest" msprop:Generator_ColumnVarNameInTable="columnNewest" msprop:Generator_ColumnPropNameInTable="NewestColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="CodCella" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodCella" msprop:Generator_ColumnVarNameInTable="columnCodCella" msprop:Generator_ColumnPropNameInRow="CodCella" msprop:Generator_ColumnPropNameInTable="CodCellaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="X" msdata:ReadOnly="true" msprop:Generator_UserColumnName="X" msprop:Generator_ColumnVarNameInTable="columnX" msprop:Generator_ColumnPropNameInRow="X" msprop:Generator_ColumnPropNameInTable="XColumn" type="xs:int" minOccurs="0" />
<xs:element name="Y" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Y" msprop:Generator_ColumnVarNameInTable="columnY" msprop:Generator_ColumnPropNameInRow="Y" msprop:Generator_ColumnPropNameInTable="YColumn" type="xs:int" minOccurs="0" />
<xs:element name="Z" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Z" msprop:Generator_ColumnVarNameInTable="columnZ" msprop:Generator_ColumnPropNameInRow="Z" msprop:Generator_ColumnPropNameInTable="ZColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="V_DettMagPart" msprop:Generator_UserTableName="V_DettMagPart" msprop:Generator_RowDeletedName="V_DettMagPartRowDeleted" msprop:Generator_RowChangedName="V_DettMagPartRowChanged" msprop:Generator_RowClassName="V_DettMagPartRow" msprop:Generator_RowChangingName="V_DettMagPartRowChanging" msprop:Generator_RowEvArgName="V_DettMagPartRowChangeEvent" msprop:Generator_RowEvHandlerName="V_DettMagPartRowChangeEventHandler" msprop:Generator_TableClassName="V_DettMagPartDataTable" msprop:Generator_TableVarName="tableV_DettMagPart" msprop:Generator_RowDeletingName="V_DettMagPartRowDeleting" msprop:Generator_TablePropName="V_DettMagPart">
<xs:element name="AnagImballi" msprop:Generator_UserTableName="AnagImballi" msprop:Generator_RowDeletedName="AnagImballiRowDeleted" msprop:Generator_RowChangedName="AnagImballiRowChanged" msprop:Generator_RowClassName="AnagImballiRow" msprop:Generator_RowChangingName="AnagImballiRowChanging" msprop:Generator_RowEvArgName="AnagImballiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagImballiRowChangeEventHandler" msprop:Generator_TableClassName="AnagImballiDataTable" msprop:Generator_TableVarName="tableAnagImballi" msprop:Generator_RowDeletingName="AnagImballiRowDeleting" msprop:Generator_TablePropName="AnagImballi">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:element name="CodImballo" msprop:Generator_UserColumnName="CodImballo" msprop:Generator_ColumnPropNameInRow="CodImballo" msprop:Generator_ColumnVarNameInTable="columnCodImballo" msprop:Generator_ColumnPropNameInTable="CodImballoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodMag" msprop:Generator_UserColumnName="CodMag" msprop:Generator_ColumnPropNameInRow="CodMag" msprop:Generator_ColumnVarNameInTable="columnCodMag" msprop:Generator_ColumnPropNameInTable="CodMagColumn">
<xs:element name="ClasseArticolo" msprop:Generator_UserColumnName="ClasseArticolo" msprop:Generator_ColumnPropNameInRow="ClasseArticolo" msprop:Generator_ColumnVarNameInTable="columnClasseArticolo" msprop:Generator_ColumnPropNameInTable="ClasseArticoloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescMag" msprop:Generator_UserColumnName="DescMag" msprop:Generator_ColumnPropNameInRow="DescMag" msprop:Generator_ColumnVarNameInTable="columnDescMag" msprop:Generator_ColumnPropNameInTable="DescMagColumn" minOccurs="0">
<xs:element name="DescImballo" msprop:Generator_UserColumnName="DescImballo" msprop:Generator_ColumnPropNameInRow="DescImballo" msprop:Generator_ColumnVarNameInTable="columnDescImballo" msprop:Generator_ColumnPropNameInTable="DescImballoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
<xs:element name="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="V_ParticolariOverview" msprop:Generator_UserTableName="V_ParticolariOverview" msprop:Generator_RowDeletedName="V_ParticolariOverviewRowDeleted" msprop:Generator_RowChangedName="V_ParticolariOverviewRowChanged" msprop:Generator_RowClassName="V_ParticolariOverviewRow" msprop:Generator_RowChangingName="V_ParticolariOverviewRowChanging" msprop:Generator_RowEvArgName="V_ParticolariOverviewRowChangeEvent" msprop:Generator_RowEvHandlerName="V_ParticolariOverviewRowChangeEventHandler" msprop:Generator_TableClassName="V_ParticolariOverviewDataTable" msprop:Generator_TableVarName="tableV_ParticolariOverview" msprop:Generator_RowDeletingName="V_ParticolariOverviewRowDeleting" msprop:Generator_TablePropName="V_ParticolariOverview">
<xs:complexType>
<xs:sequence>
<xs:element name="Particolare" msprop:Generator_UserColumnName="Particolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -1785,18 +1704,111 @@ SELECT CodImballo, ClasseArticolo, DescImballo FROM RilPro.AnagImballi WHERE (Co
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumUDC" msprop:Generator_UserColumnName="NumUDC" msprop:Generator_ColumnPropNameInRow="NumUDC" msprop:Generator_ColumnVarNameInTable="columnNumUDC" msprop:Generator_ColumnPropNameInTable="NumUDCColumn" type="xs:int" minOccurs="0" />
<xs:element name="Oldest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Oldest" msprop:Generator_ColumnPropNameInRow="Oldest" msprop:Generator_ColumnVarNameInTable="columnOldest" msprop:Generator_ColumnPropNameInTable="OldestColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Newest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Newest" msprop:Generator_ColumnPropNameInRow="Newest" msprop:Generator_ColumnVarNameInTable="columnNewest" msprop:Generator_ColumnPropNameInTable="NewestColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="QtaTotPz" msprop:Generator_UserColumnName="QtaTotPz" msprop:Generator_ColumnPropNameInRow="QtaTotPz" msprop:Generator_ColumnVarNameInTable="columnQtaTotPz" msprop:Generator_ColumnPropNameInTable="QtaTotPzColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="DescStato" msprop:Generator_UserColumnName="DescStato" msprop:Generator_ColumnPropNameInRow="DescStato" msprop:Generator_ColumnVarNameInTable="columnDescStato" msprop:Generator_ColumnPropNameInTable="DescStatoColumn">
<xs:element name="DescParticolare" msprop:Generator_UserColumnName="DescParticolare" msprop:Generator_ColumnPropNameInRow="DescParticolare" msprop:Generator_ColumnVarNameInTable="columnDescParticolare" msprop:Generator_ColumnPropNameInTable="DescParticolareColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumUDC" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NumUDC" msprop:Generator_ColumnPropNameInRow="NumUDC" msprop:Generator_ColumnVarNameInTable="columnNumUDC" msprop:Generator_ColumnPropNameInTable="NumUDCColumn" type="xs:int" minOccurs="0" />
<xs:element name="TotQta" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TotQta" msprop:Generator_ColumnPropNameInRow="TotQta" msprop:Generator_ColumnVarNameInTable="columnTotQta" msprop:Generator_ColumnPropNameInTable="TotQtaColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="NumInMag" msdata:ReadOnly="true" msprop:Generator_UserColumnName="NumInMag" msprop:Generator_ColumnPropNameInRow="NumInMag" msprop:Generator_ColumnVarNameInTable="columnNumInMag" msprop:Generator_ColumnPropNameInTable="NumInMagColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="V_MagazziniOverview" msprop:Generator_UserTableName="V_MagazziniOverview" msprop:Generator_RowDeletedName="V_MagazziniOverviewRowDeleted" msprop:Generator_RowChangedName="V_MagazziniOverviewRowChanged" msprop:Generator_RowClassName="V_MagazziniOverviewRow" msprop:Generator_RowChangingName="V_MagazziniOverviewRowChanging" msprop:Generator_RowEvArgName="V_MagazziniOverviewRowChangeEvent" msprop:Generator_RowEvHandlerName="V_MagazziniOverviewRowChangeEventHandler" msprop:Generator_TableClassName="V_MagazziniOverviewDataTable" msprop:Generator_TableVarName="tableV_MagazziniOverview" msprop:Generator_RowDeletingName="V_MagazziniOverviewRowDeleting" msprop:Generator_TablePropName="V_MagazziniOverview">
<xs:complexType>
<xs:sequence>
<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="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="Esponente" msprop:Generator_UserColumnName="Esponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn">
<xs:element name="DescMag" msprop:Generator_UserColumnName="DescMag" msprop:Generator_ColumnVarNameInTable="columnDescMag" msprop:Generator_ColumnPropNameInRow="DescMag" msprop:Generator_ColumnPropNameInTable="DescMagColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
<xs:element name="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TotCelle" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TotCelle" msprop:Generator_ColumnVarNameInTable="columnTotCelle" msprop:Generator_ColumnPropNameInRow="TotCelle" msprop:Generator_ColumnPropNameInTable="TotCelleColumn" type="xs:int" minOccurs="0" />
<xs:element name="CelleAttive" msprop:Generator_UserColumnName="CelleAttive" msprop:Generator_ColumnVarNameInTable="columnCelleAttive" msprop:Generator_ColumnPropNameInRow="CelleAttive" msprop:Generator_ColumnPropNameInTable="CelleAttiveColumn" type="xs:int" minOccurs="0" />
<xs:element name="CelleOccupate" msprop:Generator_UserColumnName="CelleOccupate" msprop:Generator_ColumnVarNameInTable="columnCelleOccupate" msprop:Generator_ColumnPropNameInRow="CelleOccupate" msprop:Generator_ColumnPropNameInTable="CelleOccupateColumn" type="xs:int" minOccurs="0" />
<xs:element name="CelleLibere" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CelleLibere" msprop:Generator_ColumnVarNameInTable="columnCelleLibere" msprop:Generator_ColumnPropNameInRow="CelleLibere" msprop:Generator_ColumnPropNameInTable="CelleLibereColumn" type="xs:int" minOccurs="0" />
<xs:element name="Oldest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Oldest" msprop:Generator_ColumnVarNameInTable="columnOldest" msprop:Generator_ColumnPropNameInRow="Oldest" msprop:Generator_ColumnPropNameInTable="OldestColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Newest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Newest" msprop:Generator_ColumnVarNameInTable="columnNewest" msprop:Generator_ColumnPropNameInRow="Newest" msprop:Generator_ColumnPropNameInTable="NewestColumn" type="xs:dateTime" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="V_DettMagPart" msprop:Generator_UserTableName="V_DettMagPart" msprop:Generator_RowDeletedName="V_DettMagPartRowDeleted" msprop:Generator_RowChangedName="V_DettMagPartRowChanged" msprop:Generator_RowClassName="V_DettMagPartRow" msprop:Generator_RowChangingName="V_DettMagPartRowChanging" msprop:Generator_RowEvArgName="V_DettMagPartRowChangeEvent" msprop:Generator_RowEvHandlerName="V_DettMagPartRowChangeEventHandler" msprop:Generator_TableClassName="V_DettMagPartDataTable" msprop:Generator_TableVarName="tableV_DettMagPart" msprop:Generator_RowDeletingName="V_DettMagPartRowDeleting" msprop:Generator_TablePropName="V_DettMagPart">
<xs:complexType>
<xs:sequence>
<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="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="DescMag" msprop:Generator_UserColumnName="DescMag" msprop:Generator_ColumnVarNameInTable="columnDescMag" msprop:Generator_ColumnPropNameInRow="DescMag" msprop:Generator_ColumnPropNameInTable="DescMagColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxBlocco" msprop:Generator_UserColumnName="IdxBlocco" msprop:Generator_ColumnVarNameInTable="columnIdxBlocco" msprop:Generator_ColumnPropNameInRow="IdxBlocco" msprop:Generator_ColumnPropNameInTable="IdxBloccoColumn" type="xs:int" />
<xs:element name="CodBlocco" msprop:Generator_UserColumnName="CodBlocco" msprop:Generator_ColumnVarNameInTable="columnCodBlocco" msprop:Generator_ColumnPropNameInRow="CodBlocco" msprop:Generator_ColumnPropNameInTable="CodBloccoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Particolare" msprop:Generator_UserColumnName="Particolare" msprop:Generator_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumUDC" msprop:Generator_UserColumnName="NumUDC" msprop:Generator_ColumnVarNameInTable="columnNumUDC" msprop:Generator_ColumnPropNameInRow="NumUDC" msprop:Generator_ColumnPropNameInTable="NumUDCColumn" type="xs:int" minOccurs="0" />
<xs:element name="Oldest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Oldest" msprop:Generator_ColumnVarNameInTable="columnOldest" msprop:Generator_ColumnPropNameInRow="Oldest" msprop:Generator_ColumnPropNameInTable="OldestColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="Newest" msdata:ReadOnly="true" msprop:Generator_UserColumnName="Newest" msprop:Generator_ColumnVarNameInTable="columnNewest" msprop:Generator_ColumnPropNameInRow="Newest" msprop:Generator_ColumnPropNameInTable="NewestColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="QtaTotPz" msprop:Generator_UserColumnName="QtaTotPz" msprop:Generator_ColumnVarNameInTable="columnQtaTotPz" msprop:Generator_ColumnPropNameInRow="QtaTotPz" msprop:Generator_ColumnPropNameInTable="QtaTotPzColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="DescStato" msprop:Generator_UserColumnName="DescStato" msprop:Generator_ColumnVarNameInTable="columnDescStato" msprop:Generator_ColumnPropNameInRow="DescStato" msprop:Generator_ColumnPropNameInTable="DescStatoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Esponente" msprop:Generator_UserColumnName="Esponente" msprop:Generator_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
+2 -2
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="25" ViewPortY="299" 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="25" ViewPortY="308" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoCartellini" ZOrder="18" X="68" Y="333" Height="419" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:AnagMag" ZOrder="17" X="1014" Y="372" Height="210" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
@@ -17,7 +17,7 @@
<Shape ID="DesignTable:AnagImballi" ZOrder="4" X="93" Y="43" Height="172" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="3" X="38" Y="784" Height="210" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="2" X="379" Y="782" Height="343" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:V_DettMagPart" ZOrder="1" X="696" Y="930" Height="343" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:V_DettMagPart" ZOrder="1" X="696" Y="930" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="15" LineWidth="11">
+6
View File
@@ -127,6 +127,12 @@
<None Include="SqlScripts\GMW_00051.sql" />
<None Include="SqlScripts\GMW_00052.sql" />
<None Include="SqlScripts\GMW_00070.sql" />
<None Include="SqlScripts\GMW_00080.sql" />
<None Include="SqlScripts\GMW_00081.sql" />
<None Include="SqlScripts\GMW_00082.sql" />
<None Include="SqlScripts\GMW_00083.sql" />
<None Include="SqlScripts\GMW_00084.sql" />
<None Include="SqlScripts\GMW_00085.sql" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+687
View File
@@ -0,0 +1,687 @@
set xact_abort on
go
begin transaction
go
set ANSI_NULLS on
go
create VIEW V_CelleOverview
AS
SELECT dbo.Celle.CodCS, dbo.Celle.IdxCella, dbo.Celle.CodCella, dbo.Celle.X, dbo.Celle.Y, dbo.Celle.Z, ISNULL(dbo.PosizioneUdcCorrente.UDC, '') AS UDC
FROM dbo.Celle LEFT OUTER JOIN
dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella
go
exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
Begin DesignProperties =
Begin PaneConfigurations =
Begin PaneConfiguration = 0
NumPanes = 4
Configuration = "(H (1[40] 4[20] 2[20] 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 = "Celle"
Begin Extent =
Top = 35
Left = 80
Bottom = 285
Right = 250
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "PosizioneUdcCorrente"
Begin Extent =
Top = 42
Left = 422
Bottom = 171
Right = 592
End
DisplayFlags = 280
TopColumn = 0
End
End
End
Begin SQLPane =
End
Begin DataPane =
Begin ParameterDefaults = ""
End
Begin ColumnWidths = 9
Width = 284
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
End
End
Begin CriteriaPane =
Begin ColumnWidths = 11
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_CelleOverview'
go
exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'V_CelleOverview'
go
create VIEW V_DettMagPart
AS
SELECT TOP (100) PERCENT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco,
dbo.ElencoCartellini.Particolare, dbo.ElencoCartellini.Esponente, COUNT(dbo.PosizioneUdcCorrente.UDC) AS NumUDC,
ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest,
SUM(dbo.ElencoCartellini.Qta) AS QtaTotPz, dbo.AnagStatiProdotto.DescStato
FROM dbo.AnagMag INNER JOIN
dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS INNER JOIN
dbo.Celle INNER JOIN
dbo.ElencoCartellini INNER JOIN
dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella ON
dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco INNER JOIN
dbo.AnagStatiProdotto ON dbo.ElencoCartellini.CodStato = dbo.AnagStatiProdotto.CodStato
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.ElencoCartellini.Particolare, dbo.AnagStatiProdotto.DescStato, dbo.ElencoCartellini.Esponente
ORDER BY QtaTotPz DESC
go
exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
Begin DesignProperties =
Begin PaneConfigurations =
Begin PaneConfiguration = 0
NumPanes = 4
Configuration = "(H (1[40] 4[20] 2[20] 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 = "AnagMag"
Begin Extent =
Top = 22
Left = 1012
Bottom = 134
Right = 1198
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "Blocchi"
Begin Extent =
Top = 16
Left = 737
Bottom = 145
Right = 923
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "Celle"
Begin Extent =
Top = 6
Left = 486
Bottom = 135
Right = 672
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "ElencoCartellini"
Begin Extent =
Top = 163
Left = 416
Bottom = 328
Right = 602
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "PosizioneUdcCorrente"
Begin Extent =
Top = 116
Left = 35
Bottom = 245
Right = 221
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "AnagStatiProdotto"
Begin Extent =
Top = 226
Left = 650
Bottom = 321
Right = 836
End
DisplayFlags = 280
TopColumn = 0
End
End
End
Begin SQLPane =
End
Begin DataPane =
Begin ParameterDefaults = ""
End
Begin ColumnWidths = 13
Width = 284
Width = ', 'SCHEMA', 'dbo', 'VIEW', 'V_DettMagPart'
go
exec sp_addextendedproperty 'MS_DiagramPane2', '1500
Width = 1500
Width = 2145
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 2415
Width = 1500
End
End
Begin 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_DettMagPart'
go
exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'V_DettMagPart'
go
create VIEW V_MagazziniOverview
AS
SELECT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco,
dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, COUNT(dbo.Celle.IdxCella) AS CelleAttive, COUNT(dbo.PosizioneUdcCorrente.UDC)
AS CelleOccupate, COUNT(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.Celle RIGHT OUTER JOIN
dbo.AnagMag INNER JOIN
dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON
dbo.Celle.IdxBlocco = dbo.Blocchi.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
go
exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
Begin DesignProperties =
Begin PaneConfigurations =
Begin PaneConfiguration = 0
NumPanes = 4
Configuration = "(H (1[40] 4[20] 2[20] 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 = "Celle"
Begin Extent =
Top = 149
Left = 629
Bottom = 313
Right = 799
End
DisplayFlags = 280
TopColumn = 4
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 = "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 = 11
Width = 284
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1665
Width = 1665
End
End
Begin 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', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview'
go
exec sp_addextendedproperty 'MS_DiagramPane2', ' = 1350
Or = 1350
Or = 1350
End
End
End
', 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview'
go
exec sp_addextendedproperty 'MS_DiagramPaneCount', 2, 'SCHEMA', 'dbo', 'VIEW', 'V_MagazziniOverview'
go
create VIEW V_ParticolariOverview
AS
SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC,
ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag
FROM RilPro.AnagParticolari LEFT OUTER JOIN
dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN
dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC
GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, dbo.ElencoCartellini.UDC, dbo.ElencoCartellini.Qta, dbo.PosizioneUdcCorrente.IdxCella
go
exec sp_addextendedproperty 'MS_DiagramPane1', '[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
Begin DesignProperties =
Begin PaneConfigurations =
Begin PaneConfiguration = 0
NumPanes = 4
Configuration = "(H (1[40] 4[20] 2[20] 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 = "AnagParticolari (RilPro)"
Begin Extent =
Top = 6
Left = 38
Bottom = 191
Right = 208
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "ElencoCartellini"
Begin Extent =
Top = 6
Left = 277
Bottom = 270
Right = 447
End
DisplayFlags = 280
TopColumn = 0
End
Begin Table = "PosizioneUdcCorrente"
Begin Extent =
Top = 7
Left = 533
Bottom = 136
Right = 703
End
DisplayFlags = 280
TopColumn = 0
End
End
End
Begin SQLPane =
End
Begin DataPane =
Begin ParameterDefaults = ""
End
Begin ColumnWidths = 9
Width = 284
Width = 1500
Width = 2580
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
Width = 1500
End
End
Begin 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_ParticolariOverview'
go
exec sp_addextendedproperty 'MS_DiagramPaneCount', 1, 'SCHEMA', 'dbo', 'VIEW', 'V_ParticolariOverview'
go
commit
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(80, GETDATE())
GO
+65
View File
@@ -0,0 +1,65 @@
set xact_abort on
go
begin transaction
go
set ANSI_NULLS on
go
/***************************************
* STORED stp_celleLibereGetByIdxBlocco
*
* ottiene l'elenco delle posizioni LIBERE associate ad un dato blocco
*
* Steamware, S.E.L.
* mod: 2010.06.02
*
****************************************/
create PROCEDURE stp_celleLibereGetByIdxBlocco
(
@IdxBlocco INT
)
AS
SELECT Celle.IdxCella, Celle.CodCS, Celle.CodCella, Celle.IdxTipoCella, Celle.Descrizione, Celle.Attiva, Celle.IdxBlocco, Celle.X, Celle.Y, Celle.Z
FROM Celle LEFT OUTER JOIN
PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella
WHERE (Celle.IdxBlocco = @IdxBlocco) AND (Celle.Attiva = 1) AND (PosizioneUdcCorrente.IdxCella IS NULL)
RETURN
go
/***************************************
* STORED stp_celleNonAttiveByIdxBlocco
*
* ottiene l'elenco delle posizioni NON ATTIVE associate ad un dato blocco
*
* Steamware, S.E.L.
* mod: 2010.06.03
*
****************************************/
create PROCEDURE stp_celleNonAttiveByIdxBlocco
(
@IdxBlocco INT
)
AS
SELECT Celle.IdxCella, Celle.CodCS, Celle.CodCella, Celle.IdxTipoCella, Celle.Descrizione, Celle.Attiva, Celle.IdxBlocco,
Celle.X, Celle.Y, Celle.Z
FROM Celle
WHERE (Celle.IdxBlocco = @IdxBlocco) AND (Celle.Attiva = 0)
RETURN
go
commit
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(81, GETDATE())
GO
+100
View File
@@ -0,0 +1,100 @@
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
*
****************************************/
create PROCEDURE stp_magazzinoOverview
(
@CodCS VARCHAR(2)
)
AS
SELECT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco,
dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, COUNT(dbo.Celle.IdxCella) AS CelleAttive,
COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleOccupate, COUNT(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.Celle RIGHT OUTER JOIN
dbo.AnagMag INNER JOIN
dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON
dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco LEFT OUTER JOIN
dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella
WHERE (dbo.Celle.Attiva = 1) AND dbo.AnagMag.CodCS = @CodCS
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
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
*
****************************************/
create PROCEDURE stp_magazzinoOverviewByMag_maxCelle
(
@CodCS VARCHAR(2),
@CodMag VARCHAR(50)
)
AS
SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ISNULL(Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ,1) AS TotCelle,
0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest
FROM AnagMag INNER JOIN Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS
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
*
****************************************/
create PROCEDURE stp_magazzinoOverview_maxCelle
(
@CodCS VARCHAR(2)
)
AS
SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ISNULL(Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ,1) AS TotCelle,
0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest
FROM AnagMag INNER JOIN Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS
WHERE (AnagMag.CodCS = @CodCS)
ORDER BY TotCelle DESC
RETURN
go
commit
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(82, GETDATE())
GO
+101
View File
@@ -0,0 +1,101 @@
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
*
****************************************/
create PROCEDURE stp_magazzinoOverview
(
@CodCS VARCHAR(2)
)
AS
SELECT dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco,
dbo.Blocchi.NumX * dbo.Blocchi.NumY * dbo.Blocchi.NumZ AS TotCelle, COUNT(dbo.Celle.IdxCella) AS CelleAttive,
COUNT(dbo.PosizioneUdcCorrente.UDC) AS CelleOccupate, COUNT(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.Celle RIGHT OUTER JOIN
dbo.AnagMag INNER JOIN
dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS ON
dbo.Celle.IdxBlocco = dbo.Blocchi.IdxBlocco LEFT OUTER JOIN
dbo.PosizioneUdcCorrente ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella
WHERE (dbo.Celle.Attiva = 1) AND dbo.AnagMag.CodCS = @CodCS
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
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
*
****************************************/
create PROCEDURE stp_magazzinoOverviewByMag_maxCelle
(
@CodCS VARCHAR(2),
@CodMag VARCHAR(50)
)
AS
SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ISNULL(Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ,1) AS TotCelle,
0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest
FROM AnagMag INNER JOIN Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS
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
*
****************************************/
create PROCEDURE stp_magazzinoOverview_maxCelle
(
@CodCS VARCHAR(2)
)
AS
SELECT TOP (1) AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ISNULL(Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ,1) AS TotCelle,
0 AS CelleAttive, 0 AS CelleOccupate, 0 AS CelleLibere, GETDATE() AS Oldest, GETDATE() AS Newest
FROM AnagMag INNER JOIN Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS
WHERE (AnagMag.CodCS = @CodCS)
ORDER BY TotCelle DESC
RETURN
go
commit
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(83, GETDATE())
GO
+268
View File
@@ -0,0 +1,268 @@
set xact_abort on
go
begin transaction
go
set ANSI_NULLS on
go
/***************************************
* STORED stp_paretoDettMagByParticolare
*
* restituisce elenco giacenze a magazzino in logica pareto (quantità) per un dato particolare
*
* Steamware, S.E.L.
* mod: 2010.06.04
*
****************************************/
create PROCEDURE stp_paretoDettMagByParticolare
(
@CodCS VARCHAR(2),
@Particolare VARCHAR(20)
)
AS
SELECT TOP (100) PERCENT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ElencoCartellini.Particolare,
ElencoCartellini.Esponente, COUNT(PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(PosizioneUdcCorrente.DataRif),
GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(ElencoCartellini.Qta) AS QtaTotPz,
AnagStatiProdotto.DescStato
FROM AnagMag INNER JOIN
Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS INNER JOIN
Celle INNER JOIN
ElencoCartellini INNER JOIN
PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella ON
Blocchi.IdxBlocco = Celle.IdxBlocco INNER JOIN
AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato
WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ElencoCartellini.Particolare = @Particolare)
GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ,
ElencoCartellini.Particolare, ElencoCartellini.Esponente, AnagStatiProdotto.DescStato
ORDER BY QtaTotPz DESC
RETURN
go
/***************************************
* STORED stp_paretoDettPartByFullSpec
*
* restituisce elenco particolari in logica pareto (quantità) per un dato blocco di magazzino e il particolare
*
* Steamware, S.E.L.
* mod: 2010.06.04
*
****************************************/
create PROCEDURE stp_paretoDettPartByFullSpec
(
@CodCS VARCHAR(2),
@CodMag VARCHAR(50),
@IdxBlocco INT,
@Particolare VARCHAR(20)
)
AS
SELECT TOP (100) PERCENT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, ElencoCartellini.Particolare,
ElencoCartellini.Esponente, COUNT(PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(PosizioneUdcCorrente.DataRif),
GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(ElencoCartellini.Qta) AS QtaTotPz,
AnagStatiProdotto.DescStato
FROM AnagMag INNER JOIN
Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS INNER JOIN
Celle INNER JOIN
ElencoCartellini INNER JOIN
PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella ON
Blocchi.IdxBlocco = Celle.IdxBlocco INNER JOIN
AnagStatiProdotto ON ElencoCartellini.CodStato = AnagStatiProdotto.CodStato
WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (AnagMag.CodMag = @CodMag) AND (Blocchi.IdxBlocco = @IdxBlocco) AND
(ElencoCartellini.Particolare = @Particolare)
GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ,
ElencoCartellini.Particolare, ElencoCartellini.Esponente, AnagStatiProdotto.DescStato
ORDER BY QtaTotPz DESC
RETURN
go
/***************************************
* STORED stp_paretoPartByMagBlocco
*
* restituisce elenco particolari in logica pareto (quantità) per un dato blocco di magazzino, aggregati (no stato)
*
* Steamware, S.E.L.
* mod: 2010.06.03
*
****************************************/
create PROCEDURE stp_paretoPartByMagBlocco
(
@CodCS VARCHAR(2),
@CodMag VARCHAR(50),
@IdxBlocco INT
)
AS
SELECT TOP (100) PERCENT
dbo.AnagMag.CodCS, dbo.AnagMag.CodMag, dbo.AnagMag.DescMag, dbo.Blocchi.IdxBlocco, dbo.Blocchi.CodBlocco,
dbo.ElencoCartellini.Particolare, '' as Esponente, COUNT(dbo.PosizioneUdcCorrente.UDC) AS NumUDC, ISNULL(MIN(dbo.PosizioneUdcCorrente.DataRif),
GETDATE()) AS Oldest, ISNULL(MAX(dbo.PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest, SUM(dbo.ElencoCartellini.Qta) AS QtaTotPz,
'' AS DescStato
FROM dbo.AnagMag INNER JOIN
dbo.Blocchi ON dbo.AnagMag.CodMag = dbo.Blocchi.CodMag AND dbo.AnagMag.CodCS = dbo.Blocchi.CodCS INNER JOIN
dbo.Celle INNER JOIN
dbo.ElencoCartellini INNER JOIN
dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC
ON dbo.Celle.IdxCella = dbo.PosizioneUdcCorrente.IdxCella
ON dbo.Blocchi.IdxBlocco = dbo.Celle.IdxBlocco INNER JOIN
dbo.AnagStatiProdotto ON dbo.ElencoCartellini.CodStato = dbo.AnagStatiProdotto.CodStato
WHERE (dbo.Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND AnagMag.CodMag = @CodMag AND Blocchi.IdxBlocco = @IdxBlocco
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.ElencoCartellini.Particolare
ORDER BY QtaTotPz DESC
RETURN
go
/***************************************
* STORED stp_ParticolariOverview
*
* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe")
*
* Steamware, S.E.L.
* mod: 2010.05.31
*
****************************************/
create PROCEDURE stp_ParticolariOverview
(
@searchVal VARCHAR(50),
@CodCS VARCHAR(2)
)
AS
SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(dbo.ElencoCartellini.UDC), 0) AS NumUDC,
ISNULL(SUM(dbo.ElencoCartellini.Qta), 0) AS TotQta, ISNULL(COUNT(dbo.PosizioneUdcCorrente.IdxCella), 0) AS NumInMag
FROM RilPro.AnagParticolari LEFT OUTER JOIN
dbo.ElencoCartellini ON RilPro.AnagParticolari.Particolare = dbo.ElencoCartellini.Particolare LEFT OUTER JOIN
dbo.PosizioneUdcCorrente ON dbo.ElencoCartellini.UDC = dbo.PosizioneUdcCorrente.UDC
WHERE RilPro.AnagParticolari.CodCS = @CodCS AND RilPro.AnagParticolari.Particolare = @searchVal
GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare
RETURN
go
/***************************************
* STORED stp_ParticolariOverviewLike
*
* elenco di overview sull'impiego dei particolari (dettaglio a "maglie larghe") - modalità LIKE
*
* Steamware, S.E.L.
* mod: 2010.05.31
*
****************************************/
create PROCEDURE stp_ParticolariOverviewLike
(
@searchVal VARCHAR(50),
@CodCS VARCHAR(2)
)
AS
SELECT RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare, ISNULL(COUNT(ElencoCartellini.UDC), 0) AS NumUDC,
SUM(ISNULL(ElencoCartellini.Qta, 0)) AS TotQta, ISNULL(COUNT(PosizioneUdcCorrente.IdxCella), 0) AS NumInMag
FROM RilPro.AnagParticolari LEFT OUTER JOIN
ElencoCartellini ON RilPro.AnagParticolari.Particolare = ElencoCartellini.Particolare LEFT OUTER JOIN
PosizioneUdcCorrente ON ElencoCartellini.UDC = PosizioneUdcCorrente.UDC
WHERE (RilPro.AnagParticolari.CodCS = @CodCS) AND (RilPro.AnagParticolari.Particolare LIKE '%' + @searchVal + '%')
GROUP BY RilPro.AnagParticolari.Particolare, RilPro.AnagParticolari.DescParticolare
RETURN
go
/***************************************
* STORED stp_posizioniGetByIdxBlocco
*
* ottiene l'elenco delle posizioni UDC associate ad un dato blocco
*
* Steamware, S.E.L.
* mod: 2010.06.02
*
****************************************/
create PROCEDURE stp_posizioniGetByIdxBlocco
(
@IdxBlocco INT
)
AS
SELECT PosizioneUdcCorrente.UDC, PosizioneUdcCorrente.IdxCella, PosizioneUdcCorrente.CodCS, PosizioneUdcCorrente.DataRif
FROM Celle INNER JOIN
PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella
WHERE (Celle.IdxBlocco = @IdxBlocco)
RETURN
go
/***************************************
* STORED stp_posizioniGetByIdxCella
*
* ottiene una singola posizione data la cella richiesta
*
* Steamware, S.E.L.
* mod: 2010.06.03
*
****************************************/
create PROCEDURE stp_posizioniGetByIdxCella
(
@IdxCella INT
)
AS
SELECT UDC, IdxCella, CodCS, DataRif
FROM PosizioneUdcCorrente
WHERE (IdxCella = @IdxCella)
RETURN
go
/***************************************
* STORED stp_UdcDetailGetByIdxBlocco
*
* ottiene l'elenco degli UDC con dettaglio posizioni OCCUPATE associati ad un dato blocco di magazzino
*
* Steamware, S.E.L.
* mod: 2010.06.03
*
****************************************/
create PROCEDURE stp_UdcDetailGetByIdxBlocco
(
@IdxBlocco INT
)
AS
SELECT ElencoCartellini.UDC, ElencoCartellini.RagSociale, ElencoCartellini.Particolare, ElencoCartellini.DescParticolare,
ElencoCartellini.DisegnoGrezzo, ElencoCartellini.Esponente, ElencoCartellini.DescImpianto, ElencoCartellini.DataFus,
ElencoCartellini.TurnoFus, ElencoCartellini.CodImballo, ElencoCartellini.Qta, AnagStatiProdotto.DescStato, ElencoCartellini.ModDate,
ISNULL(Blocchi.CodMag, N'') AS CodMag, ISNULL(Blocchi.CodBlocco, N'') AS CodBlocco, ISNULL(Celle.CodCella, N'') AS CodCella,
ISNULL(Celle.X, 0) AS X, ISNULL(Celle.Y, 0) AS Y, ISNULL(Celle.Z, 0) AS Z
FROM AnagStatiProdotto RIGHT OUTER JOIN ElencoCartellini
ON AnagStatiProdotto.CodStato = ElencoCartellini.CodStato AND AnagStatiProdotto.CodStato = ElencoCartellini.CodStato
LEFT OUTER JOIN Celle INNER JOIN PosizioneUdcCorrente
ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND Celle.IdxCella = PosizioneUdcCorrente.IdxCella AND
Celle.IdxCella = PosizioneUdcCorrente.IdxCella INNER JOIN
Blocchi ON Celle.IdxBlocco = Blocchi.IdxBlocco INNER JOIN
AnagMag ON Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND
Blocchi.CodCS = AnagMag.CodCS AND Blocchi.CodMag = AnagMag.CodMag AND Blocchi.CodCS = AnagMag.CodCS ON
ElencoCartellini.UDC = PosizioneUdcCorrente.UDC
WHERE (Celle.IdxBlocco = @IdxBlocco)
RETURN
go
commit
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(84, GETDATE())
GO
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -349,14 +349,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW"
"ProductCode" = "8:{AB2930F1-4D70-436A-B12C-E600D34C4E4E}"
"PackageCode" = "8:{E9139E26-5EC7-4FBE-BDF9-3DF6486CE5D2}"
"ProductCode" = "8:{A929B7DC-595E-4388-898F-8E359A624E6D}"
"PackageCode" = "8:{87A0A8BD-8B70-4F5C-8C97-8F27048F935D}"
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.0.80"
"ProductVersion" = "8:1.0.85"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"
Binary file not shown.