This commit is contained in:
2019-10-08 18:14:43 +00:00
parent 6fdf39ab8a
commit 5ddfcfcfc8
3 changed files with 23 additions and 5 deletions

View File

@@ -51,11 +51,6 @@
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<HintPath>..\..\3rdprtylibs\chilkat\64bit\ChilkatDotNet4.dll</HintPath> <HintPath>..\..\3rdprtylibs\chilkat\64bit\ChilkatDotNet4.dll</HintPath>
</Reference> </Reference>
<Reference Include="CSLA.Server.DataPortal, Version=7.5.0.0, Culture=neutral, PublicKeyToken=df66a8d8e49833d3, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\release\CSLA.Server.DataPortal.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.9.0.1\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath>..\..\packages\Newtonsoft.Json.9.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
<Private>True</Private> <Private>True</Private>
@@ -198,6 +193,10 @@
<Project>{C2392355-12A9-4197-A1D3-603C390B1E62}</Project> <Project>{C2392355-12A9-4197-A1D3-603C390B1E62}</Project>
<Name>CSLA.Core.Bindablebase</Name> <Name>CSLA.Core.Bindablebase</Name>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\csla10\CSLA.Server.DataPortal\CSLA.Server.DataPortal.vbproj">
<Project>{80828e2c-e9fb-4e73-a27c-7f9cdb96fcde}</Project>
<Name>CSLA.Server.DataPortal</Name>
</ProjectReference>
<ProjectReference Include="..\csla10\CSLA\CSLA.vbproj"> <ProjectReference Include="..\csla10\CSLA\CSLA.vbproj">
<Project>{1B9A38BB-461A-47A4-AD72-099C694138A0}</Project> <Project>{1B9A38BB-461A-47A4-AD72-099C694138A0}</Project>
<Name>CSLA</Name> <Name>CSLA</Name>

View File

@@ -75,6 +75,8 @@ namespace GZTW.AyaNova.BLL
//Notification internal stuff //Notification internal stuff
private bool mContractExpiryChanged=false; private bool mContractExpiryChanged=false;
//case 3701
private bool mActiveChanged = false;
private string mContactNotes = ""; private string mContactNotes = "";
@@ -416,6 +418,8 @@ namespace GZTW.AyaNova.BLL
if(mActive!=value) if(mActive!=value)
{ {
mActive = value; mActive = value;
//case 3701
mActiveChanged = true;
MarkDirty(); MarkDirty();
} }
@@ -2394,6 +2398,14 @@ namespace GZTW.AyaNova.BLL
//in use AyaBizUtils.MRU.Save(); //in use AyaBizUtils.MRU.Save();
} }
//case 3701 set pm's inactive if client is now inactive
if (this.mActiveChanged && this.mActive == false)
{
//here set all pm's for this client to inactive
}
//Process events as necessary //Process events as necessary
if (AyaBizUtils.GlobalSettings.UseNotification)//Case 510 if (AyaBizUtils.GlobalSettings.UseNotification)//Case 510
{ {

View File

@@ -704,6 +704,13 @@ namespace GZTW.AyaNova.BLL
// LocalizedTextTable.GetLocalizedTextDirect("Error.Security.NotAuthorizedToRetrieve"), // LocalizedTextTable.GetLocalizedTextDirect("Error.Security.NotAuthorizedToRetrieve"),
// LocalizedTextTable.GetLocalizedTextDirect("O.WorkorderPreventiveMaintenance"))); // LocalizedTextTable.GetLocalizedTextDirect("O.WorkorderPreventiveMaintenance")));
} }
update AWORKORDERPREVENTIVEMAINTENANCE set aactive = 1 from AWORKORDERPREVENTIVEMAINTENANCE
LEFT OUTER JOIN AWORKORDER ON (AWORKORDERPREVENTIVEMAINTENANCE.AWORKORDERID=AWORKORDER.AID)
WHERE AWORKORDER.AWORKORDERTYPE='2' and
aworkorder.ACLIENTID='9038112D-D650-4C7F-B90C-5459F8706263'
#endregion #endregion
#region DAL DATA ACCESS #region DAL DATA ACCESS