From 3dfa2c0316a8d3f2a89f8381ec959d7370b75fdf Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 17 Mar 2020 18:38:18 +0100 Subject: [PATCH] ok creazione lotto da articolo SELEZIONATO --- MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs | 1 + MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx | 2 +- MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx.cs | 7 +++++++ MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx | 2 +- MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx.cs | 7 +++++++ 5 files changed, 17 insertions(+), 2 deletions(-) diff --git a/MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs b/MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs index efdb995..9e40a8f 100644 --- a/MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs +++ b/MP-MAG/WebUserControls/cmp_prtSemilav.ascx.cs @@ -157,6 +157,7 @@ namespace MP_MAG.WebUserControls // creo lotto secondo indicazioni... string RifExt = "000"; // !!!FIXME!!! da gestire DAVVERO, poiché da postazione si legge la commessa --> so COSA deve produrre in uscita e POTREI filtrare pure x quello MagDataLayer.man.taEL.insertQuery(tipoLotto, cmp_semiLavArtOut.CodArtSel, codStato, origine, "", cmp_creaLottoOUT.qtaOrig, cmp_creaLottoOUT.numUdc,RifExt, cmp_semiLavLottiIn.elLotti); + cmp_semiLavLottiOut.doUpdate(); } /// diff --git a/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx b/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx index f43a10d..08995f6 100644 --- a/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx +++ b/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx @@ -20,7 +20,7 @@ - + diff --git a/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx.cs b/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx.cs index 8473034..1c7b84c 100644 --- a/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx.cs +++ b/MP-MAG/WebUserControls/cmp_semiLavArtOut.ascx.cs @@ -60,6 +60,13 @@ namespace MP_MAG.WebUserControls grView.SelectedIndex = -1; grView.DataBind(); } + /// + /// Update grid view + /// + public void doUpdate() + { + grView.DataBind(); + } protected void resetSelezione() { grView.SelectedIndex = -1; diff --git a/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx b/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx index b43d52e..9ea9970 100644 --- a/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx +++ b/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx @@ -21,7 +21,7 @@ - + diff --git a/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx.cs b/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx.cs index 01ff017..d5e4c05 100644 --- a/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx.cs +++ b/MP-MAG/WebUserControls/cmp_semiLavLottiOut.ascx.cs @@ -57,6 +57,13 @@ namespace MP_MAG.WebUserControls resetSelezione(); } + /// + /// Update grid view + /// + public void doUpdate() + { + grView.DataBind(); + } public void deSelect() { grView.SelectedIndex = -1;