vers 667
- modifiche messaggi come richiesta di Gian (colore, testi) - modifica gestioen qta di default dei cartellini (ultimo usato) - nuovi rdlc cartellini - upate installers 218/prod/test
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -3109,6 +3109,20 @@
|
||||
The tooltip.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:SteamWare.UserControl">
|
||||
<summary>
|
||||
Base class for every user control in the application, containing some common
|
||||
behaviour and utility methods.
|
||||
It is not meant to be be used directly.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:SteamWare.UserControl.traduci(System.Object)">
|
||||
<summary>
|
||||
wrapper traduzione
|
||||
</summary>
|
||||
<param name="lemma"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:SteamWare.user_std">
|
||||
<summary>
|
||||
classe gestione utente: auth e permission/ruoli - versione GENERICA
|
||||
|
||||
@@ -193,9 +193,8 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<BorderWidth>
|
||||
<Bottom>1pt</Bottom>
|
||||
</BorderWidth>
|
||||
<FontFamily>Wingdings 2</FontFamily>
|
||||
<FontSize>26pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<FontFamily>Wingdings</FontFamily>
|
||||
<FontSize>28pt</FontSize>
|
||||
<Format>dd/MM/yyyy HH:MM</Format>
|
||||
<TextAlign>Center</TextAlign>
|
||||
<VerticalAlign>Bottom</VerticalAlign>
|
||||
@@ -206,7 +205,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<ZIndex>13</ZIndex>
|
||||
<Left>14.75cm</Left>
|
||||
<Height>1.25cm</Height>
|
||||
<Value>=iif(Fields!Durezza.Value=1,"P","")</Value>
|
||||
<Value>=iif(Fields!Durezza.Value=1,"ü","")</Value>
|
||||
</Textbox>
|
||||
<Textbox Name="textbox9">
|
||||
<Top>2cm</Top>
|
||||
|
||||
@@ -1025,7 +1025,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<Top>2.25pt</Top>
|
||||
<Bottom>2.25pt</Bottom>
|
||||
</BorderWidth>
|
||||
<FontFamily>Wingdings 2</FontFamily>
|
||||
<FontFamily>Wingdings</FontFamily>
|
||||
<FontSize>22pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<TextAlign>Center</TextAlign>
|
||||
@@ -1036,7 +1036,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
<ZIndex>22</ZIndex>
|
||||
<Value>=iif(Fields!Durezza.Value=1,"P","")</Value>
|
||||
<Value>=iif(Fields!Durezza.Value=1,"ü","")</Value>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
</TableCell>
|
||||
@@ -1147,7 +1147,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<Top>2.25pt</Top>
|
||||
<Bottom>2.25pt</Bottom>
|
||||
</BorderWidth>
|
||||
<FontFamily>Wingdings 2</FontFamily>
|
||||
<FontFamily>Wingdings</FontFamily>
|
||||
<FontSize>22pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<TextAlign>Center</TextAlign>
|
||||
@@ -1158,7 +1158,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
<ZIndex>27</ZIndex>
|
||||
<Value>=iif(Fields!ProveMecc.Value=1,"P","")</Value>
|
||||
<Value>=iif(Fields!ProveMecc.Value=1,"ü","")</Value>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
</TableCell>
|
||||
@@ -1269,7 +1269,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<Top>2.25pt</Top>
|
||||
<Bottom>2.25pt</Bottom>
|
||||
</BorderWidth>
|
||||
<FontFamily>Wingdings 2</FontFamily>
|
||||
<FontFamily>Wingdings</FontFamily>
|
||||
<FontSize>20pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<TextAlign>Center</TextAlign>
|
||||
@@ -1280,7 +1280,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
<ZIndex>31</ZIndex>
|
||||
<Value>P</Value>
|
||||
<Value>ü</Value>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
</TableCell>
|
||||
|
||||
@@ -193,9 +193,8 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<BorderWidth>
|
||||
<Bottom>1pt</Bottom>
|
||||
</BorderWidth>
|
||||
<FontFamily>Wingdings 2</FontFamily>
|
||||
<FontSize>26pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<FontFamily>Wingdings</FontFamily>
|
||||
<FontSize>28pt</FontSize>
|
||||
<Format>dd/MM/yyyy HH:MM</Format>
|
||||
<TextAlign>Center</TextAlign>
|
||||
<VerticalAlign>Bottom</VerticalAlign>
|
||||
@@ -206,7 +205,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<ZIndex>13</ZIndex>
|
||||
<Left>14.75cm</Left>
|
||||
<Height>1.25cm</Height>
|
||||
<Value>=iif(Fields!Durezza.Value=1,"P","")</Value>
|
||||
<Value>=iif(Fields!Durezza.Value=1,"ü","")</Value>
|
||||
</Textbox>
|
||||
<Textbox Name="textbox9">
|
||||
<Top>2cm</Top>
|
||||
|
||||
@@ -1025,7 +1025,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<Top>2.25pt</Top>
|
||||
<Bottom>2.25pt</Bottom>
|
||||
</BorderWidth>
|
||||
<FontFamily>Wingdings 2</FontFamily>
|
||||
<FontFamily>Wingdings</FontFamily>
|
||||
<FontSize>22pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<TextAlign>Center</TextAlign>
|
||||
@@ -1036,7 +1036,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
<ZIndex>22</ZIndex>
|
||||
<Value>=iif(Fields!Durezza.Value=1,"P","")</Value>
|
||||
<Value>=iif(Fields!Durezza.Value=1,"ü","")</Value>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
</TableCell>
|
||||
@@ -1147,7 +1147,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<Top>2.25pt</Top>
|
||||
<Bottom>2.25pt</Bottom>
|
||||
</BorderWidth>
|
||||
<FontFamily>Wingdings 2</FontFamily>
|
||||
<FontFamily>Wingdings</FontFamily>
|
||||
<FontSize>22pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<TextAlign>Center</TextAlign>
|
||||
@@ -1158,7 +1158,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
<ZIndex>27</ZIndex>
|
||||
<Value>=iif(Fields!ProveMecc.Value=1,"P","")</Value>
|
||||
<Value>=iif(Fields!ProveMecc.Value=1,"ü","")</Value>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
</TableCell>
|
||||
@@ -1269,7 +1269,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<Top>2.25pt</Top>
|
||||
<Bottom>2.25pt</Bottom>
|
||||
</BorderWidth>
|
||||
<FontFamily>Wingdings 2</FontFamily>
|
||||
<FontFamily>Wingdings</FontFamily>
|
||||
<FontSize>20pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<TextAlign>Center</TextAlign>
|
||||
@@ -1280,7 +1280,7 @@ zzQB/KD+29/wbk/8ABcvU/wBojV/EXiPwJqfxv1XVbW0vdW+Idl4mt3S9uZIUMkOb+eKdvKfMYLIq4jB
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
<ZIndex>31</ZIndex>
|
||||
<Value>P</Value>
|
||||
<Value>ü</Value>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
</TableCell>
|
||||
|
||||
@@ -56,6 +56,8 @@ namespace GMW.WebUserControls
|
||||
protected string cssErr = "stileComandoKo";
|
||||
protected string cssWait = "stileComandoND";
|
||||
protected string cssAtt = "stileAttesa";
|
||||
protected string cssWarn = "stileComandoWarn";
|
||||
protected string cssAdd = "stileComandoAdd";
|
||||
public event EventHandler eh_reqUpdate;
|
||||
/// <summary>
|
||||
/// Codice AL sulla linea...
|
||||
@@ -171,7 +173,7 @@ namespace GMW.WebUserControls
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// num pezzi dell'ultimo UDC di uguale aprticoalre e stato fatto...
|
||||
/// num pezzi dell'ultimo UDC di uguale particolare e stato fatto...
|
||||
/// </summary>
|
||||
public int pezziUdc
|
||||
{
|
||||
@@ -183,7 +185,9 @@ namespace GMW.WebUserControls
|
||||
answ = (int)MagClass.magazzino.taCartellini.getLastByParticolareStato(memLayer.ML.StringSessionObj("CodCS"), currParticolare, statoUdcOut)[0].Qta;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
{
|
||||
answ = memLayer.ML.confReadInt("QtaImballoFiniti");
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
@@ -319,7 +323,7 @@ namespace GMW.WebUserControls
|
||||
lastBarcodeIn = "";
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = "";
|
||||
Postazione.CssClass = "stileAttesa";
|
||||
Postazione.CssClass = cssAtt;
|
||||
doUpdate();
|
||||
// NON RESETTO... 2014.04.10
|
||||
//sendUpdateTablet("ND", "-", traduci("attesaInput"), "-", "-", "-", "", cssWait, cssWait);
|
||||
@@ -392,7 +396,7 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
// sollevo errore, in primis va definito AL sorgente...
|
||||
Postazione.warningText = traduci("ERR-ALT-001");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
sendUpdateTablet("ND", "-", traduci("ERR-ALT-001"), "-", "-", "-", cssErr, cssErr, cssErr);
|
||||
}
|
||||
else
|
||||
@@ -425,7 +429,7 @@ namespace GMW.WebUserControls
|
||||
DS_magazzino.ElencoCartelliniRow cartUDC = MagClass.magazzino.taCartellini.getByUdc(barcodeIn)[0];
|
||||
if (cartUDC.CodStato == statoUdcOut && cartUDC.IdxPosizione == memLayer.ML.confReadInt("IdxPosizioneFiniti"))
|
||||
{
|
||||
// controllo NON ci sia già un UDC di pari particolare caricato nella postazione corrente (non posos avere 2 UDC a apri particolare da riempire...
|
||||
// controllo NON ci sia già un UDC di pari particolare caricato nella postazione corrente (non posso avere 2 UDC a pari particolare da riempire...)
|
||||
if (MagClass.magazzino.taCartellini.getByParticolareAL(cartUDC.Particolare, destAL).Rows.Count == 0)
|
||||
{
|
||||
// se è ok RICARICO UDC in posizione corrente...
|
||||
@@ -434,42 +438,42 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
Postazione.messaggiText = traduci("RiCaricatoUdcLiq");
|
||||
Postazione.warningText = "";
|
||||
Postazione.CssClass = "stileComandoOk";
|
||||
chekUpdateTablet(barcodeIn);
|
||||
Postazione.CssClass = cssOk;
|
||||
checkUpdateTablet(barcodeIn);
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-LIQ-001");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-LIQ-004");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-LIQ-002");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-LIQ-003");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-ALF-001");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
break;
|
||||
case tipoCodiceBarcode.AL:
|
||||
@@ -495,7 +499,7 @@ namespace GMW.WebUserControls
|
||||
// sistemo grafica
|
||||
Postazione.messaggiText = traduci("ConfermareAL");
|
||||
Postazione.warningText = "";
|
||||
Postazione.CssClass = "stileComandoOk";
|
||||
Postazione.CssClass = cssOk;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -512,14 +516,13 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-ALT-002");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
break;
|
||||
case tipoCodiceBarcode.DataMatrix:
|
||||
string OldUDC = "";
|
||||
int IdxPosizione = 0;
|
||||
string NewUDC = "";
|
||||
string particolare = "";
|
||||
// verifico DTX sia in quelli dell'AL sorgente
|
||||
if (DataMatrix.mgr.taDtx2UDC.getByDtxAl(sourceAL, barcodeIn).Rows.Count > 0)
|
||||
{
|
||||
@@ -529,17 +532,17 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
OldUDC = DataMatrix.mgr.taDtx2UDC.getByDtxAl(sourceAL, barcodeIn)[0].UDC;
|
||||
IdxPosizione = MagClass.magazzino.taCartellini.getByUdc(OldUDC)[0].IdxPosizione;
|
||||
particolare = MagClass.magazzino.taCartellini.getByUdc(OldUDC)[0].Particolare;
|
||||
currParticolare = MagClass.magazzino.taCartellini.getByUdc(OldUDC)[0].Particolare;
|
||||
}
|
||||
catch
|
||||
{
|
||||
particolare = "";
|
||||
currParticolare = "";
|
||||
}
|
||||
if (particolare != "")
|
||||
if (currParticolare != "")
|
||||
{
|
||||
try
|
||||
{
|
||||
NewUDC = MagClass.magazzino.taCartellini.getByParticolareAL(particolare, destAL)[0].UDC;
|
||||
NewUDC = MagClass.magazzino.taCartellini.getByParticolareAL(currParticolare, destAL)[0].UDC;
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -553,12 +556,12 @@ namespace GMW.WebUserControls
|
||||
if (memLayer.ML.confReadBool("useStoredLiqSP"))
|
||||
{
|
||||
// nuova stored con AL e cella......
|
||||
NewUDC = MagClass.magazzino.creaUdcWithAlCella(destAL, Postazione.currCodCella,flusso, "", particolare, "", "", "", "", OldUDC, 0, memLayer.ML.confReadString("CodImballoFiniti"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUdcOut, memLayer.ML.confReadInt("IdxPosizioneFinTemp"), "IdxPosizioneFinTemp", codEventoUdcOut, "", "", adesso.Year, Request.UserHostName);
|
||||
NewUDC = MagClass.magazzino.creaUdcWithAlCella(destAL, Postazione.currCodCella, flusso, "", currParticolare, "", "", "", "", OldUDC, 0, memLayer.ML.confReadString("CodImballoFiniti"), "U", MagClass.magazzino.CodSoggCurrUser, pezziUdc, 0, 0, adesso, 0, statoUdcOut, memLayer.ML.confReadInt("IdxPosizioneFinTemp"), "IdxPosizioneFinTemp", codEventoUdcOut, "", "", adesso.Year, Request.UserHostName);
|
||||
}
|
||||
else
|
||||
{
|
||||
// oppure lo creo...
|
||||
NewUDC = MagClass.magazzino.creaUdc(flusso, "", particolare, "", "", "", "", OldUDC, 0, memLayer.ML.confReadString("CodImballoFiniti"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUdcOut, memLayer.ML.confReadInt("IdxPosizioneFinTemp"), "IdxPosizioneFinTemp", codEventoUdcOut, "", "", adesso.Year, Request.UserHostName);
|
||||
NewUDC = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", OldUDC, 0, memLayer.ML.confReadString("CodImballoFiniti"), "U", MagClass.magazzino.CodSoggCurrUser, pezziUdc, 0, 0, adesso, 0, statoUdcOut, memLayer.ML.confReadInt("IdxPosizioneFinTemp"), "IdxPosizioneFinTemp", codEventoUdcOut, "", "", adesso.Year, Request.UserHostName);
|
||||
// lo associo all'AL!
|
||||
MagClass.magazzino.taAL2UDC.Insert(destAL, NewUDC, adesso, MagClass.magazzino.CodSoggCurrUser);
|
||||
}
|
||||
@@ -570,14 +573,14 @@ namespace GMW.WebUserControls
|
||||
// fix messaggi
|
||||
Postazione.messaggiText = traduci("ConfermatoDtx");
|
||||
Postazione.warningText = "";
|
||||
Postazione.CssClass = "stileAttesa";
|
||||
chekUpdateTablet(NewUDC);
|
||||
Postazione.CssClass = cssAtt;
|
||||
checkUpdateTablet(NewUDC);
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = barcodeIn;
|
||||
Postazione.warningText = traduci("UdcNonTrovato");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
// se non lo trovo --> errore!
|
||||
@@ -593,17 +596,17 @@ namespace GMW.WebUserControls
|
||||
// in questo caso aggiungo Dtx con la catena della storia precedente
|
||||
try
|
||||
{
|
||||
particolare = DataMatrix.mgr.taDecode.GetData(barcodeIn)[0].Particolare;
|
||||
currParticolare = DataMatrix.mgr.taDecode.GetData(barcodeIn)[0].Particolare;
|
||||
}
|
||||
catch
|
||||
{
|
||||
particolare = "";
|
||||
currParticolare = "";
|
||||
}
|
||||
if (particolare != "")
|
||||
if (currParticolare != "")
|
||||
{
|
||||
try
|
||||
{
|
||||
NewUDC = MagClass.magazzino.taCartellini.getByParticolareAL(particolare, destAL)[0].UDC;
|
||||
NewUDC = MagClass.magazzino.taCartellini.getByParticolareAL(currParticolare, destAL)[0].UDC;
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -620,29 +623,29 @@ namespace GMW.WebUserControls
|
||||
// fix messaggi
|
||||
Postazione.messaggiText = traduci("ConfermatoDtx");
|
||||
Postazione.warningText = "";
|
||||
Postazione.CssClass = "stileAttesa";
|
||||
Postazione.CssClass = cssAtt;
|
||||
checkUpdateTablet(NewUDC);
|
||||
}
|
||||
else
|
||||
{
|
||||
// errore! UDC dest con qta == 0
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-DTX-005");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-DTX-001");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("ERR-DTX-002");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
// salvo prima conferma del dtx x insert
|
||||
@@ -651,20 +654,46 @@ namespace GMW.WebUserControls
|
||||
lastBarcodeIn = barcodeIn;
|
||||
Postazione.messaggiText = traduci("plsConfDtxLoad");
|
||||
Postazione.warningText = traduci("ERR-DTX-003");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssAdd;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Postazione.messaggiText = barcodeIn;
|
||||
Postazione.warningText = traduci("ERR-DTX-004");
|
||||
Postazione.CssClass = "stileComandoND";
|
||||
// devo distinguere tra il caso dei Dtx già spostati (quindi segnalare che è già in destinazione)
|
||||
|
||||
// verifico DTX sia in quelli dell'AL destinazione
|
||||
if (DataMatrix.mgr.taDtx2UDC.getByDtxAl(destAL, barcodeIn).Rows.Count > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
currParticolare = DataMatrix.mgr.taDecode.GetData(barcodeIn)[0].Particolare;
|
||||
}
|
||||
catch
|
||||
{
|
||||
currParticolare = "";
|
||||
}
|
||||
NewUDC = MagClass.magazzino.taCartellini.getByParticolareAL(currParticolare, destAL)[0].UDC;
|
||||
Postazione.messaggiText = barcodeIn;
|
||||
Postazione.warningText = traduci("ERR-DTX-006");
|
||||
Postazione.CssClass = cssWait;
|
||||
// update tablet!
|
||||
checkUpdateTablet(NewUDC);
|
||||
}
|
||||
// ... dal caso generico di un Dtx NON accettabile
|
||||
else
|
||||
{
|
||||
// volendo qui si potrebbe distinguere tra Dtx già con stato Fin e Dtx di RX/TT non ancora preso in carico ai Liquidi
|
||||
// errore generico!
|
||||
Postazione.messaggiText = barcodeIn;
|
||||
Postazione.warningText = traduci("ERR-DTX-004");
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
Postazione.warningText = traduci("ERR-BCD-001");
|
||||
Postazione.CssClass = "stileComandoND";
|
||||
Postazione.CssClass = cssErr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -689,14 +718,14 @@ namespace GMW.WebUserControls
|
||||
// sistemo grafica
|
||||
Postazione.messaggiText = traduci("CaricatoAL");
|
||||
Postazione.warningText = "";
|
||||
Postazione.CssClass = "stileAttesa";
|
||||
Postazione.CssClass = cssAtt;
|
||||
}
|
||||
else
|
||||
{
|
||||
// sistemo grafica
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.warningText = traduci("[ERR-ALL-001]");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -746,13 +775,13 @@ namespace GMW.WebUserControls
|
||||
doUpdate();
|
||||
// fisso focus su note!
|
||||
txtNote.Focus();
|
||||
chekUpdateTablet(currUDC);
|
||||
checkUpdateTablet(currUDC);
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua check e update tablet
|
||||
/// </summary>
|
||||
/// <param name="UDC"></param>
|
||||
private void chekUpdateTablet(string UDC)
|
||||
private void checkUpdateTablet(string UDC)
|
||||
{
|
||||
if (memLayer.ML.confReadBool("updateTablet"))
|
||||
{
|
||||
@@ -818,7 +847,7 @@ namespace GMW.WebUserControls
|
||||
MagClass.magazzino.eliminaEmptyAL(sourceAL, MagClass.magazzino.CodSoggCurrUser);
|
||||
Postazione.warningText = "";
|
||||
Postazione.messaggiText = "";
|
||||
Postazione.CssClass = "stileAttesa";
|
||||
Postazione.CssClass = cssAtt;
|
||||
// ricarico forzato!
|
||||
Response.Redirect("PostLiquidi_DT");
|
||||
}
|
||||
@@ -828,7 +857,7 @@ namespace GMW.WebUserControls
|
||||
forceDelete = true;
|
||||
Postazione.warningText = traduci("ConfChiusConAnomDtx");
|
||||
Postazione.messaggiText = traduci("RichConfChiusAlDtx");
|
||||
Postazione.CssClass = "stileComandoKo";
|
||||
Postazione.CssClass = cssErr;
|
||||
}
|
||||
doUpdate();
|
||||
}
|
||||
@@ -883,7 +912,7 @@ namespace GMW.WebUserControls
|
||||
{
|
||||
MagClass.magazzino.taCartellini.updateQty(currUDC, MagClass.magazzino.CodSoggCurrUser, "U", codEventoUdcOut, qta);
|
||||
// fix tablet
|
||||
chekUpdateTablet(currUDC);
|
||||
checkUpdateTablet(currUDC);
|
||||
currUDC = "";
|
||||
currParticolare = "";
|
||||
grViewDest.SelectedIndex = -1;
|
||||
@@ -984,7 +1013,7 @@ namespace GMW.WebUserControls
|
||||
MagClass.magazzino.stampaUdc(currUDC, Postazione.printer, tipoCartellino.cartFinitiSP, Request.UserHostName);
|
||||
// registro creazione AL
|
||||
MagClass.magazzino.taSAO.insertQuery(DateTime.Now, MagClass.magazzino.CodSoggCurrUser, Postazione.name, Postazione.IP, currUDC, currParticolare, "stampaUDC", string.Format("Stampato UDC Dtx {0} su linea {1}, note: {2} ", currUDC, Postazione.currCodLinea, noteTrim));
|
||||
Postazione.CssClass = "stileAttesa";
|
||||
Postazione.CssClass = cssAtt;
|
||||
Postazione.warningText = "";
|
||||
Postazione.messaggiText = traduci("cartAlStampato");
|
||||
// calcolo particolare completo di descrizione
|
||||
@@ -1002,7 +1031,7 @@ namespace GMW.WebUserControls
|
||||
else
|
||||
{
|
||||
// ricarico che mi manca postazione!
|
||||
Postazione.CssClass = "stileAttesa";
|
||||
Postazione.CssClass = cssAtt;
|
||||
Postazione.warningText = traduci("ERR-POS-001");
|
||||
Postazione.messaggiText = "";
|
||||
Response.Redirect(user_std.pagCorrente);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3109,6 +3109,20 @@
|
||||
The tooltip.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:SteamWare.UserControl">
|
||||
<summary>
|
||||
Base class for every user control in the application, containing some common
|
||||
behaviour and utility methods.
|
||||
It is not meant to be be used directly.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:SteamWare.UserControl.traduci(System.Object)">
|
||||
<summary>
|
||||
wrapper traduzione
|
||||
</summary>
|
||||
<param name="lemma"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:SteamWare.user_std">
|
||||
<summary>
|
||||
classe gestione utente: auth e permission/ruoli - versione GENERICA
|
||||
|
||||
Binary file not shown.
@@ -3109,6 +3109,20 @@
|
||||
The tooltip.
|
||||
</value>
|
||||
</member>
|
||||
<member name="T:SteamWare.UserControl">
|
||||
<summary>
|
||||
Base class for every user control in the application, containing some common
|
||||
behaviour and utility methods.
|
||||
It is not meant to be be used directly.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:SteamWare.UserControl.traduci(System.Object)">
|
||||
<summary>
|
||||
wrapper traduzione
|
||||
</summary>
|
||||
<param name="lemma"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:SteamWare.user_std">
|
||||
<summary>
|
||||
classe gestione utente: auth e permission/ruoli - versione GENERICA
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.5.665.1560")]
|
||||
[assembly: AssemblyFileVersion("2.5.665.1560")]
|
||||
[assembly: AssemblyVersion("2.5.667.1564")]
|
||||
[assembly: AssemblyFileVersion("2.5.667.1564")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-2014")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("2.5.665.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.5.665.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("2.5.667.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("2.5.667.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2007-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Reference in New Issue
Block a user