Hello,
I am using Document understanding for extracting invoice details. I need to write invoice information in the item table. (Eg: Invoice number, Date needs to write in the item-level table) But unable to get those invoice level information particularly.
In the Document Understanding framework, once you complete the data extraction scope, the output you get is a variable of type “ExtractionResult”.
For you to get the data you extracted, you have to use the activity called “Export Extraction Results”. This will take the ExtractionResult variable as input and give you a DataSet variable as the output.
This DataSet variable contain multiple DataTables and these datatables do contain the data you extracted from the invoice.
Hence the DataSet contain multiple data tables, you have to next use the For Each activity, and configure the argument of that to DataTable.
Within the For Each activity, use any type of activity that you need to get the data from each data table. For example, if you wish to write the data into a excel sheet, you can simply use write range inside the For Each
@Lahiru.Fernando,
I tried the export extraction activity method. But now, Unable to retrieve a specific value from the dataset/extraction result variable.
@Kalees9486 - I have worked on another DU where i have used Intelligent Form Extractor as shown below…You can extract any fields from it after defining that field in the taxonomy manager…
I tried to extract data From Scanned PDF. As it is a scanned document, it’s template data-position may change like Structural Difference ( Shrink, Enlarge).
if this is a form, please try the form extractor - it should take care of skew angles and size (like shrink / enlarge). It cannot deal with warping (curvy lines) - so if the page has a constant skew angle, all good. if it varies throughout the page, not good…
so do try the form extractor to see if it works…
@Kalees9486 - I hope you are writing your output to excel right? From there, you can use Read range to Datatable and from the datatable, you can read the specific column you want…
@prasath17
My objective is, I want to extract data from an invoice file (Invoice information like Invoice Number, PO number, date, total, etc., and with line items. Now I have to write the invoice number and PO number information in the line item sheet. It’s just for better identification like these items from this particular invoice. It is a reference key for a particular invoice(Primary Key).
Yeah. I know, its possible to get a specific value after writing into an excel. By any chance or is there a way to write this information at the time of writing into an excel file?