BusinessMgr 3.0.1.0

This commit is contained in:
Andy Howard
2025-02-19 11:31:45 +00:00
parent 77a2964ab5
commit f8c5f54585
28 changed files with 128 additions and 109 deletions
@@ -97,7 +97,7 @@ namespace Sarand.Net.Standard.Base.ReferenceData
public virtual bool RegionCanBeDeleted(SaRegion region)
{
ClearErrorState();
if (region == null) return SetErrorState(Msg_ItemNotSpecified);
if (region == null) return SetErrorState(ErrorMessage.InvalidStatus);
if (region.HasDependentRegions()) return SetErrorState("Has dependent regions");
if (region.HasDependentCurrencies()) return SetErrorState("Has dependent currencies");
if (region.HasDependentTaxCodes()) return SetErrorState("Has dependent tax codes");