spostato conf Qta e Cod Imballo Sterrati e Fusi
This commit is contained in:
@@ -19,10 +19,6 @@
|
||||
<add key="SiteName" value="Tekal" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Datamatrix-->
|
||||
<add key="showReloadDataMatrix" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Imballi-->
|
||||
<add key="CodImballoSterr" value="IA00" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="QtaImballoSterr" value="50" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Setup codici postazioni-->
|
||||
<!-- setup odette -->
|
||||
<add key="raggMagOdette" value="TE" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="indStabFrom" value="TEKAL S.P.A. S.Giovanni Teatino CHIETI" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
|
||||
@@ -27,11 +27,6 @@
|
||||
<add key="enableOpAuth" value="true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Datamatrix-->
|
||||
<add key="showReloadDataMatrix" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Imballi-->
|
||||
<add key="CodImballoFusi" value="IA00" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="QtaImballoFusi" value="0" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="CodImballoSterr" value="IA00" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="QtaImballoSterr" value="0" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Setup urls stampa reports-->
|
||||
<add key="reportDir" value="TEKAL/MAGAZZINO" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="reportName" value="Lista_di_Prelievo" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
|
||||
@@ -26,11 +26,6 @@
|
||||
<add key="enableOpAuth" value="true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Datamatrix-->
|
||||
<add key="showReloadDataMatrix" value="false" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Imballi-->
|
||||
<add key="CodImballoFusi" value="IA00" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="QtaImballoFusi" value="0" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="CodImballoSterr" value="IA00" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="QtaImballoSterr" value="0" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<!--Setup urls stampa reports-->
|
||||
<add key="reportDir" value="TEKAL/MAGAZZINO" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
<add key="reportName" value="Lista_di_Prelievo_Test" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
|
||||
|
||||
@@ -110,10 +110,6 @@
|
||||
<add key="ggRimozDelibNC" value="7" />
|
||||
<add key="checkUDC_NC" value="false" />
|
||||
<!--Imballi-->
|
||||
<add key="CodImballoFusi" value="IA00" />
|
||||
<add key="QtaImballoFusi" value="0" />
|
||||
<add key="CodImballoSterr" value="" />
|
||||
<add key="QtaImballoSterr" value="0" />
|
||||
<add key="CodImballoTratt" value="" />
|
||||
<add key="QtaImballoTratt" value="0" />
|
||||
<add key="CodImballoFiniti" value="9CMP0130S" />
|
||||
|
||||
@@ -110,10 +110,6 @@
|
||||
<add key="ggRimozDelibNC" value="7" />
|
||||
<add key="checkUDC_NC" value="false" />
|
||||
<!--Imballi-->
|
||||
<add key="CodImballoFusi" value="IA00" />
|
||||
<add key="QtaImballoFusi" value="0" />
|
||||
<add key="CodImballoSterr" value="" />
|
||||
<add key="QtaImballoSterr" value="0" />
|
||||
<add key="CodImballoTratt" value="" />
|
||||
<add key="QtaImballoTratt" value="0" />
|
||||
<add key="CodImballoFiniti" value="9CMP0130S" />
|
||||
|
||||
@@ -110,10 +110,6 @@
|
||||
<add key="ggRimozDelibNC" value="7" />
|
||||
<add key="checkUDC_NC" value="false" />
|
||||
<!--Imballi-->
|
||||
<add key="CodImballoFusi" value="IA00" />
|
||||
<add key="QtaImballoFusi" value="0" />
|
||||
<add key="CodImballoSterr" value="" />
|
||||
<add key="QtaImballoSterr" value="0" />
|
||||
<add key="CodImballoTratt" value="" />
|
||||
<add key="QtaImballoTratt" value="0" />
|
||||
<add key="CodImballoFiniti" value="9CMP0130S" />
|
||||
|
||||
@@ -218,7 +218,7 @@ namespace GMW.WebUserControls
|
||||
private void traduciObj()
|
||||
{
|
||||
//txtBox
|
||||
txtQta.Text = memLayer.ML.confReadString("QtaImballoSterr");
|
||||
txtQta.Text = memLayer.ML.cdv("QtaImballoSterr");
|
||||
// buttons
|
||||
btnEmptyNote.Text = traduci("btnEmptyNote");
|
||||
}
|
||||
@@ -490,7 +490,7 @@ namespace GMW.WebUserControls
|
||||
try
|
||||
{
|
||||
// creo nuovo UDC ST... direttamente in posizione definitiva e con un evento differente...
|
||||
udcDest = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoSterr"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneSterratiTemp"), "IdxPosizioneSterratiTemp", eventoUDC, "", "", adesso.Year, Request.UserHostName);
|
||||
udcDest = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", "", 0, memLayer.ML.cdv("CodImballoSterr"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneSterratiTemp"), "IdxPosizioneSterratiTemp", eventoUDC, "", "", adesso.Year, Request.UserHostName);
|
||||
// associo UDC a AL...
|
||||
MagClass.magazzino.taAL2UDC.Insert(destAL, udcDest, adesso, MagClass.magazzino.CodSoggCurrUser);
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ namespace GMW.WebUserControls
|
||||
// labels
|
||||
btnCerca.Text = traduci("btnSearch");
|
||||
//txtBox
|
||||
txtQta.Text = memLayer.ML.confReadString("QtaImballoSterr");
|
||||
txtQta.Text = memLayer.ML.cdv("QtaImballoSterr");
|
||||
// buttons
|
||||
btnEmptyNote.Text = traduci("btnEmptyNote");
|
||||
}
|
||||
@@ -428,7 +428,7 @@ namespace GMW.WebUserControls
|
||||
}
|
||||
else // rimette default
|
||||
{
|
||||
txtQta.Text = memLayer.ML.confReadString("QtaImballoSterr");
|
||||
txtQta.Text = memLayer.ML.cdv("QtaImballoSterr");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -527,7 +527,7 @@ namespace GMW.WebUserControls
|
||||
if (partDistintaOk)
|
||||
{
|
||||
string newUdcChild = "";
|
||||
int qta = memLayer.ML.confReadInt("QtaImballoSterr");
|
||||
int qta = memLayer.ML.cdvi("QtaImballoSterr");
|
||||
string noteTrim = txtNote.Text.Trim();
|
||||
noteTrim = string.Format("{0}{1}{2}", Postazione.currNomeLinea, Environment.NewLine, noteTrim);
|
||||
try
|
||||
@@ -554,7 +554,7 @@ namespace GMW.WebUserControls
|
||||
try
|
||||
{
|
||||
// creo nuovo UDC sterrato OUT multiple
|
||||
newUdcChild = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoSterr"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneSterrati"), "IdxPosizioneSterrati", eventoUDC, noteTrim, "", adesso.Year, Request.UserHostName);
|
||||
newUdcChild = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", "", 0, memLayer.ML.cdv("CodImballoSterr"), "U", MagClass.magazzino.CodSoggCurrUser, qta, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneSterrati"), "IdxPosizioneSterrati", eventoUDC, noteTrim, "", adesso.Year, Request.UserHostName);
|
||||
// registro creazione nuovo UDC
|
||||
MagClass.magazzino.taSAO.insertQuery(adesso, codSogg, Postazione.name, Postazione.IP, newUdcChild, particolare, "creaUDC", string.Format("Creato nuovo UDC Sterrato, qta: {0} {1}", qta, noteTrim));
|
||||
}
|
||||
|
||||
@@ -153,7 +153,7 @@ namespace GMW.WebUserControls
|
||||
private void traduciObj()
|
||||
{
|
||||
//txtBox
|
||||
qta = memLayer.ML.confReadInt("QtaImballoFusi");
|
||||
qta = memLayer.ML.cdvi("QtaImballoFusi");
|
||||
// buttons
|
||||
btnEmptyNote.Text = traduci("btnEmptyNote");
|
||||
}
|
||||
@@ -344,7 +344,7 @@ namespace GMW.WebUserControls
|
||||
}
|
||||
else // rimette default
|
||||
{
|
||||
qta = memLayer.ML.confReadInt("QtaImballoFusi");
|
||||
qta = memLayer.ML.cdvi("QtaImballoFusi");
|
||||
}
|
||||
break;
|
||||
case tipoCodiceBarcode.UDC:
|
||||
@@ -525,7 +525,7 @@ namespace GMW.WebUserControls
|
||||
// aggiungo codice linea alle note
|
||||
noteTrim = string.Format("{0}{1}{2}", Postazione.currNomeLinea, Environment.NewLine, noteTrim);
|
||||
// creo nuovo UDC del trattamento liquidi
|
||||
newUdcChild = MagClass.magazzino.creaUdc(flusso, "", particolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoFusi"), "U", codSogg, qta, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneFusi"), "IdxPosizioneFusi", "UDC_FUSI", noteTrim, "", adesso.Year, Request.UserHostName);
|
||||
newUdcChild = MagClass.magazzino.creaUdc(flusso, "", particolare, "", "", "", "", "", 0, memLayer.ML.cdv("CodImballoFusi"), "U", codSogg, qta, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneFusi"), "IdxPosizioneFusi", "UDC_FUSI", noteTrim, "", adesso.Year, Request.UserHostName);
|
||||
|
||||
if (OpAuth.isAuth)
|
||||
{
|
||||
|
||||
@@ -219,7 +219,7 @@ namespace GMW.WebUserControls
|
||||
private void traduciObj()
|
||||
{
|
||||
//txtBox
|
||||
txtQta.Text = memLayer.ML.confReadString("QtaImballoSterr");
|
||||
txtQta.Text = memLayer.ML.cdv("QtaImballoSterr");
|
||||
// buttons
|
||||
btnEmptyNote.Text = traduci("btnEmptyNote");
|
||||
}
|
||||
@@ -657,7 +657,7 @@ namespace GMW.WebUserControls
|
||||
try
|
||||
{
|
||||
// creo nuovo UDC ST... direttamente in posizione definitiva e con un evento differente...
|
||||
udcDest = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoSterr"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneSterratiTemp"), "IdxPosizioneSterratiTemp", eventoUDC, "", "", adesso.Year, Request.UserHostName);
|
||||
udcDest = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", "", 0, memLayer.ML.cdv("CodImballoSterr"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneSterratiTemp"), "IdxPosizioneSterratiTemp", eventoUDC, "", "", adesso.Year, Request.UserHostName);
|
||||
// associo UDC a AL...
|
||||
MagClass.magazzino.taAL2UDC.Insert(destAL, udcDest, adesso, MagClass.magazzino.CodSoggCurrUser);
|
||||
}
|
||||
@@ -740,7 +740,6 @@ namespace GMW.WebUserControls
|
||||
if (OpAuth.isAuth || !OpAuth.opAuthReq)
|
||||
{
|
||||
DateTime adesso = DateTime.Now;
|
||||
//int qta = memLayer.ML.confReadInt("QtaImballoSterr");
|
||||
string noteTrim = txtNote.Text.Trim();
|
||||
string lineaCesta = string.Format("{0} | cesta: {1}", Postazione.currNomeLinea, numCesta);
|
||||
noteTrim = string.Format("{0}{1}{2}", lineaCesta, Environment.NewLine, noteTrim);
|
||||
|
||||
@@ -217,7 +217,7 @@ namespace GMW.WebUserControls
|
||||
private void traduciObj()
|
||||
{
|
||||
//txtBox
|
||||
txtQta.Text = memLayer.ML.confReadString("QtaImballoSterr");
|
||||
txtQta.Text = memLayer.ML.cdv("QtaImballoSterr");
|
||||
// buttons
|
||||
btnEmptyNote.Text = traduci("btnEmptyNote");
|
||||
}
|
||||
@@ -517,7 +517,7 @@ namespace GMW.WebUserControls
|
||||
try
|
||||
{
|
||||
// creo nuovo UDC ST... direttamente in posizione definitiva e con un evento differente...
|
||||
udcDest = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", "", 0, memLayer.ML.confReadString("CodImballoSterr"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneSterratiTemp"), "IdxPosizioneSterratiTemp", eventoUDC, "", "", adesso.Year, Request.UserHostName);
|
||||
udcDest = MagClass.magazzino.creaUdc(flusso, "", currParticolare, "", "", "", "", "", 0, memLayer.ML.cdv("CodImballoSterr"), "U", MagClass.magazzino.CodSoggCurrUser, 0, 0, 0, adesso, 0, statoUDC, memLayer.ML.cdvi("IdxPosizioneSterratiTemp"), "IdxPosizioneSterratiTemp", eventoUDC, "", "", adesso.Year, Request.UserHostName);
|
||||
// associo UDC a AL...
|
||||
MagClass.magazzino.taAL2UDC.Insert(destAL, udcDest, adesso, MagClass.magazzino.CodSoggCurrUser);
|
||||
}
|
||||
@@ -599,7 +599,6 @@ namespace GMW.WebUserControls
|
||||
if (OpAuth.isAuth || !OpAuth.opAuthReq)
|
||||
{
|
||||
DateTime adesso = DateTime.Now;
|
||||
//int qta = memLayer.ML.confReadInt("QtaImballoSterr");
|
||||
|
||||
string noteTrim = txtNote.Text.Trim();
|
||||
string lineaCesta = string.Format("FUORICICLO | {0} | cesta: {1}", Postazione.currNomeLinea, numCesta);
|
||||
|
||||
Reference in New Issue
Block a user