You are viewing limited content. For full access, please sign in.

Question

Question

Ingesting line item data into Laserfiche

asked on August 6, 2024

Our EzeScan Capture product is capable of extracting not only the Top & Tail but also line Item data on invoices.

We are looking for a way to upload the additional Line Item data into Laserfiche, we output the  separate line item data as either CSV or .xml normally, and with other ECM solutions we can populate a table. Any ideas how Laserfiche might achieve this?

0 0

Replies

replied on August 7, 2024

It gets a little tricky if your using a quoted CSV format to account for commas in the data itself, but assuming the data is simply comma delimited I often use Workflow's Retreive Document Text activity to extract the data from the CSV file uploaded to the LF Repository, then create a token that breaks it up by lines using the following pattern matching config:

Then for each value (which is your current row), split on comma and select your column by index:

1 0
replied on August 8, 2024

After splitting the text into lines, you can use a For Each Value activity to iterate over each line.  After splitting each line into individual values, you can use another For Each Value activity to iterate over each column value (e.g., if you want to format a value before saving it to a field).

Also, by using multiple multi-value fields (one for each column), you can simulate a table on a document in Laserfiche.  Multi-value field groups take this one step further and group the values by index/line, creating a "record" for each line in the table.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.