Hello,
I created a new rule for "Vendor Detect National Currency" so for that I create a new Dataset with values populated from database. Now writing script to Load country code and currency code from DAtaset but getting error while doing it. Here is my script
using System;
using System.Data;
using ABBYY.FlexiCapture;
public static string[,] getCountryCurrency() {
IDataSet dataSet = Context.DataSet("VendorCurrencyCode");
IDataSetQuery query = dataSet.CreateQuery();
IRecordset recordSet = dataSet.GetRecords(query);
for (int i = 0; i < recordSet.Count; i++)
{
record = recordSet.GetRecord(i);
string fullName = record.GetValue(0).ToString();
}
// return contry_currency;
}
Comments
0 comments
Please sign in to leave a comment.