I am very new to ABBY and have spent the past couple of days trying to figure out how I can refer to the value of one field inside the rule for another. I am using .Net C# to create my rule. At this stage I want to simply check to see if a field called "StoreNum" has a value and if it does put it into a field called "CustomerID" within a rule inside CustomerID. Once I have figured out how to do this I will be expanding the script to do a far more complex task, but am stuck at this basic operation. Any assistance would be greatly appreciated.
Sample code is below:
//System.Data.DataSet ds = new System.Data.DataSet();
bool isStoreID = false;
string StoreID = Context.Field("Document Definition 1/StoreNum").Text;
Context.CheckSucceeded = true;
Context.Field("CustomerID").Text = StoreID;