#fixed 1912

corretto gestioen UDC consumati: non ci sono metodi x editing!

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@296 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2010-10-19 10:05:05 +00:00
parent ab80eddf42
commit d9766bde2b
11 changed files with 34 additions and 7 deletions
+1 -1
View File
@@ -62,7 +62,7 @@
<add key="appName" value="GMW" />
<add key="SiteName" value="Ambivere"/>
<add key="mainRev" value="1.0" />
<add key="minRev" value="285"/>
<add key="minRev" value="286"/>
<add key="copyRight" value="SteamWare © 2010" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx" />
@@ -19,6 +19,21 @@ namespace GMW.WebUserControls
/// evento generale di reset
/// </summary>
public event EventHandler eh_reset;
/// <summary>
/// gestisce controllo se l'UDC sia già consumato
/// </summary>
public bool udcConsumato
{
get
{
return memLayer.ML.BoolSessionObj("UdcConsumato");
}
set
{
memLayer.ML.setSessionVal("UdcConsumato", value, false);
}
}
protected void Page_Load(object sender, EventArgs e)
{
@@ -36,7 +51,7 @@ namespace GMW.WebUserControls
mod_execUDC1.eh_nuovoValore += new EventHandler(mod_execUDC1_eh_nuovoValore);
if (memLayer.ML.BoolSessionObj("RicercaUdcAttiva"))
{
mod_execUDC1.Visible = true;
mod_execUDC1.Visible = !udcConsumato;
mod_detailUDC1.Visible = true;
}
else
@@ -83,6 +98,17 @@ namespace GMW.WebUserControls
void mod_listUDC1_eh_selValore(object sender, EventArgs e)
{
// controllo se l'UDC sia o meno già consumato...
string UDC = memLayer.ML.StringSessionObj("UDC_sel");
GMW_data.DS_magazzino.v_UdcDetailRow rigaUdc = (GMW_data.DS_magazzino.v_UdcDetailRow)GMW_data.MagClass.magazzino.taDettUDC.getByFullUdc(UDC, memLayer.ML.confReadString("CodCS"))[0];
if (rigaUdc.IdxPosizione < 0)
{
udcConsumato = true;
}
else
{
udcConsumato = false;
}
memLayer.ML.setSessionVal("RicercaUdcAttiva", true, false);
aggiornaDettaglio();
}
@@ -93,7 +119,7 @@ namespace GMW.WebUserControls
{
mod_detailUDC1.Visible = true;
mod_detailUDC1.doUpdate();
mod_execUDC1.Visible = true;
mod_execUDC1.Visible = !udcConsumato;
// salvo dati UDC selezionato... UDC_sel c'è già...
string UDC = memLayer.ML.StringSessionObj("UDC_sel");
GMW_data.DS_magazzino.v_UdcDetailRow rigaUdc = (GMW_data.DS_magazzino.v_UdcDetailRow)GMW_data.MagClass.magazzino.taDettUDC.getByFullUdc(UDC, memLayer.ML.confReadString("CodCS"))[0];
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -7,7 +7,7 @@
<add key="appName" value="GMW"/>
<add key="SiteName" value="Ambivere"/>
<add key="mainRev" value="1.0"/>
<add key="minRev" value="285"/>
<add key="minRev" value="286"/>
<add key="copyRight" value="SteamWare © 2010"/>
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx#Test.aspx"/>
Binary file not shown.
Binary file not shown.
+1
View File
@@ -159,6 +159,7 @@
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<None Include="SqlScripts\GMW_00286.sql" />
<None Include="SqlScripts\GMW_00285.sql" />
<None Include="SqlScripts\GMW_00280.sql" />
<None Include="SqlScripts\GMW_00276.sql" />
Binary file not shown.
Binary file not shown.
+3 -3
View File
@@ -349,14 +349,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:GMW"
"ProductCode" = "8:{D7F7C2FF-375F-4F53-B83A-C4BEFE85D278}"
"PackageCode" = "8:{0CAA1CA8-DF44-4E0F-A00E-114EC66ABD0C}"
"ProductCode" = "8:{A6F41B4E-B884-4F5E-9EA6-1333CD7240D7}"
"PackageCode" = "8:{7094794B-00A2-43B5-92C3-829C663C3E3B}"
"UpgradeCode" = "8:{C9BC0732-DC92-4336-BAC9-A05A5D2A97C0}"
"RestartWWWService" = "11:TRUE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.0.285"
"ProductVersion" = "8:1.0.286"
"Manufacturer" = "8:SteamWare s.r.l."
"ARPHELPTELEPHONE" = "8:+39-035460560"
"ARPHELPLINK" = "8:http://www.steamware.net"