This commit is contained in:
2022-01-23 22:25:31 +00:00
parent b1d39d2a38
commit b16560116b
3 changed files with 22 additions and 23 deletions

View File

@@ -30,7 +30,7 @@ namespace AyaNova.Biz
var proposedObjectType=proposedObject.GetType().ToString();
//don't validate custom fields, just skip them, make sure if it's sectional it matches the section of the object type (workorder sub sections)
if (!FF.IsCustomField && FF.TKeySection == null || proposedObjectType.EndsWith(FF.TKeySection))
if (!FF.IsCustomField && (FF.TKeySection == null || proposedObjectType.EndsWith(FF.TKeySection)))
{
//Now get the actual property name from the available fields using the lt key
string RequiredPropertyName = FF.FieldKey;