iniziato test x stampa, qualche errore su sorgente report... da verificare...
git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@258 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -133,6 +133,20 @@
|
||||
<Compile Include="jumper.aspx.designer.cs">
|
||||
<DependentUpon>jumper.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="LabConsumaUdc.aspx.cs">
|
||||
<DependentUpon>LabConsumaUdc.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="LabConsumaUdc.aspx.designer.cs">
|
||||
<DependentUpon>LabConsumaUdc.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="LabStampaUdc.aspx.cs">
|
||||
<DependentUpon>LabStampaUdc.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="LabStampaUdc.aspx.designer.cs">
|
||||
<DependentUpon>LabStampaUdc.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="login.aspx.cs">
|
||||
<DependentUpon>login.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -400,6 +414,20 @@
|
||||
<Compile Include="WebUserControls\mod_filtro.ascx.designer.cs">
|
||||
<DependentUpon>mod_filtro.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_labAssStampaUdc.ascx.cs">
|
||||
<DependentUpon>mod_labAssStampaUdc.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_labAssStampaUdc.ascx.designer.cs">
|
||||
<DependentUpon>mod_labAssStampaUdc.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_labConsUdc.ascx.cs">
|
||||
<DependentUpon>mod_labConsUdc.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_labConsUdc.ascx.designer.cs">
|
||||
<DependentUpon>mod_labConsUdc.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_lemmiVocab.ascx.cs">
|
||||
<DependentUpon>mod_lemmiVocab.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -902,12 +930,16 @@
|
||||
<Content Include="images\Start_22.png" />
|
||||
<Content Include="images\Start_32.png" />
|
||||
<Content Include="jumper.aspx" />
|
||||
<Content Include="LabConsumaUdc.aspx" />
|
||||
<Content Include="LabStampaUdc.aspx" />
|
||||
<Content Include="MagLogico.aspx" />
|
||||
<Content Include="unauthorized.aspx" />
|
||||
<Content Include="WebMasterPages\TermPageAjax.Master" />
|
||||
<Content Include="WebMasterPages\TermPage.Master" />
|
||||
<Content Include="WebUserControls\mod_delibera.ascx" />
|
||||
<Content Include="WebUserControls\mod_elencoListePrelievo.ascx" />
|
||||
<Content Include="WebUserControls\mod_labAssStampaUdc.ascx" />
|
||||
<Content Include="WebUserControls\mod_labConsUdc.ascx" />
|
||||
<Content Include="WebUserControls\mod_nuovaListaPrelievo.ascx" />
|
||||
<Content Include="WebUserControls\mod_operazioniUdc.ascx" />
|
||||
<Content Include="WebUserControls\mod_periodoAnalisi.ascx" />
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" AutoEventWireup="true" CodeBehind="LabConsumaUdc.aspx.cs" Inherits="GMW.LabConsumaUdc" %>
|
||||
<%@ Register src="WebUserControls/mod_labConsUdc.ascx" tagname="mod_labConsUdc" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_labConsUdc ID="mod_labConsUdc1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GMW
|
||||
{
|
||||
public partial class LabConsumaUdc : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+25
@@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 {
|
||||
|
||||
|
||||
public partial class LabConsumaUdc {
|
||||
|
||||
/// <summary>
|
||||
/// mod_labConsUdc1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_labConsUdc mod_labConsUdc1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="LabStampaUdc.aspx.cs" Inherits="GMW.LabStampaUdc" %>
|
||||
<%@ Register src="WebUserControls/mod_labAssStampaUdc.ascx" tagname="mod_labAssStampaUdc" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_labAssStampaUdc ID="mod_labAssStampaUdc1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GMW
|
||||
{
|
||||
public partial class LabStampaUdc : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+25
@@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 {
|
||||
|
||||
|
||||
public partial class LabStampaUdc {
|
||||
|
||||
/// <summary>
|
||||
/// mod_labAssStampaUdc1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GMW.WebUserControls.mod_labAssStampaUdc mod_labAssStampaUdc1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_labAssStampaUdc.ascx.cs" Inherits="GMW.WebUserControls.mod_labAssStampaUdc" %>
|
||||
<asp:TextBox runat="server" id="txtNumRapp" />
|
||||
<br />
|
||||
<asp:Button ID="btnAssStampa" runat="server" Text="Associa e stampa"
|
||||
onclick="btnAssStampa_Click" />
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using GMW_data;
|
||||
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class mod_labAssStampaUdc : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void btnAssStampa_Click(object sender, EventArgs e)
|
||||
{
|
||||
associaStampaUdc(Convert.ToInt32(txtNumRapp.Text.Trim()));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// effettua creazioen Udc, associazioen e stampa dato il num del rapporto del lab
|
||||
/// </summary>
|
||||
/// <param name="numRappUdc"></param>
|
||||
private void associaStampaUdc(int numRappUdc)
|
||||
{
|
||||
bool fatto= MagClass.magazzino.creaUdcDaRappQualita(numRappUdc, true);
|
||||
if (!fatto)
|
||||
{
|
||||
MagClass.magazzino.stampaUdcDaRappQualita(numRappUdc);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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_labAssStampaUdc {
|
||||
|
||||
/// <summary>
|
||||
/// txtNumRapp 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 txtNumRapp;
|
||||
|
||||
/// <summary>
|
||||
/// btnAssStampa 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 btnAssStampa;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_labConsUdc.ascx.cs" Inherits="GMW.WebUserControls.mod_labConsUdc" %>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GMW.WebUserControls
|
||||
{
|
||||
public partial class mod_labConsUdc : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
//
|
||||
// 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_labConsUdc
|
||||
{
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+4
-4
@@ -12443,11 +12443,11 @@ namespace GMW_data {
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
public string UDC {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableRapQual.UDCColumn]));
|
||||
if (this.IsUDCNull()) {
|
||||
return string.Empty;
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("The value for column \'UDC\' in table \'RapQual\' is DBNull.", e);
|
||||
else {
|
||||
return ((string)(this[this.tableRapQual.UDCColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
|
||||
+593
-593
File diff suppressed because it is too large
Load Diff
@@ -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="27" ViewPortY="1026" 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="27" ViewPortY="1036" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="22" X="68" Y="319" Height="459" Width="250" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="294" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="32" X="1016" Y="417" Height="210" Width="285" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
|
||||
+19
-16
@@ -1046,9 +1046,8 @@ namespace GMW_data
|
||||
/// </summary>
|
||||
/// <param name="numRapQual">identificativo rapp qualità</param>
|
||||
/// <param name="doPrint">true/false se stampare</param>
|
||||
/// <param name="CodOperatore">codice operatore</param>
|
||||
/// <returns></returns>
|
||||
public bool creaUdcDaRappQualita(int numRapQual, bool doPrint, string CodOperatore)
|
||||
public bool creaUdcDaRappQualita(int numRapQual, bool doPrint)
|
||||
{
|
||||
bool answ = false;
|
||||
// ottengo elenco righe dei cartellini del rapp qualità indicato SENZA righe UDC
|
||||
@@ -1059,21 +1058,25 @@ namespace GMW_data
|
||||
string UDC = "";
|
||||
foreach (DS_magazzino.RapQualRow rqRow in tabRapQual)
|
||||
{
|
||||
answ = true;
|
||||
|
||||
// per ogni riga creo un UDC
|
||||
DS_Applicazione.ElencoCartelliniDataTable tabCartellini = DataProxy.obj.taCartellini.stp_insNewFull(memLayer.ML.confReadString("CodCS"), memLayer.ML.confReadString("BilanciaMP"), string.Format("{0:yy}", DateTime.Now), rqRow.CodFor, rqRow.CodLega, "", "", "", "", DateTime.Now, 0, memLayer.ML.confReadString("CodImballoMP"), CodOperatore, 0, memLayer.ML.confReadInt("IdxPosizMP"), "M", "UDC_MP", rqRow.Qta, Convert.ToDouble(rqRow.Qta), 1, memLayer.ML.confReadString("CodStatoMP"), ""); // UDC_MP HARD CODED!!!
|
||||
//DS_Applicazione.ElencoCartelliniDataTable tabCartellini = DataProxy.obj.taCartellini.stp_insNew(memLayer.ML.confReadString("CodCS"), memLayer.ML.confReadString("BilanciaMP"), string.Format("{0:yy}", DateTime.Now), 0, memLayer.ML.confReadString("CodImballoMP"), "M", CodOperatore, "UDC_MP"); // UDC_MP HARD CODED!!!
|
||||
|
||||
try
|
||||
// se non ha già un UDC...
|
||||
if (rqRow.UDC != "")
|
||||
{
|
||||
UDC = tabCartellini[0].UDC;
|
||||
// lo associo!
|
||||
taRapQual.stp_associaUDC(rqRow.ProgUDC, UDC);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Non sono riuscito a creare associazioen UDC / rapp qual: UDC creato: {0}, progRappQual: {1}, eccezione: {2}", UDC, rqRow.ProgUDC, e), tipoLog.EXCEPTION);
|
||||
answ = true;
|
||||
|
||||
// per ogni riga creo un UDC
|
||||
DS_Applicazione.ElencoCartelliniDataTable tabCartellini = DataProxy.obj.taCartellini.stp_insNewFull(memLayer.ML.confReadString("CodCS"), memLayer.ML.confReadString("BilanciaMP"), string.Format("{0:yy}", DateTime.Now), rqRow.CodFor, rqRow.CodLega, "", "", "", "", DateTime.Now, 0, memLayer.ML.confReadString("CodImballoMP"), CodSoggCurrUser, 0, memLayer.ML.confReadInt("IdxPosizMP"), "M", "UDC_MP", rqRow.Qta, Convert.ToDouble(rqRow.Qta), 1, memLayer.ML.confReadString("CodStatoMP"), ""); // UDC_MP HARD CODED!!!
|
||||
//DS_Applicazione.ElencoCartelliniDataTable tabCartellini = DataProxy.obj.taCartellini.stp_insNew(memLayer.ML.confReadString("CodCS"), memLayer.ML.confReadString("BilanciaMP"), string.Format("{0:yy}", DateTime.Now), 0, memLayer.ML.confReadString("CodImballoMP"), "M", CodOperatore, "UDC_MP"); // UDC_MP HARD CODED!!!
|
||||
|
||||
try
|
||||
{
|
||||
UDC = tabCartellini[0].UDC;
|
||||
// lo associo!
|
||||
taRapQual.stp_associaUDC(rqRow.ProgUDC, UDC);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Non sono riuscito a creare associazioen UDC / rapp qual: UDC creato: {0}, progRappQual: {1}, eccezione: {2}", UDC, rqRow.ProgUDC, e), tipoLog.EXCEPTION);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,11 @@
|
||||
create schema RawData authorization db_accessadmin
|
||||
go
|
||||
|
||||
-- creo schema x gestione richieste batch
|
||||
create schema BatchQueue authorization db_accessadmin
|
||||
go
|
||||
|
||||
|
||||
-- lascio in schema As400 i dati attuali, creo tab nuove RAW
|
||||
create table RawData.XOGIX00F(
|
||||
XRPQLN numeric(6,0) not null constraint DF_XOGIX00F_XRPQLN default (0),
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
-- creo schema x gestione richieste batch
|
||||
create schema BatchQueue authorization db_accessadmin
|
||||
go
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user