No field with name '"%NAME%' at ABBYY.FlexiCapture.IRuleContext.Field error is shown after document recognition:
This error indicates that no field with a particular name was found for the Script Rule. In this case, the invalid Alias Name of the Field Country defined in the script is 'VendorCountry'.
An Alias Name is a custom name of the field that should be used in the script as a reference to this field. This allows not to have to rewrite a script if a field's name has been changed during processing. The script will refer to the particular name specified in the Alias Name column. It could be set while creating the rule or edited in the Rule Settings:
Please make sure that the Alias Name for the Field in Rule Settings corresponds to the name used in the script.