Aggiunta conf e gestione chiamata import massivod ati

This commit is contained in:
Samuele E. Locatelli
2018-11-05 14:23:41 +01:00
parent dc296be5f9
commit 255f984a7b
10 changed files with 201 additions and 21 deletions
+14
View File
@@ -0,0 +1,14 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" CodeBehind="DataImport.aspx.cs" Inherits="MP_ADM.DataImport" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="row">
<div class="col-3 py-4">
<asp:LinkButton runat="server" ID="lbtProImportIS" CssClass="btn btn-outline-info btn-block py-3" OnClick="lbtProImportIS_Click">
<div><i class="fa fa-download fa-4x"></i></div>
<div class="font-weight-bold mt-1 table-dark text-light">
Esegui Import + Allineamento Dati
</div>
</asp:LinkButton>
</div>
</div>
</asp:Content>
+27
View File
@@ -0,0 +1,27 @@
using MapoDb;
using SteamWare;
using System;
namespace MP_ADM
{
public partial class DataImport : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// Esegue import dati
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtProImportIS_Click(object sender, EventArgs e)
{
// se abilitato...
if (memLayer.ML.CRB("DB_IS_EnabFileImp"))
{
DataLayer.obj.taWKS.All_ImportFile_Process(memLayer.ML.CRS("DB_IS_filePath"), memLayer.ML.CRS("DB_IS_FIELDTERMINATOR"), memLayer.ML.CRS("DB_IS_ROWTERMINATOR"), memLayer.ML.CRS("DB_IS_FIRSTROW "), 0, 0);
}
}
}
}
+24
View File
@@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace MP_ADM {
public partial class DataImport {
/// <summary>
/// Controllo lbtProImportIS.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtProImportIS;
}
}
+8
View File
@@ -184,6 +184,7 @@
<Content Include="Content\themes\base\tabs.css" />
<Content Include="Content\themes\base\theme.css" />
<Content Include="Content\themes\base\tooltip.css" />
<Content Include="DataImport.aspx" />
<Content Include="Default.aspx" />
<Content Include="ExportPdf.aspx" />
<Content Include="favicon.ico" />
@@ -514,6 +515,13 @@
<Compile Include="calendChiusura.aspx.designer.cs">
<DependentUpon>calendChiusura.aspx</DependentUpon>
</Compile>
<Compile Include="DataImport.aspx.cs">
<DependentUpon>DataImport.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="DataImport.aspx.designer.cs">
<DependentUpon>DataImport.aspx</DependentUpon>
</Compile>
<Compile Include="Default.aspx.cs">
<DependentUpon>Default.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -64,4 +64,12 @@
</div>
</asp:LinkButton>
</div>
<div class="col-3 py-4">
<asp:LinkButton runat="server" ID="lbtDataImport" CssClass="btn btn-outline-info btn-block py-3" OnClick="lbtDataImport_Click">
<div><i class="fa fa-download fa-4x"></i></div>
<div class="font-weight-bold mt-1 table-dark text-light">
<%: traduci("btnDataImport") %>
</div>
</asp:LinkButton>
</div>
</div>
@@ -45,4 +45,9 @@ public partial class mod_main_help : ApplicationUserControl
{
Response.Redirect("~/GestKIT");
}
protected void lbtDataImport_Click(object sender, EventArgs e)
{
Response.Redirect("~/DataImport");
}
}
+9
View File
@@ -82,4 +82,13 @@ public partial class mod_main_help {
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtGestKIT;
/// <summary>
/// Controllo lbtDataImport.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtDataImport;
}
+81 -12
View File
@@ -4355,33 +4355,44 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT * FROM dbo.WipSetupKit";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_WSK_delete";
this._commandCollection[1].CommandText = "tmp.stp_All_ImportFile_Process";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyFilt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@filePath", global::System.Data.SqlDbType.NVarChar, 4000, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FIELDTERMINATOR", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ROWTERMINATOR", global::System.Data.SqlDbType.NVarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FIRSTROW", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumTicket", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PrecNumTicket", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[2].Connection = this.Connection;
this._commandCollection[2].CommandText = "dbo.stp_WSK_byFilt";
this._commandCollection[2].CommandText = "dbo.stp_WSK_delete";
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@KeyFilt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[3].Connection = this.Connection;
this._commandCollection[3].CommandText = "dbo.stp_WSK_insert";
this._commandCollection[3].CommandText = "dbo.stp_WSK_byFilt";
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("@KeyFilt", global::System.Data.SqlDbType.NVarChar, 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("@CodOrd", global::System.Data.SqlDbType.NVarChar, 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("@CodArt", global::System.Data.SqlDbType.NVarChar, 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("@DescArt", global::System.Data.SqlDbType.NVarChar, 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("@Qta", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[4].Connection = this.Connection;
this._commandCollection[4].CommandText = "dbo.stp_WSK_insert";
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("@KeyFilt", global::System.Data.SqlDbType.NVarChar, 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("@CodOrd", global::System.Data.SqlDbType.NVarChar, 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("@CodArt", global::System.Data.SqlDbType.NVarChar, 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("@DescArt", global::System.Data.SqlDbType.NVarChar, 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("@Qta", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -4413,7 +4424,7 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_IntServ.WipSetupKitDataTable getByFilt(string KeyFilt) {
this.Adapter.SelectCommand = this.CommandCollection[2];
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((KeyFilt == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -4632,8 +4643,66 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int deleteQuery(string KeyFilt) {
public virtual int All_ImportFile_Process(string filePath, string FIELDTERMINATOR, string ROWTERMINATOR, string FIRSTROW, global::System.Nullable<int> NumTicket, global::System.Nullable<int> PrecNumTicket) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
if ((filePath == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(filePath));
}
if ((FIELDTERMINATOR == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(FIELDTERMINATOR));
}
if ((ROWTERMINATOR == null)) {
command.Parameters[3].Value = global::System.DBNull.Value;
}
else {
command.Parameters[3].Value = ((string)(ROWTERMINATOR));
}
if ((FIRSTROW == null)) {
command.Parameters[4].Value = global::System.DBNull.Value;
}
else {
command.Parameters[4].Value = ((string)(FIRSTROW));
}
if ((NumTicket.HasValue == true)) {
command.Parameters[5].Value = ((int)(NumTicket.Value));
}
else {
command.Parameters[5].Value = global::System.DBNull.Value;
}
if ((PrecNumTicket.HasValue == true)) {
command.Parameters[6].Value = ((int)(PrecNumTicket.Value));
}
else {
command.Parameters[6].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
command.Connection.Open();
}
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.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int deleteQuery(string KeyFilt) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
if ((KeyFilt == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
@@ -4661,7 +4730,7 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int insertQuery(string KeyFilt, string CodOrd, string CodArt, string DescArt, global::System.Nullable<int> Qta) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
if ((KeyFilt == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
+23 -7
View File
@@ -257,7 +257,7 @@ SELECT KeyKit, KeyExtOrd, CodArtParent, CodArtChild, QtyKIT, QtyART FROM Istanze
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.stp_IstKit_insertByWKS" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertByWKS" Modifier="Public" Name="insertByWKS" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertByWKS">
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.stp_IstKit_insertByWKS" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertByWKS" Modifier="Public" Name="insertByWKS" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertByWKS">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IstKit_insertByWKS</CommandText>
@@ -270,7 +270,7 @@ SELECT KeyKit, KeyExtOrd, CodArtParent, CodArtChild, QtyKIT, QtyART FROM Istanze
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.stp_IstKit_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.stp_IstKit_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_IstKit_insert</CommandText>
@@ -378,6 +378,22 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
<Mapping SourceColumn="DataIns" DataSetColumn="DataIns" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.tmp.stp_All_ImportFile_Process" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="All_ImportFile_Process" Modifier="Public" Name="All_ImportFile_Process" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="All_ImportFile_Process">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>tmp.stp_All_ImportFile_Process</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@filePath" Precision="0" ProviderType="NVarChar" Scale="0" Size="4000" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FIELDTERMINATOR" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@ROWTERMINATOR" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@FIRSTROW" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@NumTicket" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@PrecNumTicket" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_IS_ConnectionString (Settings)" DbObjectName="MoonPro_IS_ColCom.dbo.stp_WSK_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -425,7 +441,7 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
<xs:element name="DS_IntServ" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_IntServ" msprop:Generator_UserDSName="DS_IntServ">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="TransitoDati" msprop:Generator_TableClassName="TransitoDatiDataTable" msprop:Generator_TableVarName="tableTransitoDati" msprop:Generator_TablePropName="TransitoDati" msprop:Generator_RowDeletingName="TransitoDatiRowDeleting" msprop:Generator_RowChangingName="TransitoDatiRowChanging" msprop:Generator_RowEvHandlerName="TransitoDatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TransitoDatiRowDeleted" msprop:Generator_UserTableName="TransitoDati" msprop:Generator_RowChangedName="TransitoDatiRowChanged" msprop:Generator_RowEvArgName="TransitoDatiRowChangeEvent" msprop:Generator_RowClassName="TransitoDatiRow">
<xs:element name="TransitoDati" msprop:Generator_TableClassName="TransitoDatiDataTable" msprop:Generator_TableVarName="tableTransitoDati" msprop:Generator_RowChangedName="TransitoDatiRowChanged" msprop:Generator_TablePropName="TransitoDati" msprop:Generator_RowDeletingName="TransitoDatiRowDeleting" msprop:Generator_RowChangingName="TransitoDatiRowChanging" msprop:Generator_RowEvHandlerName="TransitoDatiRowChangeEventHandler" msprop:Generator_RowDeletedName="TransitoDatiRowDeleted" msprop:Generator_RowClassName="TransitoDatiRow" msprop:Generator_UserTableName="TransitoDati" msprop:Generator_RowEvArgName="TransitoDatiRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="IdxRequest" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnIdxRequest" msprop:Generator_ColumnPropNameInRow="IdxRequest" msprop:Generator_ColumnPropNameInTable="IdxRequestColumn" msprop:Generator_UserColumnName="IdxRequest" type="xs:int" />
@@ -454,7 +470,7 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TemplateKIT" msprop:Generator_TableClassName="TemplateKITDataTable" msprop:Generator_TableVarName="tableTemplateKIT" msprop:Generator_TablePropName="TemplateKIT" msprop:Generator_RowDeletingName="TemplateKITRowDeleting" msprop:Generator_RowChangingName="TemplateKITRowChanging" msprop:Generator_RowEvHandlerName="TemplateKITRowChangeEventHandler" msprop:Generator_RowDeletedName="TemplateKITRowDeleted" msprop:Generator_UserTableName="TemplateKIT" msprop:Generator_RowChangedName="TemplateKITRowChanged" msprop:Generator_RowEvArgName="TemplateKITRowChangeEvent" msprop:Generator_RowClassName="TemplateKITRow">
<xs:element name="TemplateKIT" msprop:Generator_TableClassName="TemplateKITDataTable" msprop:Generator_TableVarName="tableTemplateKIT" msprop:Generator_RowChangedName="TemplateKITRowChanged" msprop:Generator_TablePropName="TemplateKIT" msprop:Generator_RowDeletingName="TemplateKITRowDeleting" msprop:Generator_RowChangingName="TemplateKITRowChanging" msprop:Generator_RowEvHandlerName="TemplateKITRowChangeEventHandler" msprop:Generator_RowDeletedName="TemplateKITRowDeleted" msprop:Generator_RowClassName="TemplateKITRow" msprop:Generator_UserTableName="TemplateKIT" msprop:Generator_RowEvArgName="TemplateKITRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArtParent" msprop:Generator_ColumnVarNameInTable="columnCodArtParent" msprop:Generator_ColumnPropNameInRow="CodArtParent" msprop:Generator_ColumnPropNameInTable="CodArtParentColumn" msprop:Generator_UserColumnName="CodArtParent">
@@ -475,7 +491,7 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="IstanzeKIT" msprop:Generator_TableClassName="IstanzeKITDataTable" msprop:Generator_TableVarName="tableIstanzeKIT" msprop:Generator_TablePropName="IstanzeKIT" msprop:Generator_RowDeletingName="IstanzeKITRowDeleting" msprop:Generator_RowChangingName="IstanzeKITRowChanging" msprop:Generator_RowEvHandlerName="IstanzeKITRowChangeEventHandler" msprop:Generator_RowDeletedName="IstanzeKITRowDeleted" msprop:Generator_UserTableName="IstanzeKIT" msprop:Generator_RowChangedName="IstanzeKITRowChanged" msprop:Generator_RowEvArgName="IstanzeKITRowChangeEvent" msprop:Generator_RowClassName="IstanzeKITRow">
<xs:element name="IstanzeKIT" msprop:Generator_TableClassName="IstanzeKITDataTable" msprop:Generator_TableVarName="tableIstanzeKIT" msprop:Generator_RowChangedName="IstanzeKITRowChanged" msprop:Generator_TablePropName="IstanzeKIT" msprop:Generator_RowDeletingName="IstanzeKITRowDeleting" msprop:Generator_RowChangingName="IstanzeKITRowChanging" msprop:Generator_RowEvHandlerName="IstanzeKITRowChangeEventHandler" msprop:Generator_RowDeletedName="IstanzeKITRowDeleted" msprop:Generator_RowClassName="IstanzeKITRow" msprop:Generator_UserTableName="IstanzeKIT" msprop:Generator_RowEvArgName="IstanzeKITRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="KeyKit" msprop:Generator_ColumnVarNameInTable="columnKeyKit" msprop:Generator_ColumnPropNameInRow="KeyKit" msprop:Generator_ColumnPropNameInTable="KeyKitColumn" msprop:Generator_UserColumnName="KeyKit">
@@ -511,7 +527,7 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TKS_Search" msprop:Generator_TableClassName="TKS_SearchDataTable" msprop:Generator_TableVarName="tableTKS_Search" msprop:Generator_RowChangedName="TKS_SearchRowChanged" msprop:Generator_TablePropName="TKS_Search" msprop:Generator_RowDeletingName="TKS_SearchRowDeleting" msprop:Generator_RowChangingName="TKS_SearchRowChanging" msprop:Generator_RowEvHandlerName="TKS_SearchRowChangeEventHandler" msprop:Generator_RowDeletedName="TKS_SearchRowDeleted" msprop:Generator_RowClassName="TKS_SearchRow" msprop:Generator_UserTableName="TKS_Search" msprop:Generator_RowEvArgName="TKS_SearchRowChangeEvent">
<xs:element name="TKS_Search" msprop:Generator_TableClassName="TKS_SearchDataTable" msprop:Generator_TableVarName="tableTKS_Search" msprop:Generator_TablePropName="TKS_Search" msprop:Generator_RowDeletingName="TKS_SearchRowDeleting" msprop:Generator_RowChangingName="TKS_SearchRowChanging" msprop:Generator_RowEvHandlerName="TKS_SearchRowChangeEventHandler" msprop:Generator_RowDeletedName="TKS_SearchRowDeleted" msprop:Generator_UserTableName="TKS_Search" msprop:Generator_RowChangedName="TKS_SearchRowChanged" msprop:Generator_RowEvArgName="TKS_SearchRowChangeEvent" msprop:Generator_RowClassName="TKS_SearchRow">
<xs:complexType>
<xs:sequence>
<xs:element name="CodArtParent" msprop:Generator_ColumnVarNameInTable="columnCodArtParent" msprop:Generator_ColumnPropNameInRow="CodArtParent" msprop:Generator_ColumnPropNameInTable="CodArtParentColumn" msprop:Generator_UserColumnName="CodArtParent">
@@ -527,7 +543,7 @@ SELECT KeyFilt, CodOrd, CodArt, DescArt, Qta, DataIns FROM WipSetupKit WHERE (Co
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="WipSetupKit" msprop:Generator_TableClassName="WipSetupKitDataTable" msprop:Generator_TableVarName="tableWipSetupKit" msprop:Generator_TablePropName="WipSetupKit" msprop:Generator_RowDeletingName="WipSetupKitRowDeleting" msprop:Generator_RowChangingName="WipSetupKitRowChanging" msprop:Generator_RowEvHandlerName="WipSetupKitRowChangeEventHandler" msprop:Generator_RowDeletedName="WipSetupKitRowDeleted" msprop:Generator_UserTableName="WipSetupKit" msprop:Generator_RowChangedName="WipSetupKitRowChanged" msprop:Generator_RowEvArgName="WipSetupKitRowChangeEvent" msprop:Generator_RowClassName="WipSetupKitRow">
<xs:element name="WipSetupKit" msprop:Generator_TableClassName="WipSetupKitDataTable" msprop:Generator_TableVarName="tableWipSetupKit" msprop:Generator_RowChangedName="WipSetupKitRowChanged" msprop:Generator_TablePropName="WipSetupKit" msprop:Generator_RowDeletingName="WipSetupKitRowDeleting" msprop:Generator_RowChangingName="WipSetupKitRowChanging" msprop:Generator_RowEvHandlerName="WipSetupKitRowChangeEventHandler" msprop:Generator_RowDeletedName="WipSetupKitRowDeleted" msprop:Generator_RowClassName="WipSetupKitRow" msprop:Generator_UserTableName="WipSetupKit" msprop:Generator_RowEvArgName="WipSetupKitRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="KeyFilt" msprop:Generator_ColumnVarNameInTable="columnKeyFilt" msprop:Generator_ColumnPropNameInRow="KeyFilt" msprop:Generator_ColumnPropNameInTable="KeyFiltColumn" msprop:Generator_UserColumnName="KeyFilt">
+2 -2
View File
@@ -8,9 +8,9 @@
<Shapes>
<Shape ID="DesignTable:TransitoDati" ZOrder="5" X="143" Y="127" Height="227" Width="255" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="145" />
<Shape ID="DesignTable:TemplateKIT" ZOrder="4" X="897" Y="198" Height="204" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="99" />
<Shape ID="DesignTable:IstanzeKIT" ZOrder="1" X="509" Y="311" Height="319" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:IstanzeKIT" ZOrder="1" X="509" Y="311" Height="365" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:TKS_Search" ZOrder="3" X="973" Y="517" Height="181" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="122" />
<Shape ID="DesignTable:WipSetupKit" ZOrder="2" X="238" Y="720" Height="296" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
<Shape ID="DesignTable:WipSetupKit" ZOrder="2" X="238" Y="720" Height="319" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="168" />
</Shapes>
<Connectors />
</DiagramLayout>