FIXED selezione imballi in postazioni liquidi (vecchia e nuova) di SP
This commit is contained in:
Samuele Locatelli
2014-07-09 18:11:27 +02:00
parent ce2b7f977d
commit 0f5faafb7d
23 changed files with 378 additions and 51 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+5 -5
View File
@@ -274,19 +274,19 @@
<add key="userCanDelUdc" value="true" />
<!--Setup installazione-->
<add key="passkey" value="pi=314" />
<add key="CodCS" value="TK" />
<add key="CodCS" value="SP" />
<add key="MinutiFinestraEditUDC" value="10" />
<add key="_adminEmail" value="giancarlo@steamware.net" />
<add key="_smtpCli" value="keyhammer.ath.cx" />
<add key="GMWConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=TK_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="GMWConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="SP_produzioneConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_Produzione;Persist Security Info=True;User ID=connGMW;Password=steamware" />
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=TK_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=GMW_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=TK_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="VocabolarioConnectionString" value="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="owin:AutomaticAppStartup" value="false" />
</appSettings>
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=10.74.82.217\sql2008r2;Initial Catalog=TK_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="GMW_data.Properties.Settings.GMWConnectionString" connectionString="Data Source=10.74.82.217\sql2008r2;Initial Catalog=SP_GMWTest;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
</connectionStrings>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true">
+14
View File
@@ -121,6 +121,20 @@
<asp:LinkButton runat="server" ID="lbtUpdQty" Font-Size="18pt" CssClass="btn btn-success" Width="100%" OnClick="lbtUpdQty_Click"><i aria-hidden='true' class='glyphicon glyphicon-pencil'></i> <%: traduci("updateQty") %></asp:LinkButton>
</div>
</div>
<div id="divImballi" runat="server" class="panel panel-primary panel-sm">
<div class="panel-heading">
<b><%: traduci("CodImballo") %></b>
</div>
<div class="panel-body">
<asp:Label runat="server" ID="lblPart" />
<asp:DropDownList runat="server" ID="ddlImballi" DataSourceID="odsImballi" DataTextField="value" DataValueField="value" OnDataBound="ddlImballi_DataBound" Font-Size="2em"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsImballi" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPart" TypeName="GMW_data.DS_UtilityTableAdapters.v_selImballiTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="lblPart" DefaultValue="" PropertyName="Text" Name="Particolare" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
</div>
+55 -1
View File
@@ -158,6 +158,23 @@ namespace GMW.WebUserControls
}
}
/// <summary>
/// cod imballo dell'ultimo UDC del particolare generato
/// </summary>
public string lastCodImb
{
get
{
string answ = "";
try
{
answ = MagClass.magazzino.taCartellini.getLastByParticolareStato(memLayer.ML.StringSessionObj("CodCS"), currParticolare, statoUdcOut)[0].CodImballo;
}
catch
{ }
return answ;
}
}
/// <summary>
/// qta pezzi x UDC
/// </summary>
public int qta
@@ -248,6 +265,11 @@ namespace GMW.WebUserControls
showBtn = true;
}
divQta.Visible = showBtn;
divImballi.Visible = showBtn;
if (showBtn)
{
selezionaImballo();
}
// definisce se mostrare controlli x forzare trattamento / UDC di riferimento 0000 oppure uno vero...
divForceUdcTratt.Visible = showForceUdcTratt;
}
@@ -863,7 +885,7 @@ namespace GMW.WebUserControls
try
{
// update UDC!
fatto = MagClass.magazzino.liquidiFullUpdate("", flussoAnc, currUDC, noteTrim, MagClass.magazzino.CodSoggCurrUser);
fatto = MagClass.magazzino.liquidiFullUpdate("", flussoAnc, currUDC, ddlImballi.SelectedValue, noteTrim, MagClass.magazzino.CodSoggCurrUser);
}
catch
{ }
@@ -905,6 +927,38 @@ namespace GMW.WebUserControls
return memLayer.ML.StringSessionObj("udcSelSAO");
}
}
/// <summary>
/// preseleziono (se possibile) imballo...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ddlImballi_DataBound(object sender, EventArgs e)
{
selezionaImballo();
}
/// <summary>
/// seleziona imballo corretto
/// </summary>
private void selezionaImballo()
{
string codImb = "";
// cerco se c'è un imballo x particolare corrente...
if (currParticolare != "")
{
codImb = lastCodImb;
}
else
{
codImb = memLayer.ML.confReadString("CodImballoFiniti");
}
try
{
// preseleziono
ddlImballi.SelectedValue = codImb;
}
catch
{ }
}
}
}
+36
View File
@@ -200,5 +200,41 @@ namespace GMW.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtUpdQty;
/// <summary>
/// divImballi control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divImballi;
/// <summary>
/// lblPart 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 lblPart;
/// <summary>
/// ddlImballi 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.DropDownList ddlImballi;
/// <summary>
/// odsImballi 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.ObjectDataSource odsImballi;
}
}
+14
View File
@@ -167,6 +167,20 @@
<asp:LinkButton runat="server" ID="lbtUpdQty" Font-Size="18pt" CssClass="btn btn-success" Width="100%" OnClick="lbtUpdQty_Click"><i aria-hidden='true' class='glyphicon glyphicon-pencil'></i> <%: traduci("updateQty") %></asp:LinkButton>
</div>
</div>
<div id="divImballi" runat="server" class="panel panel-primary panel-sm">
<div class="panel-heading">
<b><%: traduci("CodImballo") %></b>
</div>
<div class="panel-body">
<asp:Label runat="server" ID="lblPart" />
<asp:DropDownList runat="server" ID="ddlImballi" DataSourceID="odsImballi" DataTextField="value" DataValueField="value" OnDataBound="ddlImballi_DataBound" Font-Size="2em"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsImballi" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPart" TypeName="GMW_data.DS_UtilityTableAdapters.v_selImballiTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="lblPart" DefaultValue="" PropertyName="Text" Name="Particolare" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
</div>
</div>
+60 -1
View File
@@ -192,6 +192,25 @@ namespace GMW.WebUserControls
}
}
/// <summary>
/// cod imballo dell'ultimo UDC del particolare generato
/// </summary>
public string lastCodImb
{
get
{
string answ = "";
try
{
answ = MagClass.magazzino.taCartellini.getLastByParticolareStato(memLayer.ML.StringSessionObj("CodCS"), currParticolare, statoUdcOut)[0].CodImballo;
}
catch
{
answ = memLayer.ML.confReadString("CodImballoFiniti");
}
return answ;
}
}
/// <summary>
/// qta pezzi x UDC
/// </summary>
public int qta
@@ -314,6 +333,11 @@ namespace GMW.WebUserControls
showBtn = true;
}
divQta.Visible = showBtn;
divImballi.Visible = showBtn;
if (showBtn)
{
selezionaImballo();
}
}
/// <summary>
/// reset maschera...
@@ -898,6 +922,9 @@ namespace GMW.WebUserControls
currParticolare = DataProxy.obj.taCartellini.stp_getByUdc(currUDC)[0].Particolare;
qta = Convert.ToInt32(DataProxy.obj.taCartellini.stp_getByUdc(currUDC)[0].Qta);
qtaDtx = Convert.ToInt32(MagClass.magazzino.taA2U2D.getByUDC(currUDC)[0].QtaDtx);
// imposto particolare...
lblPart.Text = currParticolare;
ddlImballi.DataBind();
}
Postazione.messaggiText = traduci("partSelected");
Postazione.warningText = "";
@@ -1134,7 +1161,7 @@ namespace GMW.WebUserControls
try
{
// update UDC!
fatto = MagClass.magazzino.liquidiFullUpdate(sourceAL, flussoAnc, currUDC, noteTrim, MagClass.magazzino.CodSoggCurrUser);
fatto = MagClass.magazzino.liquidiFullUpdate(sourceAL, flussoAnc, currUDC, ddlImballi.SelectedValue, noteTrim, MagClass.magazzino.CodSoggCurrUser);
}
catch
{ }
@@ -1205,6 +1232,38 @@ namespace GMW.WebUserControls
}
}
}
/// <summary>
/// preseleziono (se possibile) imballo...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ddlImballi_DataBound(object sender, EventArgs e)
{
selezionaImballo();
}
/// <summary>
/// seleziona imballo corretto
/// </summary>
private void selezionaImballo()
{
string codImb = "";
// cerco se c'è un imballo x particolare corrente...
if (currParticolare != "")
{
codImb = lastCodImb;
}
else
{
codImb = memLayer.ML.confReadString("CodImballoFiniti");
}
try
{
// preseleziono
ddlImballi.SelectedValue = codImb;
}
catch
{ }
}
}
}
+36
View File
@@ -236,5 +236,41 @@ namespace GMW.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtUpdQty;
/// <summary>
/// divImballi control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divImballi;
/// <summary>
/// lblPart 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 lblPart;
/// <summary>
/// ddlImballi 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.DropDownList ddlImballi;
/// <summary>
/// odsImballi 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.ObjectDataSource odsImballi;
}
}
@@ -93,6 +93,20 @@
</div>
</div>
</div>
<div id="divImballi" runat="server" class="panel panel-primary panel-sm">
<div class="panel-heading">
<b><%: traduci("CodImballo") %></b>
</div>
<div class="panel-body">
<asp:Label runat="server" ID="lblPart" />
<asp:DropDownList runat="server" ID="ddlImballi" DataSourceID="odsImballi" DataTextField="value" DataValueField="value" OnDataBound="ddlImballi_DataBound" Font-Size="2em"></asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsImballi" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPart" TypeName="GMW_data.DS_UtilityTableAdapters.v_selImballiTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="lblPart" DefaultValue="" PropertyName="Text" Name="Particolare" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<asp:Button runat="server" ID="btnStampa" CssClass="btn btn-warning" Height="120px" Width="100%" Font-Size="20pt" OnClick="btnStampa_Click" TabIndex="5" />
@@ -207,6 +207,25 @@ namespace GMW.WebUserControls
}
}
/// <summary>
/// cod imballo dell'ultimo UDC del particolare generato
/// </summary>
public string lastCodImb
{
get
{
string answ = "";
try
{
answ = MagClass.magazzino.taCartellini.getLastByParticolareStato(memLayer.ML.StringSessionObj("CodCS"), currParticolare, statoUDC)[0].CodImballo;
}
catch
{
answ = memLayer.ML.confReadString("CodImballoFiniti");
}
return answ;
}
}
/// <summary>
/// decodifica il tipo barcode acquisito
/// </summary>
public tipoCodiceBarcode tipoBCode
@@ -292,6 +311,8 @@ namespace GMW.WebUserControls
case tipoCodiceBarcode.Particolare:
// imposto il particolare corrente
currParticolare = barcodeIn;
// imposto particolare...
lblPart.Text = currParticolare;
// controllo esista il particolare scansionato
if (DataProxy.obj.taAnagParticolari.getByParticolare(currParticolare).Rows.Count == 0)
{
@@ -321,6 +342,8 @@ namespace GMW.WebUserControls
{
txtQta.Text = memLayer.ML.confReadString("QtaImballoLiquidi");
}
// fix imballo
ddlImballi.DataBind();
break;
case tipoCodiceBarcode.UDC:
// procedo solo se UDC esistente
@@ -587,6 +610,38 @@ namespace GMW.WebUserControls
{
txtNote.Text = "";
}
/// <summary>
/// preseleziono (se possibile) imballo...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ddlImballi_DataBound(object sender, EventArgs e)
{
selezionaImballo();
}
/// <summary>
/// seleziona imballo corretto
/// </summary>
private void selezionaImballo()
{
string codImb = "";
// cerco se c'è un imballo x particolare corrente...
if (currParticolare != "")
{
codImb = lastCodImb;
}
else
{
codImb = memLayer.ML.confReadString("CodImballoFiniti");
}
try
{
// preseleziono
ddlImballi.SelectedValue = codImb;
}
catch
{ }
}
}
}
@@ -192,6 +192,42 @@ namespace GMW.WebUserControls {
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtQta;
/// <summary>
/// divImballi control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divImballi;
/// <summary>
/// lblPart 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 lblPart;
/// <summary>
/// ddlImballi 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.DropDownList ddlImballi;
/// <summary>
/// odsImballi 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.ObjectDataSource odsImballi;
/// <summary>
/// btnStampa control.
/// </summary>
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+17 -10
View File
@@ -23292,6 +23292,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@SourceAL", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TipoAlAnc", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@UDC", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodImballo", global::System.Data.SqlDbType.VarChar, 15, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Note", global::System.Data.SqlDbType.VarChar, 500, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataOra", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[14].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodSoggetto", global::System.Data.SqlDbType.NVarChar, 17, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -23632,7 +23633,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_magazzino.ElencoCartelliniDataTable UdcLiqFullUpdate(string SourceAL, string TipoAlAnc, string UDC, string Note, global::System.Nullable<global::System.DateTime> DataOra, string CodSoggetto) {
public virtual DS_magazzino.ElencoCartelliniDataTable UdcLiqFullUpdate(string SourceAL, string TipoAlAnc, string UDC, string CodImballo, string Note, global::System.Nullable<global::System.DateTime> DataOra, string CodSoggetto) {
this.Adapter.SelectCommand = this.CommandCollection[14];
if ((SourceAL == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
@@ -23652,23 +23653,29 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
else {
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(UDC));
}
if ((Note == null)) {
if ((CodImballo == null)) {
this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(Note));
this.Adapter.SelectCommand.Parameters[4].Value = ((string)(CodImballo));
}
if ((DataOra.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[5].Value = ((System.DateTime)(DataOra.Value));
}
else {
if ((Note == null)) {
this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
}
if ((CodSoggetto == null)) {
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
else {
this.Adapter.SelectCommand.Parameters[5].Value = ((string)(Note));
}
if ((DataOra.HasValue == true)) {
this.Adapter.SelectCommand.Parameters[6].Value = ((System.DateTime)(DataOra.Value));
}
else {
this.Adapter.SelectCommand.Parameters[6].Value = ((string)(CodSoggetto));
this.Adapter.SelectCommand.Parameters[6].Value = global::System.DBNull.Value;
}
if ((CodSoggetto == null)) {
this.Adapter.SelectCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[7].Value = ((string)(CodSoggetto));
}
DS_magazzino.ElencoCartelliniDataTable dataTable = new DS_magazzino.ElencoCartelliniDataTable();
this.Adapter.Fill(dataTable);
+1
View File
@@ -396,6 +396,7 @@ SELECT UDC, CodCS, CodCliente, RagSociale, Particolare, DescParticolare, Disegno
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@SourceAL" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="char" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@TipoAlAnc" Precision="0" ProviderType="Char" Scale="0" Size="1" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@UDC" Precision="0" ProviderType="VarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@CodImballo" Precision="0" ProviderType="VarChar" Scale="0" Size="15" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@Note" Precision="0" ProviderType="VarChar" Scale="0" Size="500" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@DataOra" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodSoggetto" Precision="0" ProviderType="NVarChar" Scale="0" Size="17" SourceColumnNullMapping="false" SourceVersion="Current" />
+28 -28
View File
@@ -4,44 +4,44 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-153" ViewPortY="335" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-153" ViewPortY="104" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoCartellini" ZOrder="3" X="87" Y="230" Height="495" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:ElencoCartellini" ZOrder="1" X="87" Y="230" Height="495" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
<Shape ID="DesignTable:AnagMag" ZOrder="26" X="1047" Y="389" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="23" X="409" Y="544" Height="286" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="24" X="409" Y="544" Height="286" Width="245" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="50" X="412" Y="310" Height="168" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Blocchi" ZOrder="45" X="1072" Y="655" Height="325" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="181" />
<Shape ID="DesignTable:Celle" ZOrder="28" X="712" Y="420" Height="438" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:TipoCella" ZOrder="33" X="1007" Y="-15" Height="362" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_UdcDetail" ZOrder="10" X="693" Y="-21" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagImballi" ZOrder="15" X="318" Y="-36" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:v_UdcDetail" ZOrder="11" X="693" Y="-21" Height="419" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagImballi" ZOrder="16" X="318" Y="-36" Height="172" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="35" X="95" Y="1131" Height="248" Width="265" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="24" X="733" Y="1102" Height="362" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="2" X="732" Y="1116" Height="362" Width="271" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:V_DettMagPart" ZOrder="31" X="1027" Y="998" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="1" X="735" Y="891" Height="229" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="3" X="736" Y="876" Height="229" Width="244" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:RigheListePrelievo" ZOrder="36" X="86" Y="797" Height="307" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="18" X="430" Y="879" Height="381" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="19" X="430" Y="879" Height="381" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_righeListePrelievoPosizione" ZOrder="37" X="400" Y="1301" Height="343" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_particolariEsponenteFigura" ZOrder="41" X="1042" Y="1386" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:AnagPosizioni" ZOrder="14" X="450" Y="116" Height="153" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagPosizioni" ZOrder="15" X="450" Y="116" Height="153" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:V_statoCelleCapienzaAssegnati" ZOrder="38" X="111" Y="1437" Height="229" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:V_MagazziniLogiciOverview" ZOrder="32" X="730" Y="1495" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:RapQual" ZOrder="27" X="1071" Y="1633" Height="419" Width="293" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="292" />
<Shape ID="DesignTable:v_posizioniDelibere" ZOrder="30" X="107" Y="1701" Height="134" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_RapQualSunto" ZOrder="29" X="498" Y="1731" Height="267" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:AnagParticolari" ZOrder="9" X="765" Y="1768" Height="229" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagParticolari" ZOrder="10" X="765" Y="1768" Height="229" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:AnagLeghe" ZOrder="25" X="131" Y="1854" Height="134" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:StoricoAzioniOperatore" ZOrder="22" X="104" Y="2017" Height="324" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:stp_MagFifoByParticolare" ZOrder="21" X="354" Y="2020" Height="229" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:stp_UDC_FifoByParticolareBlocco" ZOrder="20" X="598" Y="2021" Height="153" Width="190" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoPostazioni" ZOrder="19" X="817" Y="2069" Height="172" Width="206" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagLinee" ZOrder="17" X="1119" Y="2077" Height="362" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:stp_ParticolareInOutOk" ZOrder="16" X="474" Y="2283" Height="96" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:Attr2UDC" ZOrder="12" X="85" Y="-9" Height="210" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ElencoAssiemi" ZOrder="2" X="-137" Y="550" Height="343" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AL2UDC" ZOrder="5" X="-138" Y="289" Height="210" Width="190" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoTrattamenti" ZOrder="4" X="-138" Y="928" Height="362" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_A2U2D" ZOrder="7" X="-143" Y="1320" Height="210" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:StoricoAzioniOperatore" ZOrder="23" X="104" Y="2017" Height="324" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:stp_MagFifoByParticolare" ZOrder="22" X="354" Y="2020" Height="229" Width="212" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:stp_UDC_FifoByParticolareBlocco" ZOrder="21" X="598" Y="2021" Height="153" Width="190" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoPostazioni" ZOrder="20" X="817" Y="2069" Height="172" Width="206" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:AnagLinee" ZOrder="18" X="1119" Y="2077" Height="362" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:stp_ParticolareInOutOk" ZOrder="17" X="474" Y="2283" Height="96" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:Attr2UDC" ZOrder="13" X="85" Y="-9" Height="210" Width="200" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ElencoAssiemi" ZOrder="4" X="-137" Y="550" Height="343" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:AL2UDC" ZOrder="6" X="-138" Y="289" Height="210" Width="190" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ElencoTrattamenti" ZOrder="5" X="-138" Y="928" Height="362" Width="209" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_A2U2D" ZOrder="8" X="-143" Y="1320" Height="210" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="51" LineWidth="11">
@@ -143,12 +143,12 @@
<Connector ID="DesignRelation:FK_ElencoListePrelievo_TipoListaPrelievo11" ZOrder="42" LineWidth="11">
<RoutePoints>
<Point>
<X>735</X>
<Y>977</Y>
<X>736</X>
<Y>962</Y>
</Point>
<Point>
<X>656</X>
<Y>977</Y>
<Y>962</Y>
</Point>
</RoutePoints>
</Connector>
@@ -184,7 +184,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Attr2UDC_ElencoCartellini" ZOrder="13" LineWidth="11">
<Connector ID="DesignRelation:FK_Attr2UDC_ElencoCartellini" ZOrder="14" LineWidth="11">
<RoutePoints>
<Point>
<X>174</X>
@@ -196,7 +196,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AL2UDC_ElencoAssiemi" ZOrder="8" LineWidth="11">
<Connector ID="DesignRelation:FK_AL2UDC_ElencoAssiemi" ZOrder="9" LineWidth="11">
<RoutePoints>
<Point>
<X>-39</X>
@@ -208,7 +208,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AL2UDC_ElencoCartellini" ZOrder="11" LineWidth="11">
<Connector ID="DesignRelation:FK_AL2UDC_ElencoCartellini" ZOrder="12" LineWidth="11">
<RoutePoints>
<Point>
<X>87</X>
@@ -220,7 +220,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ElencoTrattamenti_ElencoAssiemi" ZOrder="6" LineWidth="11">
<Connector ID="DesignRelation:FK_ElencoTrattamenti_ElencoAssiemi" ZOrder="7" LineWidth="11">
<RoutePoints>
<Point>
<X>-47</X>
+3 -2
View File
@@ -619,15 +619,16 @@ namespace GMW_data
/// <param name="SourceAL">AL sorgente in postazione (ATL)</param>
/// <param name="TipoAlAnc">Tipo cart da legare (TT)</param>
/// <param name="UDC">Cod UDC da processare</param>
/// <param name="UDC">Cod Imballo</param>
/// <param name="Note">Note x cartellino</param>
/// <param name="CodSoggetto">Cod soggetto</param>
/// <returns></returns>
public bool liquidiFullUpdate(string SourceAL, string TipoAlAnc, string UDC, string Note, string CodSoggetto)
public bool liquidiFullUpdate(string SourceAL, string TipoAlAnc, string UDC, string CodImb, string Note, string CodSoggetto)
{
bool answ = false;
try
{
DS_magazzino.ElencoCartelliniRow riga = taCartellini.UdcLiqFullUpdate(SourceAL, TipoAlAnc, UDC, Note, DateTime.Now, CodSoggetto)[0];
DS_magazzino.ElencoCartelliniRow riga = taCartellini.UdcLiqFullUpdate(SourceAL, TipoAlAnc, UDC, CodImb, Note, DateTime.Now, CodSoggetto)[0];
answ = true;
}
catch
+2 -2
View File
@@ -5,7 +5,7 @@
using System.Reflection;
[assembly: AssemblyVersion("2.5.715.1650")]
[assembly: AssemblyFileVersion("2.5.715.1650")]
[assembly: AssemblyVersion("2.5.716.1650")]
[assembly: AssemblyFileVersion("2.5.716.1650")]
[assembly: AssemblyCopyright("Steamware © 2007-2014")]
[assembly: AssemblyCompany("Steamware")]
+2 -2
View File
@@ -6,8 +6,8 @@
using System.Reflection;
[assembly: AssemblyVersion("2.5.715.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.5.715.<#= this.RevisionNumber #>")]
[assembly: AssemblyVersion("2.5.716.<#= this.RevisionNumber #>")]
[assembly: AssemblyFileVersion("2.5.716.<#= this.RevisionNumber #>")]
[assembly: AssemblyCopyright("Steamware © 2007-<#= DateTime.Now.Year #>")]
[assembly: AssemblyCompany("Steamware")]
<#+