public static bool IsEntityTypeParent(string code) { return(EntityTypeCache.IsParentTypeForTree( QPContext.EFContext, QPContext.CurrentCustomerCode, QPContext.CurrentLanguageId, code )); }