BusinessMgr 3.0.1.0
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user