completata prima gestione cartellini liquidi

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@387 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2011-12-06 14:26:18 +00:00
parent dbb9e29f4e
commit 5e0c047cd2
35 changed files with 1370 additions and 7031 deletions
+11 -12
View File
@@ -1165,7 +1165,6 @@ A:hover
background-attachment: scroll;
background-repeat: no-repeat;
}
* /
.logoUpSx
{
width: 200;
@@ -2174,7 +2173,7 @@ A:hover
.ctrHeaderPagerGreen
{
background-color: ##5BD15B;
background-color: #5BD15B;
font-weight: bold;
color: White;
}
@@ -3248,28 +3247,28 @@ grViewBorder
widows: 200px;
}
/* area conf x gestioen spostamenti gitterbox */
.gitterBoxAttesa
/* area conf x gestione pagine full con barcode (es: spostamenti gitterbox, postazioni...) */
.stileAttesa
{
background: #AAAAAA;
text-align: center;
}
.gitterBoxOk
.stileComandoOk
{
background: #AAFFAA;
text-align: center;
}
.gitterBoxKo
.stileComandoKo
{
background: #FFAAAA;
text-align: center;
}
.gitterBoxAdd
.stileComandoAdd
{
background: #AAAAFF;
text-align: center;
}
.gitterBoxND
.stileComandoND
{
background: #FFFFAA;
text-align: center;
@@ -3280,23 +3279,23 @@ grViewBorder
background-color: #6C90FF;
font-weight: bold;
}
.msgBoxGitterBox
.msgBoxBarcode
{
border-top: solid 2px Black;
border-bottom: solid 2px Black;
background-color: #E5E5E5;
}
.dtMtxGittNonComp
.stileErr01
{
background: #FF6633;
text-align: center;
}
.dtMtxNonEsiste
.stileErr02
{
background: #FFAA77;
text-align: center;
}
.gitterBoxSpedito
.stileErr03
{
background: #FF3300;
text-align: center;
+54 -42
View File
@@ -1,27 +1,27 @@
<?xml version="1.0"?>
<configuration>
<configSections>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<system.web>
</configSections>
<system.web>
<identity/>
<authentication mode="Windows"/>
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="auto"/>
<pages>
<controls>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</controls>
</pages>
<!--
Set compilation debug="true" to insert debugging
@@ -30,7 +30,7 @@
during development.
-->
<compilation debug="true">
<assemblies>
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
@@ -38,19 +38,19 @@
<add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</assemblies>
</compilation>
<httpHandlers>
<remove path="*.asmx" verb="*"/>
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<remove path="*.asmx" verb="*"/>
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
<sessionState timeout="30"/>
</system.web>
</system.web>
<appSettings>
<!--Setup applicazione-->
<add key="CodModulo" value="GMW" />
@@ -81,6 +81,7 @@
<add key="_fromEmail" value="GMW@steamware.net" />
<add key="urlWebServer" value="http://localhost/GMW/" />
<add key="echoLemmi" value="false" />
<!--Default values vari-->
<add key="Max_X" value="850" />
<add key="Max_Y" value="900" />
@@ -95,18 +96,22 @@
<add key="numGgToReloadRQ" value="30" />
<add key="showSizeCellaInDettMag" value="false" />
<add key="maxBarplotLargh" value="1000" />
<!--Setup urls stampa reports-->
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&amp;rs:Command=Render&amp;rc:Parameters=true&amp;rc:Toolbar=true&amp;CodListaPrel={3}{4}" />
<add key="reportingServerAddress" value="SRV65:8282" />
<add key="reportDir" value="POSSIDONIO/MAGAZZINO" />
<add key="reportName" value="Lista_di_Prelievo" />
<add key="reportOpzPdf" value="&amp;rs:Format=PDF" />
<!--Configurazioni ad hoc Ambivere-->
<add key="Cosumo84PostDelibera" value="true" />
<add key="riattUdcPermessa" value="true" />
<!--Setup periodo controlli date-->
<add key="defDayFrom" value="-60" />
<add key="mostraSelOra" value="false" />
<!--Setup codici postazioni-->
<add key="IdxPosizMP" value="6" />
<add key="IdxPosNewFusi" value="7" />
@@ -114,6 +119,7 @@
<add key="IdxPosNewRienTerz" value="30" />
<add key="IdxPosNewFinito" value="4" />
<add key="IdxPosizioneOdette" value="4" />
<!--Setup stampa-->
<add key="printerCartCompleto" value="\\Vostro410\PDFCreator"/>
<add key="PageWidthCartCompleto" value="21cm"/>
@@ -143,17 +149,23 @@
<add key="PageWidthCartWip" value="21cm"/>
<add key="PageHeightCartWip" value="14.8cm"/>
<add key="MarginCartWip" value="0.5cm"/>
<!--datasources!-->
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC" />
<add key="ReportDatasourceOdette" value="GMWDataSet_stp_prtOdetteByUDC" />
<!--setup comandi barcode-->
<add key="prefComandi" value="CMD" />
<add key="cmdSvuotaGitterBox" value="CMDRSTGB" />
<add key="cmdEsci" value="CMDESCI" />
<!-- setup odette -->
<add key="qtaOdette" value="18" />
<add key="indStabFrom" value="via Don Minzoni,14 I-41039 S.Possidonio MO" />
<!--setup gestione stampa postazione cartellini-->
<add key="keepParticolareSel" value="true" />
<!--Setup installazione-->
<add key="passkey" value="pi=314" />
<add key="CodCS" value="SP" />
@@ -169,41 +181,41 @@
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.webServer>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ChartImageHandler"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ChartImageHandler"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</handlers>
</system.webServer>
<system.codedom>
</system.webServer>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compiler>
</compilers>
</system.codedom>
<runtime>
</system.codedom>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</dependentAssembly>
</assemblyBinding>
</runtime>
</runtime>
</configuration>
@@ -1,17 +1,71 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_sanpos_controlloLiquidi.ascx.cs"
Inherits="GMW.WebUserControls.mod_sanpos_controlloLiquidi" %>
<asp:Panel runat="server" ID="pnlAll" CssClass="gitterBoxAttesa" Height="100%">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Panel runat="server" ID="pnlAll" CssClass="stileAttesa" Height="100%">
<div style="height: 100%;">
<div class="fullPageHeader">
<div style="float:left;">
<div style="float: left;">
<asp:Label runat="server" ID="lblPostazione" />
</div>
<div style="float:right;">
<div style="float: right;">
<asp:Label runat="server" ID="lblPrinter" />
</div>
<div>
<asp:HyperLink runat="server" ID="hlMenu" NavigateUrl="~/menu.aspx" Text="Main Menu" />
</div>
</div>
<div>
<asp:Label runat="server" ID="lblGitterBoxAttivo" Font-Size="36pt" Text="- no data -" />
</div>
<div class="msgBoxBarcode">
<asp:Label runat="server" ID="lblMessaggi" Text="attesa input utente" Font-Size="18pt" />
</div>
<div>
<asp:Label runat="server" ID="lblBarcode" Text="Barcode" />
<br />
<asp:TextBox runat="server" ID="txtBarcode" Height="40px" Width="480px" Font-Size="32pt" />
<asp:AutoCompleteExtender ID="aceParticolare" runat="server" TargetControlID="txtBarcode"
ServicePath="~/WS/AutoCompletamento.asmx" ServiceMethod="elencoParticolari" CompletionInterval="1000" />
</div>
<div>
<div style="float: left; padding: 4px; text-align: left;">
<div>
<asp:Label runat="server" ID="lblNumTratt" />
</div>
<div class="clearDiv">
</div>
<div style="padding: 2px;">
<div style="float: left;">
<asp:TextBox runat="server" ID="txtTratt" Height="40px" Width="200px" Font-Size="32pt" />
<asp:RegularExpressionValidator ID="revNumTratt" runat="server" ErrorMessage="!!! [0-9] !!!"
ValidationExpression="^[0-9]*" ControlToValidate="txtTratt" Display="Dynamic" />
</div>
<div style="float: right;">
<asp:Button runat="server" ID="btnAdd" Height="40px" Width="40px" Font-Size="20pt"
Text="+" OnClick="btnAdd_Click" />
</div>
</div>
<div class="clearDiv">
</div>
<div style="padding: 2px;">
<div style="float: left;">
<asp:ListBox ID="lbTrattamenti" runat="server" Height="160px" Width="206px" Font-Size="20pt" />
</div>
<div style="float: right;">
<asp:Button runat="server" ID="btnSvuota" Height="40px" Width="40px" Font-Size="20pt"
Text="-" OnClick="btnSvuota_Click" />
</div>
</div>
</div>
<div style="float: right; padding: 4px; text-align: right;">
<asp:Label runat="server" ID="lblQta" />
<br />
<asp:TextBox runat="server" ID="txtQta" Height="40px" Width="200px" Font-Size="32pt" />
<br />
<br />
<asp:Button runat="server" ID="btnStampa" Height="120px" Width="208px"
Font-Size="20pt" onclick="btnStampa_Click" />
</div>
</div>
</div>
</asp:Panel>
@@ -12,36 +12,423 @@ namespace GMW.WebUserControls
{
public partial class mod_sanpos_controlloLiquidi : System.Web.UI.UserControl
{
/// <summary>
/// caricamento pagina
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
traduciObj();
if (!Page.IsPostBack)
{
calcolaPostazione();
traduciObj();
}
doChecks();
if (currParticolare != "")
{
lblGitterBoxAttivo.Text = string.Format("Particolare selezionato <b>{0}</b>", currParticolare);
}
else
{
lblGitterBoxAttivo.Text = "...";
}
}
/// <summary>
/// effettua controlli visibilità
/// </summary>
private void doChecks()
{
checkStampa();
checkBarcode();
}
/// <summary>
/// sistemo labels oggetti
/// </summary>
private void traduciObj()
{
string ipAddr = Request.UserHostName;
string postazione = dnsUtils.DetermineCompName(ipAddr);
lblPostazione.Text = string.Format("Postazione: {0} ({1})", postazione, ipAddr);
lblPostazione.Text = string.Format("{2}: {0} ({1})", postazione_name, postazione_IP, traduci("postazione"));
lblPrinter.Text = string.Format("{1}: {0}", postazione_printer, traduci("stampante"));
lblNumTratt.Text = traduci("lblNumTratt");
lblQta.Text = traduci("lblQuantita");
btnStampa.Text = traduci("btnStampa");
btnAdd.ToolTip = traduci("btnAdd");
btnSvuota.ToolTip = traduci("btnSvuota");
}
/// <summary>
/// wrapper traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(object lemma)
{
return user_std.UtSn.Traduci(lemma.ToString());
}
/// <summary>
/// calcola postazione corrente (ip, name, printer)
/// </summary>
private void calcolaPostazione()
{
postazione_IP = Request.UserHostName;
postazione_name = dnsUtils.DetermineCompName(postazione_IP);
// cerco stampante x postazione
string stampante = "n.d.";
postazione_printer = "n.d.";
try
{
DS_Applicazione.ElencoPostazioniDataTable tabPost = DataProxy.obj.taElPost.getByCod(postazione);
DS_Applicazione.ElencoPostazioniDataTable tabPost = DataProxy.obj.taElPost.getByCod(postazione_name);
if (tabPost.Rows.Count > 0)
{
stampante = tabPost[0].stampante;
postazione_printer = tabPost[0].stampante;
}
else
{
tabPost = DataProxy.obj.taElPost.getByCod("default");
stampante = tabPost[0].stampante;
postazione_printer = tabPost[0].stampante;
}
}
catch
{ }
lblPrinter.Text = string.Format("Stampante: {0}", stampante);
}
/// <summary>
/// indica name della postazione corrente
/// </summary>
protected string postazione_name
{
get
{
return memLayer.ML.StringSessionObj("postazione_name");
}
set
{
memLayer.ML.setSessionVal("postazione_name", value);
}
}
/// <summary>
/// indica ip della postazione corrente
/// </summary>
protected string postazione_IP
{
get
{
return memLayer.ML.StringSessionObj("postazione_IP");
}
set
{
memLayer.ML.setSessionVal("postazione_IP", value);
}
}
/// <summary>
/// indica stampante associata alla postazione corrente
/// </summary>
protected string postazione_printer
{
get
{
return memLayer.ML.StringSessionObj("postazione_printer");
}
set
{
memLayer.ML.setSessionVal("postazione_printer", value);
}
}
/// <summary>
/// indica il codice articolo correntemente selezionato
/// </summary>
protected string currParticolare
{
get
{
return memLayer.ML.StringSessionObj("currParticolare");
}
set
{
memLayer.ML.setSessionVal("currParticolare", value, memLayer.ML.confReadBool("keepParticolareSel"));
}
}
/// <summary>
/// indica se i caratteri vadano forzati a maiuscoli
/// </summary>
public bool forceUppercase
{
get
{
return memLayer.ML.confReadBool("forceUppercase");
}
}
/// <summary>
/// num pezzi dell'ultimo UDC del particolare generato
/// </summary>
public int pezziUdc
{
get
{
int answ = 0;
try
{
answ = (int)MagClass.magazzino.taElencoCartellini.getLastByParticolare(memLayer.ML.StringSessionObj("CodCS"), currParticolare)[0].Qta;
}
catch
{ }
return answ;
}
}
/// <summary>
/// decodifica il tipo barcode acquisito
/// </summary>
public tipoCodiceBarcode tipoBCode
{
get
{
tipoCodiceBarcode answ = tipoCodiceBarcode.ND;
int trovati = 0;
// controllo non si tratti di un comando...
string preCmd = memLayer.ML.confReadString("prefComandi");
if (barcodeIn.StartsWith(preCmd))
{
answ = tipoCodiceBarcode.Comando;
}
// controllo se sia un particolare "P"
else if (barcodeIn.StartsWith("P"))
{
answ = tipoCodiceBarcode.Particolare;
}
else
{
try
{
// cerco tra gitterbox (UDC)...
trovati = MagClass.magazzino.taElencoCartellini.getByUdc(barcodeIn).Rows.Count;
if (trovati > 0)
{
answ = tipoCodiceBarcode.Gitterbox;
}
// cerco tra datamatrix
else
{
trovati = DataMatrix.mgr.taElencoDM.getByCode(Convert.ToDecimal(barcodeIn)).Rows.Count;
if (trovati > 0)
{
answ = tipoCodiceBarcode.DataMatrix;
}
}
}
catch
{
}
}
return answ;
}
}
/// <summary>
/// valore barcode
/// </summary>
public string barcodeIn
{
get
{
return txtBarcode.Text.Trim();
}
set
{
txtBarcode.Text = value;
}
}
/// <summary>
/// qta pezzi x UDC
/// </summary>
public int qta
{
get
{
int qta = 0;
try
{
qta = Convert.ToInt32(txtQta.Text.Trim());
}
catch
{ }
return qta;
}
set
{
txtQta.Text = value.ToString();
}
}
/// <summary>
/// controlla se ci sia un barcode
/// </summary>
private void checkBarcode()
{
if (barcodeIn != "")
{
lblMessaggi.Text = string.Format("Barcode digitato: {0}", barcodeIn);
switch (tipoBCode)
{
case tipoCodiceBarcode.Particolare:
// imposto il gitterbox corrente
currParticolare = barcodeIn;
// controllo esista il particolare scansionato
if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0)
{
currParticolare = "";
lblMessaggi.Text += " - codice particolare non valido / non trovato in RILPRO.";
pnlAll.CssClass = "stileComandoKo";
}
else
{
lblMessaggi.Text += " - impostato particolare!";
pnlAll.CssClass = "stileComandoOk";
}
break;
default:
lblMessaggi.Text += " - codice <b>non riconosciuto</b>!";
pnlAll.CssClass = "stileComandoND";
break;
}
barcodeIn = "";
}
else
{
lblMessaggi.Text = "...attesa barcode...";
}
//grView.DataBind();
txtBarcode.Focus();
}
/// <summary>
/// controllo l'abilitazioen alla stampa UDC:
/// - particolare ok
/// - qta > 0
/// - almeno 1 trattamento
/// altrimenti disabilito btn stampa
/// </summary>
private void checkStampa()
{
bool stampaOk = false;
if (currParticolare != "" && qta > 0)
{
if (elencoTrattamenti.Count > 0)
{
stampaOk = true;
}
}
btnStampa.Enabled = stampaOk;
}
/// <summary>
/// elenco dictionary dei trattamenti da associare ad UDC
/// </summary>
public Dictionary<string, string> elencoTrattamenti
{
get
{
try
{
return (Dictionary<string, string>)memLayer.ML.objSessionObj("elencoTrattamenti");
}
catch
{
return new Dictionary<string, string>();
}
}
set
{
memLayer.ML.setSessionVal("elencoTrattamenti", value, false);
}
}
/// <summary>
/// aggiungo un oggetto trattamento alla lista..
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAdd_Click(object sender, EventArgs e)
{
if (txtTratt.Text.Trim() != "")
{
string valore = txtTratt.Text.Trim();
Dictionary<string, string> elenco = elencoTrattamenti;
// controllo il valore non ci sia già...
if (!elenco.ContainsKey(valore))
{
elenco.Add(valore, "n° " + valore);
elencoTrattamenti = elenco;
}
txtTratt.Text = "";
updateListBoxTrattamenti();
}
doChecks();
}
/// <summary>
/// aggiorna la listbox
/// </summary>
private void updateListBoxTrattamenti()
{
lbTrattamenti.DataSource = elencoTrattamenti;
lbTrattamenti.DataTextField = "Value";
lbTrattamenti.DataValueField = "Key";
lbTrattamenti.DataBind();
}
/// <summary>
/// svuota elenco trattamenti
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSvuota_Click(object sender, EventArgs e)
{
Dictionary<string, string> elenco = new Dictionary<string, string>();
elencoTrattamenti = elenco;
txtTratt.Text = "";
updateListBoxTrattamenti();
doChecks();
}
/// <summary>
/// genera i barcode di
/// - trattamenti
/// - nuovo x pezzi liquidi
/// e lancia la relativa stampa
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnStampa_Click(object sender, EventArgs e)
{
string newUdcChild = "";
string newUdcParent = "";
bool UdcExists = false;
try
{
// creo nuovo UDC del trattamento liquidi
newUdcChild = MagClass.magazzino.creaUdc("LI", "", currParticolare, "", "", "", "", "", 0, "", "U", "", 0, 0, 0, DateTime.Now, 0, "Fin", 5, true, "IdxPosNewFinito", "UDC_FINITO"); // !!! "LI" HARD CODED x indicare flusso liquidi
}
catch
{ }
if (newUdcChild != "")
{
// creo UDC dei trattamenti termici
foreach (KeyValuePair<string, string> kvp in elencoTrattamenti)
{
// calcolo il nuovo codice UDC del trattamento
newUdcParent = MagClass.magazzino.getComposizioneUDC(memLayer.ML.StringSessionObj("CodCS"), "TR", DateTime.Now.ToString("yy"), Convert.ToInt32(kvp.Key)); // !!! "LI" HARD CODED x indicare flusso liquidi
// verifico se ci sia già UDC
UdcExists = MagClass.magazzino.checkUDC(newUdcParent);
if (!UdcExists)
{
// creo UDC
MagClass.magazzino.creaUdc("TR", "", currParticolare, "", "", "", "", "", 0, "", "U", "", 0, 0, 0, DateTime.Now, 0, "Wip", 5, false, "IdxPosNewWip", "UDC_WIP");
}
// associo tratt termici e liquidi
MagClass.magazzino.associaUdcParent(newUdcChild, newUdcParent);
if (!UdcExists)
{
// consumo UDC tratt termici
MagClass.magazzino.scaricaUdcMpWip(newUdcParent);
}
// reset valori
newUdcParent = "";
UdcExists = false;
}
}
}
}
}
@@ -48,5 +48,131 @@ namespace GMW.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HyperLink hlMenu;
/// <summary>
/// lblGitterBoxAttivo 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 lblGitterBoxAttivo;
/// <summary>
/// lblMessaggi 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 lblMessaggi;
/// <summary>
/// lblBarcode 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 lblBarcode;
/// <summary>
/// txtBarcode 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.TextBox txtBarcode;
/// <summary>
/// aceParticolare control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.AutoCompleteExtender aceParticolare;
/// <summary>
/// lblNumTratt 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 lblNumTratt;
/// <summary>
/// txtTratt 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.TextBox txtTratt;
/// <summary>
/// revNumTratt 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.RegularExpressionValidator revNumTratt;
/// <summary>
/// btnAdd control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnAdd;
/// <summary>
/// lbTrattamenti 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.ListBox lbTrattamenti;
/// <summary>
/// btnSvuota control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnSvuota;
/// <summary>
/// lblQta 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 lblQta;
/// <summary>
/// txtQta 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.TextBox txtQta;
/// <summary>
/// btnStampa control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Button btnStampa;
}
}
@@ -1,6 +1,6 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_spostaDataMatrix.ascx.cs"
Inherits="GMW.WebUserControls.mod_spostaDataMatrix" %>
<asp:Panel runat="server" ID="pnlAll" CssClass="gitterBoxAttesa" Height="100%">
<asp:Panel runat="server" ID="pnlAll" CssClass="stileAttesa" Height="100%">
<div style="height: 100%;">
<div class="fullPageHeader">
<asp:HyperLink runat="server" ID="hlMenu" NavigateUrl="~/menu.aspx" Text="Main Menu" />
@@ -8,7 +8,7 @@
<div>
<asp:Label runat="server" ID="lblGitterBoxAttivo" Font-Size="36pt" />
</div>
<div class="msgBoxGitterBox">
<div class="msgBoxBarcode">
<asp:Label runat="server" ID="lblMessaggi" Text="visualizzazione messaggi utente"
Font-Size="18pt" />
</div>
@@ -22,7 +22,7 @@ namespace GMW.WebUserControls
if (!Page.IsPostBack)
{
currGitterBox = "";
pnlAll.CssClass = "gitterBoxAttesa";
pnlAll.CssClass = "stileAttesa";
}
checkBarcode();
lblPezziGitterbox.Text = string.Format("{0} pz.", pezziGitterbox);
@@ -113,18 +113,18 @@ namespace GMW.WebUserControls
{
currGitterBox = "";
lblMessaggi.Text += " - gitterbox <b>associato</b>ad odette!!! non impostabile.";
pnlAll.CssClass = "gitterBoxKo";
pnlAll.CssClass = "stileComandoKo";
}
else
{
lblMessaggi.Text += " - impostato nuovo gitterbox di destinazione!";
pnlAll.CssClass = "gitterBoxOk";
pnlAll.CssClass = "stileComandoOk";
}
}
else
{
lblMessaggi.Text += " - gitterbox <b>pieno</b>!!! impostato, ma non si possono versare altri pezzi.";
pnlAll.CssClass = "gitterBoxKo";
pnlAll.CssClass = "stileComandoKo";
}
break;
case tipoCodiceBarcode.DataMatrix:
@@ -145,37 +145,37 @@ namespace GMW.WebUserControls
{
DataMatrix.mgr.taElencoDM.spostaInGitterbox(dataMatrix, currGitterBox);
lblMessaggi.Text += " - spostato nel gitterbox attivo!";
pnlAll.CssClass = "gitterBoxAdd";
pnlAll.CssClass = "stileComandoAdd";
}
else
{
lblMessaggi.Text += " - datamatrix non spostabile, il gitterbox contiene prodotti diversi!";
pnlAll.CssClass = "dtMtxGittNonComp";
pnlAll.CssClass = "stileErr01";
}
}
else
{
lblMessaggi.Text += " - datamatrix non spostabile, in gitterbox già associato ad odette!";
pnlAll.CssClass = "gitterBoxSpedito";
pnlAll.CssClass = "stileErr03";
}
}
else
{
lblMessaggi.Text += " - datamatrix non trovato!";
pnlAll.CssClass = "dtMtxNonEsiste";
pnlAll.CssClass = "stileErr02";
}
}
else
{
lblMessaggi.Text += " - il gitterbox è <b>pieno</b>!!!";
pnlAll.CssClass = "gitterBoxKo";
pnlAll.CssClass = "stileComandoKo";
}
}
else
{
// altrimenti segnalo che manca il gitterbox di destinazione
lblMessaggi.Text += " - <b>errore</b>, manca un gitterbox di destinazione!";
pnlAll.CssClass = "gitterBoxKo";
pnlAll.CssClass = "stileComandoKo";
}
break;
case tipoCodiceBarcode.Comando:
@@ -188,7 +188,7 @@ namespace GMW.WebUserControls
{
DataMatrix.mgr.taElencoDM.svuotaGitterbox(currGitterBox);
lblMessaggi.Text += " - <b>Gitterbox svuotato</b>!";
pnlAll.CssClass = "gitterBoxAttesa";
pnlAll.CssClass = "stileAttesa";
}
}
else if (barcodeIn == cmdEsci)
@@ -203,7 +203,7 @@ namespace GMW.WebUserControls
break;
default:
lblMessaggi.Text += " - codice <b>non riconosciuto</b>!";
pnlAll.CssClass = "gitterBoxND";
pnlAll.CssClass = "stileComandoND";
break;
}
barcodeIn = "";
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
+3
View File
@@ -108,6 +108,9 @@
<add key="qtaOdette" value="18"/>
<add key="indStabFrom" value="San Possidonio, via..."/>
<!--setup gestione stampa postazione cartellini-->
<add key="keepParticolareSel" value="true" />
<!--Setup installazione-->
<add key="passkey" value="pi=314" />
<add key="CodCS" value="MA"/>
+15 -2
View File
@@ -28,6 +28,7 @@
<add key="_fromEmail" value="GMW@steamware.net" />
<add key="urlWebServer" value="http://SRV-PRODSP01/GMW/" />
<add key="echoLemmi" value="false" />
<!--Default values vari-->
<add key="Max_X" value="850" />
<add key="Max_Y" value="900" />
@@ -42,13 +43,14 @@
<add key="numGgToReloadRQ" value="60" />
<add key="showSizeCellaInDettMag" value="false" />
<add key="maxBarplotLargh" value="1000" />
<!--Setup urls stampa reports-->
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&amp;rs:Command=Render&amp;rc:Parameters=true&amp;rc:Toolbar=true&amp;CodListaPrel={3}{4}" />
<add key="reportingServerAddress" value="SRV65:8282" />
<add key="reportDir" value="POSSIDONIO/MAGAZZINO" />
<add key="reportName" value="Lista_di_Prelievo" />
<add key="reportOpzPdf" value="&amp;rs:Format=PDF" />
<!--Configurazioni ad hoc Ambivere-->
<add key="Cosumo84PostDelibera" value="true" />
<add key="riattUdcPermessa" value="true" />
@@ -56,6 +58,7 @@
<!--Setup periodo controlli date-->
<add key="defDayFrom" value="-60" />
<add key="mostraSelOra" value="false" />
<!--Setup codici postazioni-->
<add key="IdxPosizMP" value="6" />
<add key="IdxPosNewFusi" value="7" />
@@ -93,13 +96,23 @@
<add key="PageWidthCartOdette" value="21cm" />
<add key="PageHeightCartOdette" value="29.7cm" />
<add key="MarginCartOdette" value="0.5cm" />
<!--datasources!-->
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC" />
<add key="ReportDatasourceOdette" value="GMWDataSet_stp_prtOdetteByUDC" />
<!--setup comandi barcode-->
<add key="prefComandi" value="CMD" />
<add key="cmdSvuotaGitterBox" value="CMDRSTGB" />
<add key="cmdEsci" value="CMDESCI" />
<!-- setup odette -->
<add key="qtaOdette" value="18" />
<add key="indStabFrom" value="via Don Minzoni,14 I-41039 S.Possidonio MO" />
<!--setup gestione stampa postazione cartellini-->
<add key="keepParticolareSel" value="true" />
<!--Setup installazione-->
<add key="passkey" value="pi=314" />
<add key="CodCS" value="SP" />
<add key="MinutiFinestraEditUDC" value="10" />
+7 -2
View File
@@ -8,7 +8,7 @@
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="1.1" />
<add key="minRev" value="400" />
<add key="copyRight" value="SteamWare © 2010-2011"/>
<add key="copyRight" value="SteamWare © 2010-2011" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx#chLang.aspx" />
@@ -28,6 +28,7 @@
<add key="_fromEmail" value="GMW@steamware.net" />
<add key="urlWebServer" value="http://SRV-PRODTK01/GMW/" />
<add key="echoLemmi" value="false" />
<!--Default values vari-->
<add key="Max_X" value="850" />
<add key="Max_Y" value="900" />
@@ -39,7 +40,7 @@
<add key="BilanciaMP" value="MP" />
<add key="CodImballoMP" value="" />
<add key="CodStatoMP" value="MP" />
<add key="numGgToReloadRQ" value="30" />
<add key="numGgToReloadRQ" value="60" />
<add key="showSizeCellaInDettMag" value="false" />
<add key="maxBarplotLargh" value="1000" />
@@ -95,6 +96,7 @@
<add key="PageWidthCartOdette" value="21cm" />
<add key="PageHeightCartOdette" value="29.7cm" />
<add key="MarginCartOdette" value="0.5cm" />
<!--datasources!-->
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC" />
<add key="ReportDatasourceOdette" value="GMWDataSet_stp_prtOdetteByUDC" />
@@ -108,6 +110,9 @@
<add key="qtaOdette" value="18" />
<add key="indStabFrom" value="Via Po,55 I-66020 San Giovanni Teatino CH" />
<!--setup gestione stampa postazione cartellini-->
<add key="keepParticolareSel" value="true" />
<!--Setup installazione-->
<add key="passkey" value="pi=314" />
<add key="CodCS" value="TK" />
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -697,7 +697,7 @@ namespace GMW_WS
/// <param name="CodMag">Codice del magazzino in cui inserire l'UDC</param>
/// <param name="toAS400">TRUE = genera movimento AS400, FALSE = NON genera movimento di magazzino</param>
/// <returns>UDC del nuovo cartellino per FINITI</returns>
[WebMethod(Description = "Fornisce un nuovo codice UDC da rientro terzissta tipo completo (con pezzi e cod magazzino) a partire dalla richiesta e salva i dati")]
[WebMethod(Description = "Fornisce un nuovo codice UDC da rientro terzista tipo completo (con pezzi e cod magazzino) a partire dalla richiesta e salva i dati")]
public string UdcCall_GetNew_RientroTerz(string CodBilancia, string CodCliente, string Particolare, string CodImpianto, string CodStampo, string Esponente, string Figura, string UDC_Parent, double Tara, string CodImballo, string CodTipoDichiarazione, string CodSoggetto, int Quantita, float PesoTot, float PesoCad, DateTime DataRif, int TurnoRif, string CodStato, int CodMag, bool toAS400)
{
// trim fix
+66 -26
View File
@@ -14313,7 +14313,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[11];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[12];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM dbo.ElencoCartellini";
@@ -14416,32 +14416,39 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[10].Connection = this.Connection;
this._commandCollection[10].CommandText = "dbo.stp_UDC_update";
this._commandCollection[10].CommandText = "dbo.stp_UDC_associaParent";
this._commandCollection[10].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_edit", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[11].Connection = this.Connection;
this._commandCollection[11].CommandText = "dbo.stp_UDC_update";
this._commandCollection[11].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_edit", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].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[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TurnoFus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoTot", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PesoCad", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStato", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[11].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -14806,7 +14813,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
global::System.Nullable<double> PesoCad,
string CodStato,
string UDC_parent) {
this.Adapter.SelectCommand = this.CommandCollection[10];
this.Adapter.SelectCommand = this.CommandCollection[11];
if ((UDC_edit == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -16036,6 +16043,39 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_UDC_associaParent(string UDC, string UDC_parent) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(UDC));
}
if ((UDC_parent == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(UDC_parent));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
}
/// <summary>
+150 -138
View File
@@ -823,6 +823,18 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_UDC_associaParent" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_UDC_associaParent" Modifier="Public" Name="stp_UDC_associaParent" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="stp_UDC_associaParent">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_UDC_associaParent</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UDC_parent" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_UDC_update" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="stp_updateUDC" GetMethodModifier="Public" GetMethodName="stp_updateUDC" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="stp_updateUDC" UserSourceName="stp_updateUDC">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -1570,8 +1582,8 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagStati" msprop:Generator_UserTableName="AnagStati" msprop:Generator_RowDeletedName="AnagStatiRowDeleted" msprop:Generator_RowChangedName="AnagStatiRowChanged" msprop:Generator_RowClassName="AnagStatiRow" msprop:Generator_RowChangingName="AnagStatiRowChanging" msprop:Generator_RowEvArgName="AnagStatiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagStatiRowChangeEventHandler" msprop:Generator_TableClassName="AnagStatiDataTable" msprop:Generator_TableVarName="tableAnagStati" msprop:Generator_RowDeletingName="AnagStatiRowDeleting" msprop:Generator_TablePropName="AnagStati">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxStato" msprop:Generator_UserColumnName="IdxStato" msprop:Generator_ColumnVarNameInTable="columnIdxStato" msprop:Generator_ColumnPropNameInRow="IdxStato" msprop:Generator_ColumnPropNameInTable="IdxStatoColumn" type="xs:int" />
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:element name="IdxStato" msprop:Generator_UserColumnName="IdxStato" msprop:Generator_ColumnPropNameInRow="IdxStato" msprop:Generator_ColumnVarNameInTable="columnIdxStato" msprop:Generator_ColumnPropNameInTable="IdxStatoColumn" type="xs:int" />
<xs:element name="DescrStato" msprop:Generator_UserColumnName="DescrStato" msprop:Generator_ColumnPropNameInRow="DescrStato" msprop:Generator_ColumnVarNameInTable="columnDescrStato" msprop:Generator_ColumnPropNameInTable="DescrStatoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1584,14 +1596,14 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagTipoDichiaraz" msprop:Generator_UserTableName="AnagTipoDichiaraz" msprop:Generator_RowDeletedName="AnagTipoDichiarazRowDeleted" msprop:Generator_RowChangedName="AnagTipoDichiarazRowChanged" msprop:Generator_RowClassName="AnagTipoDichiarazRow" msprop:Generator_RowChangingName="AnagTipoDichiarazRowChanging" msprop:Generator_RowEvArgName="AnagTipoDichiarazRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagTipoDichiarazRowChangeEventHandler" msprop:Generator_TableClassName="AnagTipoDichiarazDataTable" msprop:Generator_TableVarName="tableAnagTipoDichiaraz" msprop:Generator_RowDeletingName="AnagTipoDichiarazRowDeleting" msprop:Generator_TablePropName="AnagTipoDichiaraz">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTipoDichiaraz" msprop:Generator_UserColumnName="CodTipoDichiaraz" msprop:Generator_ColumnVarNameInTable="columnCodTipoDichiaraz" msprop:Generator_ColumnPropNameInRow="CodTipoDichiaraz" msprop:Generator_ColumnPropNameInTable="CodTipoDichiarazColumn">
<xs:element name="CodTipoDichiaraz" msprop:Generator_UserColumnName="CodTipoDichiaraz" msprop:Generator_ColumnPropNameInRow="CodTipoDichiaraz" msprop:Generator_ColumnVarNameInTable="columnCodTipoDichiaraz" msprop:Generator_ColumnPropNameInTable="CodTipoDichiarazColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrTipoDichiaraz" msprop:Generator_UserColumnName="DescrTipoDichiaraz" msprop:Generator_ColumnVarNameInTable="columnDescrTipoDichiaraz" msprop:Generator_ColumnPropNameInRow="DescrTipoDichiaraz" msprop:Generator_ColumnPropNameInTable="DescrTipoDichiarazColumn" minOccurs="0">
<xs:element name="DescrTipoDichiaraz" msprop:Generator_UserColumnName="DescrTipoDichiaraz" msprop:Generator_ColumnPropNameInRow="DescrTipoDichiaraz" msprop:Generator_ColumnVarNameInTable="columnDescrTipoDichiaraz" msprop:Generator_ColumnPropNameInTable="DescrTipoDichiarazColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1604,14 +1616,14 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagStatiProdotto" msprop:Generator_UserTableName="AnagStatiProdotto" msprop:Generator_RowDeletedName="AnagStatiProdottoRowDeleted" msprop:Generator_RowChangedName="AnagStatiProdottoRowChanged" msprop:Generator_RowClassName="AnagStatiProdottoRow" msprop:Generator_RowChangingName="AnagStatiProdottoRowChanging" msprop:Generator_RowEvArgName="AnagStatiProdottoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagStatiProdottoRowChangeEventHandler" msprop:Generator_TableClassName="AnagStatiProdottoDataTable" msprop:Generator_TableVarName="tableAnagStatiProdotto" msprop:Generator_RowDeletingName="AnagStatiProdottoRowDeleting" msprop:Generator_TablePropName="AnagStatiProdotto">
<xs:complexType>
<xs:sequence>
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn">
<xs:element name="CodStato" msprop:Generator_UserColumnName="CodStato" msprop:Generator_ColumnPropNameInRow="CodStato" msprop:Generator_ColumnVarNameInTable="columnCodStato" msprop:Generator_ColumnPropNameInTable="CodStatoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescStato" msprop:Generator_UserColumnName="DescStato" msprop:Generator_ColumnVarNameInTable="columnDescStato" msprop:Generator_ColumnPropNameInRow="DescStato" msprop:Generator_ColumnPropNameInTable="DescStatoColumn" 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" />
@@ -1624,14 +1636,14 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="RelazUDC" msprop:Generator_UserTableName="RelazUDC" msprop:Generator_RowDeletedName="RelazUDCRowDeleted" msprop:Generator_RowChangedName="RelazUDCRowChanged" msprop:Generator_RowClassName="RelazUDCRow" msprop:Generator_RowChangingName="RelazUDCRowChanging" msprop:Generator_RowEvArgName="RelazUDCRowChangeEvent" msprop:Generator_RowEvHandlerName="RelazUDCRowChangeEventHandler" msprop:Generator_TableClassName="RelazUDCDataTable" msprop:Generator_TableVarName="tableRelazUDC" msprop:Generator_RowDeletingName="RelazUDCRowDeleting" msprop:Generator_TablePropName="RelazUDC">
<xs:complexType>
<xs:sequence>
<xs:element name="UDC_parent" msprop:Generator_UserColumnName="UDC_parent" msprop:Generator_ColumnPropNameInRow="UDC_parent" msprop:Generator_ColumnVarNameInTable="columnUDC_parent" msprop:Generator_ColumnPropNameInTable="UDC_parentColumn">
<xs:element name="UDC_parent" msprop:Generator_UserColumnName="UDC_parent" msprop:Generator_ColumnVarNameInTable="columnUDC_parent" msprop:Generator_ColumnPropNameInRow="UDC_parent" msprop:Generator_ColumnPropNameInTable="UDC_parentColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UDC_child" msprop:Generator_UserColumnName="UDC_child" msprop:Generator_ColumnPropNameInRow="UDC_child" msprop:Generator_ColumnVarNameInTable="columnUDC_child" msprop:Generator_ColumnPropNameInTable="UDC_childColumn">
<xs:element name="UDC_child" msprop:Generator_UserColumnName="UDC_child" msprop:Generator_ColumnVarNameInTable="columnUDC_child" msprop:Generator_ColumnPropNameInRow="UDC_child" msprop:Generator_ColumnPropNameInTable="UDC_childColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1644,35 +1656,35 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagImpianti" msprop:Generator_UserTableName="AnagImpianti" msprop:Generator_RowDeletedName="AnagImpiantiRowDeleted" msprop:Generator_RowChangedName="AnagImpiantiRowChanged" msprop:Generator_RowClassName="AnagImpiantiRow" msprop:Generator_RowChangingName="AnagImpiantiRowChanging" msprop:Generator_RowEvArgName="AnagImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="AnagImpiantiDataTable" msprop:Generator_TableVarName="tableAnagImpianti" msprop:Generator_RowDeletingName="AnagImpiantiRowDeleting" msprop:Generator_TablePropName="AnagImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescImpianto" msprop:Generator_UserColumnName="DescImpianto" msprop:Generator_ColumnPropNameInRow="DescImpianto" msprop:Generator_ColumnVarNameInTable="columnDescImpianto" msprop:Generator_ColumnPropNameInTable="DescImpiantoColumn" minOccurs="0">
<xs:element name="DescImpianto" msprop:Generator_UserColumnName="DescImpianto" msprop:Generator_ColumnVarNameInTable="columnDescImpianto" msprop:Generator_ColumnPropNameInRow="DescImpianto" msprop:Generator_ColumnPropNameInTable="DescImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Campionatura" msprop:Generator_UserColumnName="Campionatura" msprop:Generator_ColumnPropNameInRow="Campionatura" msprop:Generator_ColumnVarNameInTable="columnCampionatura" msprop:Generator_ColumnPropNameInTable="CampionaturaColumn" minOccurs="0">
<xs:element name="Campionatura" msprop:Generator_UserColumnName="Campionatura" msprop:Generator_ColumnVarNameInTable="columnCampionatura" msprop:Generator_ColumnPropNameInRow="Campionatura" msprop:Generator_ColumnPropNameInTable="CampionaturaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TipoLinea" msprop:Generator_UserColumnName="TipoLinea" msprop:Generator_ColumnPropNameInRow="TipoLinea" msprop:Generator_ColumnVarNameInTable="columnTipoLinea" msprop:Generator_ColumnPropNameInTable="TipoLineaColumn" minOccurs="0">
<xs:element name="TipoLinea" msprop:Generator_UserColumnName="TipoLinea" msprop:Generator_ColumnVarNameInTable="columnTipoLinea" msprop:Generator_ColumnPropNameInRow="TipoLinea" msprop:Generator_ColumnPropNameInTable="TipoLineaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
@@ -1685,35 +1697,35 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagCompanySito" msprop:Generator_UserTableName="AnagCompanySito" msprop:Generator_RowDeletedName="AnagCompanySitoRowDeleted" msprop:Generator_RowChangedName="AnagCompanySitoRowChanged" msprop:Generator_RowClassName="AnagCompanySitoRow" msprop:Generator_RowChangingName="AnagCompanySitoRowChanging" msprop:Generator_RowEvArgName="AnagCompanySitoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagCompanySitoRowChangeEventHandler" msprop:Generator_TableClassName="AnagCompanySitoDataTable" msprop:Generator_TableVarName="tableAnagCompanySito" msprop:Generator_RowDeletingName="AnagCompanySitoRowDeleting" msprop:Generator_TablePropName="AnagCompanySito">
<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="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="CodCompany" msprop:Generator_UserColumnName="CodCompany" msprop:Generator_ColumnPropNameInRow="CodCompany" msprop:Generator_ColumnVarNameInTable="columnCodCompany" msprop:Generator_ColumnPropNameInTable="CodCompanyColumn" minOccurs="0">
<xs:element name="CodCompany" msprop:Generator_UserColumnName="CodCompany" msprop:Generator_ColumnVarNameInTable="columnCodCompany" msprop:Generator_ColumnPropNameInRow="CodCompany" msprop:Generator_ColumnPropNameInTable="CodCompanyColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescCompany" msprop:Generator_UserColumnName="DescCompany" msprop:Generator_ColumnPropNameInRow="DescCompany" msprop:Generator_ColumnVarNameInTable="columnDescCompany" msprop:Generator_ColumnPropNameInTable="DescCompanyColumn" minOccurs="0">
<xs:element name="DescCompany" msprop:Generator_UserColumnName="DescCompany" msprop:Generator_ColumnVarNameInTable="columnDescCompany" msprop:Generator_ColumnPropNameInRow="DescCompany" msprop:Generator_ColumnPropNameInTable="DescCompanyColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodSito" msprop:Generator_UserColumnName="CodSito" msprop:Generator_ColumnPropNameInRow="CodSito" msprop:Generator_ColumnVarNameInTable="columnCodSito" msprop:Generator_ColumnPropNameInTable="CodSitoColumn" minOccurs="0">
<xs:element name="CodSito" msprop:Generator_UserColumnName="CodSito" msprop:Generator_ColumnVarNameInTable="columnCodSito" msprop:Generator_ColumnPropNameInRow="CodSito" msprop:Generator_ColumnPropNameInTable="CodSitoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescSito" msprop:Generator_UserColumnName="DescSito" msprop:Generator_ColumnPropNameInRow="DescSito" msprop:Generator_ColumnVarNameInTable="columnDescSito" msprop:Generator_ColumnPropNameInTable="DescSitoColumn" minOccurs="0">
<xs:element name="DescSito" msprop:Generator_UserColumnName="DescSito" msprop:Generator_ColumnVarNameInTable="columnDescSito" msprop:Generator_ColumnPropNameInRow="DescSito" msprop:Generator_ColumnPropNameInTable="DescSitoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -1726,21 +1738,21 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagBilance" msprop:Generator_UserTableName="AnagBilance" msprop:Generator_RowDeletedName="AnagBilanceRowDeleted" msprop:Generator_RowChangedName="AnagBilanceRowChanged" msprop:Generator_RowClassName="AnagBilanceRow" msprop:Generator_RowChangingName="AnagBilanceRowChanging" msprop:Generator_RowEvArgName="AnagBilanceRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagBilanceRowChangeEventHandler" msprop:Generator_TableClassName="AnagBilanceDataTable" msprop:Generator_TableVarName="tableAnagBilance" msprop:Generator_RowDeletingName="AnagBilanceRowDeleting" msprop:Generator_TablePropName="AnagBilance">
<xs:complexType>
<xs:sequence>
<xs:element name="CodBilancia" msprop:Generator_UserColumnName="CodBilancia" msprop:Generator_ColumnVarNameInTable="columnCodBilancia" msprop:Generator_ColumnPropNameInRow="CodBilancia" msprop:Generator_ColumnPropNameInTable="CodBilanciaColumn">
<xs:element name="CodBilancia" msprop:Generator_UserColumnName="CodBilancia" msprop:Generator_ColumnPropNameInRow="CodBilancia" msprop:Generator_ColumnVarNameInTable="columnCodBilancia" msprop:Generator_ColumnPropNameInTable="CodBilanciaColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescrImpianto" msprop:Generator_UserColumnName="DescrImpianto" msprop:Generator_ColumnVarNameInTable="columnDescrImpianto" msprop:Generator_ColumnPropNameInRow="DescrImpianto" msprop:Generator_ColumnPropNameInTable="DescrImpiantoColumn" minOccurs="0">
<xs:element name="DescrImpianto" msprop:Generator_UserColumnName="DescrImpianto" msprop:Generator_ColumnPropNameInRow="DescrImpianto" msprop:Generator_ColumnVarNameInTable="columnDescrImpianto" msprop:Generator_ColumnPropNameInTable="DescrImpiantoColumn" 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: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" />
@@ -1753,93 +1765,93 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<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: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="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnDescParticolare" msprop:Generator_ColumnPropNameInRow="DescParticolare" msprop:Generator_ColumnPropNameInTable="DescParticolareColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnDisegnoGrezzo" msprop:Generator_ColumnPropNameInRow="DisegnoGrezzo" msprop:Generator_ColumnPropNameInTable="DisegnoGrezzoColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnDescImpianto" msprop:Generator_ColumnPropNameInRow="DescImpianto" msprop:Generator_ColumnPropNameInTable="DescImpiantoColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnCodStampo" msprop:Generator_ColumnPropNameInRow="CodStampo" msprop:Generator_ColumnPropNameInTable="CodStampoColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnFigura" msprop:Generator_ColumnPropNameInRow="Figura" msprop:Generator_ColumnPropNameInTable="FiguraColumn" minOccurs="0">
<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_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: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" />
@@ -1853,28 +1865,28 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
</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: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_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: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: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: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="15" />
@@ -1901,96 +1913,96 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="v_ArtInProd" msprop:Generator_UserTableName="v_ArtInProd" msprop:Generator_RowDeletedName="v_ArtInProdRowDeleted" msprop:Generator_RowChangedName="v_ArtInProdRowChanged" msprop:Generator_RowClassName="v_ArtInProdRow" msprop:Generator_RowChangingName="v_ArtInProdRowChanging" msprop:Generator_RowEvArgName="v_ArtInProdRowChangeEvent" msprop:Generator_RowEvHandlerName="v_ArtInProdRowChangeEventHandler" msprop:Generator_TableClassName="v_ArtInProdDataTable" msprop:Generator_TableVarName="tablev_ArtInProd" msprop:Generator_RowDeletingName="v_ArtInProdRowDeleting" msprop:Generator_TablePropName="v_ArtInProd">
<xs:complexType>
<xs:sequence>
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
<xs:element name="CodImpianto" msprop:Generator_UserColumnName="CodImpianto" msprop:Generator_ColumnPropNameInRow="CodImpianto" msprop:Generator_ColumnVarNameInTable="columnCodImpianto" msprop:Generator_ColumnPropNameInTable="CodImpiantoColumn">
<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">
<xs:element name="CodStampo" msprop:Generator_UserColumnName="CodStampo" msprop:Generator_ColumnPropNameInRow="CodStampo" msprop:Generator_ColumnVarNameInTable="columnCodStampo" msprop:Generator_ColumnPropNameInTable="CodStampoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NumStampate" msprop:Generator_UserColumnName="NumStampate" msprop:Generator_ColumnVarNameInTable="columnNumStampate" msprop:Generator_ColumnPropNameInRow="NumStampate" msprop:Generator_ColumnPropNameInTable="NumStampateColumn" type="xs:decimal" />
<xs:element name="DataInizio" msprop:Generator_UserColumnName="DataInizio" msprop:Generator_ColumnVarNameInTable="columnDataInizio" msprop:Generator_ColumnPropNameInRow="DataInizio" msprop:Generator_ColumnPropNameInTable="DataInizioColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="TurnoInizio" msprop:Generator_UserColumnName="TurnoInizio" msprop:Generator_ColumnVarNameInTable="columnTurnoInizio" msprop:Generator_ColumnPropNameInRow="TurnoInizio" msprop:Generator_ColumnPropNameInTable="TurnoInizioColumn">
<xs:element name="NumStampate" msprop:Generator_UserColumnName="NumStampate" msprop:Generator_ColumnPropNameInRow="NumStampate" msprop:Generator_ColumnVarNameInTable="columnNumStampate" msprop:Generator_ColumnPropNameInTable="NumStampateColumn" type="xs:decimal" />
<xs:element name="DataInizio" msprop:Generator_UserColumnName="DataInizio" msprop:Generator_ColumnPropNameInRow="DataInizio" msprop:Generator_ColumnVarNameInTable="columnDataInizio" msprop:Generator_ColumnPropNameInTable="DataInizioColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="TurnoInizio" msprop:Generator_UserColumnName="TurnoInizio" msprop:Generator_ColumnPropNameInRow="TurnoInizio" msprop:Generator_ColumnVarNameInTable="columnTurnoInizio" msprop:Generator_ColumnPropNameInTable="TurnoInizioColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="InizioValidita" msprop:Generator_UserColumnName="InizioValidita" msprop:Generator_ColumnVarNameInTable="columnInizioValidita" msprop:Generator_ColumnPropNameInRow="InizioValidita" msprop:Generator_ColumnPropNameInTable="InizioValiditaColumn" type="xs:dateTime" />
<xs:element name="FineValidita" msprop:Generator_UserColumnName="FineValidita" msprop:Generator_ColumnVarNameInTable="columnFineValidita" msprop:Generator_ColumnPropNameInRow="FineValidita" msprop:Generator_ColumnPropNameInTable="FineValiditaColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="NumFigure" msprop:Generator_UserColumnName="NumFigure" msprop:Generator_ColumnVarNameInTable="columnNumFigure" msprop:Generator_ColumnPropNameInRow="NumFigure" msprop:Generator_ColumnPropNameInTable="NumFigureColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="CodCliente" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<xs:element name="InizioValidita" msprop:Generator_UserColumnName="InizioValidita" msprop:Generator_ColumnPropNameInRow="InizioValidita" msprop:Generator_ColumnVarNameInTable="columnInizioValidita" msprop:Generator_ColumnPropNameInTable="InizioValiditaColumn" type="xs:dateTime" />
<xs:element name="FineValidita" msprop:Generator_UserColumnName="FineValidita" msprop:Generator_ColumnPropNameInRow="FineValidita" msprop:Generator_ColumnVarNameInTable="columnFineValidita" msprop:Generator_ColumnPropNameInTable="FineValiditaColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="NumFigure" msprop:Generator_UserColumnName="NumFigure" msprop:Generator_ColumnPropNameInRow="NumFigure" msprop:Generator_ColumnVarNameInTable="columnNumFigure" msprop:Generator_ColumnPropNameInTable="NumFigureColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="CodCliente" msdata:ReadOnly="true" 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="50" />
</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: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="CodArticolo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" minOccurs="0">
<xs:element name="CodArticolo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CodArticolo" msprop:Generator_ColumnPropNameInRow="CodArticolo" msprop:Generator_ColumnVarNameInTable="columnCodArticolo" msprop:Generator_ColumnPropNameInTable="CodArticoloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</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: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">
<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: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_ColumnVarNameInTable="columnDisegnoGrezzo" msprop:Generator_ColumnPropNameInRow="DisegnoGrezzo" msprop:Generator_ColumnPropNameInTable="DisegnoGrezzoColumn" minOccurs="0">
<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="CodFamiglia" msprop:Generator_UserColumnName="CodFamiglia" msprop:Generator_ColumnVarNameInTable="columnCodFamiglia" msprop:Generator_ColumnPropNameInRow="CodFamiglia" msprop:Generator_ColumnPropNameInTable="CodFamigliaColumn" minOccurs="0">
<xs:element name="CodFamiglia" msprop:Generator_UserColumnName="CodFamiglia" msprop:Generator_ColumnPropNameInRow="CodFamiglia" msprop:Generator_ColumnVarNameInTable="columnCodFamiglia" msprop:Generator_ColumnPropNameInTable="CodFamigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescFamiglia" msprop:Generator_UserColumnName="DescFamiglia" msprop:Generator_ColumnVarNameInTable="columnDescFamiglia" msprop:Generator_ColumnPropNameInRow="DescFamiglia" msprop:Generator_ColumnPropNameInTable="DescFamigliaColumn" minOccurs="0">
<xs:element name="DescFamiglia" msprop:Generator_UserColumnName="DescFamiglia" msprop:Generator_ColumnPropNameInRow="DescFamiglia" msprop:Generator_ColumnVarNameInTable="columnDescFamiglia" msprop:Generator_ColumnPropNameInTable="DescFamigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</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: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="Esponente" msprop:Generator_UserColumnName="Esponente" msprop:Generator_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn" minOccurs="0">
<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" />
@@ -2072,21 +2084,21 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagClienti" msprop:Generator_UserTableName="AnagClienti" msprop:Generator_RowDeletedName="AnagClientiRowDeleted" msprop:Generator_RowChangedName="AnagClientiRowChanged" msprop:Generator_RowClassName="AnagClientiRow" msprop:Generator_RowChangingName="AnagClientiRowChanging" msprop:Generator_RowEvArgName="AnagClientiRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagClientiRowChangeEventHandler" msprop:Generator_TableClassName="AnagClientiDataTable" msprop:Generator_TableVarName="tableAnagClienti" msprop:Generator_RowDeletingName="AnagClientiRowDeleting" msprop:Generator_TablePropName="AnagClienti">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn">
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn">
<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">
<xs:element name="RagSociale" msprop:Generator_UserColumnName="RagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Lingua" msprop:Generator_UserColumnName="Lingua" msprop:Generator_ColumnVarNameInTable="columnLingua" msprop:Generator_ColumnPropNameInRow="Lingua" msprop:Generator_ColumnPropNameInTable="LinguaColumn" minOccurs="0">
<xs:element name="Lingua" msprop:Generator_UserColumnName="Lingua" msprop:Generator_ColumnPropNameInRow="Lingua" msprop:Generator_ColumnVarNameInTable="columnLingua" msprop:Generator_ColumnPropNameInTable="LinguaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
@@ -2099,157 +2111,157 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="stp_prtCartByUDC" msprop:Generator_UserTableName="stp_prtCartByUDC" msprop:Generator_RowDeletedName="stp_prtCartByUDCRowDeleted" msprop:Generator_RowChangedName="stp_prtCartByUDCRowChanged" msprop:Generator_RowClassName="stp_prtCartByUDCRow" msprop:Generator_RowChangingName="stp_prtCartByUDCRowChanging" msprop:Generator_RowEvArgName="stp_prtCartByUDCRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_prtCartByUDCRowChangeEventHandler" msprop:Generator_TableClassName="stp_prtCartByUDCDataTable" msprop:Generator_TableVarName="tablestp_prtCartByUDC" msprop:Generator_RowDeletingName="stp_prtCartByUDCRowDeleting" msprop:Generator_TablePropName="stp_prtCartByUDC">
<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="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:element name="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codcliente" msdata:ReadOnly="true" msprop:Generator_UserColumnName="codcliente" msprop:Generator_ColumnPropNameInRow="codcliente" msprop:Generator_ColumnVarNameInTable="columncodcliente" msprop:Generator_ColumnPropNameInTable="codclienteColumn" minOccurs="0">
<xs:element name="codcliente" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ragsociale" msprop:Generator_ColumnPropNameInRow="ragsociale" msprop:Generator_ColumnVarNameInTable="columnragsociale" msprop:Generator_ColumnPropNameInTable="ragsocialeColumn" minOccurs="0">
<xs:element name="ragsociale" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="particolare" msprop:Generator_ColumnPropNameInRow="particolare" msprop:Generator_ColumnVarNameInTable="columnparticolare" msprop:Generator_ColumnPropNameInTable="particolareColumn" minOccurs="0">
<xs:element name="particolare" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descparticolare" msprop:Generator_ColumnPropNameInRow="descparticolare" msprop:Generator_ColumnVarNameInTable="columndescparticolare" msprop:Generator_ColumnPropNameInTable="descparticolareColumn" minOccurs="0">
<xs:element name="descparticolare" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="disegnogrezzo" msprop:Generator_ColumnPropNameInRow="disegnogrezzo" msprop:Generator_ColumnVarNameInTable="columndisegnogrezzo" msprop:Generator_ColumnPropNameInTable="disegnogrezzoColumn" minOccurs="0">
<xs:element name="disegnogrezzo" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="esponente" msprop:Generator_ColumnPropNameInRow="esponente" msprop:Generator_ColumnVarNameInTable="columnesponente" msprop:Generator_ColumnPropNameInTable="esponenteColumn" minOccurs="0">
<xs:element name="esponente" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="codimpianto" msprop:Generator_ColumnPropNameInRow="codimpianto" msprop:Generator_ColumnVarNameInTable="columncodimpianto" msprop:Generator_ColumnPropNameInTable="codimpiantoColumn" minOccurs="0">
<xs:element name="codimpianto" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descimpianto" msprop:Generator_ColumnPropNameInRow="descimpianto" msprop:Generator_ColumnVarNameInTable="columndescimpianto" msprop:Generator_ColumnPropNameInTable="descimpiantoColumn" minOccurs="0">
<xs:element name="descimpianto" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="codstampo" msprop:Generator_ColumnPropNameInRow="codstampo" msprop:Generator_ColumnVarNameInTable="columncodstampo" msprop:Generator_ColumnPropNameInTable="codstampoColumn" minOccurs="0">
<xs:element name="codstampo" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="figura" msprop:Generator_ColumnPropNameInRow="figura" msprop:Generator_ColumnVarNameInTable="columnfigura" msprop:Generator_ColumnPropNameInTable="figuraColumn" minOccurs="0">
<xs:element name="figura" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="codimballo" msprop:Generator_ColumnPropNameInRow="codimballo" msprop:Generator_ColumnVarNameInTable="columncodimballo" msprop:Generator_ColumnPropNameInTable="codimballoColumn" minOccurs="0">
<xs:element name="datafus" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="codsoggetto" msprop:Generator_ColumnPropNameInRow="codsoggetto" msprop:Generator_ColumnVarNameInTable="columncodsoggetto" msprop:Generator_ColumnPropNameInTable="codsoggettoColumn" minOccurs="0">
<xs:element name="codsoggetto" msdata:ReadOnly="true" 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="17" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="numcont" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" msprop:Generator_UserColumnName="codstato" msprop:Generator_ColumnPropNameInRow="codstato" msprop:Generator_ColumnVarNameInTable="columncodstato" msprop:Generator_ColumnPropNameInTable="codstatoColumn" minOccurs="0">
<xs:element name="numcont" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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="cognome" msdata:ReadOnly="true" msprop:Generator_UserColumnName="cognome" msprop:Generator_ColumnPropNameInRow="cognome" msprop:Generator_ColumnVarNameInTable="columncognome" msprop:Generator_ColumnPropNameInTable="cognomeColumn" minOccurs="0">
<xs:element name="idxposizione" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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" msdata:ReadOnly="true" 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:element name="cognome" msdata:ReadOnly="true" msprop:Generator_UserColumnName="cognome" msprop:Generator_ColumnVarNameInTable="columncognome" msprop:Generator_ColumnPropNameInRow="cognome" msprop:Generator_ColumnPropNameInTable="cognomeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="40" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nome" msdata:ReadOnly="true" msprop:Generator_UserColumnName="nome" msprop:Generator_ColumnPropNameInRow="nome" msprop:Generator_ColumnVarNameInTable="columnnome" msprop:Generator_ColumnPropNameInTable="nomeColumn" minOccurs="0">
<xs:element name="nome" msdata:ReadOnly="true" msprop:Generator_UserColumnName="nome" msprop:Generator_ColumnVarNameInTable="columnnome" msprop:Generator_ColumnPropNameInRow="nome" msprop:Generator_ColumnPropNameInTable="nomeColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="40" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descstato" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descstato" msprop:Generator_ColumnPropNameInRow="descstato" msprop:Generator_ColumnVarNameInTable="columndescstato" msprop:Generator_ColumnPropNameInTable="descstatoColumn" minOccurs="0">
<xs:element name="descstato" msdata:ReadOnly="true" 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="descimballo" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descimballo" msprop:Generator_ColumnPropNameInRow="descimballo" msprop:Generator_ColumnVarNameInTable="columndescimballo" msprop:Generator_ColumnPropNameInTable="descimballoColumn" minOccurs="0">
<xs:element name="descimballo" msdata:ReadOnly="true" 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:element name="CodFamiglia" msprop:Generator_UserColumnName="CodFamiglia" msprop:Generator_ColumnPropNameInRow="CodFamiglia" msprop:Generator_ColumnVarNameInTable="columnCodFamiglia" msprop:Generator_ColumnPropNameInTable="CodFamigliaColumn" minOccurs="0">
<xs:element name="CodFamiglia" msprop:Generator_UserColumnName="CodFamiglia" msprop:Generator_ColumnVarNameInTable="columnCodFamiglia" msprop:Generator_ColumnPropNameInRow="CodFamiglia" msprop:Generator_ColumnPropNameInTable="CodFamigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescFamiglia" msprop:Generator_UserColumnName="DescFamiglia" msprop:Generator_ColumnPropNameInRow="DescFamiglia" msprop:Generator_ColumnVarNameInTable="columnDescFamiglia" msprop:Generator_ColumnPropNameInTable="DescFamigliaColumn" minOccurs="0">
<xs:element name="DescFamiglia" msprop:Generator_UserColumnName="DescFamiglia" msprop:Generator_ColumnVarNameInTable="columnDescFamiglia" msprop:Generator_ColumnPropNameInRow="DescFamiglia" msprop:Generator_ColumnPropNameInTable="DescFamigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
@@ -2262,42 +2274,42 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagParticolari" msprop:Generator_UserTableName="AnagParticolari" msprop:Generator_RowDeletedName="AnagParticolariRowDeleted" msprop:Generator_RowChangedName="AnagParticolariRowChanged" msprop:Generator_RowClassName="AnagParticolariRow" msprop:Generator_RowChangingName="AnagParticolariRowChanging" msprop:Generator_RowEvArgName="AnagParticolariRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagParticolariRowChangeEventHandler" msprop:Generator_TableClassName="AnagParticolariDataTable" msprop:Generator_TableVarName="tableAnagParticolari" msprop:Generator_RowDeletingName="AnagParticolariRowDeleting" msprop:Generator_TablePropName="AnagParticolari">
<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: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="CodCS" msprop:Generator_UserColumnName="CodCS" msprop:Generator_ColumnPropNameInRow="CodCS" msprop:Generator_ColumnVarNameInTable="columnCodCS" msprop:Generator_ColumnPropNameInTable="CodCSColumn">
<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="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn">
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</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">
<xs:element name="DisegnoGrezzo" msprop:Generator_UserColumnName="DisegnoGrezzo" msprop:Generator_ColumnVarNameInTable="columnDisegnoGrezzo" msprop:Generator_ColumnPropNameInRow="DisegnoGrezzo" msprop:Generator_ColumnPropNameInTable="DisegnoGrezzoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodFamiglia" msprop:Generator_UserColumnName="CodFamiglia" msprop:Generator_ColumnPropNameInRow="CodFamiglia" msprop:Generator_ColumnVarNameInTable="columnCodFamiglia" msprop:Generator_ColumnPropNameInTable="CodFamigliaColumn" minOccurs="0">
<xs:element name="CodFamiglia" msprop:Generator_UserColumnName="CodFamiglia" msprop:Generator_ColumnVarNameInTable="columnCodFamiglia" msprop:Generator_ColumnPropNameInRow="CodFamiglia" msprop:Generator_ColumnPropNameInTable="CodFamigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4" />
</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: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" />
@@ -2310,14 +2322,14 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="AnagFamiglie" msprop:Generator_UserTableName="AnagFamiglie" msprop:Generator_RowDeletedName="AnagFamiglieRowDeleted" msprop:Generator_RowChangedName="AnagFamiglieRowChanged" msprop:Generator_RowClassName="AnagFamiglieRow" msprop:Generator_RowChangingName="AnagFamiglieRowChanging" msprop:Generator_RowEvArgName="AnagFamiglieRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagFamiglieRowChangeEventHandler" msprop:Generator_TableClassName="AnagFamiglieDataTable" msprop:Generator_TableVarName="tableAnagFamiglie" msprop:Generator_RowDeletingName="AnagFamiglieRowDeleting" msprop:Generator_TablePropName="AnagFamiglie">
<xs:complexType>
<xs:sequence>
<xs:element name="CodFamiglia" msprop:Generator_UserColumnName="CodFamiglia" msprop:Generator_ColumnPropNameInRow="CodFamiglia" msprop:Generator_ColumnVarNameInTable="columnCodFamiglia" msprop:Generator_ColumnPropNameInTable="CodFamigliaColumn">
<xs:element name="CodFamiglia" msprop:Generator_UserColumnName="CodFamiglia" msprop:Generator_ColumnVarNameInTable="columnCodFamiglia" msprop:Generator_ColumnPropNameInRow="CodFamiglia" msprop:Generator_ColumnPropNameInTable="CodFamigliaColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescFamiglia" msprop:Generator_UserColumnName="DescFamiglia" msprop:Generator_ColumnPropNameInRow="DescFamiglia" msprop:Generator_ColumnVarNameInTable="columnDescFamiglia" msprop:Generator_ColumnPropNameInTable="DescFamigliaColumn" minOccurs="0">
<xs:element name="DescFamiglia" msprop:Generator_UserColumnName="DescFamiglia" msprop:Generator_ColumnVarNameInTable="columnDescFamiglia" msprop:Generator_ColumnPropNameInRow="DescFamiglia" msprop:Generator_ColumnPropNameInTable="DescFamigliaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
@@ -2330,21 +2342,21 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="Soggetti2Utente" msprop:Generator_UserTableName="Soggetti2Utente" msprop:Generator_RowDeletedName="Soggetti2UtenteRowDeleted" msprop:Generator_RowChangedName="Soggetti2UtenteRowChanged" msprop:Generator_RowClassName="Soggetti2UtenteRow" msprop:Generator_RowChangingName="Soggetti2UtenteRowChanging" msprop:Generator_RowEvArgName="Soggetti2UtenteRowChangeEvent" msprop:Generator_RowEvHandlerName="Soggetti2UtenteRowChangeEventHandler" msprop:Generator_TableClassName="Soggetti2UtenteDataTable" msprop:Generator_TableVarName="tableSoggetti2Utente" msprop:Generator_RowDeletingName="Soggetti2UtenteRowDeleting" msprop:Generator_TablePropName="Soggetti2Utente">
<xs:complexType>
<xs:sequence>
<xs:element name="CodSoggetto" msprop:Generator_UserColumnName="CodSoggetto" msprop:Generator_ColumnPropNameInRow="CodSoggetto" msprop:Generator_ColumnVarNameInTable="columnCodSoggetto" msprop:Generator_ColumnPropNameInTable="CodSoggettoColumn">
<xs:element name="CodSoggetto" msprop:Generator_UserColumnName="CodSoggetto" msprop:Generator_ColumnVarNameInTable="columnCodSoggetto" msprop:Generator_ColumnPropNameInRow="CodSoggetto" msprop:Generator_ColumnPropNameInTable="CodSoggettoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="17" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="USER_NAME" msprop:Generator_UserColumnName="USER_NAME" msprop:Generator_ColumnPropNameInRow="USER_NAME" msprop:Generator_ColumnVarNameInTable="columnUSER_NAME" msprop:Generator_ColumnPropNameInTable="USER_NAMEColumn">
<xs:element name="USER_NAME" msprop:Generator_UserColumnName="USER_NAME" msprop:Generator_ColumnVarNameInTable="columnUSER_NAME" msprop:Generator_ColumnPropNameInRow="USER_NAME" msprop:Generator_ColumnPropNameInTable="USER_NAMEColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DOMINIO" msprop:Generator_UserColumnName="DOMINIO" msprop:Generator_ColumnPropNameInRow="DOMINIO" msprop:Generator_ColumnVarNameInTable="columnDOMINIO" msprop:Generator_ColumnPropNameInTable="DOMINIOColumn" minOccurs="0">
<xs:element name="DOMINIO" msprop:Generator_UserColumnName="DOMINIO" msprop:Generator_ColumnVarNameInTable="columnDOMINIO" msprop:Generator_ColumnPropNameInRow="DOMINIO" msprop:Generator_ColumnPropNameInTable="DOMINIOColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
@@ -2357,102 +2369,102 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="stp_prtCartMatPrimaByUDC" msprop:Generator_UserTableName="stp_prtCartMatPrimaByUDC" msprop:Generator_RowDeletedName="stp_prtCartMatPrimaByUDCRowDeleted" msprop:Generator_RowChangedName="stp_prtCartMatPrimaByUDCRowChanged" msprop:Generator_RowClassName="stp_prtCartMatPrimaByUDCRow" msprop:Generator_RowChangingName="stp_prtCartMatPrimaByUDCRowChanging" msprop:Generator_RowEvArgName="stp_prtCartMatPrimaByUDCRowChangeEvent" msprop:Generator_RowEvHandlerName="stp_prtCartMatPrimaByUDCRowChangeEventHandler" msprop:Generator_TableClassName="stp_prtCartMatPrimaByUDCDataTable" msprop:Generator_TableVarName="tablestp_prtCartMatPrimaByUDC" msprop:Generator_RowDeletingName="stp_prtCartMatPrimaByUDCRowDeleting" msprop:Generator_TablePropName="stp_prtCartMatPrimaByUDC">
<xs:complexType>
<xs:sequence>
<xs:element name="nRapQual" msprop:Generator_UserColumnName="nRapQual" msprop:Generator_ColumnVarNameInTable="columnnRapQual" msprop:Generator_ColumnPropNameInRow="nRapQual" msprop:Generator_ColumnPropNameInTable="nRapQualColumn" type="xs:decimal" />
<xs:element name="DataRapQual" msprop:Generator_UserColumnName="DataRapQual" msprop:Generator_ColumnVarNameInTable="columnDataRapQual" msprop:Generator_ColumnPropNameInRow="DataRapQual" msprop:Generator_ColumnPropNameInTable="DataRapQualColumn" type="xs:decimal" />
<xs:element name="ProgUDC" msprop:Generator_UserColumnName="ProgUDC" msprop:Generator_ColumnVarNameInTable="columnProgUDC" msprop:Generator_ColumnPropNameInRow="ProgUDC" msprop:Generator_ColumnPropNameInTable="ProgUDCColumn">
<xs:element name="nRapQual" msprop:Generator_UserColumnName="nRapQual" msprop:Generator_ColumnPropNameInRow="nRapQual" msprop:Generator_ColumnVarNameInTable="columnnRapQual" msprop:Generator_ColumnPropNameInTable="nRapQualColumn" type="xs:decimal" />
<xs:element name="DataRapQual" msprop:Generator_UserColumnName="DataRapQual" msprop:Generator_ColumnPropNameInRow="DataRapQual" msprop:Generator_ColumnVarNameInTable="columnDataRapQual" msprop:Generator_ColumnPropNameInTable="DataRapQualColumn" type="xs:decimal" />
<xs:element name="ProgUDC" msprop:Generator_UserColumnName="ProgUDC" msprop:Generator_ColumnPropNameInRow="ProgUDC" msprop:Generator_ColumnVarNameInTable="columnProgUDC" msprop:Generator_ColumnPropNameInTable="ProgUDCColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodFor" msprop:Generator_UserColumnName="CodFor" msprop:Generator_ColumnVarNameInTable="columnCodFor" msprop:Generator_ColumnPropNameInRow="CodFor" msprop:Generator_ColumnPropNameInTable="CodForColumn">
<xs:element name="CodFor" msprop:Generator_UserColumnName="CodFor" msprop:Generator_ColumnPropNameInRow="CodFor" msprop:Generator_ColumnVarNameInTable="columnCodFor" msprop:Generator_ColumnPropNameInTable="CodForColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DestTerz" msprop:Generator_UserColumnName="DestTerz" msprop:Generator_ColumnVarNameInTable="columnDestTerz" msprop:Generator_ColumnPropNameInRow="DestTerz" msprop:Generator_ColumnPropNameInTable="DestTerzColumn">
<xs:element name="DestTerz" msprop:Generator_UserColumnName="DestTerz" msprop:Generator_ColumnPropNameInRow="DestTerz" msprop:Generator_ColumnVarNameInTable="columnDestTerz" msprop:Generator_ColumnPropNameInTable="DestTerzColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodLega" msprop:Generator_UserColumnName="CodLega" msprop:Generator_ColumnVarNameInTable="columnCodLega" msprop:Generator_ColumnPropNameInRow="CodLega" msprop:Generator_ColumnPropNameInTable="CodLegaColumn">
<xs:element name="CodLega" msprop:Generator_UserColumnName="CodLega" msprop:Generator_ColumnPropNameInRow="CodLega" msprop:Generator_ColumnVarNameInTable="columnCodLega" msprop:Generator_ColumnPropNameInTable="CodLegaColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DataPrelFus" msprop:Generator_UserColumnName="DataPrelFus" msprop:Generator_ColumnVarNameInTable="columnDataPrelFus" msprop:Generator_ColumnPropNameInRow="DataPrelFus" msprop:Generator_ColumnPropNameInTable="DataPrelFusColumn" type="xs:decimal" />
<xs:element name="TurnoPrelFus" msprop:Generator_UserColumnName="TurnoPrelFus" msprop:Generator_ColumnVarNameInTable="columnTurnoPrelFus" msprop:Generator_ColumnPropNameInRow="TurnoPrelFus" msprop:Generator_ColumnPropNameInTable="TurnoPrelFusColumn">
<xs:element name="DataPrelFus" msprop:Generator_UserColumnName="DataPrelFus" msprop:Generator_ColumnPropNameInRow="DataPrelFus" msprop:Generator_ColumnVarNameInTable="columnDataPrelFus" msprop:Generator_ColumnPropNameInTable="DataPrelFusColumn" type="xs:decimal" />
<xs:element name="TurnoPrelFus" msprop:Generator_UserColumnName="TurnoPrelFus" msprop:Generator_ColumnPropNameInRow="TurnoPrelFus" msprop:Generator_ColumnVarNameInTable="columnTurnoPrelFus" msprop:Generator_ColumnPropNameInTable="TurnoPrelFusColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="5" />
</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" />
<xs:element name="DestLega" msprop:Generator_UserColumnName="DestLega" msprop:Generator_ColumnVarNameInTable="columnDestLega" msprop:Generator_ColumnPropNameInRow="DestLega" msprop:Generator_ColumnPropNameInTable="DestLegaColumn">
<xs:element name="Qta" msprop:Generator_UserColumnName="Qta" msprop:Generator_ColumnPropNameInRow="Qta" msprop:Generator_ColumnVarNameInTable="columnQta" msprop:Generator_ColumnPropNameInTable="QtaColumn" type="xs:decimal" />
<xs:element name="DestLega" msprop:Generator_UserColumnName="DestLega" msprop:Generator_ColumnPropNameInRow="DestLega" msprop:Generator_ColumnVarNameInTable="columnDestLega" msprop:Generator_ColumnPropNameInTable="DestLegaColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LegaScaric" msprop:Generator_UserColumnName="LegaScaric" msprop:Generator_ColumnVarNameInTable="columnLegaScaric" msprop:Generator_ColumnPropNameInRow="LegaScaric" msprop:Generator_ColumnPropNameInTable="LegaScaricColumn">
<xs:element name="LegaScaric" msprop:Generator_UserColumnName="LegaScaric" msprop:Generator_ColumnPropNameInRow="LegaScaric" msprop:Generator_ColumnVarNameInTable="columnLegaScaric" msprop:Generator_ColumnPropNameInTable="LegaScaricColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BenesQual" msprop:Generator_UserColumnName="BenesQual" msprop:Generator_ColumnVarNameInTable="columnBenesQual" msprop:Generator_ColumnPropNameInRow="BenesQual" msprop:Generator_ColumnPropNameInTable="BenesQualColumn">
<xs:element name="BenesQual" msprop:Generator_UserColumnName="BenesQual" msprop:Generator_ColumnPropNameInRow="BenesQual" msprop:Generator_ColumnVarNameInTable="columnBenesQual" msprop:Generator_ColumnPropNameInTable="BenesQualColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" minOccurs="0">
<xs:element name="UDC" msprop:Generator_UserColumnName="UDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescFornitore" msprop:Generator_UserColumnName="DescFornitore" msprop:Generator_ColumnVarNameInTable="columnDescFornitore" msprop:Generator_ColumnPropNameInRow="DescFornitore" msprop:Generator_ColumnPropNameInTable="DescFornitoreColumn" minOccurs="0">
<xs:element name="DescFornitore" msprop:Generator_UserColumnName="DescFornitore" msprop:Generator_ColumnPropNameInRow="DescFornitore" msprop:Generator_ColumnVarNameInTable="columnDescFornitore" msprop:Generator_ColumnPropNameInTable="DescFornitoreColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescFornitore2" msprop:Generator_UserColumnName="DescFornitore2" msprop:Generator_ColumnVarNameInTable="columnDescFornitore2" msprop:Generator_ColumnPropNameInRow="DescFornitore2" msprop:Generator_ColumnPropNameInTable="DescFornitore2Column" minOccurs="0">
<xs:element name="DescFornitore2" msprop:Generator_UserColumnName="DescFornitore2" msprop:Generator_ColumnPropNameInRow="DescFornitore2" msprop:Generator_ColumnVarNameInTable="columnDescFornitore2" msprop:Generator_ColumnPropNameInTable="DescFornitore2Column" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="35" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodLega2" msprop:Generator_UserColumnName="CodLega2" msprop:Generator_ColumnVarNameInTable="columnCodLega2" msprop:Generator_ColumnPropNameInRow="CodLega2" msprop:Generator_ColumnPropNameInTable="CodLega2Column" minOccurs="0">
<xs:element name="CodLega2" msprop:Generator_UserColumnName="CodLega2" msprop:Generator_ColumnPropNameInRow="CodLega2" msprop:Generator_ColumnVarNameInTable="columnCodLega2" msprop:Generator_ColumnPropNameInTable="CodLega2Column" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="12" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescLega" msprop:Generator_UserColumnName="DescLega" msprop:Generator_ColumnVarNameInTable="columnDescLega" msprop:Generator_ColumnPropNameInRow="DescLega" msprop:Generator_ColumnPropNameInTable="DescLegaColumn" minOccurs="0">
<xs:element name="DescLega" msprop:Generator_UserColumnName="DescLega" msprop:Generator_ColumnPropNameInRow="DescLega" msprop:Generator_ColumnVarNameInTable="columnDescLega" msprop:Generator_ColumnPropNameInTable="DescLegaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="25" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescLega2" msprop:Generator_UserColumnName="DescLega2" msprop:Generator_ColumnVarNameInTable="columnDescLega2" msprop:Generator_ColumnPropNameInRow="DescLega2" msprop:Generator_ColumnPropNameInTable="DescLega2Column" minOccurs="0">
<xs:element name="DescLega2" msprop:Generator_UserColumnName="DescLega2" msprop:Generator_ColumnPropNameInRow="DescLega2" msprop:Generator_ColumnVarNameInTable="columnDescLega2" msprop:Generator_ColumnPropNameInTable="DescLega2Column" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="25" />
@@ -2465,56 +2477,56 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
<xs:element name="v_specParticolari" msprop:Generator_UserTableName="v_specParticolari" msprop:Generator_RowDeletedName="v_specParticolariRowDeleted" msprop:Generator_RowChangedName="v_specParticolariRowChanged" msprop:Generator_RowClassName="v_specParticolariRow" msprop:Generator_RowChangingName="v_specParticolariRowChanging" msprop:Generator_RowEvArgName="v_specParticolariRowChangeEvent" msprop:Generator_RowEvHandlerName="v_specParticolariRowChangeEventHandler" msprop:Generator_TableClassName="v_specParticolariDataTable" msprop:Generator_TableVarName="tablev_specParticolari" msprop:Generator_RowDeletingName="v_specParticolariRowDeleting" msprop:Generator_TablePropName="v_specParticolari">
<xs:complexType>
<xs:sequence>
<xs:element name="CodCliente" msprop:Generator_UserColumnName="CodCliente" msprop:Generator_ColumnVarNameInTable="columnCodCliente" msprop:Generator_ColumnPropNameInRow="CodCliente" msprop:Generator_ColumnPropNameInTable="CodClienteColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnRagSociale" msprop:Generator_ColumnPropNameInRow="RagSociale" msprop:Generator_ColumnPropNameInTable="RagSocialeColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnDescParticolare" msprop:Generator_ColumnPropNameInRow="DescParticolare" msprop:Generator_ColumnPropNameInTable="DescParticolareColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnDisegnoGrezzo" msprop:Generator_ColumnPropNameInRow="DisegnoGrezzo" msprop:Generator_ColumnPropNameInTable="DisegnoGrezzoColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnEsponente" msprop:Generator_ColumnPropNameInRow="Esponente" msprop:Generator_ColumnPropNameInTable="EsponenteColumn" minOccurs="0">
<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="CodStampo" msprop:Generator_UserColumnName="CodStampo" msprop:Generator_ColumnVarNameInTable="columnCodStampo" msprop:Generator_ColumnPropNameInRow="CodStampo" msprop:Generator_ColumnPropNameInTable="CodStampoColumn" minOccurs="0">
<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_ColumnVarNameInTable="columnFigura" msprop:Generator_ColumnPropNameInRow="Figura" msprop:Generator_ColumnPropNameInTable="FiguraColumn" minOccurs="0">
<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" />
@@ -2524,17 +2536,17 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoPostazioni" msprop:Generator_UserTableName="ElencoPostazioni" msprop:Generator_RowDeletedName="ElencoPostazioniRowDeleted" msprop:Generator_TableClassName="ElencoPostazioniDataTable" msprop:Generator_RowChangedName="ElencoPostazioniRowChanged" msprop:Generator_RowClassName="ElencoPostazioniRow" msprop:Generator_RowChangingName="ElencoPostazioniRowChanging" msprop:Generator_RowEvArgName="ElencoPostazioniRowChangeEvent" msprop:Generator_RowEvHandlerName="ElencoPostazioniRowChangeEventHandler" msprop:Generator_TablePropName="ElencoPostazioni" msprop:Generator_TableVarName="tableElencoPostazioni" msprop:Generator_RowDeletingName="ElencoPostazioniRowDeleting">
<xs:element name="ElencoPostazioni" msprop:Generator_UserTableName="ElencoPostazioni" msprop:Generator_RowDeletedName="ElencoPostazioniRowDeleted" msprop:Generator_RowChangedName="ElencoPostazioniRowChanged" msprop:Generator_RowClassName="ElencoPostazioniRow" msprop:Generator_RowChangingName="ElencoPostazioniRowChanging" msprop:Generator_RowEvArgName="ElencoPostazioniRowChangeEvent" msprop:Generator_RowEvHandlerName="ElencoPostazioniRowChangeEventHandler" msprop:Generator_TableClassName="ElencoPostazioniDataTable" msprop:Generator_TableVarName="tableElencoPostazioni" msprop:Generator_RowDeletingName="ElencoPostazioniRowDeleting" msprop:Generator_TablePropName="ElencoPostazioni">
<xs:complexType>
<xs:sequence>
<xs:element name="codPostazione" msprop:Generator_UserColumnName="codPostazione" msprop:Generator_ColumnPropNameInRow="codPostazione" msprop:Generator_ColumnVarNameInTable="columncodPostazione" msprop:Generator_ColumnPropNameInTable="codPostazioneColumn">
<xs:element name="codPostazione" msprop:Generator_UserColumnName="codPostazione" msprop:Generator_ColumnVarNameInTable="columncodPostazione" msprop:Generator_ColumnPropNameInRow="codPostazione" msprop:Generator_ColumnPropNameInTable="codPostazioneColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="stampante" msprop:Generator_UserColumnName="stampante" msprop:Generator_ColumnPropNameInRow="stampante" msprop:Generator_ColumnVarNameInTable="columnstampante" msprop:Generator_ColumnPropNameInTable="stampanteColumn" minOccurs="0">
<xs:element name="stampante" msprop:Generator_UserColumnName="stampante" msprop:Generator_ColumnVarNameInTable="columnstampante" msprop:Generator_ColumnPropNameInRow="stampante" msprop:Generator_ColumnPropNameInTable="stampanteColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
+1 -1
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="38" ViewPortY="296" 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="20" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:AnagStati" ZOrder="25" X="867" Y="533" Height="115" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="9" X="828" Y="719" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
+132 -50
View File
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4959
// Runtime Version:2.0.50727.4963
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -15007,7 +15007,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[9];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[10];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, DisegnoGrezzo, Esponente, CodImpianto, DescImpianto, CodStampo, Figura, DataFus, TurnoFus, CodImballo, CodSoggetto, NumCont, Tara, Qta, CodStato, IdxPosizione, PesoTot, PesoCad, CreateDate, ModDate FROM dbo.ElencoCartellini";
@@ -15043,35 +15043,42 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_getUDC_Older";
this._commandCollection[5].CommandText = "dbo.stp_UDC_getLast_ByParticolare";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "dbo.stp_getUDC_UnusedOlder";
this._commandCollection[6].CommandText = "dbo.stp_getUDC_Older";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
this._commandCollection[7].CommandText = "dbo.stp_UDC_updateIdxPosizione";
this._commandCollection[7].CommandText = "dbo.stp_getUDC_UnusedOlder";
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLista", global::System.Data.SqlDbType.VarChar, 12, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
this._commandCollection[8].CommandText = "dbo.stp_UDC_updateQty";
this._commandCollection[8].CommandText = "dbo.stp_UDC_updateIdxPosizione";
this._commandCollection[8].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[9].Connection = this.Connection;
this._commandCollection[9].CommandText = "dbo.stp_UDC_updateQty";
this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -15193,8 +15200,30 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[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.ElencoCartelliniDataTable getOlderUDC(string Esponente, string Particolare, global::System.Nullable<int> IdxPosizione) {
public virtual DS_magazzino.ElencoCartelliniDataTable getLastByParticolare(string CodCS, string Particolare) {
this.Adapter.SelectCommand = this.CommandCollection[5];
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.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable();
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.ElencoCartelliniDataTable getOlderUDC(string Esponente, string Particolare, global::System.Nullable<int> IdxPosizione) {
this.Adapter.SelectCommand = this.CommandCollection[6];
if ((Esponente == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -15222,7 +15251,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.ElencoCartelliniDataTable getUdcUnusedOlder(string CodLista) {
this.Adapter.SelectCommand = this.CommandCollection[6];
this.Adapter.SelectCommand = this.CommandCollection[7];
if ((CodLista == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -15238,7 +15267,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.ElencoCartelliniDataTable updateIdxPosizione(string UDC, global::System.Nullable<int> IdxPosizione) {
this.Adapter.SelectCommand = this.CommandCollection[7];
this.Adapter.SelectCommand = this.CommandCollection[8];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -15260,7 +15289,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.ElencoCartelliniDataTable updateQty(string UDC, string CodSoggetto, string CodTipoDichiaraz, string CodEvento, global::System.Nullable<decimal> Qta) {
this.Adapter.SelectCommand = this.CommandCollection[8];
this.Adapter.SelectCommand = this.CommandCollection[9];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -16995,7 +17024,6 @@ SELECT UDC, IdxCella, CodCS, DataRif FROM PosizioneUdcCorrente WHERE (IdxCella =
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCellaFrom", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
@@ -17296,7 +17324,7 @@ SELECT UDC, IdxCella, CodCS, DataRif FROM PosizioneUdcCorrente WHERE (IdxCella =
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_scaricaUdc(string UDC, global::System.Nullable<int> IdxCellaFrom, global::System.Nullable<int> IdxPosizione) {
public virtual int stp_scaricaUdc(string UDC, global::System.Nullable<int> IdxPosizione) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
@@ -17304,18 +17332,12 @@ SELECT UDC, IdxCella, CodCS, DataRif FROM PosizioneUdcCorrente WHERE (IdxCella =
else {
command.Parameters[1].Value = ((string)(UDC));
}
if ((IdxCellaFrom.HasValue == true)) {
command.Parameters[2].Value = ((int)(IdxCellaFrom.Value));
if ((IdxPosizione.HasValue == true)) {
command.Parameters[2].Value = ((int)(IdxPosizione.Value));
}
else {
command.Parameters[2].Value = global::System.DBNull.Value;
}
if ((IdxPosizione.HasValue == true)) {
command.Parameters[3].Value = ((int)(IdxPosizione.Value));
}
else {
command.Parameters[3].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -20347,44 +20369,53 @@ SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT * FROM dbo.v_UdcDetail";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_getUdcDetailFullCode";
this._commandCollection[1].CommandText = "dbo.componiUdc";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.NVarChar, 13, global::System.Data.ParameterDirection.ReturnValue, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.NVarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@numUdc", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_UdcDetailGetByIdxBloccoCodMagLog";
this._commandCollection[2].CommandText = "dbo.stp_getUdcDetailFullCode";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagLog", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[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[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_getUdcDetailLikeSearch";
this._commandCollection[3].CommandText = "dbo.stp_UdcDetailGetByIdxBloccoCodMagLog";
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("@searchVal", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@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("@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].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagLog", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_UdcDetailGetByIdxBlocco";
this._commandCollection[4].CommandText = "dbo.stp_getUdcDetailLikeSearch";
this._commandCollection[4].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBlocco", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@searchVal", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_UdcDetailGetByIdxCella";
this._commandCollection[5].CommandText = "dbo.stp_UdcDetailGetByIdxBlocco";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].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[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "dbo.stp_UdcDetailGetByIdxCella";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxCella", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -20413,7 +20444,7 @@ SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.v_UdcDetailDataTable getByFullUdc(string UDC, string CodCS) {
this.Adapter.SelectCommand = this.CommandCollection[1];
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -20435,7 +20466,7 @@ SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.v_UdcDetailDataTable getByIdxBloccoCodMagLog(global::System.Nullable<int> IdxBlocco, global::System.Nullable<int> CodMagLog) {
this.Adapter.SelectCommand = this.CommandCollection[2];
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((IdxBlocco.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value));
}
@@ -20457,7 +20488,7 @@ SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.v_UdcDetailDataTable getByLikeSearch(string searchVal, string CodCS) {
this.Adapter.SelectCommand = this.CommandCollection[3];
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((searchVal == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -20479,7 +20510,7 @@ SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.v_UdcDetailDataTable getUdcDetailByIdxBlocco(global::System.Nullable<int> IdxBlocco) {
this.Adapter.SelectCommand = this.CommandCollection[4];
this.Adapter.SelectCommand = this.CommandCollection[5];
if ((IdxBlocco.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxBlocco.Value));
}
@@ -20495,7 +20526,7 @@ SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.v_UdcDetailDataTable getUdcDetailByIdxCella(global::System.Nullable<int> IdxCella) {
this.Adapter.SelectCommand = this.CommandCollection[5];
this.Adapter.SelectCommand = this.CommandCollection[6];
if ((IdxCella.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(IdxCella.Value));
}
@@ -20506,6 +20537,57 @@ SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual object componiUdc(string CodCS, string Flusso, string Anno, global::System.Nullable<int> numUdc) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((CodCS == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(CodCS));
}
if ((Flusso == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(Flusso));
}
if ((Anno == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(Anno));
}
if ((numUdc.HasValue == true)) {
command.Parameters[4].Value = ((int)(numUdc.Value));
}
else {
command.Parameters[4].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
object returnValue;
try {
returnValue = command.ExecuteScalar();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
if (((returnValue == null)
|| (returnValue.GetType() == typeof(global::System.DBNull)))) {
return null;
}
else {
return ((object)(returnValue));
}
}
}
/// <summary>
+30 -5
View File
@@ -266,6 +266,18 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_UDC_getLast_ByParticolare" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getLastByParticolare" GetMethodModifier="Public" GetMethodName="getLastByParticolare" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getLastByParticolare" UserSourceName="getLastByParticolare">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_UDC_getLast_ByParticolare</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="15" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_getUDC_Older" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getOlderUDC" GetMethodModifier="Public" GetMethodName="getOlderUDC" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getOlderUDC" UserSourceName="getOlderUDC">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -550,14 +562,13 @@ SELECT UDC, IdxCella, CodCS, DataRif FROM PosizioneUdcCorrente WHERE (IdxCella =
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_scaricaUdc" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_scaricaUdc" Modifier="Public" Name="stp_scaricaUdc" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_scaricaUdc">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_scaricaUdc" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_scaricaUdc" Modifier="Public" Name="stp_scaricaUdc" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_scaricaUdc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_scaricaUdc</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="@UDC" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxCellaFrom" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@IdxPosizione" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
@@ -1251,6 +1262,20 @@ SELECT IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max
<Mapping SourceColumn="IdxPosizione" DataSetColumn="IdxPosizione" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.componiUdc" DbObjectType="Function" GenerateShortCommands="true" GeneratorSourceName="componiUdc" Modifier="Public" Name="componiUdc" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="componiUdc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.componiUdc</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="0" ProviderType="NVarChar" Scale="0" Size="13" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodCS" Precision="0" ProviderType="NVarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Flusso" Precision="0" ProviderType="NVarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@Anno" Precision="0" ProviderType="NVarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@numUdc" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_getUdcDetailFullCode" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByFullUdc" GetMethodModifier="Public" GetMethodName="getByFullUdc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByFullUdc" UserSourceName="getByFullUdc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -1826,7 +1851,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_RLP_resetPrelevate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_RLP_resetPrelevate" Modifier="Public" Name="stp_RLP_resetPrelevate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="stp_RLP_resetPrelevate">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_RLP_resetPrelevate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_RLP_resetPrelevate" Modifier="Public" Name="stp_RLP_resetPrelevate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="stp_RLP_resetPrelevate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_RLP_resetPrelevate</CommandText>
@@ -1837,7 +1862,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_RLP_sbloccaNonPrelevate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_RLP_sbloccaNonPrelevate" Modifier="Public" Name="stp_RLP_sbloccaNonPrelevate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="stp_RLP_sbloccaNonPrelevate">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_RLP_sbloccaNonPrelevate" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_RLP_sbloccaNonPrelevate" Modifier="Public" Name="stp_RLP_sbloccaNonPrelevate" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="stp_RLP_sbloccaNonPrelevate">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_RLP_sbloccaNonPrelevate</CommandText>
@@ -1849,7 +1874,7 @@ SELECT CodLista, UDC, Qta, Proposto, Prelevato FROM RigheListePrelievo WHERE (Co
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_RLP_updateQty" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_RLP_updateQty" Modifier="Public" Name="stp_RLP_updateQty" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="stp_RLP_updateQty">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_RLP_updateQty" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_RLP_updateQty" Modifier="Public" Name="stp_RLP_updateQty" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="stp_RLP_updateQty">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_RLP_updateQty</CommandText>
+8 -8
View File
@@ -4,16 +4,16 @@
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="41" ViewPortY="392" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoCartellini" ZOrder="4" X="79" Y="230" Height="552" Width="274" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:ElencoCartellini" ZOrder="4" X="79" Y="230" Height="552" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:AnagMag" ZOrder="9" X="1008" Y="389" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="2" X="409" Y="544" Height="286" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="1" X="409" Y="544" Height="286" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="34" X="412" Y="310" Height="168" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Blocchi" ZOrder="29" X="1015" Y="660" Height="325" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="181" />
<Shape ID="DesignTable:Celle" ZOrder="1" X="712" Y="420" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:Celle" ZOrder="2" X="712" Y="420" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:TipoCella" ZOrder="13" X="1007" Y="-15" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_UdcDetail" ZOrder="7" X="693" Y="-21" Height="400" Width="262" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_UdcDetail" ZOrder="7" X="693" Y="-21" Height="400" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagImballi" ZOrder="28" X="99" Y="18" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="15" X="95" Y="1131" Height="248" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="23" X="733" Y="1102" Height="286" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
@@ -35,7 +35,7 @@
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="35" LineWidth="11">
<RoutePoints>
<Point>
<X>353</X>
<X>334</X>
<Y>655</Y>
</Point>
<Point>
@@ -47,7 +47,7 @@
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="33" LineWidth="11">
<RoutePoints>
<Point>
<X>353</X>
<X>334</X>
<Y>416</Y>
</Point>
<Point>
@@ -151,7 +151,7 @@
<Y>353</Y>
</Point>
<Point>
<X>353</X>
<X>334</X>
<Y>353</Y>
</Point>
</RoutePoints>
+1 -4
View File
@@ -50,10 +50,6 @@
<ItemGroup>
<Compile Include="DataMatrix.cs" />
<Compile Include="DataProxy.cs" />
<Compile Include="DS_Applicazione.cs">
<DependentUpon>DS_Applicazione.xsd</DependentUpon>
<SubType>Component</SubType>
</Compile>
<Compile Include="DS_Applicazione.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
@@ -195,6 +191,7 @@
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<None Include="SqlScripts\GMW_00400.sql" />
<None Include="SqlScripts\GMW_00399.sql" />
<None Include="SqlScripts\GMW_00392.sql" />
<None Include="SqlScripts\GMW_00391.sql" />
+134 -4
View File
@@ -234,12 +234,12 @@ namespace GMW_data
/// <param name="IdxCellaFrom">Cella di origine</param>
/// <param name="IdxPosizUdc">Codice posizione UDC finale</param>
/// <returns>esito comando</returns>
public bool scaricaUDC(string UDC, int IdxCellaFrom, int IdxPosizUdc)
public bool scaricaUDC(string UDC, int IdxPosizUdc)
{
bool answ = false;
try
{
taPosUdcCorr.stp_scaricaUdc(UDC, IdxCellaFrom, IdxPosizUdc);
taPosUdcCorr.stp_scaricaUdc(UDC, IdxPosizUdc);
answ = true;
}
catch
@@ -327,7 +327,7 @@ namespace GMW_data
if (idxPosizUdcDest != 0) // solo se c'è una posizione da cui poter fare lo scaricamento...
{
// sposto UDC
answ = scaricaUDC(UDC, idxCellaFrom, idxPosizUdcDest);
answ = scaricaUDC(UDC, idxPosizUdcDest);
}
}
catch (Exception e)
@@ -404,6 +404,136 @@ namespace GMW_data
{ }
return answ;
}
/// <summary>
/// fornisce il codice UDC calcolato
/// </summary>
/// <param name="codCS"></param>
/// <param name="flusso"></param>
/// <param name="anno">2 cifre</param>
/// <param name="numUDC"></param>
/// <returns></returns>
public string getComposizioneUDC(string codCS, string flusso, string anno, int numUDC)
{
string answ = "";
try
{
answ = string.Format("U{0}{1}{2}{3}", codCS, flusso, anno, numUDC.ToString().PadLeft(6, '0'));
}
catch
{ }
return answ;
}
/// <summary>
/// Fornisce un nuovo codice UDC tipo completo (con pezzi e cod magazzino) a partire dalla richiesta e salva i dati
/// </summary>
/// <param name="CodBilancia">codice anagrafico della bilanca che effettua la richiesta (codice della pesa)</param>
/// <param name="CodCliente">codice anagrafico del cliente</param>
/// <param name="Particolare">codice del particolare (articolo) - da anagrafica!</param>
/// <param name="CodImpianto">Codice dell'impianto</param>
/// <param name="CodStampo">Codice dello stampo</param>
/// <param name="Esponente">codice dell'esponente dello stampo</param>
/// <param name="Figura">Codice figura</param>
/// <param name="DataRif">Data di rif per la dichiarazione</param>
/// <param name="TurnoRif">Turno di rif per la dichiarazione</param>
/// <param name="CodImballo">codice dell'imballo (tipo cassone) - string LIBERO (non facciamo controlli in input)</param>
/// <param name="CodSoggetto">codice dell'operatore</param>
/// <param name="UDC_Parent">codice dell'UDC parent (UDC della tara)</param>
/// <param name="tara">peso in kg (0 se non noto) da associare all'UDC come tara del contenitore</param>
/// <param name="CodTipoDichiarazione">tipo di dichiarazione (vedere relativa anagrafica consentita, es U=uomo, M=macchina...)</param>
/// <param name="Quantita">numero pezzi associati all'UDC</param>
/// <param name="PesoTot">Peso totale rilevato</param>
/// <param name="PesoCad">Peso unitario rilevato</param>
/// <param name="CodStato">Codice dello stato del pezzo (da anagrafica: sabbiato, ...)</param>
/// <param name="CodMag">Codice del magazzino in cui inserire l'UDC</param>
/// <param name="toAS400">TRUE = genera movimento AS400, FALSE = NON genera movimento di magazzino</param>
/// <param name="defIdxPosiz">posizione in cui creare UDC</param>
/// <param name="codEvento">cod evento da associare al movimento mag</param>
/// <returns>UDC del nuovo cartellino per FINITI</returns>
public string creaUdc(string CodBilancia, string CodCliente, string Particolare, string CodImpianto, string CodStampo, string Esponente, string Figura, string UDC_Parent, double Tara, string CodImballo, string CodTipoDichiarazione, string CodSoggetto, int Quantita, float PesoTot, float PesoCad, DateTime DataRif, int TurnoRif, string CodStato, int CodMag, bool toAS400, string defIdxPosiz, string codEvento)
{
// trim fix
string CodBilanciaTrim = CodBilancia.Trim();
string CodClienteTrim = CodCliente.Trim();
string ParticolareTrim = Particolare.Trim();
string CodImpiantoTrim = CodImpianto.Trim();
string CodStampoTrim = CodStampo.Trim();
string EsponenteTrim = Esponente.Trim();
string FiguraTrim = Figura.Trim();
string UDC_ParentTrim = UDC_Parent.Trim();
string CodImballoTrim = CodImballo.Trim();
string CodTipoDichiarazioneTrim = CodTipoDichiarazione.Trim();
string CodSoggettoTrim = CodSoggetto.Trim();
string CodStatoTrim = CodStato.Trim();
string defIdxPosizTrim = defIdxPosiz.Trim();
string codEventoTrim = codEvento.Trim();
// determino se cancellare udcTara
bool doDeleteUdcTara = false; // memLayer.ML.confReadBool("doDeleteUdcTara");
// ricavo cod company...
string CodCS = "ND";
string answ = "NA";
try
{
CodCS = DataProxy.obj.taAnagBil.stp_getByCodBilancia(CodBilanciaTrim)[0].CodCS;
}
catch
{
CodCS = memLayer.ML.confReadString("CodCS");
}
int IdxPosizione = 0;
if (CodMag > 0)
{
IdxPosizione = CodMag;
}
else
{
IdxPosizione = memLayer.ML.confReadInt(defIdxPosizTrim);
}
// loggo tutto!
if (memLayer.ML.confReadInt("_logLevel") > 5)
{
try
{
logger.lg.scriviLog(string.Format("UdcCall_GetNew_WIP: {0} | {1} | {2} | {3} | {4} | {5} | {6} | {7} | {8} | {9} | {10} | {11} | {12} | {13} | {14} | {15} | {16} | {17} | {18} | {19} | {20} | {21} | {22}", CodCS, CodBilanciaTrim, string.Format("{0:yy}", DateTime.Now), CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_ParentTrim, toAS400), tipoLog.INFO);
}
catch
{ }
}
// creo nuovo cartellino!
DS_Applicazione.ElencoCartelliniDataTable tabUdc = DataProxy.obj.taCartellini.stp_insNewFull(CodCS, CodBilanciaTrim, string.Format("{0:yy}", DateTime.Now), CodClienteTrim, ParticolareTrim, CodImpiantoTrim, CodStampoTrim, EsponenteTrim, FiguraTrim, DataRif, TurnoRif, CodImballoTrim, CodSoggettoTrim, Tara, IdxPosizione, CodTipoDichiarazioneTrim, codEventoTrim, Quantita, PesoTot, PesoCad, CodStatoTrim, UDC_ParentTrim, doDeleteUdcTara);
// leggo la riga
try
{
answ = tabUdc[0].UDC;
// salvo associazioen parent-child tra UDC!
DataProxy.obj.taRelazUDC.Insert(UDC_ParentTrim, answ);
}
catch
{ }
// se NON richiesto di generare movimento a magazzino crea rettifica in tab batch
if (!toAS400)
{
DataProxy.obj.taCartellini.stp_rettMovAs400(ParticolareTrim, answ, IdxPosizione.ToString(), Quantita, "UDC_NOQTY");
}
return answ;
}
/// <summary>
/// associa udc all'UDCParent
/// </summary>
/// <param name="codUdc"></param>
/// <param name="codParent"></param>
/// <returns></returns>
public bool associaUdcParent(string codUdc, string codParent)
{
bool answ = false;
try
{
DataProxy.obj.taCartellini.stp_UDC_associaParent(codUdc, codParent);
answ = true;
}
catch
{ }
return answ;
}
#endregion
@@ -1020,7 +1150,7 @@ namespace GMW_data
idxCellaTo = 0;
}
// sposto UDC, e così facendo genero movimenti batch x AS400
fatto = scaricaUDC(UDC, idxCellaFrom, idxPosizUdcDest);
fatto = scaricaUDC(UDC, idxPosizUdcDest);
// sposto nella PRIMA cella di destinazione associata l'UDC
if (idxCellaTo > 0)
{
+164
View File
@@ -0,0 +1,164 @@
create table ElencoPostazioni(
codPostazione nvarchar(250) not null constraint PK_ElencoPostazioni primary key,
stampante nvarchar(250)
);
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.ElencoPostazioni
VALUES (N'default', N'null')
INSERT INTO dbo.ElencoPostazioni
VALUES (N'VOSTRO410', N'//vostro410/PdfCreator')
go
commit transaction
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.AnagStatiProdotto
VALUES (N'Wip', N'Materiale in WIP')
go
commit transaction
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/***************************************
* STORED stp_elencoPostaziont_getByCod
*
* ottiene il una postazione dato il codice
*
* Steamware, S.E.L.
* mod: 2010.11.17
*
****************************************/
create PROCEDURE stp_elencoPostaziont_getByCod
(
@codPostazione NVARCHAR(250)
)
AS
SELECT *
FROM ElencoPostazioni
WHERE codPostazione = @codPostazione
RETURN
go
commit;
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/***************************************
* STORED stp_UDC_getLast_ByParticolare
*
* elenco cartellini ULTIMO creati x particolare
*
* Steamware, S.E.L.
* mod: 2011.11.14
*
****************************************/
create PROCEDURE stp_UDC_getLast_ByParticolare
(
@CodCS VARCHAR(2),
@Particolare VARCHAR(15)
)
AS
-- prendo ultimo UDC creato x il particolare
SELECT TOP 1 * FROM ElencoCartellini
WHERE (Particolare= @Particolare) AND CodCs = @CodCS
ORDER BY CreateDate DESC
RETURN
go
commit;
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.AnagPosizioni
VALUES (-5, N'SP - WIP consumati', 0)
INSERT INTO dbo.AnagPosizioni
VALUES (5, N'SP - WIP', 0)
go
commit transaction
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.TabTranPosizEventi
VALUES (N'UDC_CONS', 5, -5, 0)
go
commit transaction
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.AS400_MagCont
VALUES (N'4', N'Finiti', 1, N'0')
INSERT INTO dbo.AS400_MagCont
VALUES (N'5', N'WIP', 1, N'0')
INSERT INTO dbo.AS400_MagCont
VALUES (N'6', N'MP', 1, N'0')
DELETE FROM dbo.AS400_MagCont WHERE CodMagAS=N'54'
go
commit transaction
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(400, GETDATE())
GO
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.