versione 437:

- update gestione blocchi
- update gestione anime ext
- modifiche tabelle varie e DB
- nuovi installers

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@455 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2012-05-21 15:36:20 +00:00
parent 60aa5ef586
commit df6ed19d1c
48 changed files with 1078 additions and 645 deletions
-8
View File
@@ -386,13 +386,6 @@
<Compile Include="WebUserControls\mod_confMag.ascx.designer.cs">
<DependentUpon>mod_confMag.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_creaDatiTest.ascx.cs">
<DependentUpon>mod_creaDatiTest.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_creaDatiTest.ascx.designer.cs">
<DependentUpon>mod_creaDatiTest.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_delibera.ascx.cs">
<DependentUpon>mod_delibera.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -979,7 +972,6 @@
<Content Include="WebUserControls\mod_barPlot.ascx" />
<Content Include="WebUserControls\mod_chLang.ascx" />
<Content Include="WebUserControls\mod_confMag.ascx" />
<Content Include="WebUserControls\mod_creaDatiTest.ascx" />
<Content Include="WebUserControls\mod_detailCelle.ascx" />
<Content Include="WebUserControls\mod_detailImballi.ascx" />
<Content Include="WebUserControls\mod_detailOperatori.ascx" />
+46 -46
View File
@@ -31,13 +31,13 @@
-->
<compilation debug="true">
<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"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<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"/>
<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" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<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>
</compilation>
<httpHandlers>
@@ -54,13 +54,13 @@
<appSettings>
<!--Setup applicazione-->
<add key="CodModulo" value="GMW" />
<add key="_titoloPagina" value="GMW - Fonderie Mazzucconi S.p.A, portale Gestione Magazzino Web" />
<add key="_titoloPagina" value="GMW - TEKAL , portale Gestione Magazzino Web - GRUPPO MAZZUCCONI" />
<add key="titleApp" value="GMW_titleApp" />
<add key="welcomeApp" value="GMW_welcomeApp" />
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="433" />
<add key="minRev" value="437" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
@@ -80,7 +80,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="MinCharAutocomplete" value="2" />
<add key="_fromEmail" value="GMW@steamware.net" />
<add key="urlWebServer" value="http://localhost/GMW/" />
<add key="urlWebServer" value="http://SRV-PRODTK01/GMW/" />
<add key="echoLemmi" value="false" />
<!--Default values vari-->
@@ -100,25 +100,25 @@
<!--Imballi-->
<add key="CodImballoMP" value="" />
<add key="CodImballoLiquidi" value="IF10" />
<add key="CodImballoLiquidiDaSpedire" value="IF18" />
<add key="QtaImballoLiquidi" value="100" />
<add key="QtaImballoLiquidiDaSpedire" value="60" />
<add key="CodImballoAnime" value="" />
<add key="QtaImballoAnime" value="0" />
<add key="CodImballoLiquidi" value="" />
<add key="CodImballoLiquidiDaSpedire" value="" />
<add key="QtaImballoLiquidi" value="0" />
<add key="QtaImballoLiquidiDaSpedire" value="0" />
<add key="CodImballoAnime" value="IA00" />
<add key="QtaImballoAnime" value="50" />
<!--Setup urls stampa reports-->
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&amp;rs:Command=Render&amp;rc:Parameters=true&amp;rc:Toolbar=true&amp;CodListaPrel={3}{4}" />
<add key="reportingServerAddress" value="SRV65:8282" />
<add key="reportDir" value="POSSIDONIO/MAGAZZINO" />
<add key="reportingServerAddress" value="SRV-PRODTK01" />
<add key="reportDir" value="TEKAL/MAGAZZINO" />
<add key="reportName" value="Lista_di_Prelievo_Test" />
<add key="reportOpzPdf" value="&amp;rs:Format=PDF" />
<!--Setup x stampa dei PDF come copia-->
<add key="doPdfCopy" value="true" />
<add key="PdfFolder" value="PDF" />
<!--Configurazioni ad hoc San Possidonio-->
<!--Configurazioni ad hoc Tekal-->
<add key="Cosumo84PostDelibera" value="true" />
<add key="riattUdcPermessa" value="true" />
@@ -128,66 +128,66 @@
<!--Setup codici postazioni-->
<add key="IdxPosizMP" value="6" />
<add key="IdxPosNewFusi" value="7" />
<add key="IdxPosNewWip" value="5" />
<add key="IdxPosNewRienTerz" value="30" />
<add key="IdxPosNewFinito" value="4" />
<add key="IdxPosizioneOdette" value="4" />
<add key="IdxPosizioneTrattamenti" value="5" />
<add key="IdxPosizioneLiquidi" value="4" />
<add key="IdxPosNewFusi" value="8080" />
<add key="IdxPosNewWip" value="8484" />
<add key="IdxPosNewRienTerz" value="8888" />
<add key="IdxPosNewFinito" value="24" />
<add key="IdxPosizioneOdette" value="24" />
<add key="IdxPosizioneTrattamenti" value="8484" />
<add key="IdxPosizioneLiquidi" value="24" />
<add key="IdxPosizioneAnime" value="2" />
<add key="IdxPosizioneAnimeExt" value="2222" />
<!--Setup codMag-->
<add key="CodMagMP" value="6" />
<add key="CodMagMP_NA" value="6666" />
<!--Setup stampa cartellini-->
<add key="printerCartCompleto" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartCompleto" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartCompleto" value="21cm" />
<add key="PageHeightCartCompleto" value="29.7cm" />
<add key="MarginCartCompleto" value="0.5cm" />
<add key="printerCartAnime" value="\\SRV-PRODSP01\MPC2500-Copy"/>
<add key="printerCartAnime" value="\\SRV-DEV01\MPC2500-Copy"/>
<add key="PageWidthCartAnime" value="21cm" />
<add key="PageHeightCartAnime" value="29.7cm" />
<add key="MarginCartAnime" value="0.5cm" />
<add key="printerCartFin" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartFin" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartFin" value="21cm" />
<add key="PageHeightCartFin" value="29.7cm" />
<add key="MarginCartFin" value="0.5cm" />
<add key="printerCartFusi" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartFusi" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartFusi" value="21cm" />
<add key="PageHeightCartFusi" value="29.7cm" />
<add key="MarginCartFusi" value="0.5cm" />
<add key="printerCartLiquidiF10" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartLiquidiF10" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartLiquidiF10" value="21cm" />
<add key="PageHeightCartLiquidiF10" value="29.7cm" />
<add key="MarginCartLiquidiF10" value="0.5cm" />
<add key="printerCartLiquidiF18" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartLiquidiF18" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartLiquidiF18" value="21cm" />
<add key="PageHeightCartLiquidiF18" value="29.7cm" />
<add key="MarginCartLiquidiF18" value="0.5cm" />
<add key="printerCartMP" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartMP" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartMP" value="21cm" />
<add key="PageHeightCartMP" value="29.7cm" />
<add key="MarginCartMP" value="0.5cm" />
<add key="printerCartOdette" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartOdette" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartOdette" value="21cm" />
<add key="PageHeightCartOdette" value="29.7cm" />
<add key="MarginCartOdette" value="0.5cm" />
<add key="printerCartTara" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartTara" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartTara" value="21cm" />
<add key="PageHeightCartTara" value="29.7cm" />
<add key="PageHeightCartTara" value="14.8cm" />
<add key="MarginCartTara" value="0.5cm" />
<add key="printerCartWip" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartWip" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartWip" value="21cm" />
<add key="PageHeightCartWip" value="29.7cm" />
<add key="MarginCartWip" value="0.5cm" />
@@ -206,25 +206,25 @@
<!-- setup odette -->
<add key="qtaOdette" value="18" />
<add key="indStabFrom" value="via Don Minzoni,14 I-41039 S.Possidonio MO" />
<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="SP" />
<add key="CodCS" value="TK" />
<add key="MinutiFinestraEditUDC" value="10" />
<add key="_adminEmail" value="samuele@steamware.net" />
<add key="_smtpCli" value="keyhammer.ath.cx" />
<add key="GMWConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="GMWConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="SP_produzioneConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_produzione;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=Steamware_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
</appSettings>
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
+1 -1
View File
@@ -138,7 +138,7 @@
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getByCodMag" TypeName="GMW_data.DS_magazzinoTableAdapters.BlocchiTableAdapter"
OnInserting="recuperaFooter" OnInserted="ods_Updated" OnUpdated="ods_Updated"
DeleteMethod="DeleteQuery" InsertMethod="Insert" UpdateMethod="UpdateQuery">
DeleteMethod="DeleteQuery" InsertMethod="insertQuery" UpdateMethod="UpdateQuery">
<DeleteParameters>
<asp:Parameter Name="Original_IdxBlocco" Type="Int32" />
</DeleteParameters>
+1 -1
View File
@@ -383,7 +383,7 @@ namespace GMW.WebUserControls
try
{
// creo nuovo UDC del trattamento liquidi
newUdcChild = MagClass.magazzino.creaUdc("AN", "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoAnime"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, DateTime.Now, 0, "Fin", memLayer.ML.confReadInt("IdxPosizioneAnime"), true, "IdxPosizioneAnime", "UDC_ANIMA", noteTrim, "", DateTime.Now.Year); // !!! "AN" HARD CODED x indicare flusso ANIME
newUdcChild = MagClass.magazzino.creaUdc("AN", "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoAnime"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, DateTime.Now, 0, "Anim", memLayer.ML.confReadInt("IdxPosizioneAnime"), true, "IdxPosizioneAnime", "UDC_ANIMA", noteTrim, "", DateTime.Now.Year); // !!! "AN" e "Anim" HARD CODED x indicare flusso ANIME
}
catch (Exception exc)
{
+18 -1
View File
@@ -441,7 +441,7 @@ namespace GMW.WebUserControls
try
{
// creo nuovo UDC del trattamento liquidi
newUdcChild = MagClass.magazzino.creaUdc("AN", "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoAnime"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, DateTime.Now, 0, "Fin", memLayer.ML.confReadInt("IdxPosizioneAnime"), true, "IdxPosizioneAnime", "UDC_ANIMA", noteTrim, "", DateTime.Now.Year); // !!! "AN" HARD CODED x indicare flusso ANIME
newUdcChild = MagClass.magazzino.creaUdc("AN", "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoAnime"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, DateTime.Now, 0, "AnimExt", memLayer.ML.confReadInt("IdxPosizioneAnimeExt"), true, "IdxPosizioneAnimeExt", "UDC_ANIMA", noteTrim, "", DateTime.Now.Year); // !!! "AN" e "AnimExt" HARD CODED x indicare flusso ANIME
}
catch (Exception exc)
{
@@ -450,6 +450,23 @@ namespace GMW.WebUserControls
// se ho cart liquidi genero (se non ci sono) cart trattamenti
if (newUdcChild != "")
{
/***************************************************************************************
* dopo che l'ho creato lo sposto da post anime ext a post anime int (NO UPDATE AS400...)
* IdxPosizioneAnimeExt --> IdxPosizioneAnime
* !!! DEVO CALCOLARE LA CELLA !!! parto dal blocco calcolato da tab transizioni
***************************************************************************************/
int idxBloccoTo = StateMachine.SM.getIdxBloccoTo("UDC_ANIMA", memLayer.ML.confReadInt("IdxPosizioneAnimeExt"));
int idxCellaTo = 0;
try
{
idxCellaTo = MagClass.magazzino.taCelle.getByIdxBlocco(idxBloccoTo)[0].IdxCella;
}
catch
{ }
if (idxCellaTo != 0)
{
MagClass.magazzino.spostaUDC(memLayer.ML.StringSessionObj("CodCS"), newUdcChild, idxCellaTo, false);
}
// ora stampo il nuovo cartellino!!!
MagClass.magazzino.stampaUdc(newUdcChild, postazione_printer, tipoCartellino.cartAnime);
}
@@ -1,46 +0,0 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_creaDatiTest.ascx.cs"
Inherits="GMW.WebUserControls.mod_creaDatiTest" %>
<table>
<tr>
<td>
CodCS:
</td>
<td>
<asp:TextBox ID="txtCodCS" runat="server" Text="MA" Width="3em" />
</td>
</tr>
<tr>
<td>
Cod bilancia:
</td>
<td>
<asp:TextBox ID="txtCodBilancia" runat="server" Text="B3" Width="3em" />
</td>
</tr>
<tr>
<td>
Media di spazio magazzino libero:
</td>
<td>
<asp:TextBox ID="txtSpazioLibero" runat="server" Width="3em" Text="15" />%
</td>
</tr>
<tr>
<td>
Blocco da riempire:
</td>
<td>
<asp:DropDownList ID="ddlBlocco" runat="server" DataSourceID="odsBlocco" DataTextField="DescBlocco"
DataValueField="IdxBlocco">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsBlocco" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GMW_data.DS_magazzinoTableAdapters.BlocchiTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button ID="btnCreaUDC" runat="server" OnClick="btnCreaUDC_Click" Text="Crea UDC" />
</td>
</tr>
</table>
@@ -1,116 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GMW_data;
using SteamWare;
namespace GMW.WebUserControls
{
public partial class mod_creaDatiTest : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// crea in batch gli UDC richiesti
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnCreaUDC_Click(object sender, EventArgs e)
{
int IdxPosizione = memLayer.ML.confReadInt("IdxPosNewFusi");
int contArtInProd = 0;
// carico dati init
Random rdnGen = new Random();
// elenco articoli in prod
DS_Applicazione.v_ArtInProdDataTable tabArtInProd = DataProxy.obj.taArtInProd.GetData();
//elenco stati
DS_Applicazione.AnagStatiProdottoDataTable tabStati = DataProxy.obj.taStatiProd.GetData();
int nextStato = 0;
// determino il blocco su cui operare
int percLibero = Convert.ToInt32(txtSpazioLibero.Text);
int IdxBlocco = Convert.ToInt32(ddlBlocco.SelectedValue);
// setup IDC gemelli da creare
int numUdcUguali = 1;
// calcolo quanti UDC devo generare
int numUdc2create = MagClass.magazzino.taCelle.getByIdxBlocco(IdxBlocco).Rows.Count;
int UdcCreati = 0;
// setup valori
string CodImpianto = "";
string Particolare = "";
string CodStampo = "";
string esponente = "";
string figura = "";
DateTime data;
int turno = 1;
// cod Soggetto sempre uguale
string CodSoggetto = MagClass.magazzino.CodSoggCurrUser;
// tipo dichiarazione fissa
string TipoDichiarazione = "M";
float tara = 0;
string codCliente = "";
int qta = 0;
float pesoCad = 0;
float pesoTot = 0;
string CodStato = "";
string codImballo = "I0054";
string udc = "";
string UDC_Parent = "";
int idxCella = 0;
while (UdcCreati < numUdc2create)
{
// cod impianto va da 01 a 20... ciclo!
if (contArtInProd > 19) contArtInProd = contArtInProd - 20;
CodImpianto = tabArtInProd[contArtInProd].CodImpianto;
// calcolo particolare (a caso) dato il cliente
Particolare = tabArtInProd[contArtInProd].Particolare;
// calcolo codcliente
codCliente = tabArtInProd[contArtInProd].CodCliente;
// calcolo stampo da impianto
CodStampo = tabArtInProd[contArtInProd].CodStampo;
// esponente da stampo
esponente = tabArtInProd[contArtInProd].Esponente;
// figura da stampo
figura = tabArtInProd[contArtInProd].Figura;
// data e turno da dataInizio / dataFine
data = tabArtInProd[contArtInProd].DataInizio.AddDays(rdnGen.Next(5));
turno = 1 + rdnGen.Next(2);
// cod stato a rotazione
CodStato = tabStati[nextStato].CodStato;
if (nextStato > 3) nextStato = nextStato - 4;
// genero un numero casuale di UDC uguali x particolare, impianto...
numUdcUguali = 5 + rdnGen.Next(5);
DS_Applicazione.ElencoCartelliniDataTable tabUdc;
for (int j = 0; j < numUdcUguali; j++)
{
// tara casuale
tara = 100 + rdnGen.Next(20);
// qta casuale
qta = 50 + rdnGen.Next(30);
// peso cad e totale calcolati
pesoCad = (20 + rdnGen.Next(20)) / 10;
pesoTot = tara * pesoCad * qta;
// creo cartellino tara...
tabUdc = DataProxy.obj.taCartellini.stp_insNew(txtCodCS.Text, txtCodBilancia.Text, string.Format("{0:yy}", DateTime.Now), tara, codImballo, TipoDichiarazione, CodSoggetto);
UDC_Parent = tabUdc[0].UDC;
// creo nuovo cartellino! e ne recupero il nome
tabUdc = DataProxy.obj.taCartellini.stp_insNewFull(txtCodCS.Text, txtCodBilancia.Text, string.Format("{0:yy}", DateTime.Now), codCliente, Particolare, CodImpianto, CodStampo, esponente, figura, data, turno, codImballo, CodSoggetto, tara, IdxPosizione, TipoDichiarazione, "UDC_PESA", qta, pesoTot, pesoCad, CodStato, UDC_Parent, false, ""); // ATTENZIONE: "UDC_PESA" è "hard coded" nel db... !!!
udc = tabUdc[0].UDC;
// calcolo la prima posizione libera da riempire...
idxCella = MagClass.magazzino.taCelle.getLibereByIdxBlocco(IdxBlocco)[0].IdxCella;
// adesso dato l'UDC carico nel blocco
MagClass.magazzino.taPosUdcCorr.Insert(udc, idxCella, txtCodCS.Text, data.AddHours(rdnGen.Next(3)));
UdcCreati++;
}
// aggiorno contatori
contArtInProd++;
nextStato++;
}
}
}
}
@@ -1,70 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GMW.WebUserControls {
public partial class mod_creaDatiTest {
/// <summary>
/// txtCodCS 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 txtCodCS;
/// <summary>
/// txtCodBilancia 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 txtCodBilancia;
/// <summary>
/// txtSpazioLibero 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 txtSpazioLibero;
/// <summary>
/// ddlBlocco 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.DropDownList ddlBlocco;
/// <summary>
/// odsBlocco control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsBlocco;
/// <summary>
/// btnCreaUDC 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 btnCreaUDC;
}
}
Binary file not shown.
Binary file not shown.
+43 -43
View File
@@ -1,14 +1,14 @@
<appSettings>
<!--Setup applicazione-->
<add key="CodModulo" value="GMW" />
<add key="_titoloPagina" value="GMW - Fonderie Mazzucconi S.p.A, portale Gestione Magazzino Web" />
<add key="_titoloPagina" value="GMW - TEKAL , portale Gestione Magazzino Web - GRUPPO MAZZUCCONI" />
<add key="titleApp" value="GMW_titleApp" />
<add key="welcomeApp" value="GMW_welcomeApp" />
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="433" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="minRev" value="437" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx#chLang.aspx" />
@@ -27,7 +27,7 @@
<add key="_righeDataGridShort" value="10" />
<add key="MinCharAutocomplete" value="2" />
<add key="_fromEmail" value="GMW@steamware.net" />
<add key="urlWebServer" value="http://SRV-PRODSP01/GMW/" />
<add key="urlWebServer" value="http://SRV-PRODTK01/GMW/" />
<add key="echoLemmi" value="false" />
<!--Default values vari-->
@@ -41,23 +41,23 @@
<add key="BilanciaMP" value="MP" />
<add key="CodStatoMP" value="MP" />
<add key="CodStatoMP-NA" value="MP-NA" />
<add key="numGgToReloadRQ" value="60" />
<add key="numGgToReloadRQ" value="30" />
<add key="showSizeCellaInDettMag" value="false" />
<add key="maxBarplotLargh" value="1000" />
<!--Imballi-->
<add key="CodImballoMP" value="" />
<add key="CodImballoLiquidi" value="IF10" />
<add key="CodImballoLiquidiDaSpedire" value="IF18" />
<add key="QtaImballoLiquidi" value="100" />
<add key="QtaImballoLiquidiDaSpedire" value="60" />
<add key="CodImballoAnime" value="" />
<add key="QtaImballoAnime" value="0" />
<add key="CodImballoLiquidi" value="" />
<add key="CodImballoLiquidiDaSpedire" value="" />
<add key="QtaImballoLiquidi" value="0" />
<add key="QtaImballoLiquidiDaSpedire" value="0" />
<add key="CodImballoAnime" value="IA00" />
<add key="QtaImballoAnime" value="50" />
<!--Setup urls stampa reports-->
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&amp;rs:Command=Render&amp;rc:Parameters=true&amp;rc:Toolbar=true&amp;CodListaPrel={3}{4}" />
<add key="reportingServerAddress" value="SRV65:8282" />
<add key="reportDir" value="POSSIDONIO/MAGAZZINO" />
<add key="reportingServerAddress" value="SRV-PRODTK01" />
<add key="reportDir" value="TEKAL/MAGAZZINO" />
<add key="reportName" value="Lista_di_Prelievo_Test" />
<add key="reportOpzPdf" value="&amp;rs:Format=PDF" />
@@ -65,7 +65,7 @@
<add key="doPdfCopy" value="true" />
<add key="PdfFolder" value="PDF" />
<!--Configurazioni ad hoc San Possidonio-->
<!--Configurazioni ad hoc Tekal-->
<add key="Cosumo84PostDelibera" value="true" />
<add key="riattUdcPermessa" value="true" />
@@ -75,66 +75,66 @@
<!--Setup codici postazioni-->
<add key="IdxPosizMP" value="6" />
<add key="IdxPosNewFusi" value="7" />
<add key="IdxPosNewWip" value="5" />
<add key="IdxPosNewRienTerz" value="30" />
<add key="IdxPosNewFinito" value="4" />
<add key="IdxPosizioneOdette" value="4" />
<add key="IdxPosizioneTrattamenti" value="5" />
<add key="IdxPosizioneLiquidi" value="4" />
<add key="IdxPosNewFusi" value="8080" />
<add key="IdxPosNewWip" value="8484" />
<add key="IdxPosNewRienTerz" value="8888" />
<add key="IdxPosNewFinito" value="24" />
<add key="IdxPosizioneOdette" value="24" />
<add key="IdxPosizioneTrattamenti" value="8484" />
<add key="IdxPosizioneLiquidi" value="24" />
<add key="IdxPosizioneAnime" value="2" />
<add key="IdxPosizioneAnimeExt" value="2222" />
<!--Setup codMag-->
<add key="CodMagMP" value="6" />
<add key="CodMagMP_NA" value="6666" />
<!--Setup stampa cartellini-->
<add key="printerCartCompleto" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartCompleto" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartCompleto" value="21cm" />
<add key="PageHeightCartCompleto" value="29.7cm" />
<add key="MarginCartCompleto" value="0.5cm" />
<add key="printerCartAnime" value="\\SRV-PRODSP01\MPC2500-Copy"/>
<add key="printerCartAnime" value="\\SRV-DEV01\MPC2500-Copy"/>
<add key="PageWidthCartAnime" value="21cm" />
<add key="PageHeightCartAnime" value="29.7cm" />
<add key="MarginCartAnime" value="0.5cm" />
<add key="printerCartFin" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartFin" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartFin" value="21cm" />
<add key="PageHeightCartFin" value="29.7cm" />
<add key="MarginCartFin" value="0.5cm" />
<add key="printerCartFusi" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartFusi" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartFusi" value="21cm" />
<add key="PageHeightCartFusi" value="29.7cm" />
<add key="MarginCartFusi" value="0.5cm" />
<add key="printerCartLiquidiF10" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartLiquidiF10" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartLiquidiF10" value="21cm" />
<add key="PageHeightCartLiquidiF10" value="29.7cm" />
<add key="MarginCartLiquidiF10" value="0.5cm" />
<add key="printerCartLiquidiF18" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartLiquidiF18" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartLiquidiF18" value="21cm" />
<add key="PageHeightCartLiquidiF18" value="29.7cm" />
<add key="MarginCartLiquidiF18" value="0.5cm" />
<add key="printerCartMP" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartMP" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartMP" value="21cm" />
<add key="PageHeightCartMP" value="29.7cm" />
<add key="MarginCartMP" value="0.5cm" />
<add key="printerCartOdette" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartOdette" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartOdette" value="21cm" />
<add key="PageHeightCartOdette" value="29.7cm" />
<add key="MarginCartOdette" value="0.5cm" />
<add key="printerCartTara" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartTara" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartTara" value="21cm" />
<add key="PageHeightCartTara" value="29.7cm" />
<add key="PageHeightCartTara" value="14.8cm" />
<add key="MarginCartTara" value="0.5cm" />
<add key="printerCartWip" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="printerCartWip" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartWip" value="21cm" />
<add key="PageHeightCartWip" value="29.7cm" />
<add key="MarginCartWip" value="0.5cm" />
@@ -153,20 +153,20 @@
<!-- setup odette -->
<add key="qtaOdette" value="18" />
<add key="indStabFrom" value="via Don Minzoni,14 I-41039 S.Possidonio MO" />
<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="SP" />
<add key="CodCS" value="TK" />
<add key="MinutiFinestraEditUDC" value="10" />
<add key="_adminEmail" value="giancarlo@steamware.net" />
<add key="_smtpCli" value="SRV64" />
<add key="GMWConnectionString" value="Data Source=SRV65;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="SP_produzioneConnectionString" value="Data Source=SRV65;Initial Catalog=ProduzionePossidonioTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="PermessiConnectionString" value="Data Source=SRV65;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="UtenteCdcConnectionString" value="Data Source=SRV65;Initial Catalog=SP_Anagrafica;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="VocabolarioConnectionString" value="Data Source=SRV65;Initial Catalog=SP_Vocabolario;Persist Security Info=True;User ID=connGMW;Password=steamware" />
</appSettings>
<add key="_smtpCli" value="SRV63" />
<add key="GMWConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=TK_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="SP_produzioneConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=ProduzioneTekalTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="PermessiConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=TK_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="UtenteCdcConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=TK_Anagrafica;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="VocabolarioConnectionString" value="Data Source=SRV-PRODTK01;Initial Catalog=TK_Vocabolario;Persist Security Info=True;User ID=connGMW;Password=steamware" />
</appSettings>
+5 -5
View File
@@ -7,8 +7,8 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="433" />
<add key="copyRight" value="SteamWare © 2010-2011" />
<add key="minRev" value="437" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx#chLang.aspx" />
@@ -83,6 +83,7 @@
<add key="IdxPosizioneTrattamenti" value="5" />
<add key="IdxPosizioneLiquidi" value="4" />
<add key="IdxPosizioneAnime" value="2" />
<add key="IdxPosizioneAnimeExt" value="2222" />
<!--Setup codMag-->
<add key="CodMagMP" value="6" />
@@ -104,7 +105,6 @@
<add key="PageHeightCartFin" value="29.7cm" />
<add key="MarginCartFin" value="0.5cm" />
<add key="printerCartFusi" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartFusi" value="21cm" />
<add key="PageHeightCartFusi" value="29.7cm" />
@@ -134,12 +134,12 @@
<add key="PageWidthCartTara" value="21cm" />
<add key="PageHeightCartTara" value="29.7cm" />
<add key="MarginCartTara" value="0.5cm" />
<add key="printerCartWip" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartWip" value="21cm" />
<add key="PageHeightCartWip" value="29.7cm" />
<add key="MarginCartWip" value="0.5cm" />
<!--datasources!-->
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC" />
<add key="ReportDatasourceOdette" value="GMWDataSet_stp_prtOdetteByUDC" />
+4 -3
View File
@@ -7,8 +7,8 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="San Possidonio" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="433" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="minRev" value="437" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx#chLang.aspx" />
@@ -64,7 +64,7 @@
<!--Setup x stampa dei PDF come copia-->
<add key="doPdfCopy" value="true" />
<add key="PdfFolder" value="PDF" />
<!--Configurazioni ad hoc San Possidonio-->
<add key="Cosumo84PostDelibera" value="true" />
<add key="riattUdcPermessa" value="true" />
@@ -83,6 +83,7 @@
<add key="IdxPosizioneTrattamenti" value="5" />
<add key="IdxPosizioneLiquidi" value="4" />
<add key="IdxPosizioneAnime" value="2" />
<add key="IdxPosizioneAnimeExt" value="2222" />
<!--Setup codMag-->
<add key="CodMagMP" value="6" />
+7 -6
View File
@@ -7,8 +7,8 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="433" />
<add key="copyRight" value="SteamWare © 2010-2011" />
<add key="minRev" value="437" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx#chLang.aspx" />
@@ -64,7 +64,7 @@
<!--Setup x stampa dei PDF come copia-->
<add key="doPdfCopy" value="true" />
<add key="PdfFolder" value="PDF" />
<!--Configurazioni ad hoc Tekal-->
<add key="Cosumo84PostDelibera" value="true" />
<add key="riattUdcPermessa" value="true" />
@@ -83,6 +83,7 @@
<add key="IdxPosizioneTrattamenti" value="8484" />
<add key="IdxPosizioneLiquidi" value="24" />
<add key="IdxPosizioneAnime" value="2" />
<add key="IdxPosizioneAnimeExt" value="2222" />
<!--Setup codMag-->
<add key="CodMagMP" value="6" />
@@ -103,7 +104,7 @@
<add key="PageWidthCartFin" value="21cm" />
<add key="PageHeightCartFin" value="29.7cm" />
<add key="MarginCartFin" value="0.5cm" />
<add key="printerCartFusi" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartFusi" value="21cm" />
<add key="PageHeightCartFusi" value="29.7cm" />
@@ -133,12 +134,12 @@
<add key="PageWidthCartTara" value="21cm" />
<add key="PageHeightCartTara" value="14.8cm" />
<add key="MarginCartTara" value="0.5cm" />
<add key="printerCartWip" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartWip" value="21cm" />
<add key="PageHeightCartWip" value="29.7cm" />
<add key="MarginCartWip" value="0.5cm" />
<!--datasources!-->
<add key="ReportDatasource" value="GMWDataSet_stp_prtCartByUDC" />
<add key="ReportDatasourceOdette" value="GMWDataSet_stp_prtOdetteByUDC" />
+5 -4
View File
@@ -7,8 +7,8 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Tekal" />
<add key="mainRev" value="1.2" />
<add key="minRev" value="433" />
<add key="copyRight" value="SteamWare © 2010-2011" />
<add key="minRev" value="437" />
<add key="copyRight" value="SteamWare © 2010-2012" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
<add key="_commonPages" value="menu.aspx#chLang.aspx" />
@@ -64,7 +64,7 @@
<!--Setup x stampa dei PDF come copia-->
<add key="doPdfCopy" value="true" />
<add key="PdfFolder" value="PDF" />
<!--Configurazioni ad hoc Tekal-->
<add key="Cosumo84PostDelibera" value="true" />
<add key="riattUdcPermessa" value="true" />
@@ -83,6 +83,7 @@
<add key="IdxPosizioneTrattamenti" value="8484" />
<add key="IdxPosizioneLiquidi" value="24" />
<add key="IdxPosizioneAnime" value="2" />
<add key="IdxPosizioneAnimeExt" value="2222" />
<!--Setup codMag-->
<add key="CodMagMP" value="6" />
@@ -132,7 +133,7 @@
<add key="PageWidthCartTara" value="21cm" />
<add key="PageHeightCartTara" value="14.8cm" />
<add key="MarginCartTara" value="0.5cm" />
<add key="printerCartWip" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartWip" value="21cm" />
<add key="PageHeightCartWip" value="29.7cm" />
+1 -1
View File
@@ -1,3 +1,3 @@
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=SRV65;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" providerName="System.Data.SqlClient" />
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=SRV-PRODTK01;Initial Catalog=TK_GMWtest;Persist Security Info=True;User ID=connGMW;Password=steamware" providerName="System.Data.SqlClient" />
</connectionStrings>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+100 -204
View File
@@ -15925,7 +15925,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[14];
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 *\r\nFROM dbo.ElencoCartellini";
@@ -15951,155 +15951,136 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
this._commandCollection[2].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[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_annullaUDC";
this._commandCollection[3].CommandText = "dbo.stp_getCartellinoByUdc";
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.VarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_getCartellinoByUdc";
this._commandCollection[4].CommandText = "dbo.stp_UDC_insNewFull";
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("@UDC", 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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].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[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", 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("@DoDeleteUdcParent", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, 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_UDC_insNew";
this._commandCollection[5].CommandText = "dbo.stp_UDC_insNewFull_fixUDC";
this._commandCollection[5].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 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("@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("@Flusso", 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("@Anno", 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("@Tara", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 53, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", 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("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, 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("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, 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[5].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[5].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[5].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[5].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[5].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[5].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[5].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[5].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[5].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[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("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, 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("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, 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("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].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[5].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[5].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[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", 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("@DoDeleteUdcParent", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, 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_UDC_insNewFull";
this._commandCollection[6].CommandText = "dbo.stp_rettMovAs400";
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("@CodCS", global::System.Data.SqlDbType.VarChar, 2, 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("@Flusso", global::System.Data.SqlDbType.VarChar, 2, 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("@Anno", global::System.Data.SqlDbType.VarChar, 2, 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("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, 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, 15, 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("@CodImpianto", 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("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, 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, 6, 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("@Figura", global::System.Data.SqlDbType.VarChar, 4, 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("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].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[6].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[6].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[6].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[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[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagAS", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].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[6].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[6].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[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", 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("@DoDeleteUdcParent", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, 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("@CodEvento", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
this._commandCollection[7].CommandText = "dbo.stp_UDC_insNewFull_fixUDC";
this._commandCollection[7].CommandText = "dbo.stp_riattivaUdc";
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.NVarChar, 50, 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("@CodCS", global::System.Data.SqlDbType.VarChar, 2, 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("@Flusso", global::System.Data.SqlDbType.VarChar, 2, 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("@Anno", global::System.Data.SqlDbType.VarChar, 2, 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("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, 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("@Particolare", global::System.Data.SqlDbType.VarChar, 15, 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("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, 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("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, 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("@Esponente", global::System.Data.SqlDbType.VarChar, 6, 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("@Figura", global::System.Data.SqlDbType.VarChar, 4, 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("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].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[7].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[7].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[7].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[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("@CodTipoDichiaraz", global::System.Data.SqlDbType.Char, 1, 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("@CodEvento", global::System.Data.SqlDbType.VarChar, 10, 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("@Qta", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 10, 2, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].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[7].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[7].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[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, 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("@DoDeleteUdcParent", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].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[8] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[8].Connection = this.Connection;
this._commandCollection[8].CommandText = "dbo.stp_rettMovAs400";
this._commandCollection[8].CommandText = "dbo.stp_sbloccaUdc";
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("@Particolare", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodMagAS", global::System.Data.SqlDbType.NVarChar, 50, 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("@CodEvento", global::System.Data.SqlDbType.NVarChar, 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("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[8].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[9] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[9].Connection = this.Connection;
this._commandCollection[9].CommandText = "dbo.stp_riattivaUdc";
this._commandCollection[9].CommandText = "dbo.stp_UDC_associaParent";
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, 50, 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.NVarChar, 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("@UDC", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[9].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[10] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[10].Connection = this.Connection;
this._commandCollection[10].CommandText = "dbo.stp_sbloccaUdc";
this._commandCollection[10].CommandText = "dbo.stp_UDC_delete_byRdQ";
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", 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("@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].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[10].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExecBatchInter", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 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_associaParent";
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", global::System.Data.SqlDbType.NVarChar, 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.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[12].Connection = this.Connection;
this._commandCollection[12].CommandText = "dbo.stp_UDC_delete_byRdQ";
this._commandCollection[12].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@nRapQual", global::System.Data.SqlDbType.Decimal, 5, global::System.Data.ParameterDirection.Input, 6, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[12].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExecBatchInter", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[13].Connection = this.Connection;
this._commandCollection[13].CommandText = "dbo.stp_UDC_update";
this._commandCollection[13].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_edit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCS", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Flusso", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Anno", global::System.Data.SqlDbType.VarChar, 2, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Particolare", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImpianto", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodStampo", global::System.Data.SqlDbType.VarChar, 8, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Esponente", global::System.Data.SqlDbType.VarChar, 6, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Figura", global::System.Data.SqlDbType.VarChar, 4, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataFus", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].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[13].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[13].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[13].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[13].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[13].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[13].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[13].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[13].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[13].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[13].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[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC_parent", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[13].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.NVarChar, 500, 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_edit", 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("@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, 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("@Note", global::System.Data.SqlDbType.NVarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -16202,7 +16183,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_Applicazione.ElencoCartelliniDataTable stp_getByUdc(string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[4];
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -16214,58 +16195,6 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
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_Applicazione.ElencoCartelliniDataTable stp_insNew(string CodCS, string Flusso, string Anno, global::System.Nullable<double> Tara, string CodImballo, string CodTipoDichiaraz, string CodSoggetto) {
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 ((Flusso == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(Flusso));
}
if ((Anno == null)) {
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(Anno));
}
if ((Tara.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[4].Value = ((double)(Tara.Value));
}
else {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
if ((CodImballo == null)) {
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[5].Value = ((string)(CodImballo));
}
if ((CodTipoDichiaraz == null)) {
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[6].Value = ((string)(CodTipoDichiaraz));
}
if ((CodSoggetto == null)) {
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodSoggetto));
}
DS_Applicazione.ElencoCartelliniDataTable dataTable = new DS_Applicazione.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)]
@@ -16294,7 +16223,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
string UDC_parent,
global::System.Nullable<bool> DoDeleteUdcParent,
string Note) {
this.Adapter.SelectCommand = this.CommandCollection[6];
this.Adapter.SelectCommand = this.CommandCollection[4];
if ((CodCS == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -16473,7 +16402,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
string UDC_parent,
global::System.Nullable<bool> DoDeleteUdcParent,
string Note) {
this.Adapter.SelectCommand = this.CommandCollection[7];
this.Adapter.SelectCommand = this.CommandCollection[5];
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -16657,7 +16586,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
string CodStato,
string UDC_parent,
string Note) {
this.Adapter.SelectCommand = this.CommandCollection[13];
this.Adapter.SelectCommand = this.CommandCollection[11];
if ((UDC_edit == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -17778,43 +17707,10 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
return this.Update(Original_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, Note, Original_UDC, Original_CodCS, Original_CodCliente, Original_RagSociale, Original_Particolare, Original_DescParticolare, Original_DisegnoGrezzo, Original_Esponente, Original_CodImpianto, Original_DescImpianto, Original_CodStampo, Original_Figura, Original_DataFus, Original_TurnoFus, Original_CodImballo, Original_CodSoggetto, Original_NumCont, Original_Tara, Original_Qta, Original_CodStato, Original_IdxPosizione, Original_PesoTot, Original_PesoCad, Original_CreateDate, Original_ModDate, Original_Note);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_annullaUDC(string UDC, string CodSoggetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(UDC));
}
if ((CodSoggetto == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(CodSoggetto));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
int returnValue;
try {
returnValue = command.ExecuteNonQuery();
}
finally {
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
command.Connection.Close();
}
}
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_rettMovAs400(string Particolare, string UDC, string CodMagAS, global::System.Nullable<decimal> Qta, string CodEvento) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
if ((Particolare == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -17865,7 +17761,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_riattivaUdc(string UDC, string CodSoggetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -17898,7 +17794,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_sbloccaUdc(string UDC, string CodSoggetto) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -17931,7 +17827,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[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[11];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
if ((UDC == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -17964,7 +17860,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int stp_UDC_delete_byRdQ(global::System.Nullable<decimal> nRapQual, global::System.Nullable<bool> ExecBatchInter) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[12];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[10];
if ((nRapQual.HasValue == true)) {
command.Parameters[1].Value = ((decimal)(nRapQual.Value));
}
+1 -30
View File
@@ -719,18 +719,6 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_annullaUDC" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="stp_annullaUDC" Modifier="Public" Name="stp_annullaUDC" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="stp_annullaUDC">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_annullaUDC</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="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodSoggetto" Precision="0" ProviderType="VarChar" Scale="0" Size="17" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_getCartellinoByUdc" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="stp_getByUdc" GetMethodModifier="Public" GetMethodName="stp_getByUdc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="stp_getByUdc" UserSourceName="stp_getByUdc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -742,23 +730,6 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.stp_UDC_insNew" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="stp_insNew" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="stp_insNew" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="stp_insNew" UserSourceName="stp_insNew">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_UDC_insNew</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="@Flusso" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Anno" Precision="0" ProviderType="VarChar" Scale="0" Size="2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="float" DbType="Double" Direction="Input" ParameterName="@Tara" Precision="53" ProviderType="Float" Scale="0" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodImballo" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CodTipoDichiaraz" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodSoggetto" Precision="0" ProviderType="VarChar" Scale="0" Size="17" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_UDC_insNewFull" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="stp_insNewFull" GetMethodModifier="Public" GetMethodName="stp_insNewFull" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="stp_insNewFull" UserSourceName="stp_insNewFull">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -2773,7 +2744,7 @@ SELECT codPostazione, stampante FROM ElencoPostazioni WHERE (codPostazione = @co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_RapQualNote" msprop:Generator_UserTableName="v_RapQualNote" msprop:Generator_RowDeletedName="v_RapQualNoteRowDeleted" msprop:Generator_TableClassName="v_RapQualNoteDataTable" msprop:Generator_RowChangedName="v_RapQualNoteRowChanged" msprop:Generator_RowClassName="v_RapQualNoteRow" msprop:Generator_RowChangingName="v_RapQualNoteRowChanging" msprop:Generator_RowEvArgName="v_RapQualNoteRowChangeEvent" msprop:Generator_RowEvHandlerName="v_RapQualNoteRowChangeEventHandler" msprop:Generator_TablePropName="v_RapQualNote" msprop:Generator_TableVarName="tablev_RapQualNote" msprop:Generator_RowDeletingName="v_RapQualNoteRowDeleting">
<xs:element name="v_RapQualNote" msprop:Generator_UserTableName="v_RapQualNote" msprop:Generator_RowDeletedName="v_RapQualNoteRowDeleted" msprop:Generator_RowChangedName="v_RapQualNoteRowChanged" msprop:Generator_RowClassName="v_RapQualNoteRow" msprop:Generator_RowChangingName="v_RapQualNoteRowChanging" msprop:Generator_RowEvArgName="v_RapQualNoteRowChangeEvent" msprop:Generator_RowEvHandlerName="v_RapQualNoteRowChangeEventHandler" msprop:Generator_TableClassName="v_RapQualNoteDataTable" msprop:Generator_TableVarName="tablev_RapQualNote" msprop:Generator_RowDeletingName="v_RapQualNoteRowDeleting" msprop:Generator_TablePropName="v_RapQualNote">
<xs:complexType>
<xs:sequence>
<xs:element name="nRapQual" msprop:Generator_UserColumnName="nRapQual" msprop:Generator_ColumnPropNameInRow="nRapQual" msprop:Generator_ColumnVarNameInTable="columnnRapQual" msprop:Generator_ColumnPropNameInTable="nRapQualColumn" type="xs:decimal" />
+2 -2
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="2" ViewPortY="4" 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:AnagStati" ZOrder="26" X="867" Y="533" Height="115" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagTipoDichiaraz" ZOrder="10" X="828" Y="719" Height="115" Width="254" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
@@ -13,7 +13,7 @@
<Shape ID="DesignTable:AnagImpianti" ZOrder="23" X="853" Y="19" Height="191" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagCompanySito" ZOrder="22" X="1129" Y="83" Height="172" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagBilance" ZOrder="21" X="858" Y="224" Height="172" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:ElencoCartellini" ZOrder="2" X="464" Y="4" Height="799" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="520" />
<Shape ID="DesignTable:ElencoCartellini" ZOrder="2" X="464" Y="4" Height="780" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="520" />
<Shape ID="DesignTable:AnagImballi" ZOrder="19" X="72" Y="488" Height="153" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_ArtInProd" ZOrder="13" X="1181" Y="757" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagOperatori" ZOrder="9" X="488" Y="821" Height="267" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
+102 -29
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.
@@ -956,6 +956,8 @@ namespace GMW_data {
private global::System.Data.DataColumn columntoAs400;
private global::System.Data.DataColumn columnIdxBloccoTo;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public TabTranPosizEventiDataTable() {
this.TableName = "TabTranPosizEventi";
@@ -1014,6 +1016,13 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn IdxBloccoToColumn {
get {
return this.columnIdxBloccoTo;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
@@ -1043,13 +1052,14 @@ namespace GMW_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public TabTranPosizEventiRow AddTabTranPosizEventiRow(AnagTipoEventoRow parentAnagTipoEventoRowByFK_TabTranPosizEventi_AnagTipoEvento, AnagPosizioniRow parentAnagPosizioniRowByFK_TabTranPosizEventi_AnagPosizioni, int IdxPosizioneTo, bool toAs400) {
public TabTranPosizEventiRow AddTabTranPosizEventiRow(AnagTipoEventoRow parentAnagTipoEventoRowByFK_TabTranPosizEventi_AnagTipoEvento, AnagPosizioniRow parentAnagPosizioniRowByFK_TabTranPosizEventi_AnagPosizioni, int IdxPosizioneTo, bool toAs400, int IdxBloccoTo) {
TabTranPosizEventiRow rowTabTranPosizEventiRow = ((TabTranPosizEventiRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
null,
IdxPosizioneTo,
toAs400};
toAs400,
IdxBloccoTo};
if ((parentAnagTipoEventoRowByFK_TabTranPosizEventi_AnagTipoEvento != null)) {
columnValuesArray[0] = parentAnagTipoEventoRowByFK_TabTranPosizEventi_AnagTipoEvento[0];
}
@@ -1086,6 +1096,7 @@ namespace GMW_data {
this.columnIdxPosizione = base.Columns["IdxPosizione"];
this.columnIdxPosizioneTo = base.Columns["IdxPosizioneTo"];
this.columntoAs400 = base.Columns["toAs400"];
this.columnIdxBloccoTo = base.Columns["IdxBloccoTo"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -1098,6 +1109,8 @@ namespace GMW_data {
base.Columns.Add(this.columnIdxPosizioneTo);
this.columntoAs400 = new global::System.Data.DataColumn("toAs400", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntoAs400);
this.columnIdxBloccoTo = new global::System.Data.DataColumn("IdxBloccoTo", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnIdxBloccoTo);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodEvento,
this.columnIdxPosizione}, true));
@@ -1932,6 +1945,21 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int IdxBloccoTo {
get {
try {
return ((int)(this[this.tableTabTranPosizEventi.IdxBloccoToColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'IdxBloccoTo\' in table \'TabTranPosizEventi\' is DBNull.", e);
}
}
set {
this[this.tableTabTranPosizEventi.IdxBloccoToColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public AnagTipoEventoRow AnagTipoEventoRow {
get {
@@ -1971,6 +1999,16 @@ namespace GMW_data {
public void SettoAs400Null() {
this[this.tableTabTranPosizEventi.toAs400Column] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsIdxBloccoToNull() {
return this.IsNull(this.tableTabTranPosizEventi.IdxBloccoToColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetIdxBloccoToNull() {
this[this.tableTabTranPosizEventi.IdxBloccoToColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -3095,39 +3133,46 @@ SELECT CodEvento, DescEvento FROM AnagTipoEvento WHERE (CodEvento = @CodEvento)"
tableMapping.ColumnMappings.Add("IdxPosizione", "IdxPosizione");
tableMapping.ColumnMappings.Add("IdxPosizioneTo", "IdxPosizioneTo");
tableMapping.ColumnMappings.Add("toAs400", "toAs400");
tableMapping.ColumnMappings.Add("IdxBloccoTo", "IdxBloccoTo");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[TabTranPosizEventi] WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_toAs400 = 1 AND [toAs400] IS NULL) OR ([toAs400] = @Original_toAs400)))";
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[TabTranPosizEventi] WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_IdxBloccoTo = 1 AND [IdxBloccoTo] IS NULL) OR ([IdxBloccoTo] = @Original_IdxBloccoTo)) AND ((@IsNull_toAs400 = 1 AND [toAs400] IS NULL) OR ([toAs400] = @Original_toAs400)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_toAs400", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "toAs400", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_toAs400", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "toAs400", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[TabTranPosizEventi] ([CodEvento], [IdxPosizione], [IdxPosizioneTo], [toAs400]) VALUES (@CodEvento, @IdxPosizione, @IdxPosizioneTo, @toAs400);
SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[TabTranPosizEventi] ([CodEvento], [IdxPosizione], [IdxPosizioneTo], [IdxBloccoTo], [toAs400]) VALUES (@CodEvento, @IdxPosizione, @IdxPosizioneTo, @IdxBloccoTo, @toAs400);
SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo, toAs400 FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@toAs400", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "toAs400", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[TabTranPosizEventi] SET [CodEvento] = @CodEvento, [IdxPosizione] = @IdxPosizione, [IdxPosizioneTo] = @IdxPosizioneTo, [toAs400] = @toAs400 WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_toAs400 = 1 AND [toAs400] IS NULL) OR ([toAs400] = @Original_toAs400)));
SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)";
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[TabTranPosizEventi] SET [CodEvento] = @CodEvento, [IdxPosizione] = @IdxPosizione, [IdxPosizioneTo] = @IdxPosizioneTo, [IdxBloccoTo] = @IdxBloccoTo, [toAs400] = @toAs400 WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_IdxBloccoTo = 1 AND [IdxBloccoTo] IS NULL) OR ([IdxBloccoTo] = @Original_IdxBloccoTo)) AND ((@IsNull_toAs400 = 1 AND [toAs400] IS NULL) OR ([toAs400] = @Original_toAs400)));
SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo, toAs400 FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@toAs400", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "toAs400", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodEvento", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodEvento", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizione", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxPosizioneTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxPosizioneTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IdxBloccoTo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IdxBloccoTo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_toAs400", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "toAs400", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_toAs400", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "toAs400", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
@@ -3248,7 +3293,7 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable<int> Original_IdxPosizioneTo, global::System.Nullable<bool> Original_toAs400) {
public virtual int Delete(string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable<int> Original_IdxPosizioneTo, global::System.Nullable<int> Original_IdxBloccoTo, global::System.Nullable<bool> Original_toAs400) {
if ((Original_CodEvento == null)) {
throw new global::System.ArgumentNullException("Original_CodEvento");
}
@@ -3264,14 +3309,22 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
}
if ((Original_toAs400.HasValue == true)) {
if ((Original_IdxBloccoTo.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[5].Value = ((bool)(Original_toAs400.Value));
this.Adapter.DeleteCommand.Parameters[5].Value = ((int)(Original_IdxBloccoTo.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
}
if ((Original_toAs400.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[7].Value = ((bool)(Original_toAs400.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -3291,7 +3344,7 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string CodEvento, int IdxPosizione, global::System.Nullable<int> IdxPosizioneTo, global::System.Nullable<bool> toAs400) {
public virtual int Insert(string CodEvento, int IdxPosizione, global::System.Nullable<int> IdxPosizioneTo, global::System.Nullable<int> IdxBloccoTo, global::System.Nullable<bool> toAs400) {
if ((CodEvento == null)) {
throw new global::System.ArgumentNullException("CodEvento");
}
@@ -3305,12 +3358,18 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
else {
this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((toAs400.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(toAs400.Value));
if ((IdxBloccoTo.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[3].Value = ((int)(IdxBloccoTo.Value));
}
else {
this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
}
if ((toAs400.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[4].Value = ((bool)(toAs400.Value));
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -3330,7 +3389,7 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string CodEvento, int IdxPosizione, global::System.Nullable<int> IdxPosizioneTo, global::System.Nullable<bool> toAs400, string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable<int> Original_IdxPosizioneTo, global::System.Nullable<bool> Original_toAs400) {
public virtual int Update(string CodEvento, int IdxPosizione, global::System.Nullable<int> IdxPosizioneTo, global::System.Nullable<int> IdxBloccoTo, global::System.Nullable<bool> toAs400, string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable<int> Original_IdxPosizioneTo, global::System.Nullable<int> Original_IdxBloccoTo, global::System.Nullable<bool> Original_toAs400) {
if ((CodEvento == null)) {
throw new global::System.ArgumentNullException("CodEvento");
}
@@ -3344,34 +3403,48 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
else {
this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
}
if ((toAs400.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(toAs400.Value));
if ((IdxBloccoTo.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(IdxBloccoTo.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
}
if ((toAs400.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[4].Value = ((bool)(toAs400.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
if ((Original_CodEvento == null)) {
throw new global::System.ArgumentNullException("Original_CodEvento");
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_CodEvento));
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodEvento));
}
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_IdxPosizione));
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_IdxPosizione));
if ((Original_IdxPosizioneTo.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IdxPosizioneTo.Value));
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(Original_IdxPosizioneTo.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
}
if ((Original_IdxBloccoTo.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_IdxBloccoTo.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
}
if ((Original_toAs400.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(Original_toAs400.Value));
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(Original_toAs400.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -3392,8 +3465,8 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(global::System.Nullable<int> IdxPosizioneTo, global::System.Nullable<bool> toAs400, string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable<int> Original_IdxPosizioneTo, global::System.Nullable<bool> Original_toAs400) {
return this.Update(Original_CodEvento, Original_IdxPosizione, IdxPosizioneTo, toAs400, Original_CodEvento, Original_IdxPosizione, Original_IdxPosizioneTo, Original_toAs400);
public virtual int Update(global::System.Nullable<int> IdxPosizioneTo, global::System.Nullable<int> IdxBloccoTo, global::System.Nullable<bool> toAs400, string Original_CodEvento, int Original_IdxPosizione, global::System.Nullable<int> Original_IdxPosizioneTo, global::System.Nullable<int> Original_IdxBloccoTo, global::System.Nullable<bool> Original_toAs400) {
return this.Update(Original_CodEvento, Original_IdxPosizione, IdxPosizioneTo, IdxBloccoTo, toAs400, Original_CodEvento, Original_IdxPosizione, Original_IdxPosizioneTo, Original_IdxBloccoTo, Original_toAs400);
}
}
+29 -21
View File
@@ -117,15 +117,17 @@ SELECT CodEvento, DescEvento FROM AnagTipoEvento WHERE (CodEvento = @CodEvento)<
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TabTranPosizEventiTableAdapter" GeneratorDataComponentClassName="TabTranPosizEventiTableAdapter" Name="TabTranPosizEventi" UserDataComponentName="TabTranPosizEventiTableAdapter">
<MainSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.TabTranPosizEventi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMWTest.dbo.TabTranPosizEventi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[TabTranPosizEventi] WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_toAs400 = 1 AND [toAs400] IS NULL) OR ([toAs400] = @Original_toAs400)))</CommandText>
<CommandText>DELETE FROM [dbo].[TabTranPosizEventi] WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_IdxBloccoTo = 1 AND [IdxBloccoTo] IS NULL) OR ([IdxBloccoTo] = @Original_IdxBloccoTo)) AND ((@IsNull_toAs400 = 1 AND [toAs400] IS NULL) OR ([toAs400] = @Original_toAs400)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPosizione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdxPosizioneTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizioneTo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPosizioneTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizioneTo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdxBloccoTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBloccoTo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxBloccoTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBloccoTo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_toAs400" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="toAs400" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_toAs400" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="toAs400" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
@@ -133,12 +135,13 @@ SELECT CodEvento, DescEvento FROM AnagTipoEvento WHERE (CodEvento = @CodEvento)<
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[TabTranPosizEventi] ([CodEvento], [IdxPosizione], [IdxPosizioneTo], [toAs400]) VALUES (@CodEvento, @IdxPosizione, @IdxPosizioneTo, @toAs400);
SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)</CommandText>
<CommandText>INSERT INTO [dbo].[TabTranPosizEventi] ([CodEvento], [IdxPosizione], [IdxPosizioneTo], [IdxBloccoTo], [toAs400]) VALUES (@CodEvento, @IdxPosizione, @IdxPosizioneTo, @IdxBloccoTo, @toAs400);
SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo, toAs400 FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPosizione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPosizioneTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizioneTo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxBloccoTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBloccoTo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@toAs400" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="toAs400" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
@@ -151,17 +154,20 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[TabTranPosizEventi] SET [CodEvento] = @CodEvento, [IdxPosizione] = @IdxPosizione, [IdxPosizioneTo] = @IdxPosizioneTo, [toAs400] = @toAs400 WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_toAs400 = 1 AND [toAs400] IS NULL) OR ([toAs400] = @Original_toAs400)));
SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)</CommandText>
<CommandText>UPDATE [dbo].[TabTranPosizEventi] SET [CodEvento] = @CodEvento, [IdxPosizione] = @IdxPosizione, [IdxPosizioneTo] = @IdxPosizioneTo, [IdxBloccoTo] = @IdxBloccoTo, [toAs400] = @toAs400 WHERE (([CodEvento] = @Original_CodEvento) AND ([IdxPosizione] = @Original_IdxPosizione) AND ((@IsNull_IdxPosizioneTo = 1 AND [IdxPosizioneTo] IS NULL) OR ([IdxPosizioneTo] = @Original_IdxPosizioneTo)) AND ((@IsNull_IdxBloccoTo = 1 AND [IdxBloccoTo] IS NULL) OR ([IdxBloccoTo] = @Original_IdxBloccoTo)) AND ((@IsNull_toAs400 = 1 AND [toAs400] IS NULL) OR ([toAs400] = @Original_toAs400)));
SELECT CodEvento, IdxPosizione, IdxPosizioneTo, IdxBloccoTo, toAs400 FROM TabTranPosizEventi WHERE (CodEvento = @CodEvento) AND (IdxPosizione = @IdxPosizione)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPosizione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxPosizioneTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizioneTo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IdxBloccoTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBloccoTo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@toAs400" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="toAs400" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodEvento" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodEvento" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPosizione" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdxPosizioneTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizioneTo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxPosizioneTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxPosizioneTo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IdxBloccoTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBloccoTo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IdxBloccoTo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IdxBloccoTo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_toAs400" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="toAs400" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_toAs400" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="toAs400" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
@@ -174,6 +180,7 @@ SELECT CodEvento, IdxPosizione, IdxPosizioneTo, toAs400 FROM TabTranPosizEventi
<Mapping SourceColumn="IdxPosizione" DataSetColumn="IdxPosizione" />
<Mapping SourceColumn="IdxPosizioneTo" DataSetColumn="IdxPosizioneTo" />
<Mapping SourceColumn="toAs400" DataSetColumn="toAs400" />
<Mapping SourceColumn="IdxBloccoTo" DataSetColumn="IdxBloccoTo" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="SP_GMW.dbo.stp_TTPE_getByCodEvento" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByEvento" GetMethodModifier="Public" GetMethodName="getByEvento" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByEvento" UserSourceName="getByEvento">
@@ -319,22 +326,22 @@ SELECT CodTipoDelibera, DescDelibera, CodEvento FROM AnagTipoDelibere WHERE (Cod
<xs:element name="Delibere" msprop:Generator_UserTableName="Delibere" msprop:Generator_RowDeletedName="DelibereRowDeleted" msprop:Generator_RowChangedName="DelibereRowChanged" msprop:Generator_RowClassName="DelibereRow" msprop:Generator_RowChangingName="DelibereRowChanging" msprop:Generator_RowEvArgName="DelibereRowChangeEvent" msprop:Generator_RowEvHandlerName="DelibereRowChangeEventHandler" msprop:Generator_TableClassName="DelibereDataTable" msprop:Generator_TableVarName="tableDelibere" msprop:Generator_RowDeletingName="DelibereRowDeleting" msprop:Generator_TablePropName="Delibere">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTipoDelibera" msprop:Generator_UserColumnName="CodTipoDelibera" msprop:Generator_ColumnPropNameInRow="CodTipoDelibera" msprop:Generator_ColumnVarNameInTable="columnCodTipoDelibera" msprop:Generator_ColumnPropNameInTable="CodTipoDeliberaColumn">
<xs:element name="CodTipoDelibera" msprop:Generator_UserColumnName="CodTipoDelibera" msprop:Generator_ColumnVarNameInTable="columnCodTipoDelibera" msprop:Generator_ColumnPropNameInRow="CodTipoDelibera" msprop:Generator_ColumnPropNameInTable="CodTipoDeliberaColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<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="DataDelibera" msprop:Generator_UserColumnName="DataDelibera" msprop:Generator_ColumnPropNameInRow="DataDelibera" msprop:Generator_ColumnVarNameInTable="columnDataDelibera" msprop:Generator_ColumnPropNameInTable="DataDeliberaColumn" type="xs:dateTime" />
<xs:element name="CodSoggetto" msprop:Generator_UserColumnName="CodSoggetto" msprop:Generator_ColumnPropNameInRow="CodSoggetto" msprop:Generator_ColumnVarNameInTable="columnCodSoggetto" msprop:Generator_ColumnPropNameInTable="CodSoggettoColumn">
<xs:element name="DataDelibera" msprop:Generator_UserColumnName="DataDelibera" msprop:Generator_ColumnVarNameInTable="columnDataDelibera" msprop:Generator_ColumnPropNameInRow="DataDelibera" msprop:Generator_ColumnPropNameInTable="DataDeliberaColumn" type="xs:dateTime" />
<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="16" />
@@ -347,14 +354,14 @@ SELECT CodTipoDelibera, DescDelibera, CodEvento FROM AnagTipoDelibere WHERE (Cod
<xs:element name="AnagTipoEvento" msprop:Generator_UserTableName="AnagTipoEvento" msprop:Generator_RowDeletedName="AnagTipoEventoRowDeleted" msprop:Generator_RowChangedName="AnagTipoEventoRowChanged" msprop:Generator_RowClassName="AnagTipoEventoRow" msprop:Generator_RowChangingName="AnagTipoEventoRowChanging" msprop:Generator_RowEvArgName="AnagTipoEventoRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagTipoEventoRowChangeEventHandler" msprop:Generator_TableClassName="AnagTipoEventoDataTable" msprop:Generator_TableVarName="tableAnagTipoEvento" msprop:Generator_RowDeletingName="AnagTipoEventoRowDeleting" msprop:Generator_TablePropName="AnagTipoEvento">
<xs:complexType>
<xs:sequence>
<xs:element name="CodEvento" msprop:Generator_UserColumnName="CodEvento" msprop:Generator_ColumnPropNameInRow="CodEvento" msprop:Generator_ColumnVarNameInTable="columnCodEvento" msprop:Generator_ColumnPropNameInTable="CodEventoColumn">
<xs:element name="CodEvento" msprop:Generator_UserColumnName="CodEvento" msprop:Generator_ColumnVarNameInTable="columnCodEvento" msprop:Generator_ColumnPropNameInRow="CodEvento" msprop:Generator_ColumnPropNameInTable="CodEventoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescEvento" msprop:Generator_UserColumnName="DescEvento" msprop:Generator_ColumnPropNameInRow="DescEvento" msprop:Generator_ColumnVarNameInTable="columnDescEvento" msprop:Generator_ColumnPropNameInTable="DescEventoColumn" minOccurs="0">
<xs:element name="DescEvento" msprop:Generator_UserColumnName="DescEvento" msprop:Generator_ColumnVarNameInTable="columnDescEvento" msprop:Generator_ColumnPropNameInRow="DescEvento" msprop:Generator_ColumnPropNameInTable="DescEventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -367,24 +374,25 @@ SELECT CodTipoDelibera, DescDelibera, CodEvento FROM AnagTipoDelibere WHERE (Cod
<xs:element name="TabTranPosizEventi" msprop:Generator_UserTableName="TabTranPosizEventi" msprop:Generator_RowDeletedName="TabTranPosizEventiRowDeleted" msprop:Generator_RowChangedName="TabTranPosizEventiRowChanged" msprop:Generator_RowClassName="TabTranPosizEventiRow" msprop:Generator_RowChangingName="TabTranPosizEventiRowChanging" msprop:Generator_RowEvArgName="TabTranPosizEventiRowChangeEvent" msprop:Generator_RowEvHandlerName="TabTranPosizEventiRowChangeEventHandler" msprop:Generator_TableClassName="TabTranPosizEventiDataTable" msprop:Generator_TableVarName="tableTabTranPosizEventi" msprop:Generator_RowDeletingName="TabTranPosizEventiRowDeleting" msprop:Generator_TablePropName="TabTranPosizEventi">
<xs:complexType>
<xs:sequence>
<xs:element name="CodEvento" msprop:Generator_UserColumnName="CodEvento" msprop:Generator_ColumnPropNameInRow="CodEvento" msprop:Generator_ColumnVarNameInTable="columnCodEvento" msprop:Generator_ColumnPropNameInTable="CodEventoColumn">
<xs:element name="CodEvento" msprop:Generator_UserColumnName="CodEvento" msprop:Generator_ColumnVarNameInTable="columnCodEvento" msprop:Generator_ColumnPropNameInRow="CodEvento" msprop:Generator_ColumnPropNameInTable="CodEventoColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IdxPosizione" msprop:Generator_UserColumnName="IdxPosizione" msprop:Generator_ColumnPropNameInRow="IdxPosizione" msprop:Generator_ColumnVarNameInTable="columnIdxPosizione" msprop:Generator_ColumnPropNameInTable="IdxPosizioneColumn" type="xs:int" />
<xs:element name="IdxPosizioneTo" msprop:Generator_UserColumnName="IdxPosizioneTo" msprop:Generator_ColumnPropNameInRow="IdxPosizioneTo" msprop:Generator_ColumnVarNameInTable="columnIdxPosizioneTo" msprop:Generator_ColumnPropNameInTable="IdxPosizioneToColumn" type="xs:int" minOccurs="0" />
<xs:element name="toAs400" msprop:Generator_UserColumnName="toAs400" msprop:Generator_ColumnPropNameInRow="toAs400" msprop:Generator_ColumnVarNameInTable="columntoAs400" msprop:Generator_ColumnPropNameInTable="toAs400Column" type="xs:boolean" minOccurs="0" />
<xs:element name="IdxPosizione" msprop:Generator_UserColumnName="IdxPosizione" msprop:Generator_ColumnVarNameInTable="columnIdxPosizione" msprop:Generator_ColumnPropNameInRow="IdxPosizione" msprop:Generator_ColumnPropNameInTable="IdxPosizioneColumn" type="xs:int" />
<xs:element name="IdxPosizioneTo" msprop:Generator_UserColumnName="IdxPosizioneTo" msprop:Generator_ColumnVarNameInTable="columnIdxPosizioneTo" msprop:Generator_ColumnPropNameInRow="IdxPosizioneTo" msprop:Generator_ColumnPropNameInTable="IdxPosizioneToColumn" type="xs:int" minOccurs="0" />
<xs:element name="toAs400" msprop:Generator_UserColumnName="toAs400" msprop:Generator_ColumnVarNameInTable="columntoAs400" msprop:Generator_ColumnPropNameInRow="toAs400" msprop:Generator_ColumnPropNameInTable="toAs400Column" type="xs:boolean" minOccurs="0" />
<xs:element name="IdxBloccoTo" msprop:Generator_UserColumnName="IdxBloccoTo" msprop:Generator_ColumnPropNameInRow="IdxBloccoTo" msprop:Generator_ColumnVarNameInTable="columnIdxBloccoTo" msprop:Generator_ColumnPropNameInTable="IdxBloccoToColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagPosizioni" msprop:Generator_UserTableName="AnagPosizioni" msprop:Generator_RowDeletedName="AnagPosizioniRowDeleted" msprop:Generator_RowChangedName="AnagPosizioniRowChanged" msprop:Generator_RowClassName="AnagPosizioniRow" msprop:Generator_RowChangingName="AnagPosizioniRowChanging" msprop:Generator_RowEvArgName="AnagPosizioniRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagPosizioniRowChangeEventHandler" msprop:Generator_TableClassName="AnagPosizioniDataTable" msprop:Generator_TableVarName="tableAnagPosizioni" msprop:Generator_RowDeletingName="AnagPosizioniRowDeleting" msprop:Generator_TablePropName="AnagPosizioni">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxPosizione" msprop:Generator_UserColumnName="IdxPosizione" msprop:Generator_ColumnPropNameInRow="IdxPosizione" msprop:Generator_ColumnVarNameInTable="columnIdxPosizione" msprop:Generator_ColumnPropNameInTable="IdxPosizioneColumn" type="xs:int" />
<xs:element name="DescPosizione" msprop:Generator_UserColumnName="DescPosizione" msprop:Generator_ColumnPropNameInRow="DescPosizione" msprop:Generator_ColumnVarNameInTable="columnDescPosizione" msprop:Generator_ColumnPropNameInTable="DescPosizioneColumn" minOccurs="0">
<xs:element name="IdxPosizione" msprop:Generator_UserColumnName="IdxPosizione" msprop:Generator_ColumnVarNameInTable="columnIdxPosizione" msprop:Generator_ColumnPropNameInRow="IdxPosizione" msprop:Generator_ColumnPropNameInTable="IdxPosizioneColumn" type="xs:int" />
<xs:element name="DescPosizione" msprop:Generator_UserColumnName="DescPosizione" msprop:Generator_ColumnVarNameInTable="columnDescPosizione" msprop:Generator_ColumnPropNameInRow="DescPosizione" msprop:Generator_ColumnPropNameInTable="DescPosizioneColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -397,21 +405,21 @@ SELECT CodTipoDelibera, DescDelibera, CodEvento FROM AnagTipoDelibere WHERE (Cod
<xs:element name="AnagTipoDelibere" msprop:Generator_UserTableName="AnagTipoDelibere" msprop:Generator_RowDeletedName="AnagTipoDelibereRowDeleted" msprop:Generator_RowChangedName="AnagTipoDelibereRowChanged" msprop:Generator_RowClassName="AnagTipoDelibereRow" msprop:Generator_RowChangingName="AnagTipoDelibereRowChanging" msprop:Generator_RowEvArgName="AnagTipoDelibereRowChangeEvent" msprop:Generator_RowEvHandlerName="AnagTipoDelibereRowChangeEventHandler" msprop:Generator_TableClassName="AnagTipoDelibereDataTable" msprop:Generator_TableVarName="tableAnagTipoDelibere" msprop:Generator_RowDeletingName="AnagTipoDelibereRowDeleting" msprop:Generator_TablePropName="AnagTipoDelibere">
<xs:complexType>
<xs:sequence>
<xs:element name="CodTipoDelibera" msprop:Generator_UserColumnName="CodTipoDelibera" msprop:Generator_ColumnPropNameInRow="CodTipoDelibera" msprop:Generator_ColumnVarNameInTable="columnCodTipoDelibera" msprop:Generator_ColumnPropNameInTable="CodTipoDeliberaColumn">
<xs:element name="CodTipoDelibera" msprop:Generator_UserColumnName="CodTipoDelibera" msprop:Generator_ColumnVarNameInTable="columnCodTipoDelibera" msprop:Generator_ColumnPropNameInRow="CodTipoDelibera" msprop:Generator_ColumnPropNameInTable="CodTipoDeliberaColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DescDelibera" msprop:Generator_UserColumnName="DescDelibera" msprop:Generator_ColumnPropNameInRow="DescDelibera" msprop:Generator_ColumnVarNameInTable="columnDescDelibera" msprop:Generator_ColumnPropNameInTable="DescDeliberaColumn" minOccurs="0">
<xs:element name="DescDelibera" msprop:Generator_UserColumnName="DescDelibera" msprop:Generator_ColumnVarNameInTable="columnDescDelibera" msprop:Generator_ColumnPropNameInRow="DescDelibera" msprop:Generator_ColumnPropNameInTable="DescDeliberaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CodEvento" msprop:Generator_UserColumnName="CodEvento" msprop:Generator_ColumnPropNameInRow="CodEvento" msprop:Generator_ColumnVarNameInTable="columnCodEvento" msprop:Generator_ColumnPropNameInTable="CodEventoColumn" minOccurs="0">
<xs:element name="CodEvento" msprop:Generator_UserColumnName="CodEvento" msprop:Generator_ColumnVarNameInTable="columnCodEvento" msprop:Generator_ColumnPropNameInRow="CodEvento" msprop:Generator_ColumnPropNameInTable="CodEventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
+1 -1
View File
@@ -8,7 +8,7 @@
<Shapes>
<Shape ID="DesignTable:Delibere" ZOrder="5" X="163" Y="118" Height="153" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:AnagTipoEvento" ZOrder="4" X="884" Y="139" Height="115" Width="241" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:TabTranPosizEventi" ZOrder="3" X="874" Y="374" Height="191" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:TabTranPosizEventi" ZOrder="3" X="874" Y="374" Height="210" Width="233" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagPosizioni" ZOrder="2" X="513" Y="381" Height="115" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:AnagTipoDelibere" ZOrder="1" X="526" Y="123" Height="134" Width="250" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
</Shapes>
+4
View File
@@ -271,6 +271,10 @@
<None Include="SqlScripts\V1.1\GMW_00225.sql" />
<None Include="SqlScripts\V1.1\GMW_00230.sql" />
<None Include="SqlScripts\V1.1\GMW_00360.sql" />
<None Include="SqlScripts\V1.2\Anagrafica\GMW_anag_tekal_435.sql" />
<None Include="SqlScripts\V1.2\GMW_00437.sql" />
<None Include="SqlScripts\V1.2\GMW_00436-SP.sql" />
<None Include="SqlScripts\V1.2\GMW_00436-TK.sql" />
<None Include="SqlScripts\V1.2\GMW_00435.sql" />
<None Include="SqlScripts\V1.2\GMW_00432.sql" />
<None Include="SqlScripts\V1.2\GMW_00430.sql" />
+1 -1
View File
@@ -474,7 +474,7 @@ namespace GMW_data
/// <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="defIdxPosiz">NOME della posizione default in cui creare UDC</param>
/// <param name="codEvento">cod evento da associare al movimento mag</param>
/// <param name="note">note (opzionali)</param>
/// <param name="UDC">cod UDC pre-calcolato, se "" verrà calcolato dalla query</param>
@@ -0,0 +1,21 @@
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.FUNZIONE
VALUES (N'GMW_anime', N'Utente Anime (Tekal)')
INSERT INTO dbo.FUNZIONE
VALUES (N'GMW_animeMulti', N'Utente Anime (Tekal) - stampa multipla per esterne')
go
commit transaction
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(435, GETDATE())
GO
@@ -124,6 +124,98 @@ go
commit transaction
go
set xact_abort on;
go
begin transaction;
go
set ANSI_NULLS on;
go
/***************************************
* STORED stp_ParticolariOverview
*
* elenco di overview sullo stato dei magazzini (dettaglio a "maglie larghe")
*
* Steamware, S.E.L.
* mod: 2012.05.18
*
****************************************/
alter PROCEDURE stp_magazzinoOverview
(
@CodCS VARCHAR(2),
@particolare NVARCHAR(15) = ''
)
AS
-- IN PRIMIS: controllo se particolare sia null metto ''...
SET @particolare = ( SELECT ISNULL(@particolare, '') )
-- controllo se particolare vuoto o '*' mostro tutto...
IF(@particolare = '' OR @particolare='*')
BEGIN
SELECT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco,
TipoCella.Capienza * Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ AS TotCelle,
TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) AS CelleAttive,
COUNT(PosizioneUdcCorrente.UDC) AS CelleOccupate,
TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) - COUNT(PosizioneUdcCorrente.UDC) AS CelleLibere,
ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest
FROM TipoCella INNER JOIN
AnagMag INNER JOIN
Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS ON TipoCella.CodMag = AnagMag.CodMag AND
TipoCella.CodCS = AnagMag.CodCS LEFT OUTER JOIN
Celle ON TipoCella.IdxTipoCella = Celle.IdxTipoCella AND Blocchi.IdxBlocco = Celle.IdxBlocco LEFT OUTER JOIN
PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella
WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ISNULL(AnagMag.Nascosto, 0) = 0)
GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco,
Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ,
TipoCella.Capienza
ORDER BY AnagMag.CodMag, Blocchi.CodBlocco
END
ELSE
BEGIN
SELECT AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco,
TipoCella.Capienza * Blocchi.NumX * Blocchi.NumY * Blocchi.NumZ AS TotCelle,
TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) AS CelleAttive,
COUNT(PosizioneUdcCorrente.UDC) AS CelleOccupate,
TipoCella.Capienza * COUNT(DISTINCT Celle.IdxCella) - COUNT(PosizioneUdcCorrente.UDC) AS CelleLibere,
ISNULL(MIN(PosizioneUdcCorrente.DataRif), GETDATE()) AS Oldest, ISNULL(MAX(PosizioneUdcCorrente.DataRif), GETDATE()) AS Newest
FROM TipoCella INNER JOIN
AnagMag INNER JOIN
Blocchi ON AnagMag.CodMag = Blocchi.CodMag AND AnagMag.CodCS = Blocchi.CodCS ON TipoCella.CodMag = AnagMag.CodMag AND
TipoCella.CodCS = AnagMag.CodCS LEFT OUTER JOIN
Celle ON TipoCella.IdxTipoCella = Celle.IdxTipoCella AND Blocchi.IdxBlocco = Celle.IdxBlocco LEFT OUTER JOIN
PosizioneUdcCorrente ON Celle.IdxCella = PosizioneUdcCorrente.IdxCella
INNER JOIN ElencoCartellini ec ON PosizioneUdcCorrente.UDC = ec.UDC
WHERE (Celle.Attiva = 1) AND (AnagMag.CodCS = @CodCS) AND (ISNULL(AnagMag.Nascosto, 0) = 0) AND ec.particolare = @particolare
GROUP BY AnagMag.CodCS, AnagMag.CodMag, AnagMag.DescMag, Blocchi.IdxBlocco, Blocchi.CodBlocco, Blocchi.DescBlocco,
Blocchi.NumX, Blocchi.NumY, Blocchi.NumZ,
TipoCella.Capienza
ORDER BY AnagMag.CodMag, Blocchi.CodBlocco
END
RETURN
go
commit;
go
set xact_abort on;
go
begin transaction;
go
drop procedure stp_annullaUDC;
go
drop procedure stp_UDC_insNew;
go
commit;
go
@@ -0,0 +1,70 @@
set xact_abort on
go
begin transaction
go
alter table TabTranPosizEventi drop
constraint DF_TabTranPosizEventi_toAs400 ,
constraint FK_TabTranPosizEventi_AnagPosizioni ,
constraint FK_TabTranPosizEventi_AnagTipoEvento
go
exec sp_rename 'PK_TabTranPosizEventi', 'tmp__PK_TabTranPosizEventi', 'OBJECT'
go
exec sp_rename 'TabTranPosizEventi', 'tmp__TabTranPosizEventi_0', 'OBJECT'
go
create table TabTranPosizEventi(
CodEvento nvarchar(10) not null,
IdxPosizione int not null,
IdxPosizioneTo int,
IdxBloccoTo int,
toAs400 bit constraint DF_TabTranPosizEventi_toAs400 default (1),
constraint PK_TabTranPosizEventi_1 primary key(CodEvento,IdxPosizione)
)
go
alter table TabTranPosizEventi add
constraint FK_TabTranPosizEventi_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade,
constraint FK_TabTranPosizEventi_AnagPosizioni foreign key(IdxPosizione) references AnagPosizioni(IdxPosizione) on update cascade
go
exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'CodEvento'
go
exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di partenza', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxPosizione'
go
exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di arrivo', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxPosizioneTo'
go
exec sp_addextendedproperty 'MS_Description', 'blocco di destinazione', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxBloccoTo'
go
insert into TabTranPosizEventi(CodEvento,IdxPosizione,IdxPosizioneTo,toAs400) select CodEvento,IdxPosizione,IdxPosizioneTo,toAs400 from tmp__TabTranPosizEventi_0
go
drop table tmp__TabTranPosizEventi_0
go
commit
go
-- update x zero del blocco...
update TabTranPosizEventi
set IdxBloccoTo=0
where (ISNULL(IdxBloccoTo,9999) = 9999)
commit
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(436, GETDATE())
GO
@@ -0,0 +1,232 @@
set xact_abort on
go
begin transaction
go
alter table TabTranPosizEventi drop
constraint DF_TabTranPosizEventi_toAs400 ,
constraint FK_TabTranPosizEventi_AnagPosizioni ,
constraint FK_TabTranPosizEventi_AnagTipoEvento
go
exec sp_rename 'PK_TabTranPosizEventi', 'tmp__PK_TabTranPosizEventi', 'OBJECT'
go
exec sp_rename 'TabTranPosizEventi', 'tmp__TabTranPosizEventi_0', 'OBJECT'
go
create table TabTranPosizEventi(
CodEvento nvarchar(10) not null,
IdxPosizione int not null,
IdxPosizioneTo int,
IdxBloccoTo int,
toAs400 bit constraint DF_TabTranPosizEventi_toAs400 default (1),
constraint PK_TabTranPosizEventi_1 primary key(CodEvento,IdxPosizione)
)
go
alter table TabTranPosizEventi add
constraint FK_TabTranPosizEventi_AnagTipoEvento foreign key(CodEvento) references AnagTipoEvento(CodEvento) on update cascade,
constraint FK_TabTranPosizEventi_AnagPosizioni foreign key(IdxPosizione) references AnagPosizioni(IdxPosizione) on update cascade
go
exec sp_addextendedproperty 'MS_Description', 'NON MODIFICARE: nel codice si usano questi campi x chiamate...', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'CodEvento'
go
exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di partenza', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxPosizione'
go
exec sp_addextendedproperty 'MS_Description', 'posizione (stato) logica di arrivo', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxPosizioneTo'
go
exec sp_addextendedproperty 'MS_Description', 'blocco di destinazione', 'SCHEMA', 'dbo', 'TABLE', 'TabTranPosizEventi', 'COLUMN', 'IdxBloccoTo'
go
insert into TabTranPosizEventi(CodEvento,IdxPosizione,IdxPosizioneTo,toAs400) select CodEvento,IdxPosizione,IdxPosizioneTo,toAs400 from tmp__TabTranPosizEventi_0
go
drop table tmp__TabTranPosizEventi_0
go
commit
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.AnagPosizioni
VALUES (-2222, N'TK - Anime EXT consumate', 0)
INSERT INTO dbo.AnagPosizioni
VALUES (2222, N'TK - Anime EXT', 0)
go
commit transaction
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.AnagMag
VALUES (N'2222', N'TK', N'Anime EXT TK', 0)
go
commit transaction
go
set xact_abort on
go
begin transaction
go
set identity_insert dbo.Blocchi on
go
INSERT INTO dbo.Blocchi
(IdxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ)
VALUES (64, N'2222', N'TK', N'AE', N'Descrizione n.d.', 1, 1, 1)
go
set identity_insert dbo.Blocchi off
go
commit transaction
go
set xact_abort on
go
begin transaction
go
set identity_insert dbo.TipoCella on
go
INSERT INTO dbo.TipoCella
(IdxTipoCella, CodMag, CodCS, Quantita, Capienza, Max_X, Max_Y, Max_Z, Max_Kg, CheckPiena, SetMag)
VALUES (28, N'2222', N'TK', 1, 100, 850, 900, 1300, 1000, 0, 1)
go
set identity_insert dbo.TipoCella off
go
commit transaction
go
set xact_abort on
go
begin transaction
go
set identity_insert dbo.Celle on
go
INSERT INTO dbo.Celle
(IdxCella, CodCS, CodCella, IdxTipoCella, Descrizione, Attiva, Piena, IdxBlocco, X, Y, Z)
VALUES (6201, N'TK', N'AE010101', 28, N'-', 1, 0, 64, 1, 1, 1)
go
set identity_insert dbo.Celle off
go
commit transaction
go
set xact_abort on
go
begin transaction
go
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'DelibFusi' and IdxPosizione=7
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'DelWipPost' and IdxPosizione=305
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'DelWipPre' and IdxPosizione=290
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'MagPreAnim' and IdxPosizione=-2
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'MagPreAnim' and IdxPosizione=2
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'MagPreFin' and IdxPosizione=24
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'MagPreFus' and IdxPosizione=7
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'MagPreFus' and IdxPosizione=84
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'MagPreGbox' and IdxPosizione=24
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'MagPreWip' and IdxPosizione=84
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'SpeWipTerz' and IdxPosizione=290
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'SpeWipTerz' and IdxPosizione=295
INSERT INTO dbo.TabTranPosizEventi
VALUES (N'UDC_ANIMA', 2, 2222, 0, 0)
INSERT INTO dbo.TabTranPosizEventi
VALUES (N'UDC_ANIMA', 2222, 2, 49, 0)
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'UDC_CONS' and IdxPosizione=2
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'UDC_CONS' and IdxPosizione=6
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'UDC_CONS' and IdxPosizione=24
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'UDC_CONS' and IdxPosizione=84
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'UDC_RIEN54' and IdxPosizione=88
UPDATE dbo.TabTranPosizEventi SET
IdxBloccoTo=0
WHERE CodEvento=N'UDC_RIEN84' and IdxPosizione=88
go
commit transaction
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(436, GETDATE())
GO
+251
View File
@@ -0,0 +1,251 @@
-- stati prodotto...
alter table AnagStatiProdotto add
CodGruppo nvarchar(50)
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.AnagStatiProdotto
VALUES (N'Anim', N'Anima (interna)', N'Finito')
INSERT INTO dbo.AnagStatiProdotto
VALUES (N'AnimExt', N'Anima (esterna)', N'Finito')
go
commit transaction
go
set xact_abort on
go
begin transaction
go
UPDATE dbo.AnagStatiProdotto SET
CodGruppo=N'Wip'
WHERE CodStato=N'DaSmat'
UPDATE dbo.AnagStatiProdotto SET
CodGruppo=N'Wip'
WHERE CodStato=N'DaTran'
UPDATE dbo.AnagStatiProdotto SET
CodGruppo=N'Finito'
WHERE CodStato=N'Fin'
UPDATE dbo.AnagStatiProdotto SET
CodGruppo=N'Mp'
WHERE CodStato=N'MP'
UPDATE dbo.AnagStatiProdotto SET
CodGruppo=N'Mp'
WHERE CodStato=N'MP-NA'
UPDATE dbo.AnagStatiProdotto SET
CodGruppo=N'Wip'
WHERE CodStato=N'Sabb'
UPDATE dbo.AnagStatiProdotto SET
CodGruppo=N'Wip'
WHERE CodStato=N'Tran'
UPDATE dbo.AnagStatiProdotto SET
CodGruppo=N'Wip'
WHERE CodStato=N'Wip'
go
commit transaction
go
-- relazioni UDC
set xact_abort on
go
begin transaction
go
alter table RelazUDC add
dataMod datetime constraint DF_RelazUDC_dataMod default (getdate())
go
update RelazUDC set dataMod=getdate()
go
commit
go
update RelazUDC
set dataMod ='2012-01-01'
where ISNULL(dataMod,'2012-01-01') = '2012-01-01'
GO
-- blocchi
set xact_abort on
go
begin transaction
go
alter table Blocchi drop
constraint i_CodBlocco ,
constraint FK_Blocchi_AnagMag
go
exec sp_rename 'PK_Blocchi', 'tmp__PK_Blocchi', 'OBJECT'
go
exec sp_rename 'Blocchi', 'tmp__Blocchi_1', 'OBJECT'
go
create table Blocchi(
IdxBlocco int not null constraint PK_Blocchi primary key,
CodMag nvarchar(50),
CodCS nchar(2),
CodBlocco nvarchar(3) not null constraint i_CodBlocco unique,
DescBlocco nvarchar(50),
NumX int,
NumY int,
NumZ int
)
go
alter table Blocchi add
constraint FK_Blocchi_AnagMag foreign key(CodMag,CodCS) references AnagMag(CodMag,CodCS) on update cascade
go
exec sp_addextendedproperty 'MS_Description', 'numero elementi X (colonne)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumX'
go
exec sp_addextendedproperty 'MS_Description', 'numero elementi Y (livelli/ripiani)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumY'
go
exec sp_addextendedproperty 'MS_Description', 'numero elementi Z (profondita)', 'SCHEMA', 'dbo', 'TABLE', 'Blocchi', 'COLUMN', 'NumZ'
go
insert into Blocchi(IdxBlocco,CodMag,CodCS,CodBlocco,DescBlocco,NumX,NumY,NumZ) select IdxBlocco,CodMag,CodCS,CodBlocco,DescBlocco,NumX,NumY,NumZ from tmp__Blocchi_1
go
drop table tmp__Blocchi_1
go
commit
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.AnagMag
VALUES (N'0', N'00', N'Non definito', 0)
go
commit transaction
go
set xact_abort on
go
begin transaction
go
INSERT INTO dbo.Blocchi
VALUES (0, N'0', N'00', N'000', N'Non definito', 1, 1, 1)
go
commit transaction
go
-- update transizioni...
alter table TabTranPosizEventi add
constraint FK_TabTranPosizEventi_Blocchi foreign key(IdxBloccoTo) references Blocchi(IdxBlocco) on update cascade
go
-- update celle...
set xact_abort on
go
begin transaction
go
alter table Celle drop
constraint FK_Celle_TipoCella
go
alter table Celle add
constraint FK_Celle_Blocchi foreign key(IdxBlocco) references Blocchi(IdxBlocco) on update cascade
go
alter table Celle add
constraint FK_Celle_TipoCella foreign key(IdxTipoCella) references TipoCella(IdxTipoCella)
go
commit
go
-- update insert blocchi!
set xact_abort on
go
begin transaction
go
set ANSI_NULLS on
go
/***************************************
* STORED stp_Blocchi_Insert
*
* crea nuovo record blocchi magazzino
*
* Steamware, S.E.L.
* mod: 2012.05.21
*
****************************************/
alter PROCEDURE stp_Blocchi_Insert
(
@CodMag NVARCHAR(50),
@CodCS NVARCHAR(2),
@CodBlocco NVARCHAR(3),
@DescBlocco NVARCHAR(50),
@NumX INT,
@NumY INT,
@NumZ INT
)
AS
BEGIN TRAN
-- inizio calcolando il primo blocco libero x chiave (non è + autoincrement)...
DECLARE @idxBlocco INT
SET @idxBlocco = ( SELECT ISNULL(MAX(idxBlocco),0)+1 AS nextIdxBlocco FROM Blocchi )
INSERT INTO Blocchi (idxBlocco, CodMag, CodCS, CodBlocco, DescBlocco, NumX, NumY, NumZ)
VALUES (@idxBlocco, @CodMag, @CodCS, @CodBlocco, @DescBlocco, @NumX, @NumY, @NumZ)
COMMIT TRAN
RETURN
go
commit
go
-- registro versione...
INSERT INTO [dbo].[LogUpdateDb] ([Versione],[Data]) VALUES(437, GETDATE())
GO
+17 -1
View File
@@ -86,7 +86,23 @@ namespace GMW_data
{ }
return answ;
}
/// <summary>
/// calcola dalla tabella di transizioni il blocco di destinazione associato all'evento ed alla posizione attuale
/// </summary>
/// <param name="CodEvento"></param>
/// <param name="idxPosizione"></param>
/// <returns></returns>
public int getIdxBloccoTo(string CodEvento, int idxPosizione)
{
int answ = 0;
try
{
answ = taTTPE.getByEventoPosizione(CodEvento, idxPosizione)[0].IdxBloccoTo;
}
catch
{ }
return answ;
}
/// <summary>
/// Singleton accesos a state machine
/// </summary>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,3 +1,3 @@
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=SRV65;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" providerName="System.Data.SqlClient" />
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=SRV-PRODTK01;Initial Catalog=TK_GMWtest;Persist Security Info=True;User ID=connGMW;Password=steamware" providerName="System.Data.SqlClient" />
</connectionStrings>
@@ -55,6 +55,25 @@ namespace GMW.WS
}
return suggerimenti.ToArray();
}
[System.Web.Services.WebMethod]
public string[] elencoParticolariAnime(string prefixText, int count)
{
// inizializzo risposta
List<string> suggerimenti = new List<string>();
// proseguo SOLO SE min "MinCharAutocomplete" char...
if (count >= memLayer.ML.confReadInt("MinCharAutocomplete"))
{
// elenco candidati
DS_Utility.v_selParticolariDataTable tabParticolari = utils.obj.taSelPart.getByConditioPref("", prefixText);
// aggiungo ogni riga...
foreach (DS_Utility.v_selParticolariRow riga in tabParticolari)
{
suggerimenti.Add(riga.value);
}
}
return suggerimenti.ToArray();
}
[System.Web.Services.WebMethod]
public string[] elencoCelle(string prefixText, int count)
{
@@ -1,3 +1,3 @@
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=SRV65;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=connGMW;Password=steamware" providerName="System.Data.SqlClient" />
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=SRV-PRODTK01;Initial Catalog=TK_GMWtest;Persist Security Info=True;User ID=connGMW;Password=steamware" providerName="System.Data.SqlClient" />
</connectionStrings>
@@ -301,14 +301,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW_test"
"ProductCode" = "8:{68A2FCFA-67CE-417C-8AAE-6BC044AFA777}"
"PackageCode" = "8:{F36C5C9C-C69B-44C6-9AD1-22DCC88DEA1A}"
"ProductCode" = "8:{493EFCC3-43AF-413F-B141-F0A333EE6AD0}"
"PackageCode" = "8:{FF6D51E2-917D-467C-87D6-B9805CEF7840}"
"UpgradeCode" = "8:{6FD64E39-D93B-4ADA-ADF3-303A1BCA49C2}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.1.433"
"ProductVersion" = "8:1.1.437"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"