diff --git a/C2P/MakeSim.aspx.cs b/C2P/MakeSim.aspx.cs index 31acf52..0b99395 100644 --- a/C2P/MakeSim.aspx.cs +++ b/C2P/MakeSim.aspx.cs @@ -52,24 +52,29 @@ namespace C2P { } if (batchQty > 0 && RawMatCost > 0) { + if (memLayer.ML.confReadInt("_logLevel") > 5) logger.lg.scriviLog("MakeSim: Step 01", tipoLog.INFO); // verifico SI POSSA creare una nuova offerta standard x item indicato - if (ddlRawMat.SelectedValue!="") + if (ddlRawMat.SelectedValue != "") { + if (memLayer.ML.confReadInt("_logLevel") > 5) logger.lg.scriviLog("MakeSim: Step 02", tipoLog.INFO); // creo offerta std coi dati indicati long CodQuote = 0; try { DS_Quotes.QuoteFull_QDataTable tabQuote = DtProxy.man.taQFQ.insertNew("Q", ddlCodCustomer.SelectedValue, CodItem, ddlRawMat.SelectedValue, RawMatCost, 0, batchQty, "EXW", "EXT"); CodQuote = tabQuote[0].CodQuote; + if (memLayer.ML.confReadInt("_logLevel") > 5) logger.lg.scriviLog("MakeSim: Step 03", tipoLog.INFO); } catch { } // modifico offerta da Q a S if (CodQuote > 0) { + if (memLayer.ML.confReadInt("_logLevel") > 5) logger.lg.scriviLog("MakeSim: Step 04", tipoLog.INFO); DS_Quotes.QuoteListDataTable tab = DtProxy.man.taQL.makeSim(Convert.ToInt32(CodQuote), 0); if (tab.Rows.Count > 0) { + if (memLayer.ML.confReadInt("_logLevel") > 5) logger.lg.scriviLog("MakeSim: Step 05", tipoLog.INFO); // seleziona l'offerta duplicata! Response.Redirect(string.Format("Quote?QuoteType={0}&CodQuote={1}&QuoteRev={2}", tab[0].QuoteType, tab[0].CodQuote, tab[0].QuoteRev)); } @@ -84,11 +89,13 @@ namespace C2P else { lblAcqOut.Text = traduci("ERR-CS-EXT-002"); + logger.lg.scriviLog(traduci("ERR-CS-EXT-002"), tipoLog.ERROR); } } else { lblAcqOut.Text = traduci("ERR-CS-EXT-001"); + logger.lg.scriviLog(traduci("ERR-CS-EXT-001"), tipoLog.ERROR); } } diff --git a/C2P/Properties/PublishProfiles/demo.pubxml b/C2P/Properties/PublishProfiles/demo.pubxml index 9a3abfd..240ee34 100644 --- a/C2P/Properties/PublishProfiles/demo.pubxml +++ b/C2P/Properties/PublishProfiles/demo.pubxml @@ -11,13 +11,13 @@ by editing this MSBuild file. In order to learn more about this please visit htt True True - https://10.74.82.29:8172/MsDeploy.axd + https://10.74.82.21:8172/MsDeploy.axd Default Web Site/C2P False WMSVC True - proxima + DEMO\Administrator <_SavePWD>True diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll index 77e5167..a74fbd5 100644 Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ diff --git a/C2P/obj/DEMO/AspnetCompileMerge/Source/MakeSim.aspx b/C2P/obj/DEMO/AspnetCompileMerge/Source/MakeSim.aspx index 62d854f..3b6f458 100644 --- a/C2P/obj/DEMO/AspnetCompileMerge/Source/MakeSim.aspx +++ b/C2P/obj/DEMO/AspnetCompileMerge/Source/MakeSim.aspx @@ -31,7 +31,6 @@ - <%----%> diff --git a/C2P/obj/DEMO/AspnetCompileMerge/TempBuildDir/MakeSim.aspx b/C2P/obj/DEMO/AspnetCompileMerge/TempBuildDir/MakeSim.aspx index 62d854f..3b6f458 100644 --- a/C2P/obj/DEMO/AspnetCompileMerge/TempBuildDir/MakeSim.aspx +++ b/C2P/obj/DEMO/AspnetCompileMerge/TempBuildDir/MakeSim.aspx @@ -31,7 +31,6 @@ - <%----%> diff --git a/C2P/obj/DEMO/Package/PackageTmp/MakeSim.aspx b/C2P/obj/DEMO/Package/PackageTmp/MakeSim.aspx index 62d854f..3b6f458 100644 --- a/C2P/obj/DEMO/Package/PackageTmp/MakeSim.aspx +++ b/C2P/obj/DEMO/Package/PackageTmp/MakeSim.aspx @@ -31,7 +31,6 @@ - <%----%>