Merge branch 'feature/NewPackListDuplicaUpload' into develop

This commit is contained in:
Samuele Locatelli
2021-04-21 10:21:22 +02:00
9 changed files with 151 additions and 71 deletions
+1
View File
@@ -83,6 +83,7 @@ namespace MP_MAG.SMART
{
// scambio visualizzazione e selezione...
showDetail = !showDetail;
ddlElencoPL.DataBind();
fixDisplay();
}
+5 -4
View File
@@ -11,12 +11,13 @@
<asp:LinkButton runat="server" ID="lbtShowAdd" CssClass="btn btn-block btn-info" OnClick="lbtShowAdd_Click" ToolTip="Aggiungi nuova pedana"><i class="fa fa-plus" aria-hidden="true"></i> Nuova Pedana</asp:LinkButton>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtSetStarted" CssClass="btn btn-block btn-warning" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStarted") %>' OnClick="lbtSetStarted_Click" ToolTip="Preparazione PackList INIZIATA">INIZIA <i class="fa fa-hourglass-start" aria-hidden="true"></i></asp:LinkButton>
<asp:Label runat="server" ID="lblStatus01" CssClass="btn btn-block btn-outline-info disabled">Richiesta <i class="fa fa-cubes" aria-hidden="true"></i></asp:Label>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtSetCompleted" CssClass="btn btn-block btn-success" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmShipEnabled") %>' OnClick="lbtSetCompleted_Click" ToolTip="Preparazione PackList COMPLETATA">Spedibile <i class="fa fa-hourglass-end" aria-hidden="true"></i></asp:LinkButton>
<asp:Label runat="server" ID="lblStatus02" CssClass="btn btn-block btn-outline-warning disabled">Iniziata <i class="fa fa-hourglass-start" aria-hidden="true"></i></asp:Label>
</div>
<div class="col-3">
<asp:Label runat="server" ID="lblStatus03" CssClass="btn btn-block btn-outline-success disabled">Spedibile <i class="fa fa-hourglass-end" aria-hidden="true"></i></asp:Label>
<%--<asp:LinkButton runat="server" ID="lbtPrintReport" CssClass="btn btn-block btn-primary" OnClick="lbtPrintReport_Click" ToolTip="Stampa report dettagliato pedane (A4)">REPORT Dettaglio <i class="fas fa-print"></i></asp:LinkButton>--%>
</div>
</div>
@@ -34,7 +35,7 @@
<div class="row">
<div class="col-12 px-0">
<asp:HiddenField runat="server" ID="hfLastCmd" />
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="AL" DataSourceID="ods" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowCommand="grView_RowCommand" OnRowCancelingEdit="grView_RowCancelingEdit" OnRowEditing="grView_RowEditing" OnRowUpdated="grView_RowUpdated">
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="AL" DataSourceID="ods" CssClass="table table-striped table-condensed table-sm small" AllowPaging="True" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnRowCommand="grView_RowCommand" OnRowCancelingEdit="grView_RowCancelingEdit" OnRowEditing="grView_RowEditing" OnRowUpdated="grView_RowUpdated" AllowSorting="true">
<HeaderStyle CssClass="default" />
<PagerStyle CssClass="active GridPager" />
<PagerSettings Mode="NumericFirstLast" />
@@ -57,9 +58,9 @@
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="False" CommandName="Update" CssClass="btn btn-sm btn-success"><i class="fas fa-check"></i></asp:LinkButton>
</EditItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="Descr" HeaderText="Descr" SortExpression="Descr" />
<asp:BoundField DataField="AL" HeaderText="AL" ReadOnly="True" SortExpression="AL" />
<asp:BoundField DataField="CurrState" HeaderText="Stato" SortExpression="CurrState" ReadOnly="true" />
<asp:BoundField DataField="Descr" HeaderText="Descr" SortExpression="Descr" />
<asp:BoundField DataField="DtRec" HeaderText="Data" SortExpression="DtRec" DataFormatString="{0:yyyy-MM-dd}" ReadOnly="true" />
<%--<asp:BoundField DataField="CodSoggetto" HeaderText="Opr" SortExpression="CodSoggetto" />--%>
<asp:BoundField DataField="NumUdc" HeaderText="# Udc" SortExpression="NumUdc" ReadOnly="true" />
+28 -27
View File
@@ -55,7 +55,7 @@ namespace MP_MAG.WebUserControls
{
hfPackListID.Value = $"{value}";
doUpdate();
checkBtn();
checkStatus();
}
}
@@ -63,19 +63,33 @@ namespace MP_MAG.WebUserControls
#region Private Methods
private void checkBtn()
private void checkStatus()
{
// verifica buttons secondo stato PackList...
var tabPL = MagDataLayerObj.taPList.getByKey(PackListID);
bool showStart = false;
bool showEnd = false;
if (tabPL.Rows.Count > 0)
lblStatus01.Visible = false;
lblStatus02.Visible = false;
lblStatus03.Visible = false;
if (tabPL != null && tabPL.Rows.Count > 0)
{
showStart = (tabPL[0].PackStatus == 1);
showEnd = (tabPL[0].PackStatus == 2);
switch (tabPL[0].PackStatus)
{
case 1:
lblStatus01.Visible = true;
break;
case 2:
lblStatus02.Visible = true;
break;
case 3:
lblStatus03.Visible = true;
break;
default:
break;
}
}
lbtSetStarted.Visible = showStart;
lbtSetCompleted.Visible = showEnd;
}
private void Cmp_numRow_eh_doRefresh(object sender, EventArgs e)
@@ -195,9 +209,12 @@ namespace MP_MAG.WebUserControls
MagDataLayer.man.taEAL.insertQuery(DateTime.Today, "PED", currCodOpr, txtDescr.Text.Trim(), PackListID, TaraAL);
// nascondo add...
toggleAddNew();
#if false
// aggiorno packList a iniziata...
MagDataLayerObj.taPList.updateStatus(PackListID, 2);
checkBtn();
#endif
checkStatus();
// update!!!
grView.DataBind();
}
@@ -225,20 +242,6 @@ namespace MP_MAG.WebUserControls
resetSelezione();
}
protected void lbtSetCompleted_Click(object sender, EventArgs e)
{
MagDataLayerObj.taPList.updateStatus(PackListID, 3);
checkBtn();
resetSelezione();
}
protected void lbtSetStarted_Click(object sender, EventArgs e)
{
MagDataLayerObj.taPList.updateStatus(PackListID, 2);
checkBtn();
resetSelezione();
}
/// <summary>
/// Mostra btn add new
/// </summary>
@@ -262,11 +265,9 @@ namespace MP_MAG.WebUserControls
grView.PageSize = cmp_numRow.numRow;
divAddNew.Visible = false;
lastCmd = "";
lbtSetStarted.DataBind();
lbtSetCompleted.DataBind();
}
cmp_numRow.eh_doRefresh += Cmp_numRow_eh_doRefresh;
checkBtn();
checkStatus();
}
#endregion Protected Methods
+13 -4
View File
@@ -24,22 +24,31 @@ namespace MP_MAG.WebUserControls
protected global::System.Web.UI.WebControls.LinkButton lbtShowAdd;
/// <summary>
/// lbtSetStarted control.
/// lblStatus01 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.LinkButton lbtSetStarted;
protected global::System.Web.UI.WebControls.Label lblStatus01;
/// <summary>
/// lbtSetCompleted control.
/// lblStatus02 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.LinkButton lbtSetCompleted;
protected global::System.Web.UI.WebControls.Label lblStatus02;
/// <summary>
/// lblStatus03 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.Label lblStatus03;
/// <summary>
/// divAddNew control.
+2 -1
View File
@@ -12,9 +12,10 @@
<asp:LinkButton runat="server" ID="lbtSetRequest" CssClass="btn btn-block btn-success" OnClick="lbtSetRequest_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmSetRequest") %>'>Invia RICHIESTA <i class="fa fa-cubes" aria-hidden="true"></i></asp:LinkButton>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtSplitSped" CssClass="btn btn-block btn-warning" OnClick="lbtSplitSped_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmSplitLoaded") %>'>Split Caricate <i class="fas fa-truck-loading" aria-hidden="true"></i></asp:LinkButton>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtSendPack" CssClass="btn btn-block btn-warning" OnClick="lbtSendPack_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmTransfer") %>'>Trasferisci <i class="fa fa-truck" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtSendPack" CssClass="btn btn-block btn-warning" OnClick="lbtSendPack_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmTransfer") %>'>Trasferisci <i class="fas fa-truck" aria-hidden="true"></i></asp:LinkButton>
</div>
</div>
</div>
@@ -47,6 +47,7 @@ namespace MP_MAG.WebUserControls
var tabPackList = MagData.MagDataLayer.man.taPList.getByKey(PackListID);
lbtSendPack.CssClass = "btn btn-block btn-outline-secondary disabled";
lbtSetDraft.CssClass = "btn btn-block btn-outline-secondary disabled";
lbtSplitSped.CssClass = "btn btn-block btn-outline-secondary disabled";
lbtSetRequest.CssClass = "btn btn-block btn-outline-secondary disabled";
if (showAction)
{
@@ -63,6 +64,11 @@ namespace MP_MAG.WebUserControls
lbtSetDraft.CssClass = "btn btn-block btn-info";
break;
case 2:
lbtSetDraft.CssClass = "btn btn-block btn-info";
lbtSplitSped.CssClass = "btn btn-block btn-warning";
break;
case 3:
lbtSetDraft.CssClass = "btn btn-block btn-info";
lbtSendPack.CssClass = "btn btn-block btn-warning";
@@ -127,6 +133,13 @@ namespace MP_MAG.WebUserControls
resetSelezione();
}
protected void lbtSplitSped_Click(object sender, EventArgs e)
{
MagData.MagDataLayer.man.taPList.splitLoaded(PackListID);
showAction(false);
resetSelezione();
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
+35 -26
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace MP_MAG.WebUserControls
@@ -15,65 +15,74 @@ namespace MP_MAG.WebUserControls
{
/// <summary>
/// Controllo lbtSetDraft.
/// lbtSetDraft control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtSetDraft;
/// <summary>
/// Controllo lbtSetRequest.
/// lbtSetRequest control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtSetRequest;
/// <summary>
/// Controllo lbtSendPack.
/// lbtSplitSped control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtSplitSped;
/// <summary>
/// lbtSendPack 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.LinkButton lbtSendPack;
/// <summary>
/// Controllo grView.
/// grView control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.GridView grView;
/// <summary>
/// Controllo ods.
/// ods control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// Controllo hfCodCli.
/// hfCodCli control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfCodCli;
/// <summary>
/// Controllo hfMaxStatus.
/// hfMaxStatus control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfMaxStatus;
}
+40 -6
View File
@@ -2415,7 +2415,7 @@ namespace MagData.DS_PackListTableAdapters {
[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[7];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[8];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT PackListID, PackDescr, ModDate, CodCliente, DescCliente, PackStatus, DescS" +
@@ -2449,17 +2449,23 @@ namespace MagData.DS_PackListTableAdapters {
this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodCliente", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[5].Connection = this.Connection;
this._commandCollection[5].CommandText = "dbo.stp_PackList_transfer";
this._commandCollection[5].CommandText = "dbo.stp_PackList_splitLoaded";
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("@PackListID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "dbo.stp_PackList_updateStatus";
this._commandCollection[6].CommandText = "dbo.stp_PackList_transfer";
this._commandCollection[6].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PackListID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Status", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[7].Connection = this.Connection;
this._commandCollection[7].CommandText = "dbo.stp_PackList_updateStatus";
this._commandCollection[7].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PackListID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Status", 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()]
@@ -2591,7 +2597,7 @@ namespace MagData.DS_PackListTableAdapters {
[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")]
public virtual int transfer(global::System.Nullable<int> PackListID) {
public virtual int splitLoaded(global::System.Nullable<int> PackListID) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[5];
if ((PackListID.HasValue == true)) {
command.Parameters[1].Value = ((int)(PackListID.Value));
@@ -2619,7 +2625,7 @@ namespace MagData.DS_PackListTableAdapters {
[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")]
public virtual int updateStatus(global::System.Nullable<int> PackListID, global::System.Nullable<int> Status) {
public virtual int transfer(global::System.Nullable<int> PackListID) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
if ((PackListID.HasValue == true)) {
command.Parameters[1].Value = ((int)(PackListID.Value));
@@ -2627,6 +2633,34 @@ namespace MagData.DS_PackListTableAdapters {
else {
command.Parameters[1].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", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int updateStatus(global::System.Nullable<int> PackListID, global::System.Nullable<int> Status) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[7];
if ((PackListID.HasValue == true)) {
command.Parameters[1].Value = ((int)(PackListID.Value));
}
else {
command.Parameters[1].Value = global::System.DBNull.Value;
}
if ((Status.HasValue == true)) {
command.Parameters[2].Value = ((int)(Status.Value));
}
+14 -3
View File
@@ -76,6 +76,17 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_PackList_splitLoaded" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="splitLoaded" Modifier="Public" Name="splitLoaded" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="splitLoaded">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_PackList_splitLoaded</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" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_PackList_transfer" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="transfer" Modifier="Public" Name="transfer" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="transfer">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
@@ -256,7 +267,7 @@
<xs:element name="DS_PackList" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_PackList" msprop:Generator_UserDSName="DS_PackList">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="PackList" msprop:Generator_TableClassName="PackListDataTable" msprop:Generator_TableVarName="tablePackList" msprop:Generator_RowChangedName="PackListRowChanged" msprop:Generator_TablePropName="PackList" msprop:Generator_RowDeletingName="PackListRowDeleting" msprop:Generator_RowChangingName="PackListRowChanging" msprop:Generator_RowEvHandlerName="PackListRowChangeEventHandler" msprop:Generator_RowDeletedName="PackListRowDeleted" msprop:Generator_RowClassName="PackListRow" msprop:Generator_UserTableName="PackList" msprop:Generator_RowEvArgName="PackListRowChangeEvent">
<xs:element name="PackList" msprop:Generator_TableClassName="PackListDataTable" msprop:Generator_TableVarName="tablePackList" msprop:Generator_TablePropName="PackList" msprop:Generator_RowDeletingName="PackListRowDeleting" msprop:Generator_RowChangingName="PackListRowChanging" msprop:Generator_RowEvHandlerName="PackListRowChangeEventHandler" msprop:Generator_RowDeletedName="PackListRowDeleted" msprop:Generator_UserTableName="PackList" msprop:Generator_RowChangedName="PackListRowChanged" msprop:Generator_RowEvArgName="PackListRowChangeEvent" msprop:Generator_RowClassName="PackListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="PackListID" msprop:Generator_ColumnVarNameInTable="columnPackListID" msprop:Generator_ColumnPropNameInRow="PackListID" msprop:Generator_ColumnPropNameInTable="PackListIDColumn" msprop:Generator_UserColumnName="PackListID" type="xs:int" />
@@ -295,7 +306,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrdersList" msprop:Generator_TableClassName="OrdersListDataTable" msprop:Generator_TableVarName="tableOrdersList" msprop:Generator_RowChangedName="OrdersListRowChanged" msprop:Generator_TablePropName="OrdersList" msprop:Generator_RowDeletingName="OrdersListRowDeleting" msprop:Generator_RowChangingName="OrdersListRowChanging" msprop:Generator_RowEvHandlerName="OrdersListRowChangeEventHandler" msprop:Generator_RowDeletedName="OrdersListRowDeleted" msprop:Generator_RowClassName="OrdersListRow" msprop:Generator_UserTableName="OrdersList" msprop:Generator_RowEvArgName="OrdersListRowChangeEvent">
<xs:element name="OrdersList" msprop:Generator_TableClassName="OrdersListDataTable" msprop:Generator_TableVarName="tableOrdersList" msprop:Generator_TablePropName="OrdersList" msprop:Generator_RowDeletingName="OrdersListRowDeleting" msprop:Generator_RowChangingName="OrdersListRowChanging" msprop:Generator_RowEvHandlerName="OrdersListRowChangeEventHandler" msprop:Generator_RowDeletedName="OrdersListRowDeleted" msprop:Generator_UserTableName="OrdersList" msprop:Generator_RowChangedName="OrdersListRowChanged" msprop:Generator_RowEvArgName="OrdersListRowChangeEvent" msprop:Generator_RowClassName="OrdersListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="OrderListID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnOrderListID" msprop:Generator_ColumnPropNameInRow="OrderListID" msprop:Generator_ColumnPropNameInTable="OrderListIDColumn" msprop:Generator_UserColumnName="OrderListID" type="xs:int" />
@@ -334,7 +345,7 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ExtOrdersList" msprop:Generator_TableClassName="ExtOrdersListDataTable" msprop:Generator_TableVarName="tableExtOrdersList" msprop:Generator_RowChangedName="ExtOrdersListRowChanged" msprop:Generator_TablePropName="ExtOrdersList" msprop:Generator_RowDeletingName="ExtOrdersListRowDeleting" msprop:Generator_RowChangingName="ExtOrdersListRowChanging" msprop:Generator_RowEvHandlerName="ExtOrdersListRowChangeEventHandler" msprop:Generator_RowDeletedName="ExtOrdersListRowDeleted" msprop:Generator_RowClassName="ExtOrdersListRow" msprop:Generator_UserTableName="ExtOrdersList" msprop:Generator_RowEvArgName="ExtOrdersListRowChangeEvent">
<xs:element name="ExtOrdersList" msprop:Generator_TableClassName="ExtOrdersListDataTable" msprop:Generator_TableVarName="tableExtOrdersList" msprop:Generator_TablePropName="ExtOrdersList" msprop:Generator_RowDeletingName="ExtOrdersListRowDeleting" msprop:Generator_RowChangingName="ExtOrdersListRowChanging" msprop:Generator_RowEvHandlerName="ExtOrdersListRowChangeEventHandler" msprop:Generator_RowDeletedName="ExtOrdersListRowDeleted" msprop:Generator_UserTableName="ExtOrdersList" msprop:Generator_RowChangedName="ExtOrdersListRowChanged" msprop:Generator_RowEvArgName="ExtOrdersListRowChangeEvent" msprop:Generator_RowClassName="ExtOrdersListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="RigaOrd" msprop:Generator_ColumnVarNameInTable="columnRigaOrd" msprop:Generator_ColumnPropNameInRow="RigaOrd" msprop:Generator_ColumnPropNameInTable="RigaOrdColumn" msprop:Generator_UserColumnName="RigaOrd" type="xs:int" />