Returns an array of FieldInfo objects corresponding to all the Entity's fields with incorrect values.
The FieldInfo objects are arranged in no particular order. Use this method before committing a record to determine which fields contain invalid values, so that you can fix them.
VBScript
entity.GetInvalidFieldValues
Perl
$entity->GetInvalidFieldValues();
VBScript
' Iterate through the fields and examine the field names and values
fieldObjs = GetInvalidFieldValues
For Each field In fieldObjs
fieldValue = field.GetValue
fieldName = field.GetName
' ...
Next
Perl
# Get the list of field values
$fieldvalues = $entity->GetInvalidFieldValues();
$numfields = $fieldvalues->Count();
for ($x = 0; $x < $numfields ; $x++)
{
$field = $fieldvalues->Item($x);
$fieldvalue = $field->GetValue();
$fieldname = $field->GetName();
# ... other field commands
}