Script is not getting enabled for vendor name,getting exceptional error.

Hi all,

I'm using script for vendor name when abbyy fail to recognize vendor name properly,normally those scripts were executing.This time the script gets enabled but there was no change for vendor name.the script was if this field contains this value then this must be the vendor name.I just did more validations but nothing worked, i need your help guys or i need to try by creating a new block again.


1.I'm getting error as there is field with that name but before getting into script i added the field.

2.For address part the script is getting executed only for vendor name, city and street this is not working when all other scripts gets executed.

3.I made changes to  this field as only read-only, or can be editable i tried both options but no impact. 

Attached screenshot:

Something i'm missing this time which it didn't happened for other fields and scripts.I tried script 

Context.Field("AbilityRemitTo").Text=="XXX" or Contains("XXX") then Context.Field("Name").Text="zzz";


Was this article helpful?

0 out of 0 found this helpful



  • Avatar
    Adrian Enders

    Did you solve this? Is this a Rule script in the Doc Def, yes? If so, check the "Alias" in the Rule setup just before you enter the script. Or check to make sure the field has been added to the rule.


  • Avatar

    Eeh hai, I found the issue it's because of chain rule. Vendor automatically gets filled from dataset so this overwrite my script,so when I change chain arrangements it starts working.



Please sign in to leave a comment.