start UDC-pedane (2 check x correttezza...)

This commit is contained in:
Samuele E. Locatelli
2020-12-30 16:20:04 +01:00
parent 69c32c30e0
commit 0ed92b84d4
17 changed files with 1418 additions and 49 deletions
+8
View File
@@ -453,6 +453,13 @@
<Compile Include="WebUserControls\cmp_OrderListAdd.ascx.designer.cs">
<DependentUpon>cmp_OrderListAdd.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_OrderListByUdc.ascx.cs">
<DependentUpon>cmp_OrderListByUdc.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_OrderListByUdc.ascx.designer.cs">
<DependentUpon>cmp_OrderListByUdc.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_packList.ascx.cs">
<DependentUpon>cmp_packList.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -710,6 +717,7 @@
<Content Include="WebUserControls\cmp_numRow.ascx" />
<Content Include="WebUserControls\cmp_OrderList.ascx" />
<Content Include="WebUserControls\cmp_OrderListAdd.ascx" />
<Content Include="WebUserControls\cmp_OrderListByUdc.ascx" />
<Content Include="WebUserControls\cmp_packList.ascx" />
<Content Include="WebUserControls\cmp_packListMgmt.ascx" />
<Content Include="WebUserControls\cmp_packListNew.ascx" />
@@ -0,0 +1,47 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_OrderListByUdc.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_OrderListByUdc" %>
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="OrderListID" DataSourceID="ods" CssClass="table table-striped table-sm border border-info">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
<SelectedRowStyle CssClass="table-info" />
<EmptyDataTemplate>
<div class="row">
<div class="col">
Nessun record trovato
</div>
</div>
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False">
<HeaderTemplate>
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fas fa-sync"></i></asp:LinkButton>
</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" CssClass="btn btn-sm btn-info"><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="ExtOrdCod" HeaderText="Doc" InsertVisible="False" ReadOnly="True" SortExpression="ExtOrdCod" />
<asp:TemplateField HeaderText="Descr" SortExpression="OrdDescr">
<EditItemTemplate>
<b>
<asp:Label ID="lblDescrArt" runat="server" Text='<%# Eval("DescrArt") %>' /></b><br />
<asp:TextBox ID="txtOrdDescr" runat="server" Text='<%# Bind("OrdDescr") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<b>
<asp:Label ID="lblDescrArt" runat="server" Text='<%# Eval("DescrArt") %>' /></b><br />
<asp:Label ID="lblOrdDescr" runat="server" Text='<%# Eval("OrdDescr") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="Qty" HeaderText="Qty" SortExpression="Qty" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPL_UDC" TypeName="MagData.DS_PackListTableAdapters.OrdersListTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfPackListID" DefaultValue="0" Name="PackListID" PropertyName="Value" Type="Int32" />
<asp:ControlParameter ControlID="hfUdc" DefaultValue="" Name="UDC" PropertyName="Value" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:HiddenField runat="server" ID="hfPackListID" />
<asp:HiddenField runat="server" ID="hfUdc" />
@@ -0,0 +1,88 @@
using MagData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace MP_MAG.WebUserControls
{
public partial class cmp_OrderListByUdc : BaseUserControl
{
#region Public Properties
public int PackListID
{
get
{
int answ = 0;
int.TryParse(hfPackListID.Value, out answ);
return answ;
}
set
{
hfPackListID.Value = $"{value}";
}
}
public string UdcSel
{
get
{
return hfUdc.Value;
}
set
{
hfUdc.Value = value;
doUpdate();
}
}
#endregion Public Properties
#region Private Methods
private void Cmp_OrderListAdd_eh_addNew(object sender, EventArgs e)
{
resetSelezione();
}
private void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
raiseReset();
}
#endregion Private Methods
#region Protected Methods
/// <summary>
/// comando reset
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbtReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
protected void Page_Load(object sender, EventArgs e)
{
}
#endregion Protected Methods
#region Public Methods
public void doUpdate()
{
// calcolo il codcliente
grView.DataBind();
}
#endregion Public Methods
}
}
@@ -0,0 +1,53 @@
//------------------------------------------------------------------------------
// <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_MAG.WebUserControls
{
public partial class cmp_OrderListByUdc
{
/// <summary>
/// Controllo grView.
/// </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.GridView grView;
/// <summary>
/// Controllo ods.
/// </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.ObjectDataSource ods;
/// <summary>
/// Controllo hfPackListID.
/// </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.HiddenField hfPackListID;
/// <summary>
/// Controllo hfUdc.
/// </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.HiddenField hfUdc;
}
}
@@ -19,6 +19,7 @@
</div>
<div class="col-12">
<uc1:cmp_SelUdc runat="server" ID="cmp_SelUdc" />
<asp:HiddenField runat="server" ID="hfLastUDC" />
</div>
<div class="col-12">
<uc1:cmp_SelPedana runat="server" ID="cmp_SelPedana" />
+108 -11
View File
@@ -28,6 +28,21 @@ namespace MP_MAG.WebUserControls
}
}
/// <summary>
/// UDC selezionato
/// </summary>
protected string LastUDC
{
get
{
return hfLastUDC.Value;
}
set
{
hfLastUDC.Value = value;
}
}
/// <summary>
/// ULTIMO Comando barcode VALIDO (!="") letto
/// </summary>
@@ -59,6 +74,7 @@ namespace MP_MAG.WebUserControls
set
{
cmp_SelPackList.PackListID = value;
cmp_SelUdc.PackListID = value;
}
}
@@ -264,7 +280,9 @@ namespace MP_MAG.WebUserControls
{
// seleziono PackList
SelPackList = codeInt;
tryLinkAlUdc();
// resetto PEDANA ed UDC
SelPedana = "";
SelUDC = "";
}
break;
@@ -295,7 +313,11 @@ namespace MP_MAG.WebUserControls
}
else if (tabAL[0].PackListID != SelPackList)
{
cmp_barcode.showOutput("badge badge-danger", $"Errore: {rawData} già associata a PackList {tabAL[0].PackListID}");
cmp_barcode.showOutput("badge badge-danger", $"Errore: AL {rawData} già associata a PackList {tabAL[0].PackListID}");
}
else if (tabAL[0].Status > 0)
{
cmp_barcode.showOutput("badge badge-danger", $"Errore: AL {rawData} non modificabile");
}
else
{
@@ -307,22 +329,91 @@ namespace MP_MAG.WebUserControls
if (allOk)
{
SelPedana = rawData;
// resetto UDC
SelUDC = "";
}
}
break;
case codeType.Udc:
// verifico e seleziono udc
if (true)
// verifico di avere pack list
allOk = false;
if (SelPackList == 0)
{
SelUDC = rawData;
cmp_barcode.showOutput("badge badge-danger", "Errore: manca PackList!");
}
else
{
// verifico di avere Pedana
if (string.IsNullOrEmpty(SelPedana))
{
cmp_barcode.showOutput("badge badge-danger", "Errore: manca Pedana!");
}
else
{
// verifico esista
var tabUDC = MagDataLayer.man.taEUdc.getByKey(rawData);
if (tabUDC.Rows.Count == 0)
{
cmp_barcode.showOutput("badge badge-warning", $"Errore: UDC non trovato: {rawData}");
}
else
{
// ...e NON sia stato TRASFERITO
if (tabUDC[0].IdxPosizione > 0)
{
cmp_barcode.showOutput("badge badge-warning", $"Errore: UDC già trasferito: {rawData}");
}
else
{
// cerco AL se sia quello selezionato...
var tabAL = MagDataLayer.man.taEAL.getByUdc(rawData);
// se non trovo --> associo
if (tabAL.Rows.Count == 0)
{
// tutto ok
allOk = true;
}
// se uguale OK
else if (tabAL[0].AL == SelPedana)
{
// tutto ok
allOk = true;
}
else
{
// se siamo in seconda lettura --> OK x spostamento
if (LastUDC == rawData)
{
allOk = true;
LastUDC = "";
}
else
{
// verifico pedana (vecchia/attuale) libera...
if (tabAL[0].Status > 0)
{
cmp_barcode.showOutput("badge badge-danger", $"Attenzione: AL di origine ({tabAL[0].AL}) non modificabile, impossibile spostare");
}
// chiedo seconda lettura SE AL "libero"
else
{
cmp_barcode.showOutput("badge badge-info", $"Attenzione: UDC {rawData} già associato ad AL ({tabAL[0].AL}), rileggere per confermare ({SelPedana})");
LastUDC = rawData;
}
}
}
}
}
// ...e seleziono udc
if (allOk)
{
SelUDC = rawData;
tryLinkAlUdc();
}
}
}
tryLinkAlUdc();
break;
default:
@@ -332,7 +423,10 @@ namespace MP_MAG.WebUserControls
private void tryLinkAlUdc()
{
// verifica UDC ed al, se entrambi validi e LIBERI
// se sono qui entrambe sono LIBERE
// FARE!!! check ordine
MagDataLayer.man.taEA2U.upsertQuery(SelUDC, SelPedana, 0);
// se c'è già un associazione UDC con altro AL --> chiede rilettura
@@ -348,6 +442,9 @@ namespace MP_MAG.WebUserControls
if (!Page.IsPostBack)
{
SelPackList = 0;
SelPedana = "";
SelUDC = "";
LastUDC = "";
}
// eventi barcode
cmp_barcode.eh_doRefresh += Cmp_barcode_eh_doRefresh;
+9
View File
@@ -68,6 +68,15 @@ namespace MP_MAG.WebUserControls
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_SelUdc cmp_SelUdc;
/// <summary>
/// Controllo hfLastUDC.
/// </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.HiddenField hfLastUDC;
/// <summary>
/// Controllo cmp_SelPedana.
/// </summary>
+4 -2
View File
@@ -1,4 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_SelUdc.ascx.cs" Inherits="MP_MAG.WebUserControls.cmp_SelUdc" %>
<%@ Register Src="~/WebUserControls/cmp_OrderListByUdc.ascx" TagPrefix="uc1" TagName="cmp_OrderListByUdc" %>
<div id="accordion">
<div class="card">
@@ -9,10 +10,11 @@
</b>
</asp:LinkButton>
<div id="divSingleUdc" class="collapse textCondens">
dettaglio UDC?
<uc1:cmp_OrderListByUdc runat="server" ID="cmp_OrderListByUdc" />
</div>
</div>
</div>
</div>
<asp:HiddenField runat="server" ID="hfUDC" />
<asp:HiddenField runat="server" ID="hfUDC" />
<asp:HiddenField runat="server" ID="hfPackListID" />
+17 -3
View File
@@ -11,6 +11,21 @@ namespace MP_MAG.WebUserControls
{
#region Public Properties
public int PackListID
{
get
{
int answ = 0;
int.TryParse(hfPackListID.Value, out answ);
return answ;
}
set
{
hfPackListID.Value = $"{value}";
cmp_OrderListByUdc.PackListID = value;
}
}
public string UDC
{
get
@@ -21,9 +36,7 @@ namespace MP_MAG.WebUserControls
{
hfUDC.Value = value;
lblUDC.Text = value;
#if false
cmp_OrderList.PackListID = value;
#endif
cmp_OrderListByUdc.UdcSel = value;
}
}
@@ -35,6 +48,7 @@ namespace MP_MAG.WebUserControls
{
if (!Page.IsPostBack)
{
PackListID = 0;
UDC = "";
}
}
+18
View File
@@ -32,6 +32,15 @@ namespace MP_MAG.WebUserControls
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblUDC;
/// <summary>
/// Controllo cmp_OrderListByUdc.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::MP_MAG.WebUserControls.cmp_OrderListByUdc cmp_OrderListByUdc;
/// <summary>
/// Controllo hfUDC.
/// </summary>
@@ -40,5 +49,14 @@ namespace MP_MAG.WebUserControls
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfUDC;
/// <summary>
/// Controllo hfPackListID.
/// </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.HiddenField hfPackListID;
}
}
+900 -17
View File
File diff suppressed because it is too large Load Diff
+104
View File
@@ -412,6 +412,17 @@ FROM dbo.ElencoPost2Queue
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_EAL_getByUDC" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByUdc" GetMethodModifier="Public" GetMethodName="getByUdc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByUdc" UserSourceName="getByUdc">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EAL_getByUDC</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_EAL_insertQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="insertQuery" GetMethodModifier="Public" GetMethodName="insertQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="insertQuery" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -529,6 +540,73 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ElencoAL2UDCTableAdapter" GeneratorDataComponentClassName="ElencoAL2UDCTableAdapter" Name="ElencoAL2UDC" UserDataComponentName="ElencoAL2UDCTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.ElencoAL2UDC" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[ElencoAL2UDC] WHERE (([AL] = @Original_AL) AND ([UDC] = @Original_UDC) AND ([OrderListID] = @Original_OrderListID))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AL" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderListID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderListID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[ElencoAL2UDC] ([AL], [UDC], [OrderListID]) VALUES (@AL, @UDC, @OrderListID);
SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AL" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderListID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderListID" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT * FROM dbo.ElencoAL2UDC</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[ElencoAL2UDC] SET [AL] = @AL, [UDC] = @UDC, [OrderListID] = @OrderListID WHERE (([AL] = @Original_AL) AND ([UDC] = @Original_UDC) AND ([OrderListID] = @Original_OrderListID));
SELECT AL, UDC, OrderListID FROM ElencoAL2UDC WHERE (AL = @AL) AND (UDC = @UDC)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AL" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderListID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderListID" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AL" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UDC" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderListID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderListID" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="AL" DataSetColumn="AL" />
<Mapping SourceColumn="UDC" DataSetColumn="UDC" />
<Mapping SourceColumn="OrderListID" DataSetColumn="OrderListID" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_EA2U_upsertQuery" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="upsertQuery" GetMethodModifier="Public" GetMethodName="upsertQuery" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="upsertQuery" UserSourceName="upsertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EA2U_upsertQuery</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@AL" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrderListID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -972,6 +1050,27 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ElencoAL2UDC" msprop:Generator_TableClassName="ElencoAL2UDCDataTable" msprop:Generator_TableVarName="tableElencoAL2UDC" msprop:Generator_TablePropName="ElencoAL2UDC" msprop:Generator_RowDeletingName="ElencoAL2UDCRowDeleting" msprop:Generator_RowChangingName="ElencoAL2UDCRowChanging" msprop:Generator_RowEvHandlerName="ElencoAL2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="ElencoAL2UDCRowDeleted" msprop:Generator_UserTableName="ElencoAL2UDC" msprop:Generator_RowChangedName="ElencoAL2UDCRowChanged" msprop:Generator_RowEvArgName="ElencoAL2UDCRowChangeEvent" msprop:Generator_RowClassName="ElencoAL2UDCRow">
<xs:complexType>
<xs:sequence>
<xs:element name="AL" msprop:Generator_ColumnVarNameInTable="columnAL" msprop:Generator_ColumnPropNameInRow="AL" msprop:Generator_ColumnPropNameInTable="ALColumn" msprop:Generator_UserColumnName="AL">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UDC" msprop:Generator_ColumnVarNameInTable="columnUDC" msprop:Generator_ColumnPropNameInRow="UDC" msprop:Generator_ColumnPropNameInTable="UDCColumn" msprop:Generator_UserColumnName="UDC">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="OrderListID" msprop:Generator_ColumnVarNameInTable="columnOrderListID" msprop:Generator_ColumnPropNameInRow="OrderListID" msprop:Generator_ColumnPropNameInTable="OrderListIDColumn" msprop:Generator_UserColumnName="OrderListID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -1002,5 +1101,10 @@ SELECT CodCliente, RagSociale, Indirizzo, Localita, Cap, Provincia, Nazione FROM
<xs:selector xpath=".//mstns:AnagClienti" />
<xs:field xpath="mstns:CodCliente" />
</xs:unique>
<xs:unique name="ElencoAL2UDC_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:ElencoAL2UDC" />
<xs:field xpath="mstns:AL" />
<xs:field xpath="mstns:UDC" />
</xs:unique>
</xs:element>
</xs:schema>
+1 -1
View File
@@ -11,7 +11,7 @@
<Shape ID="DesignTable:AnagArt" ZOrder="7" X="279" Y="548" Height="172" Width="193" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:ODL" ZOrder="4" X="885" Y="112" Height="324" Width="177" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Elencopost2Queue" ZOrder="6" X="264" Y="791" Height="134" Width="252" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ElencoAL" ZOrder="1" X="882" Y="491" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoAL" ZOrder="1" X="882" Y="491" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagClienti" ZOrder="3" X="544" Y="542" Height="210" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
</Shapes>
<Connectors />
+43 -13
View File
@@ -2647,7 +2647,7 @@ SELECT OrderListID, ExtOrdCod, DueDate, CodArt, PackListID, Qty, OrdDescr FROM O
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[6];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT * FROM v_OrdersList";
@@ -2660,28 +2660,35 @@ SELECT OrderListID, ExtOrdCod, DueDate, CodArt, PackListID, Qty, OrdDescr FROM O
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_OrderListID", 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_OrdList_getByPLID";
this._commandCollection[2].CommandText = "dbo.stp_OrdList_getByPL_UDC";
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("@PackListID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.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_OrdList_insertQuery";
this._commandCollection[3].CommandText = "dbo.stp_OrdList_getByPLID";
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("@PackListID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ExtOrdCod", 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("@OrdDescr", 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("@Qty", 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_OrdList_updateQuery";
this._commandCollection[4].CommandText = "dbo.stp_OrdList_insertQuery";
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("@Original_OrderListID", 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("@Qty", 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("@PackListID", 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("@ExtOrdCod", 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("@OrdDescr", 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("@Qty", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 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_OrdList_updateQuery";
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("@Original_OrderListID", 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("@Qty", 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("@OrdDescr", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2712,7 +2719,7 @@ SELECT OrderListID, ExtOrdCod, DueDate, CodArt, PackListID, Qty, OrdDescr FROM O
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_PackList.OrdersListDataTable getByPLID(global::System.Nullable<int> PackListID) {
public virtual DS_PackList.OrdersListDataTable getByPL_UDC(global::System.Nullable<int> PackListID, string UDC) {
this.Adapter.SelectCommand = this.CommandCollection[2];
if ((PackListID.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(PackListID.Value));
@@ -2720,6 +2727,29 @@ SELECT OrderListID, ExtOrdCod, DueDate, CodArt, PackListID, Qty, OrdDescr FROM O
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
if ((UDC == null)) {
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(UDC));
}
DS_PackList.OrdersListDataTable dataTable = new DS_PackList.OrdersListDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_PackList.OrdersListDataTable getByPLID(global::System.Nullable<int> PackListID) {
this.Adapter.SelectCommand = this.CommandCollection[3];
if ((PackListID.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(PackListID.Value));
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
DS_PackList.OrdersListDataTable dataTable = new DS_PackList.OrdersListDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
@@ -2925,7 +2955,7 @@ SELECT OrderListID, ExtOrdCod, DueDate, CodArt, PackListID, Qty, OrdDescr FROM O
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int insertQuery(global::System.Nullable<int> PackListID, string ExtOrdCod, string CodArt, string OrdDescr, global::System.Nullable<int> Qty) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
if ((PackListID.HasValue == true)) {
command.Parameters[1].Value = ((int)(PackListID.Value));
}
@@ -2977,7 +3007,7 @@ SELECT OrderListID, ExtOrdCod, DueDate, CodArt, PackListID, Qty, OrdDescr FROM O
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateQuery(global::System.Nullable<int> Original_OrderListID, global::System.Nullable<int> Qty, string OrdDescr) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[4];
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
if ((Original_OrderListID.HasValue == true)) {
command.Parameters[1].Value = ((int)(Original_OrderListID.Value));
}
+12
View File
@@ -179,6 +179,18 @@ SELECT OrderListID, ExtOrdCod, DueDate, CodArt, PackListID, Qty, OrdDescr FROM O
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_OrdList_getByPL_UDC" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPL_UDC" GetMethodModifier="Public" GetMethodName="getByPL_UDC" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPL_UDC" UserSourceName="getByPL_UDC">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_OrdList_getByPL_UDC</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="int" DbType="Int32" Direction="Input" ParameterName="@PackListID" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@UDC" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_OrdList_getByPLID" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByPLID" GetMethodModifier="Public" GetMethodName="getByPLID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByPLID" UserSourceName="getByPLID">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
+2 -2
View File
@@ -6,8 +6,8 @@
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:PackList" ZOrder="1" X="443" Y="59" Height="324" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:OrdersList" ZOrder="2" X="76" Y="83" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:PackList" ZOrder="2" X="443" Y="59" Height="324" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:OrdersList" ZOrder="1" X="76" Y="83" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:ExtOrdersList" ZOrder="3" X="503" Y="534" Height="286" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
</Shapes>
<Connectors />
+3
View File
@@ -30,6 +30,7 @@ namespace MagData
public DS_ReportTableAdapters.stp_prt_CartellinoFinitiOdetteTableAdapter taCFOdette;
public DS_ReportTableAdapters.stp_prt_CartellinoPedaneTableAdapter taCPed;
public DS_ReportTableAdapters.stp_prt_CartellinoSemilavoratiTableAdapter taCSemil;
public DS_MagTableAdapters.ElencoAL2UDCTableAdapter taEA2U;
public DS_MagTableAdapters.ElencoALTableAdapter taEAL;
public DS_MagTableAdapters.ElencoLottiTableAdapter taEL;
public DS_PackListTableAdapters.ExtOrdersListTableAdapter taEOL;
@@ -180,6 +181,7 @@ namespace MagData
taCSemil = new DS_ReportTableAdapters.stp_prt_CartellinoSemilavoratiTableAdapter();
taAA = new DS_MagTableAdapters.AnagArtTableAdapter();
taEA2U = new DS_MagTableAdapters.ElencoAL2UDCTableAdapter();
taEAL = new DS_MagTableAdapters.ElencoALTableAdapter();
taEL = new DS_MagTableAdapters.ElencoLottiTableAdapter();
taEP2Q = new DS_MagTableAdapters.Elencopost2QueueTableAdapter();
@@ -201,6 +203,7 @@ namespace MagData
taCSemil.Connection.ConnectionString = connString;
taAA.Connection.ConnectionString = connString;
taEA2U.Connection.ConnectionString = connString;
taEAL.Connection.ConnectionString = connString;
taEL.Connection.ConnectionString = connString;
taEP2Q.Connection.ConnectionString = connString;