Merge branch 'release/FixBugMagEdilchimica'
This commit is contained in:
@@ -441,13 +441,19 @@ namespace MP_MAG
|
||||
{
|
||||
// rileggo
|
||||
prodPrintData newProdPrintData = MagDataLayerObj.currProdPrintData;
|
||||
DateTime dtRif = DateTime.Now;
|
||||
// calcolo
|
||||
var tabOdl = DataLayerObj.taODL.getByIdx(newProdPrintData.IdxOdl, false);
|
||||
// se ODL chiuso --> uso data chiusura x indicare data controllo
|
||||
if (tabOdl.Rows.Count > 0)
|
||||
{
|
||||
newProdPrintData.QtaOdl = tabOdl[0].NumPezzi;
|
||||
if (!tabOdl[0].IsDataFineNull())
|
||||
{
|
||||
dtRif = tabOdl[0].DataFine;
|
||||
}
|
||||
}
|
||||
var tabDatiProdAct = DataLayerObj.taStatoProd.GetData(newProdPrintData.IdxMacchina, DateTime.Now);
|
||||
var tabDatiProdAct = DataLayerObj.taStatoProd.GetData(newProdPrintData.IdxMacchina, dtRif);
|
||||
if (tabDatiProdAct.Rows.Count > 0)
|
||||
{
|
||||
newProdPrintData.QtaConf = tabDatiProdAct[0].PzConfBuoni;
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace MP_MAG.WebUserControls
|
||||
var ordiniCaricati = tabOrdiniCaricati.Where(x => x.ExtOrdCod == keySel);
|
||||
if (ordiniCaricati.ToList().Count == 0)
|
||||
{
|
||||
MagData.MagDataLayer.man.taOList.insertQuery(PackListID, keySel, rigaOrd.CodArticolo, descrOrd, rigaOrd.Qta, rigaOrd.CodCliente, rigaOrd.CodDestinazione);
|
||||
MagData.MagDataLayer.man.taOList.insertQuery(PackListID, keySel, rigaOrd.CodArticolo, descrOrd, rigaOrd.QtaEvadibile, rigaOrd.CodCliente, rigaOrd.CodDestinazione);
|
||||
}
|
||||
raiseAddNew();
|
||||
}
|
||||
|
||||
@@ -335,8 +335,12 @@ namespace MP_MAG.WebUserControls
|
||||
// se uguale OK
|
||||
else if (tabAL[0].AL == SelPedana)
|
||||
{
|
||||
// 2022.03.25 modifica: se è già associato --> giallo!
|
||||
cmp_barcode.showOutput("badge badge-warning", $"Attenzione: UDC già caricato su Pedana/AL ({tabAL[0].AL})");
|
||||
#if false
|
||||
// tutto ok
|
||||
allOk = true;
|
||||
allOk = true;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -115,6 +115,11 @@ namespace MP_MAG.WebUserControls
|
||||
{ }
|
||||
// descrizione
|
||||
txtDescr.Text = $"{newNum}";
|
||||
// se sono in add --> sollevo evento editing
|
||||
if (divAddNew.Visible)
|
||||
{
|
||||
raiseEditing();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
@@ -18,6 +18,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<asp:HiddenField runat="server" ID="hfPackListID" />
|
||||
<asp:Timer runat="server" ID="timerGestPed" Interval="2000" OnTick="timerGestPed_Tick" />
|
||||
<asp:Timer runat="server" ID="timerGestPed" Interval="5000" OnTick="timerGestPed_Tick" />
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
Reference in New Issue
Block a user