Table Line Items Iteration using Script in Abbyy Document Definition - Manoj Jha

Manoj Jha

Robotic Process Automation, Abbyy Flexicapture, Python, JavaScript, C#. Machine learning and Data Science

Table Line Items Iteration using Script in Abbyy Document Definition

Share This

 In this blog, I will show you, How we can iterate the table captured in Abbyy Flexicapture, and if we want to update or delete the value then how we can do that. 

We can design the layout in Abbyy Flexilayout to capture the table field. To capture the table we can use either the Table element or the repeating group(please check my previous post where I have to explain how to capture the table using the repeating group). depending on the document and its data layout we can choose any of the methods to capture the table, But iterating through the data is the same for any method's capture data. In Abbyy document definition script there are many programming language options to write your custom script. Following are the list of Programming language available in Custom script:

  1. JScript
  2. VBScript
  3. JScript.Compact
  4. C# .Net
  5. Visual Basic .Net
  6. JScript .Net

In this post, I'll use the C# .Net script to show how you can write a custom script. Similarly, you can try another programming language that you are comfortable with.

Suppose you want to perform Left join or Vlookup between two tables then go through the below code. In this code, I have taken 4 fields from two tables. One field is to check if the same field is found in table 2. and the other two fields are the ones which we will get from table 2and add to table1.



Please comment below if you have any doubts or questions. Thanks for visiting my blog.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

If the post was helpful to you, Please donate us so we can create more useful content

Support by Donate

Pages