This commit is contained in:
@@ -28,8 +28,9 @@ namespace AyaNova.Biz
|
||||
//get the FormField object
|
||||
FormField FF = FormFields.Where(z => z.FieldKey == FldLtKey).Single();
|
||||
|
||||
//don't validate custom fields, just skip them
|
||||
if (!FF.IsCustomField)
|
||||
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))
|
||||
{
|
||||
//Now get the actual property name from the available fields using the lt key
|
||||
string RequiredPropertyName = FF.FieldKey;
|
||||
|
||||
Reference in New Issue
Block a user