This commit is contained in:
2020-03-12 22:36:20 +00:00
parent e0b5ea0dc3
commit 883e10fcd7
10 changed files with 239 additions and 142 deletions

View File

@@ -175,7 +175,7 @@ namespace AyaNova.Api.Controllers
//Is it an attachable type of object?
if (!badRequest)
{
if (!attachToObject.IsAttachable)
if (!attachToObject.IsCoreBizObject)
{
badRequest = true;
errorMessage = attachToObject.ObjectType.ToString() + " - AttachToObjectType does not support attachments";

View File

@@ -83,7 +83,7 @@ namespace AyaNova.Api.Controllers
string name = t.ToString();
if (t.HasAttribute(typeof(CoreBizObjectAttribute)))
{
name += " [Attachable]";
name += " [CoreBizObject]";
}
ReturnList.Add(new NameIdItem() { Name = name, Id = (long)t });
}