diff --git a/GMW/GMW.csproj b/GMW/GMW.csproj index a6810d6c..285c67cd 100644 --- a/GMW/GMW.csproj +++ b/GMW/GMW.csproj @@ -1181,9 +1181,6 @@ - - Designer - Designer @@ -1543,6 +1540,9 @@ + + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) diff --git a/GMW/GMW.csproj.user b/GMW/GMW.csproj.user index 9d882406..0c0473cb 100644 --- a/GMW/GMW.csproj.user +++ b/GMW/GMW.csproj.user @@ -1,7 +1,7 @@  - ProjectFiles + ShowAllFiles 218 diff --git a/GMW/Reports/CartellinoFiniti.rdlc b/GMW/Reports/CartellinoFiniti.rdlc index 60eef60e..09fb5415 100644 --- a/GMW/Reports/CartellinoFiniti.rdlc +++ b/GMW/Reports/CartellinoFiniti.rdlc @@ -1,1323 +1,51 @@  - - - - - - - - 19cm - - - - - 12.8cm - - - - - - - - - - - - 1.80475cm - - - 1.2533cm - - - 2.00528cm - - - 2.30607cm - - - 3.20844cm - - - 1.75462cm - - - 2.25594cm - - - 2cm - - - 1.2cm - - - 1.2cm - - - - - 1cm - - - - - Embedded - tekal_group - image/png - FitProportional - 25 - - - - Black - - - - - - - - - - true - - - - - CARTELLINO FINITI - - - - - - - textbox23 - 24 - - 1pt - - - Black - - 1pt - - - Black - - 1pt - - Middle - 1pt - 1pt - 2pt - 2pt - - - 7 - - - - - - - - - - - - true - - - - - =FormatDateTime(Globals!ExecutionTime ) - - - - - - - textbox15 - 23 - - 1pt - - - Black - - 1pt - - - - - Middle - 1pt - 5pt - 2pt - 2pt - - - 2 - - - - - - - 1.3cm - - - - - true - - - - - ="UDC : " + Fields!UDC.Value - - - - - 1pt - - Bottom - 2pt - 2pt - 2pt - 2pt - - - 5 - - - - - - - - - - true - - - - - =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") - - - - - - - - 1pt - - Middle - 5pt - 2pt - 1pt - 1pt - - - 5 - - - - - - - - - - 0.5cm - - - - - true - - - - - - - - - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 10 - - - - - - - - - - - - - - - 1.5cm - - - - - true - - - - - Articolo : - - - - - - 2 - - - - - - - true - - - - - =Fields!particolare.Value - - - - - - - 3 - - - 8 - - - - - - - - - - - - - 0.8cm - - - - - true - - - - - =First(Fields!descparticolare.Value) - - - - - - 7 - - - - - - - - - - - - true - - - - - CW - - - - - - - 5 - - 1pt - - - Black - - 1pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 3 - - - - - - - - 1.75cm - - - - - true - - - - - Quantità: - - - - - - 2 - - - - - - - true - - - - - =First(Fields!Qta.Value) - - - - - - - Qta_1 - 9 - - - 4 - - - - - - - - - true - - - - - - - - - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - - - - - =DatePart( "ww" ,Fields!datafus.Value ) - - - - - - - textbox10 - 7 - - 1pt - - - Black - - 1pt - - - Black - - 1pt - - Middle - 1pt - 1pt - 1pt - 1pt - - - 3 - - - - - - - - 0.8cm - - - - - true - - - - - - - - - - 0.5pt - - - Black - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 7 - - - - - - - - - - - - true - - - - - - - - - - - - 11 - - 1pt - - - Black - - 0.5pt - - - Black - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 3 - - - - - - - - 0.8cm - - - - - true - - - - - Imballo : - - - - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - true - - - - - =First(Fields!codimballo.Value) - - - - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - true - - - - - Creazione UDC: - - - - - - - textbox7 - 15 - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 3 - - - - - - - - true - - - - - =Fields!CreateDate.Value - - - - - - - textbox5 - 14 - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - true - - - - - - - - - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1cm - - - - - true - - - - - UDC Associati : - - - - descstato - 19 - - - - - - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - true - - - - - =First(Fields!NoteTratt.Value).ToString - - - - textbox9 - 18 - - - - - - 2pt - 2pt - 2pt - 2pt - - - 8 - - - - - - - - - - - - - 1.5cm - - - - - true - - - - - Note : - - - - - 1pt - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - - - - - =First(Fields!Note.Value) - - - - - 1pt - - 2pt - 2pt - 2pt - 2pt - - - 9 - - - - - - - - - - - - - - 0.6cm - - - - - true - - - - - ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) - - - - textbox1 - 22 - - 1pt - - Bottom - 2pt - 2pt - 2pt - 2pt - - - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - After - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - - GMWDataSet_stp_prtCartFinitiByUDC - 11.55cm - 18.9884cm - - - - - - true - - - - 12.8cm - + 25 + tekal_group + + + + + 7 + + + textbox23 + + 24 + CARTELLINO FINITI + + + + + 2 + + + textbox15 + + 23 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + + + + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.55cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 2 + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 4 + Articolo : + + + + + 8 + + + + 3 + =Fields!particolare.Value + + + + + 1.5cm + + + + + 7 + + + + 6 + =First(Fields!descparticolare.Value) + + + + + 3 + + + + 5 + CW + + + + + 0.8cm + + + + + 2 + + + DescFamiglia + + 10 + Quantità: + + + + + 4 + + + Qta_1 + + 9 + =First(Fields!Qta.Value) + + + + + + + textbox55 + + 8 + + + + + + 3 + + + textbox10 + + 7 + =DatePart( "ww" ,Fields!datafus.Value ) + + + + + 1.75cm + + + + + 7 + + + DescLega2 + + 12 + + + + + + 3 + + + + 11 + + + + + + 0.8cm + + + + + 2 + + + + 17 + Imballo : + + + + + 2 + + + codimballo + + 16 + =First(Fields!codimballo.Value) + + + + + 3 + + + textbox7 + + 15 + Creazione UDC: + + + + + 2 + + + textbox5 + + 14 + =Fields!CreateDate.Value + + + + + + + + 13 + + + + + + 0.8cm + + + + + 2 + + + descstato + + 19 + UDC Associati : + + + + + 8 + + + textbox9 + + 18 + =First(Fields!NoteTratt.Value).ToString + + + + + 1cm + + + + + + + textbox6 + + 21 + Note : + + + + + 9 + + + textbox2 + + 20 + =First(Fields!Note.Value) + + + + + 1.5cm + + + + + 10 + + + textbox1 + + 22 + ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) + + + + + 0.6cm + + + true +
+ + + 0.5cm + + 11.6cm + + + + + + =Fields!UDC.Value + + + + + 12.8cm + it-IT - true - Cm - 8b67d517-f880-448b-bde4-1949893f9fcc + 1cm + 29.7cm
\ No newline at end of file diff --git a/GMW/Reports/TK/CartellinoFiniti.rdlc b/GMW/Reports/TK/CartellinoFiniti.rdlc index 60eef60e..09fb5415 100644 --- a/GMW/Reports/TK/CartellinoFiniti.rdlc +++ b/GMW/Reports/TK/CartellinoFiniti.rdlc @@ -1,1323 +1,51 @@  - - - - - - - - 19cm - - - - - 12.8cm - - - - - - - - - - - - 1.80475cm - - - 1.2533cm - - - 2.00528cm - - - 2.30607cm - - - 3.20844cm - - - 1.75462cm - - - 2.25594cm - - - 2cm - - - 1.2cm - - - 1.2cm - - - - - 1cm - - - - - Embedded - tekal_group - image/png - FitProportional - 25 - - - - Black - - - - - - - - - - true - - - - - CARTELLINO FINITI - - - - - - - textbox23 - 24 - - 1pt - - - Black - - 1pt - - - Black - - 1pt - - Middle - 1pt - 1pt - 2pt - 2pt - - - 7 - - - - - - - - - - - - true - - - - - =FormatDateTime(Globals!ExecutionTime ) - - - - - - - textbox15 - 23 - - 1pt - - - Black - - 1pt - - - - - Middle - 1pt - 5pt - 2pt - 2pt - - - 2 - - - - - - - 1.3cm - - - - - true - - - - - ="UDC : " + Fields!UDC.Value - - - - - 1pt - - Bottom - 2pt - 2pt - 2pt - 2pt - - - 5 - - - - - - - - - - true - - - - - =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") - - - - - - - - 1pt - - Middle - 5pt - 2pt - 1pt - 1pt - - - 5 - - - - - - - - - - 0.5cm - - - - - true - - - - - - - - - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 10 - - - - - - - - - - - - - - - 1.5cm - - - - - true - - - - - Articolo : - - - - - - 2 - - - - - - - true - - - - - =Fields!particolare.Value - - - - - - - 3 - - - 8 - - - - - - - - - - - - - 0.8cm - - - - - true - - - - - =First(Fields!descparticolare.Value) - - - - - - 7 - - - - - - - - - - - - true - - - - - CW - - - - - - - 5 - - 1pt - - - Black - - 1pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 3 - - - - - - - - 1.75cm - - - - - true - - - - - Quantità: - - - - - - 2 - - - - - - - true - - - - - =First(Fields!Qta.Value) - - - - - - - Qta_1 - 9 - - - 4 - - - - - - - - - true - - - - - - - - - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - - - - - =DatePart( "ww" ,Fields!datafus.Value ) - - - - - - - textbox10 - 7 - - 1pt - - - Black - - 1pt - - - Black - - 1pt - - Middle - 1pt - 1pt - 1pt - 1pt - - - 3 - - - - - - - - 0.8cm - - - - - true - - - - - - - - - - 0.5pt - - - Black - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 7 - - - - - - - - - - - - true - - - - - - - - - - - - 11 - - 1pt - - - Black - - 0.5pt - - - Black - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 3 - - - - - - - - 0.8cm - - - - - true - - - - - Imballo : - - - - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - true - - - - - =First(Fields!codimballo.Value) - - - - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - true - - - - - Creazione UDC: - - - - - - - textbox7 - 15 - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 3 - - - - - - - - true - - - - - =Fields!CreateDate.Value - - - - - - - textbox5 - 14 - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - true - - - - - - - - - - 0.5pt - - - Black - - 1pt - - Middle - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1cm - - - - - true - - - - - UDC Associati : - - - - descstato - 19 - - - - - - 2pt - 2pt - 2pt - 2pt - - - 2 - - - - - - - true - - - - - =First(Fields!NoteTratt.Value).ToString - - - - textbox9 - 18 - - - - - - 2pt - 2pt - 2pt - 2pt - - - 8 - - - - - - - - - - - - - 1.5cm - - - - - true - - - - - Note : - - - - - 1pt - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - - - - - =First(Fields!Note.Value) - - - - - 1pt - - 2pt - 2pt - 2pt - 2pt - - - 9 - - - - - - - - - - - - - - 0.6cm - - - - - true - - - - - ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) - - - - textbox1 - 22 - - 1pt - - Bottom - 2pt - 2pt - 2pt - 2pt - - - 10 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - After - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - Before - true - true - - - - GMWDataSet_stp_prtCartFinitiByUDC - 11.55cm - 18.9884cm - - - - - - true - - - - 12.8cm - + 25 + tekal_group + + + + + 7 + + + textbox23 + + 24 + CARTELLINO FINITI + + + + + 2 + + + textbox15 + + 23 + =FormatDateTime(Globals!ExecutionTime ) + + + + + 1cm + + + + + + 1.80475cm + + + 1.2533cm + + + 2.00528cm + + + 2.30607cm + + + 3.20844cm + + + 1.75462cm + + + 2.25594cm + + + 2cm + + + 1.2cm + + + 1.2cm + + + 11.55cm +
+ + + + + 5 + + + RagSociale + + 1 + ="UDC : " + Fields!UDC.Value + + + + + 5 + + + + =iif(Fields!UDC.Value="","","*" + Fields!UDC.Value + "*") + + + + + 1.3cm + + + + + 10 + + + DescLega + + 2 + + + + + + 0.5cm + + + + + 2 + + + textbox14 + + 4 + Articolo : + + + + + 8 + + + + 3 + =Fields!particolare.Value + + + + + 1.5cm + + + + + 7 + + + + 6 + =First(Fields!descparticolare.Value) + + + + + 3 + + + + 5 + CW + + + + + 0.8cm + + + + + 2 + + + DescFamiglia + + 10 + Quantità: + + + + + 4 + + + Qta_1 + + 9 + =First(Fields!Qta.Value) + + + + + + + textbox55 + + 8 + + + + + + 3 + + + textbox10 + + 7 + =DatePart( "ww" ,Fields!datafus.Value ) + + + + + 1.75cm + + + + + 7 + + + DescLega2 + + 12 + + + + + + 3 + + + + 11 + + + + + + 0.8cm + + + + + 2 + + + + 17 + Imballo : + + + + + 2 + + + codimballo + + 16 + =First(Fields!codimballo.Value) + + + + + 3 + + + textbox7 + + 15 + Creazione UDC: + + + + + 2 + + + textbox5 + + 14 + =Fields!CreateDate.Value + + + + + + + + 13 + + + + + + 0.8cm + + + + + 2 + + + descstato + + 19 + UDC Associati : + + + + + 8 + + + textbox9 + + 18 + =First(Fields!NoteTratt.Value).ToString + + + + + 1cm + + + + + + + textbox6 + + 21 + Note : + + + + + 9 + + + textbox2 + + 20 + =First(Fields!Note.Value) + + + + + 1.5cm + + + + + 10 + + + textbox1 + + 22 + ="Operatore : " + trim(Fields!cognome.Value) + " " + trim(Fields!nome.Value) + + + + + 0.6cm + + + true +
+ + + 0.5cm + + 11.6cm + + + + + + =Fields!UDC.Value + + + + + 12.8cm + it-IT - true - Cm - 8b67d517-f880-448b-bde4-1949893f9fcc + 1cm + 29.7cm
\ No newline at end of file diff --git a/GMW/Web.config b/GMW/Web.config index 98fe9867..75a0e0b0 100644 --- a/GMW/Web.config +++ b/GMW/Web.config @@ -66,7 +66,7 @@ - + diff --git a/GMW/WebUserControls/mod_anime.ascx.cs b/GMW/WebUserControls/mod_anime.ascx.cs index 9c32732c..53b2987b 100644 --- a/GMW/WebUserControls/mod_anime.ascx.cs +++ b/GMW/WebUserControls/mod_anime.ascx.cs @@ -177,11 +177,11 @@ namespace GMW.WebUserControls { postazione_printer = tabPost[0].stampante; } - //else - //{ - // tabPost = DataProxy.obj.taElPost.getByCod("default"); - // postazione_printer = tabPost[0].stampante; - //} + else + { + tabPost = DataProxy.obj.taElPost.getByCod("default"); + postazione_printer = tabPost[0].stampante; + } } catch { } diff --git a/GMW/WebUserControls/mod_fusiTK.ascx.cs b/GMW/WebUserControls/mod_fusiTK.ascx.cs index 3dd72030..203bcb17 100644 --- a/GMW/WebUserControls/mod_fusiTK.ascx.cs +++ b/GMW/WebUserControls/mod_fusiTK.ascx.cs @@ -177,11 +177,11 @@ namespace GMW.WebUserControls { postazione_printer = tabPost[0].stampante; } - //else - //{ - // tabPost = DataProxy.obj.taElPost.getByCod("default"); - // postazione_printer = tabPost[0].stampante; - //} + else + { + tabPost = DataProxy.obj.taElPost.getByCod("default"); + postazione_printer = tabPost[0].stampante; + } } catch { } diff --git a/GMW/WebUserControls/mod_trattamenti.ascx b/GMW/WebUserControls/mod_trattamenti.ascx index 94fc0996..d3b0d246 100644 --- a/GMW/WebUserControls/mod_trattamenti.ascx +++ b/GMW/WebUserControls/mod_trattamenti.ascx @@ -67,7 +67,7 @@
- +
diff --git a/GMW/WebUserControls/mod_trattamenti.ascx.cs b/GMW/WebUserControls/mod_trattamenti.ascx.cs index 02abbd76..27381a82 100644 --- a/GMW/WebUserControls/mod_trattamenti.ascx.cs +++ b/GMW/WebUserControls/mod_trattamenti.ascx.cs @@ -30,11 +30,11 @@ namespace GMW.WebUserControls /// attributo per TRATTAMENTO termico /// protected string attrNumTra = "NT"; -#if false /// /// flusso associato (hard coded) al TRATTAMENTO termico /// protected string flusso_TR = "TR"; +#if false /// /// tipo di evento associato alla creazione dell'UDC di trattamento termico /// @@ -423,11 +423,15 @@ namespace GMW.WebUserControls { if (MagClass.magazzino.CodStatoUdc(barcodeIn) == statoUDC_pre) { + // 2014.02.14 non permetto + di 1 UDC: svuoto elenco! + elencoUDC.Clear(); // se è ok aggiungo in elenco UDC e mostro udpate checkUdc4elenco(barcodeIn); // seleziono anche particolare corrente currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(barcodeIn)[0].Particolare; - fixNumPezzi(); + txtQta.Text = DataProxy.obj.taCartellini.stp_getByUdc(barcodeIn)[0].Qta.ToString(); + // 2014.02.14: non imposto + ultima qta perché ho preso da UDC sorgente + //fixNumPezzi(); pnlAll.CssClass = "stileComandoOk"; } else @@ -546,7 +550,7 @@ namespace GMW.WebUserControls if (partDistintaOk) { string newUdcChild = ""; - //string newUdcParent = ""; + string newUdcParent = ""; //bool UdcExists = false; int anno = Convert.ToInt32(txtAnno.Text.Substring(txtAnno.Text.Trim().Length - 2, 2)); int qta = memLayer.ML.confReadInt("QtaImballoTratt"); @@ -599,8 +603,7 @@ namespace GMW.WebUserControls { // versione vecchia con creazione UDC di trattamento e relazione... #if false - // calcolo il nuovo codice UDC del trattamento - newUdcParent = MagClass.magazzino.getComposizioneUDC(memLayer.ML.confReadString("CodCS"), flusso_TR, anno.ToString(), Convert.ToInt32(kvp.Key)); + // verifico se ci sia già UDC UdcExists = MagClass.magazzino.checkUDC(newUdcParent); if (!UdcExists) @@ -626,8 +629,10 @@ namespace GMW.WebUserControls newUdcParent = ""; UdcExists = false; #endif + // calcolo il nuovo codice UDC del trattamento + newUdcParent = MagClass.magazzino.getComposizioneUDC(memLayer.ML.confReadString("CodCS"), flusso_TR, anno.ToString(), Convert.ToInt32(kvp.Key)); // inserisco attributo trattamento - MagClass.magazzino.taAtt2UDC.Insert(newUdcChild, attrNumTra, kvp.Key); + MagClass.magazzino.taAtt2UDC.Insert(newUdcChild, attrNumTra, newUdcParent); } // ora stampo il nuovo cartellino!!! MagClass.magazzino.stampaUdc(newUdcChild, postazione_printer, tipoCartellino.cartTratt, Request.UserHostName); diff --git a/GMW/bin/GMW.dll b/GMW/bin/GMW.dll index dd6b31e9..c0de5ab2 100644 Binary files a/GMW/bin/GMW.dll and b/GMW/bin/GMW.dll differ diff --git a/ReleaseClienti/TK_prod/GMW.zip b/ReleaseClienti/TK_prod/GMW.zip index af969243..2790caa1 100644 Binary files a/ReleaseClienti/TK_prod/GMW.zip and b/ReleaseClienti/TK_prod/GMW.zip differ diff --git a/ReleaseClienti/TK_test/GMW.zip b/ReleaseClienti/TK_test/GMW.zip index 89d1b1fa..c4b2655f 100644 Binary files a/ReleaseClienti/TK_test/GMW.zip and b/ReleaseClienti/TK_test/GMW.zip differ