From 161f392b71f39a6b0497df5d5e7ea406b7b2cc5e Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 27 Jan 2021 08:21:57 +0100 Subject: [PATCH] spostamento modulo a nuova denominazione --- MP-ADM/MP-ADM.csproj | 16 +- MP-ADM/Planner.aspx | 10 +- MP-ADM/Planner.aspx.cs | 6 +- MP-ADM/Planner.aspx.designer.cs | 30 +- MP-ADM/WebUserControls/cmp_PODL_OUT.ascx | 246 +++++++ MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs | 690 +++++++++++++++++- .../cmp_PODL_OUT.ascx.designer.cs | 225 +++++- .../WebUserControls/mod_gestPromODL_OUT.ascx | 247 ------- .../mod_gestPromODL_OUT.ascx.cs | 684 ----------------- .../mod_gestPromODL_OUT.ascx.designer.cs | 231 ------ 10 files changed, 1182 insertions(+), 1203 deletions(-) delete mode 100644 MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx delete mode 100644 MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx.cs delete mode 100644 MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx.designer.cs diff --git a/MP-ADM/MP-ADM.csproj b/MP-ADM/MP-ADM.csproj index a8e34a9f..9672f985 100644 --- a/MP-ADM/MP-ADM.csproj +++ b/MP-ADM/MP-ADM.csproj @@ -603,6 +603,7 @@ + @@ -622,7 +623,6 @@ - @@ -962,6 +962,13 @@ cmp_planStats_Mac.ascx + + cmp_PODL_OUT.ascx + ASPXCodeBehind + + + cmp_PODL_OUT.ascx + cmp_ST_detail.ascx ASPXCodeBehind @@ -1095,13 +1102,6 @@ mod_gestPromODL.ascx - - mod_gestPromODL_OUT.ascx - ASPXCodeBehind - - - mod_gestPromODL_OUT.ascx - mod_login.ascx ASPXCodeBehind diff --git a/MP-ADM/Planner.aspx b/MP-ADM/Planner.aspx index 58e45435..7180c8fe 100644 --- a/MP-ADM/Planner.aspx +++ b/MP-ADM/Planner.aspx @@ -2,7 +2,7 @@ <%@ Register Src="~/WebUserControls/cmp_planStats.ascx" TagPrefix="uc1" TagName="cmp_planStats" %> <%@ Register Src="~/WebUserControls/cmp_planApprove.ascx" TagPrefix="uc1" TagName="cmp_planApprove" %> -<%@ Register Src="~/WebUserControls/mod_gestPromODL_OUT.ascx" TagPrefix="uc1" TagName="mod_gestPromODL_OUT" %> +<%@ Register Src="~/WebUserControls/cmp_PODL_OUT.ascx" TagPrefix="uc1" TagName="cmp_PODL_OUT" %> @@ -23,13 +23,7 @@
- <%--
- rivedere il discorso dei FREEPASS autogenerati... x filtrare x TIPO creazione -
- ordinare SEMPRE x priorità ASC (FIFO) e indicarlo!!! -
- togliere filtri da header e/o gestione toggle e/o nascondere creazione promessa?--%> - +
diff --git a/MP-ADM/Planner.aspx.cs b/MP-ADM/Planner.aspx.cs index 2fb8b718..ca0e8162 100644 --- a/MP-ADM/Planner.aspx.cs +++ b/MP-ADM/Planner.aspx.cs @@ -23,19 +23,19 @@ namespace MP_ADM private void Cmp_planApprove_eh_nuovoValore(object sender, EventArgs e) { cmp_planStats.doReset(); - mod_gestPromODL_OUT.resetSelezione(); + cmp_PODL_OUT.resetSelezione(); } private void Cmp_planApprove_eh_resetSelezione(object sender, EventArgs e) { cmp_planStats.doReset(); - mod_gestPromODL_OUT.resetSelezione(); + cmp_PODL_OUT.resetSelezione(); } private void Cmp_planApprove_eh_selValore(object sender, EventArgs e) { cmp_planStats.doReset(); - mod_gestPromODL_OUT.resetSelezione(); + cmp_PODL_OUT.resetSelezione(); } private void cmp_planStats_eh_reset(object sender, EventArgs e) diff --git a/MP-ADM/Planner.aspx.designer.cs b/MP-ADM/Planner.aspx.designer.cs index 7c703080..f69c71a1 100644 --- a/MP-ADM/Planner.aspx.designer.cs +++ b/MP-ADM/Planner.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace MP_ADM { - - - public partial class Planner { - +namespace MP_ADM +{ + + + public partial class Planner + { + /// /// Controllo lblDataImportOut. /// @@ -20,7 +22,7 @@ namespace MP_ADM { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.Label lblDataImportOut; - + /// /// Controllo divContent. /// @@ -29,7 +31,7 @@ namespace MP_ADM { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divContent; - + /// /// Controllo cmp_planStats. /// @@ -38,7 +40,7 @@ namespace MP_ADM { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MP_ADM.WebUserControls.cmp_planStats cmp_planStats; - + /// /// Controllo cmp_planApprove. /// @@ -47,7 +49,7 @@ namespace MP_ADM { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::MP_ADM.WebUserControls.cmp_planApprove cmp_planApprove; - + /// /// Controllo lbtToggle. /// @@ -56,7 +58,7 @@ namespace MP_ADM { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.WebControls.LinkButton lbtToggle; - + /// /// Controllo tgIcon. /// @@ -65,7 +67,7 @@ namespace MP_ADM { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl tgIcon; - + /// /// Controllo divPromOUT. /// @@ -74,14 +76,14 @@ namespace MP_ADM { /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divPromOUT; - + /// - /// Controllo mod_gestPromODL_OUT. + /// Controllo cmp_PODL_OUT. /// /// /// Campo generato automaticamente. /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. /// - protected global::MP_ADM.WebUserControls.mod_gestPromODL_OUT mod_gestPromODL_OUT; + protected global::MP_ADM.WebUserControls.cmp_PODL_OUT cmp_PODL_OUT; } } diff --git a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx index 11c0e60a..f6ab374f 100644 --- a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx +++ b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx @@ -1 +1,247 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_PODL_OUT.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_PODL_OUT" %> + +<%@ Register Src="~/WebUserControls/mod_newPromessaODL.ascx" TagPrefix="uc1" TagName="mod_newPromessaODL" %> + +
+
+
+
+

Filtri attivi

+
+
+ REPARTO +
+ + + + +
+
+
+
+ Articolo + + +
+
+
+
+
+
+ Macchina + + +
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+ PROMESSA ODL +
+
+
+ +
+
+
+
+ Modifica +
+
+ # Pezzi Richiesti: + +
+
+ Pezzi Pallet: + +
+
+ Annulla +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + <%# Eval("CodArticolo") %> + +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+
+ + + + + <%# Eval("Nome") %> +
<%# Eval("CodMacchina") %>
+
+
+
+ + + + + + + + + + + +
+ + (m:s) +
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+
+ + + + +
+
+
+
+
+ + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ +
\ No newline at end of file diff --git a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs index da175387..f834d009 100644 --- a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs +++ b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.cs @@ -1,5 +1,7 @@ -using System; +using SteamWare; +using System; using System.Collections.Generic; +using System.Data; using System.Linq; using System.Web; using System.Web.UI; @@ -7,11 +9,691 @@ using System.Web.UI.WebControls; namespace MP_ADM.WebUserControls { - public partial class cmp_PODL_OUT : System.Web.UI.UserControl + public partial class cmp_PODL_OUT : BaseUserControl { - protected void Page_Load(object sender, EventArgs e) - { + #region Protected Fields + protected string _idxGridView; + + #endregion Protected Fields + + #region Public Fields + + /// + /// Determina se sia solo readonly il controllo... + /// + public bool readOnly; + + #endregion Public Fields + + #region Protected Properties + + /// + /// CodArt filtrato + /// + protected string CodArt + { + get + { + return lblCodArt.Text; + } + set + { + lblCodArt.Text = value; + } } + + /// + /// CodArt filtrato + /// + protected string DescArt + { + get + { + return lblDescArt.Text; + } + set + { + lblDescArt.Text = value; + } + } + + /// + /// IdxMacchina filtrata + /// + protected string idxMacc + { + get + { + return lblIdxMacc.Text; + } + set + { + lblIdxMacc.Text = value; + } + } + + /// + /// idxOdl selezionato + /// + protected int idxPOdlSel + { + get + { + int answ = 0; + try + { + answ = Convert.ToInt32(grView.SelectedValue); + } + catch + { } + return answ; + } + } + + /// + /// Nome filtrata + /// + protected string NomeMacc + { + get + { + return lblNomeMacc.Text; + } + set + { + lblNomeMacc.Text = value; + } + } + + /// + /// Nuovo num pz + /// + protected int numPz + { + get + { + int answ = 0; + try + { + answ = Convert.ToInt32(txtNewQta.Text.Trim()); + } + catch + { } + return answ; + } + set + { + txtNewQta.Text = value.ToString(); + } + } + + /// + /// Nuovo num pz per pallet + /// + protected int pzPallet + { + get + { + int answ = 1; + try + { + answ = Convert.ToInt32(txtNewPzPallet.Text.Trim()); + } + catch + { } + // controllo sia > 0... + if (answ < 1) + { + answ = 1; + } + + return answ; + } + set + { + txtNewPzPallet.Text = value.ToString(); + } + } + + #endregion Protected Properties + + #region Public Properties + + /// + /// Gruppo selezionato + /// + public string CodGruppo + { + get + { + return ddlCodGruppo.SelectedValue; + } + set + { + ddlCodGruppo.SelectedValue = value; + } + } + + /// + /// Chiave PRE selezione tipo richiesta ordine + /// + public string codOrdPre + { + get + { + return hfCodPre.Value.Trim(); + } + set + { + hfCodPre.Value = value; + } + } + + /// + /// Abilitazione modifica selettore fase + /// + public bool enableSelFase + { + get + { + return ddlCodGruppo.Enabled; + } + set + { + ddlCodGruppo.Enabled = value; + } + } + + /// + /// dimensione pagina + /// + public int pageSize + { + get + { + int answ = 10; + try + { + answ = Convert.ToInt32(txtPageSize.Text); + } + catch + { } + return answ; + } + set + { + txtPageSize.Text = value.ToString(); + } + } + + #endregion Public Properties + + #region Private Methods + + /// + /// nuovo valore creato... + /// + /// + /// + private void mod_newOdl1_eh_nuovoValore(object sender, EventArgs e) + { + // nascondo controllo e mostro button + mod_newPromessaODL.Visible = false; + lbtNewPODL.Visible = true; + // aggiorno! + resetSelezione(); + } + + private void showAddNewPODL() + { + // mostro controllo creazione ODL + mod_newPromessaODL.Visible = true; + divEditQta.Visible = false; + lbtNewPODL.Visible = false; + grView.SelectedIndex = -1; + grView.DataBind(); + } + + private void updateCtrl() + { + divEditQta.Visible = false; + grView.SelectedIndex = -1; + grView.DataBind(); + } + + /// + /// Aggiorno Gridview + /// + private void updateGrView() + { + grView.DataBind(); + } + + #endregion Private Methods + + #region Protected Methods + + protected void btnCancel_Click(object sender, EventArgs e) + { + updateCtrl(); + } + + protected void btnOk_Click(object sender, EventArgs e) + { + if (idxPOdlSel > 0) + { + DataLayerObj.taPODL.updateQta(numPz, pzPallet, idxPOdlSel); + } + updateCtrl(); + } + + /// + /// reset della selezione + /// + /// + /// + protected void btnReset_Click(object sender, EventArgs e) + { + resetSelezione(); + } + + protected void chkUnassigned_CheckedChanged(object sender, EventArgs e) + { + updateGrView(); + } + + /// + /// elenco colonne del datagrid + /// + /// + protected DataColumnCollection colonneObj() + { + MapoDb.DS_ProdTempi.ODLDataTable tabella = new MapoDb.DS_ProdTempi.ODLDataTable(); + DataColumnCollection colonne = tabella.Columns; + return colonne; + } + + protected void ddlCodGruppo_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in sessione selezione... + memLayer.ML.setSessionVal("selFaseBCode", ddlCodGruppo.SelectedValue); + } + + protected void doUpdate() + { + updateGrView(); + } + + /// + /// traduce gli header delle colonne + /// + /// + /// + protected void grView_DataBound(object sender, EventArgs e) + { + if (grView.Rows.Count > 0) + { + LinkButton lb; + // aggiorno gli headers + foreach (TableCell cella in grView.HeaderRow.Cells) + { + try + { + lb = (LinkButton)cella.Controls[0]; + lb.Text = traduci(lb.Text); + } + catch + { } + } + int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); + lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); + } + else + { + lblNumRec.Text = ""; + } + } + + /// + /// gestione cambio selezione valore + /// + /// + /// + protected void grView_SelectedIndexChanged(object sender, EventArgs e) + { + // salvo in session il valore selezionato... + memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, false); + bool doClone = false; + bool doEdit = false; + // gestione buttons richieste + string _comando = ""; + if (memLayer.ML.isInSessionObject("nextObjCommand")) + { + _comando = memLayer.ML.StringSessionObj("nextObjCommand"); + memLayer.ML.emptySessionVal("nextObjCommand"); + } + switch (_comando) + { + case "Clona": + doClone = true; + break; + + case "Edit": + doEdit = true; + break; + + default: + break; + } + if (doClone) + { + memLayer.ML.setSessionVal("idxProm2Clone", grView.SelectedValue, false); + showAddNewPODL(); + mod_newPromessaODL.doSelPODL(); + } + else if (doEdit) + { + memLayer.ML.setSessionVal("idxProm2Edit", grView.SelectedValue, false); + showAddNewPODL(); + mod_newPromessaODL.doSelPODL(); + } + else + { + // mostro edit quantità... + divEditQta.Visible = true; + lbtNewPODL.Visible = true; + mod_newPromessaODL.Visible = false; + var riga = DataLayerObj.taPODL.getByKey(idxPOdlSel)[0]; + numPz = riga.NumPezzi; + pzPallet = riga.PzPallet; + } + } + + /// + /// salvo comando + /// + /// + /// + protected void lbt_Command(object sender, CommandEventArgs e) + { + memLayer.ML.setSessionVal("nextObjCommand", ((LinkButton)sender).CommandArgument); + } + + /// + /// elimina commento + /// + /// + /// + protected void lbtDel_Click(object sender, EventArgs e) + { + LinkButton imgBtn = (LinkButton)sender; + int IdxProm = 0; + int.TryParse(imgBtn.CommandArgument, out IdxProm); + DataLayerObj.taPODL.deleteQuery(IdxProm); + doUpdate(); + } + + /// + /// mostra creazione nuovo ODL + /// + /// + /// + protected void lbtNewPODL_Click(object sender, EventArgs e) + { + showAddNewPODL(); + } + + protected void lbtResArt_Click(object sender, EventArgs e) + { + CodArt = ""; + DescArt = ""; + updateGrView(); + } + + protected void lbtResMacc_Click(object sender, EventArgs e) + { + idxMacc = ""; + NomeMacc = ""; + updateGrView(); + } + + /// + /// Selezionato un condominio --> riporto selezione + /// + /// + /// + protected void lbtSelArt_Click(object sender, EventArgs e) + { + LinkButton lb = (LinkButton)sender; + // imposto articolo, splittando + string[] artData = lb.CommandArgument.Split('|'); + CodArt = artData[0]; + DescArt = artData[1]; + updateGrView(); + } + + /// + /// Selezionato un condominio --> riporto selezione + /// + /// + /// + protected void lbtSelMacc_Click(object sender, EventArgs e) + { + LinkButton lb = (LinkButton)sender; + // imposto articolo, splittando + string[] maccData = lb.CommandArgument.Split('|'); + idxMacc = maccData[0]; + NomeMacc = maccData[1]; + updateGrView(); + } + + /// + /// Richiesto abbassamento priorità = ANTICIPA + /// + /// + /// + protected void lnkMoveDown_Click(object sender, EventArgs e) + { + LinkButton lb = (LinkButton)sender; + // imposto articolo, splittando + int IdxPromessa = 0; + int.TryParse(lb.CommandArgument, out IdxPromessa); + // chiamo stored + DataLayerObj.taPromOut.movePrio(IdxPromessa, -1); + //update! + updateGrView(); + } + + /// + /// Richiesto aumento priorità = RITARDA + /// + /// + /// + protected void lnkMoveUp_Click(object sender, EventArgs e) + { + LinkButton lb = (LinkButton)sender; + // imposto articolo, splittando + int IdxPromessa = 0; + int.TryParse(lb.CommandArgument, out IdxPromessa); + // chiamo stored + DataLayerObj.taPromOut.movePrio(IdxPromessa, 1); + //update! + updateGrView(); + } + + /// + /// svuoto da cache post update + /// + /// + /// + protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) + { + raiseNewVal(); + } + + /// inizializzazione valori di default + /// + /// + protected override void OnInit(EventArgs e) + { + base.OnInit(e); + _idxGridView = "IdxODL"; + } + + protected override void OnLoad(EventArgs e) + { + base.OnLoad(e); + if (!Page.IsPostBack) + { + mod_newPromessaODL.Visible = false; + grView.PageSize = pageSize; + // se ho in sessione selezione la recupero... + if (memLayer.ML.isInSessionObject("selFaseBCode") && enableSelFase) + { + ddlCodGruppo.SelectedValue = memLayer.ML.StringSessionObj("selFaseBCode"); + } + } + mod_newPromessaODL.eh_nuovoValore += new EventHandler(mod_newOdl1_eh_nuovoValore); + } + + /// + /// recupera i dati di un nuovo record contenuti nel footer di un gridView; + /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) + /// + /// + /// + protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) + { + //recupero la riga footer... + DataColumnCollection colonne = colonneObj(); + string nomeCol; + string tipoColonna = ""; + foreach (DataColumn colonna in colonne) + { + nomeCol = colonna.ColumnName; + // cerco un textbox o quello che sia... + if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) + { + tipoColonna = "textBox"; + } + else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) + { + tipoColonna = "dropDownList"; + } + else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) + { + tipoColonna = "checkBox"; + } + else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) + { + tipoColonna = "selAjax"; + } + // in base al tipo salvo negli inputparameters dell'ODS + switch (tipoColonna) + { + case "textBox": + e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; + break; + + case "dropDownList": + e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; + break; + + case "checkBox": + e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; + break; + //case "selAjax": + // e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; + // break; + default: + break; + } + tipoColonna = ""; + } + } + + /// + /// cambio dim pagina + /// + /// + /// + protected void txtPageSize_TextChanged(object sender, EventArgs e) + { + grView.PageSize = pageSize; + } + + #endregion Protected Methods + + #region Public Methods + + /// + /// Verifica se sia permesso cambio priorità (NON può andare a 0 ne oltre il max x macchina) + /// + /// + /// + /// + /// + public bool checkChgPrio(string IdxMacchina, string priorStr, int delta) + { + bool answ = false; + int priorita = 0; + int.TryParse(priorStr, out priorita); + // calcolo i limiti priorità x macchina (0 --> max x macchina)... LPI/LPS liminte priorità inferiore / superiore + int LPI = 1; + int LPS = 1; + var tabella = DataLayerObj.taPromOut.getMaxPrioByMacc(IdxMacchina, true); + if (tabella.Rows.Count > 0) + { + LPS = tabella[0].Priorita; + } + // è ok SE sono ENTRO i 2 limiti + answ = ((priorita + delta) >= LPI && (priorita + delta) <= LPS); + //return + return answ; + } + + public bool delEnabled(object _idxOdl) + { + bool answ = false; + int idxOdl = 0; + // controllo non sia già stata iniziata la produzione sennò non posso cancellare... + try + { + idxOdl = Convert.ToInt32(_idxOdl); + answ = (DataLayerObj.taODL.getByIdx(idxOdl, true).Count > 0); + } + catch + { } + return answ; + } + + /// + /// formatot url x stampa ODL + /// + /// + /// + public string formattaUrlOdl(object idx) + { + string answ = String.Format(memLayer.ML.CRS("exportFormat1"), Convert.ToInt32(reportRichiesto.SchedaODL), idx); + return answ; + } + + /// + /// resetta la selezione dei valori in caso di modifiche su altri controlli + /// + public void resetSelezione() + { + memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); + grView.SelectedIndex = -1; + grView.DataBind(); + divEditQta.Visible = false; + mod_newPromessaODL.Visible = false; + lbtNewPODL.Visible = true; + lblWarning.Visible = false; + raiseReset(); + } + + #endregion Public Methods } } \ No newline at end of file diff --git a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.designer.cs b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.designer.cs index 7cd2b52b..6513bb85 100644 --- a/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.designer.cs +++ b/MP-ADM/WebUserControls/cmp_PODL_OUT.ascx.designer.cs @@ -1,16 +1,233 @@ //------------------------------------------------------------------------------ -// +// // Codice generato da uno strumento. // // Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// +// il codice viene rigenerato. +// //------------------------------------------------------------------------------ - namespace MP_ADM.WebUserControls { + + public partial class cmp_PODL_OUT { + + /// + /// Controllo ddlCodGruppo. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.DropDownList ddlCodGruppo; + + /// + /// Controllo odsCodGruppo. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource odsCodGruppo; + + /// + /// Controllo lbtResArt. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtResArt; + + /// + /// Controllo lblCodArt. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblCodArt; + + /// + /// Controllo lblDescArt. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblDescArt; + + /// + /// Controllo lbtResMacc. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtResMacc; + + /// + /// Controllo lblNomeMacc. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblNomeMacc; + + /// + /// Controllo lblIdxMacc. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblIdxMacc; + + /// + /// Controllo chkUnassigned. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.CheckBox chkUnassigned; + + /// + /// Controllo lblUnass. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblUnass; + + /// + /// Controllo lbtNewPODL. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtNewPODL; + + /// + /// Controllo mod_newPromessaODL. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::MP_ADM.WebUserControls.mod_newPromessaODL mod_newPromessaODL; + + /// + /// Controllo divEditQta. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.HtmlControls.HtmlGenericControl divEditQta; + + /// + /// Controllo lbtOk. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtOk; + + /// + /// Controllo txtNewQta. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.TextBox txtNewQta; + + /// + /// Controllo txtNewPzPallet. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.TextBox txtNewPzPallet; + + /// + /// Controllo lbtCancel. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtCancel; + + /// + /// Controllo grView. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.GridView grView; + + /// + /// Controllo hfCodGruppo. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfCodGruppo; + + /// + /// Controllo hfCodPre. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.HiddenField hfCodPre; + + /// + /// Controllo ods. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + + /// + /// Controllo lblNumRec. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblNumRec; + + /// + /// Controllo lblWarning. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.Label lblWarning; + + /// + /// Controllo txtPageSize. + /// + /// + /// Campo generato automaticamente. + /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. + /// + protected global::System.Web.UI.WebControls.TextBox txtPageSize; } } diff --git a/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx b/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx deleted file mode 100644 index 9e010a64..00000000 --- a/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx +++ /dev/null @@ -1,247 +0,0 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_gestPromODL_OUT.ascx.cs" Inherits="MP_ADM.WebUserControls.mod_gestPromODL_OUT" %> - -<%@ Register Src="~/WebUserControls/mod_newPromessaODL.ascx" TagPrefix="uc1" TagName="mod_newPromessaODL" %> - -
-
-
-
-

Filtri attivi

-
-
- REPARTO -
- - - - -
-
-
-
- Articolo - - -
-
-
-
-
-
- Macchina - - -
-
-
-
-
-
-
- -
-
- -
-
-
-
-
-
-
- PROMESSA ODL -
-
-
- -
-
-
-
- Modifica -
-
- # Pezzi Richiesti: - -
-
- Pezzi Pallet: - -
-
- Annulla -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - <%# Eval("CodArticolo") %> - -
-
- -
-
-
-
- -
-
- -
-
-
-
-
-
- - - - - <%# Eval("Nome") %> -
<%# Eval("CodMacchina") %>
-
-
-
- - - - - - - - - - - -
- - (m:s) -
-
-
- - - - - - - - - - - - - - - - - - - -
-
-
- - - - -
-
-
-
-
- - - - - - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - -
- -
\ No newline at end of file diff --git a/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx.cs b/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx.cs deleted file mode 100644 index ade722f6..00000000 --- a/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx.cs +++ /dev/null @@ -1,684 +0,0 @@ -using SteamWare; -using System; -using System.Data; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace MP_ADM.WebUserControls -{ - public partial class mod_gestPromODL_OUT : BaseUserControl - { - /// - /// Determina se sia solo readonly il controllo... - /// - public bool readOnly; - - /// - /// Chiave PRE selezione tipo richiesta ordine - /// - public string codOrdPre - { - get - { - return hfCodPre.Value.Trim(); - } - set - { - hfCodPre.Value = value; - } - } - - /// - /// dimensione pagina - /// - public int pageSize - { - get - { - int answ = 10; - try - { - answ = Convert.ToInt32(txtPageSize.Text); - } - catch - { } - return answ; - } - set - { - txtPageSize.Text = value.ToString(); - } - } - - /// - /// Abilitazione modifica selettore fase - /// - public bool enableSelFase - { - get - { - return ddlCodGruppo.Enabled; - } - set - { - ddlCodGruppo.Enabled = value; - } - } - - /// - /// Gruppo selezionato - /// - public string CodGruppo - { - get - { - return ddlCodGruppo.SelectedValue; - } - set - { - ddlCodGruppo.SelectedValue = value; - } - } - - #region area da NON modificare - - #region area protected - - protected string _idxGridView; - - /// - /// reset della selezione - /// - /// - /// - protected void btnReset_Click(object sender, EventArgs e) - { - resetSelezione(); - } - - /// - /// salvo comando - /// - /// - /// - protected void lbt_Command(object sender, CommandEventArgs e) - { - memLayer.ML.setSessionVal("nextObjCommand", ((LinkButton)sender).CommandArgument); - } - - /// - /// gestione cambio selezione valore - /// - /// - /// - protected void grView_SelectedIndexChanged(object sender, EventArgs e) - { - // salvo in session il valore selezionato... - memLayer.ML.setSessionVal(string.Format("{0}_sel", _idxGridView), grView.SelectedValue, false); - bool doClone = false; - bool doEdit = false; - // gestione buttons richieste - string _comando = ""; - if (memLayer.ML.isInSessionObject("nextObjCommand")) - { - _comando = memLayer.ML.StringSessionObj("nextObjCommand"); - memLayer.ML.emptySessionVal("nextObjCommand"); - } - switch (_comando) - { - case "Clona": - doClone = true; - break; - - case "Edit": - doEdit = true; - break; - - default: - break; - } - if (doClone) - { - memLayer.ML.setSessionVal("idxProm2Clone", grView.SelectedValue, false); - showAddNewPODL(); - mod_newPromessaODL.doSelPODL(); - } - else if (doEdit) - { - memLayer.ML.setSessionVal("idxProm2Edit", grView.SelectedValue, false); - showAddNewPODL(); - mod_newPromessaODL.doSelPODL(); - } - else - { - // mostro edit quantità... - divEditQta.Visible = true; - lbtNewPODL.Visible = true; - mod_newPromessaODL.Visible = false; - var riga = DataLayerObj.taPODL.getByKey(idxPOdlSel)[0]; - numPz = riga.NumPezzi; - pzPallet = riga.PzPallet; - } - } - - /// - /// traduce gli header delle colonne - /// - /// - /// - protected void grView_DataBound(object sender, EventArgs e) - { - if (grView.Rows.Count > 0) - { - LinkButton lb; - // aggiorno gli headers - foreach (TableCell cella in grView.HeaderRow.Cells) - { - try - { - lb = (LinkButton)cella.Controls[0]; - lb.Text = traduci(lb.Text); - } - catch - { } - } - int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1); - lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord); - } - else - { - lblNumRec.Text = ""; - } - } - - /// - /// recupera i dati di un nuovo record contenuti nel footer di un gridView; - /// questi devono esses opportunamente nominati (es: txt{0}, dl{0}, ...) - /// - /// - /// - protected void recuperaFooter(object sender, ObjectDataSourceMethodEventArgs e) - { - //recupero la riga footer... - DataColumnCollection colonne = colonneObj(); - string nomeCol; - string tipoColonna = ""; - foreach (DataColumn colonna in colonne) - { - nomeCol = colonna.ColumnName; - // cerco un textbox o quello che sia... - if (grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol)) != null) - { - tipoColonna = "textBox"; - } - else if (grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol)) != null) - { - tipoColonna = "dropDownList"; - } - else if (grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol)) != null) - { - tipoColonna = "checkBox"; - } - else if (grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol)) != null) - { - tipoColonna = "selAjax"; - } - // in base al tipo salvo negli inputparameters dell'ODS - switch (tipoColonna) - { - case "textBox": - e.InputParameters[nomeCol] = ((TextBox)grView.FooterRow.FindControl(string.Format("txt{0}", nomeCol))).Text; - break; - - case "dropDownList": - e.InputParameters[nomeCol] = ((DropDownList)grView.FooterRow.FindControl(string.Format("dl{0}", nomeCol))).SelectedValue; - break; - - case "checkBox": - e.InputParameters[nomeCol] = ((CheckBox)grView.FooterRow.FindControl(string.Format("chk{0}", nomeCol))).Checked; - break; - //case "selAjax": - // e.InputParameters[nomeCol] = ((mod_selettore_ajax)grView.FooterRow.FindControl(string.Format("selAjax_{0}", nomeCol))).valore; - // break; - default: - break; - } - tipoColonna = ""; - } - } - - /// - /// svuoto da cache post update - /// - /// - /// - protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e) - { - raiseNewVal(); - } - - #endregion area protected - - #region are public - - /// - /// resetta la selezione dei valori in caso di modifiche su altri controlli - /// - public void resetSelezione() - { - memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView)); - grView.SelectedIndex = -1; - grView.DataBind(); - divEditQta.Visible = false; - mod_newPromessaODL.Visible = false; - lbtNewPODL.Visible = true; - lblWarning.Visible = false; - raiseReset(); - } - - #endregion are public - - #endregion area da NON modificare - - #region area da modificare - - protected override void OnLoad(EventArgs e) - { - base.OnLoad(e); - if (!Page.IsPostBack) - { - mod_newPromessaODL.Visible = false; - grView.PageSize = pageSize; - // se ho in sessione selezione la recupero... - if (memLayer.ML.isInSessionObject("selFaseBCode") && enableSelFase) - { - ddlCodGruppo.SelectedValue = memLayer.ML.StringSessionObj("selFaseBCode"); - } - } - mod_newPromessaODL.eh_nuovoValore += new EventHandler(mod_newOdl1_eh_nuovoValore); - } - - /// inizializzazione valori di default - /// - /// - protected override void OnInit(EventArgs e) - { - base.OnInit(e); - _idxGridView = "IdxODL"; - } - - /// - /// nuovo valore creato... - /// - /// - /// - private void mod_newOdl1_eh_nuovoValore(object sender, EventArgs e) - { - // nascondo controllo e mostro button - mod_newPromessaODL.Visible = false; - lbtNewPODL.Visible = true; - // aggiorno! - resetSelezione(); - } - - /// - /// elenco colonne del datagrid - /// - /// - protected DataColumnCollection colonneObj() - { - MapoDb.DS_ProdTempi.ODLDataTable tabella = new MapoDb.DS_ProdTempi.ODLDataTable(); - DataColumnCollection colonne = tabella.Columns; - return colonne; - } - - public bool delEnabled(object _idxOdl) - { - bool answ = false; - int idxOdl = 0; - // controllo non sia già stata iniziata la produzione sennò non posso cancellare... - try - { - idxOdl = Convert.ToInt32(_idxOdl); - answ = (DataLayerObj.taODL.getByIdx(idxOdl, true).Count > 0); - } - catch - { } - return answ; - } - - /// - /// mostra creazione nuovo ODL - /// - /// - /// - protected void lbtNewPODL_Click(object sender, EventArgs e) - { - showAddNewPODL(); - } - - private void showAddNewPODL() - { - // mostro controllo creazione ODL - mod_newPromessaODL.Visible = true; - divEditQta.Visible = false; - lbtNewPODL.Visible = false; - grView.SelectedIndex = -1; - grView.DataBind(); - } - - /// - /// formatot url x stampa ODL - /// - /// - /// - public string formattaUrlOdl(object idx) - { - string answ = String.Format(memLayer.ML.CRS("exportFormat1"), Convert.ToInt32(reportRichiesto.SchedaODL), idx); - return answ; - } - - /// - /// cambio dim pagina - /// - /// - /// - protected void txtPageSize_TextChanged(object sender, EventArgs e) - { - grView.PageSize = pageSize; - } - - /// - /// elimina commento - /// - /// - /// - protected void lbtDel_Click(object sender, EventArgs e) - { - LinkButton imgBtn = (LinkButton)sender; - int IdxProm = 0; - int.TryParse(imgBtn.CommandArgument, out IdxProm); - DataLayerObj.taPODL.deleteQuery(IdxProm); - doUpdate(); - } - - protected void doUpdate() - { - updateGrView(); - } - - #endregion area da modificare - - protected void btnOk_Click(object sender, EventArgs e) - { - if (idxPOdlSel > 0) - { - DataLayerObj.taPODL.updateQta(numPz, pzPallet, idxPOdlSel); - } - updateCtrl(); - } - - private void updateCtrl() - { - divEditQta.Visible = false; - grView.SelectedIndex = -1; - grView.DataBind(); - } - - /// - /// idxOdl selezionato - /// - protected int idxPOdlSel - { - get - { - int answ = 0; - try - { - answ = Convert.ToInt32(grView.SelectedValue); - } - catch - { } - return answ; - } - } - - /// - /// Nuovo num pz - /// - protected int numPz - { - get - { - int answ = 0; - try - { - answ = Convert.ToInt32(txtNewQta.Text.Trim()); - } - catch - { } - return answ; - } - set - { - txtNewQta.Text = value.ToString(); - } - } - - /// - /// Nuovo num pz per pallet - /// - protected int pzPallet - { - get - { - int answ = 1; - try - { - answ = Convert.ToInt32(txtNewPzPallet.Text.Trim()); - } - catch - { } - // controllo sia > 0... - if (answ < 1) - { - answ = 1; - } - - return answ; - } - set - { - txtNewPzPallet.Text = value.ToString(); - } - } - - protected void btnCancel_Click(object sender, EventArgs e) - { - updateCtrl(); - } - - protected void chkUnassigned_CheckedChanged(object sender, EventArgs e) - { - updateGrView(); - } - - /// - /// Aggiorno Gridview - /// - private void updateGrView() - { - grView.DataBind(); - } - - /// - /// IdxMacchina filtrata - /// - protected string idxMacc - { - get - { - return lblIdxMacc.Text; - } - set - { - lblIdxMacc.Text = value; - } - } - - /// - /// Nome filtrata - /// - protected string NomeMacc - { - get - { - return lblNomeMacc.Text; - } - set - { - lblNomeMacc.Text = value; - } - } - - /// - /// CodArt filtrato - /// - protected string CodArt - { - get - { - return lblCodArt.Text; - } - set - { - lblCodArt.Text = value; - } - } - - /// - /// CodArt filtrato - /// - protected string DescArt - { - get - { - return lblDescArt.Text; - } - set - { - lblDescArt.Text = value; - } - } - - /// - /// Selezionato un condominio --> riporto selezione - /// - /// - /// - protected void lbtSelArt_Click(object sender, EventArgs e) - { - LinkButton lb = (LinkButton)sender; - // imposto articolo, splittando - string[] artData = lb.CommandArgument.Split('|'); - CodArt = artData[0]; - DescArt = artData[1]; - updateGrView(); - } - - /// - /// Selezionato un condominio --> riporto selezione - /// - /// - /// - protected void lbtSelMacc_Click(object sender, EventArgs e) - { - LinkButton lb = (LinkButton)sender; - // imposto articolo, splittando - string[] maccData = lb.CommandArgument.Split('|'); - idxMacc = maccData[0]; - NomeMacc = maccData[1]; - updateGrView(); - } - - /// - /// Richiesto abbassamento priorità = ANTICIPA - /// - /// - /// - protected void lnkMoveDown_Click(object sender, EventArgs e) - { - LinkButton lb = (LinkButton)sender; - // imposto articolo, splittando - int IdxPromessa = 0; - int.TryParse(lb.CommandArgument, out IdxPromessa); - // chiamo stored - DataLayerObj.taPromOut.movePrio(IdxPromessa, -1); - //update! - updateGrView(); - } - - /// - /// Richiesto aumento priorità = RITARDA - /// - /// - /// - protected void lnkMoveUp_Click(object sender, EventArgs e) - { - LinkButton lb = (LinkButton)sender; - // imposto articolo, splittando - int IdxPromessa = 0; - int.TryParse(lb.CommandArgument, out IdxPromessa); - // chiamo stored - DataLayerObj.taPromOut.movePrio(IdxPromessa, 1); - //update! - updateGrView(); - } - - protected void lbtResArt_Click(object sender, EventArgs e) - { - CodArt = ""; - DescArt = ""; - updateGrView(); - } - - protected void lbtResMacc_Click(object sender, EventArgs e) - { - idxMacc = ""; - NomeMacc = ""; - updateGrView(); - } - - protected void ddlCodGruppo_SelectedIndexChanged(object sender, EventArgs e) - { - // salvo in sessione selezione... - memLayer.ML.setSessionVal("selFaseBCode", ddlCodGruppo.SelectedValue); - } - - /// - /// Verifica se sia permesso cambio priorità (NON può andare a 0 ne oltre il max x macchina) - /// - /// - /// - /// - /// - public bool checkChgPrio(string IdxMacchina, string priorStr, int delta) - { - bool answ = false; - int priorita = 0; - int.TryParse(priorStr, out priorita); - // calcolo i limiti priorità x macchina (0 --> max x macchina)... LPI/LPS liminte priorità inferiore / superiore - int LPI = 1; - int LPS = 1; - var tabella = DataLayerObj.taPromOut.getMaxPrioByMacc(IdxMacchina, true); - if (tabella.Rows.Count > 0) - { - LPS = tabella[0].Priorita; - } - // è ok SE sono ENTRO i 2 limiti - answ = ((priorita + delta) >= LPI && (priorita + delta) <= LPS); - //return - return answ; - } - } -} \ No newline at end of file diff --git a/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx.designer.cs b/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx.designer.cs deleted file mode 100644 index 2a5bf8b8..00000000 --- a/MP-ADM/WebUserControls/mod_gestPromODL_OUT.ascx.designer.cs +++ /dev/null @@ -1,231 +0,0 @@ -//------------------------------------------------------------------------------ -// -// Codice generato da uno strumento. -// -// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// -//------------------------------------------------------------------------------ - -namespace MP_ADM.WebUserControls { - - - public partial class mod_gestPromODL_OUT { - - /// - /// Controllo ddlCodGruppo. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.DropDownList ddlCodGruppo; - - /// - /// Controllo odsCodGruppo. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.ObjectDataSource odsCodGruppo; - - /// - /// Controllo lbtResArt. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.LinkButton lbtResArt; - - /// - /// Controllo lblCodArt. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.Label lblCodArt; - - /// - /// Controllo lblDescArt. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.Label lblDescArt; - - /// - /// Controllo lbtResMacc. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.LinkButton lbtResMacc; - - /// - /// Controllo lblNomeMacc. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.Label lblNomeMacc; - - /// - /// Controllo lblIdxMacc. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.Label lblIdxMacc; - - /// - /// Controllo chkUnassigned. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.CheckBox chkUnassigned; - - /// - /// Controllo lblUnass. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.Label lblUnass; - - /// - /// Controllo lbtNewPODL. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.LinkButton lbtNewPODL; - - /// - /// Controllo mod_newPromessaODL. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::MP_ADM.WebUserControls.mod_newPromessaODL mod_newPromessaODL; - - /// - /// Controllo divEditQta. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.HtmlControls.HtmlGenericControl divEditQta; - - /// - /// Controllo lbtOk. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.LinkButton lbtOk; - - /// - /// Controllo txtNewQta. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.TextBox txtNewQta; - - /// - /// Controllo txtNewPzPallet. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.TextBox txtNewPzPallet; - - /// - /// Controllo lbtCancel. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.LinkButton lbtCancel; - - /// - /// Controllo grView. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.GridView grView; - - /// - /// Controllo hfCodGruppo. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.HiddenField hfCodGruppo; - - /// - /// Controllo hfCodPre. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.HiddenField hfCodPre; - - /// - /// Controllo ods. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.ObjectDataSource ods; - - /// - /// Controllo lblNumRec. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.Label lblNumRec; - - /// - /// Controllo lblWarning. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.Label lblWarning; - - /// - /// Controllo txtPageSize. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.TextBox txtPageSize; - } -}