<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Ideas for extracting complex table in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69158#M21763</link>
    <description>HI &lt;A href="https://community.blueprism.com/network/profile?UserKey=87fa65dd-afd7-496b-8313-a87965d5a971" target="_blank" rel="noopener"&gt;Elbio Lopez&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;That's a fairly complex scenario. I was recently working with the same kind of quotes where the items were dynamic.&lt;BR /&gt;&lt;BR /&gt;In your case, two tables are merged (essentially, but those are related). My approach would be to have &lt;STRONG&gt;two tables in the DFD&lt;/STRONG&gt;. The first table would have only the &lt;STRONG&gt;Product Code, Description, Qty. (Amount), Unit, &lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;$ / Liter&lt;/STRONG&gt;. And the second table would have the &lt;STRONG&gt;Delivery Number, Qty., and the Delivery Date&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question - How would you cross-match the data?&lt;BR /&gt;&lt;/STRONG&gt;Well, that is easy, now that you're extracting the Qty in the second table as well, you can iterate over both tables to cross-match the sum of the qty. Here's an example,&lt;BR /&gt;&lt;BR /&gt;Let's consider Index_X = 0 for the first table, that gives us qty = 7.000&lt;BR /&gt;Let's consider Index_Y = 0 for the second table, that gives us qty = 7.000&lt;BR /&gt;&lt;BR /&gt;As both of these quantities are the same, we can increment both Index_X and Index_Y by 1.&lt;BR /&gt;Now Index_X = 1 gives us qty = 116.999&lt;BR /&gt;Index_Y gives us qty = 29.000&lt;BR /&gt;Let's increment Index_Y and sum the quantities. We will increment Index_Y till the desired sum is reached which is 116.999.&lt;BR /&gt;&lt;BR /&gt;The next iteration should have Index_X = 2 and Index_Y = 5 and so on.&lt;BR /&gt;Let me know if that helps.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Rizwan Tayyab&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sat, 27 Nov 2021 23:29:00 GMT</pubDate>
    <dc:creator>rizistt</dc:creator>
    <dc:date>2021-11-27T23:29:00Z</dc:date>
    <item>
      <title>Ideas for extracting complex table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69157#M21762</link>
      <description>I need help from someone with experience with Decipher. I have to extract a complex table of product code, description, quantity, unit of measure, $ / Liter, delivery number, delivery date&lt;BR /&gt;&lt;BR /&gt;Example:
&lt;DIV class="media" style="overflow: hidden"&gt;
&lt;DIV class="media" style="overflow: hidden"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="9424.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/9596i8A9B144C352B6BB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="9424.png" alt="9424.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;My problem is the delivery numbers. For each product there are N number of delivery numbers and they can have 5 pages only of lines of delivery numbers for a single product.&lt;BR /&gt;&lt;BR /&gt;The first thing I thought of is to make a table with&lt;BR /&gt;Code Product, Desc, Qty, Delivery 1, Date delivery 1, Delivery 2, Date Delivery 2, ..., Delivery N, Date Delivery N&lt;BR /&gt;&lt;BR /&gt;But since the amount of delivery number is dynamic, not really how many extra fields I can have.&lt;BR /&gt;&lt;BR /&gt;PDFs can contain more than 6 pages of the same invoice in a single file&lt;BR /&gt;&lt;BR /&gt;How would you think of this?&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Elbio Lopez&lt;BR /&gt;Senior Analyst&lt;BR /&gt;Enta Consulting&lt;BR /&gt;America/Argentina/Buenos_Aires&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Nov 2021 17:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69157#M21762</guid>
      <dc:creator>elopez</dc:creator>
      <dc:date>2021-11-27T17:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Ideas for extracting complex table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69158#M21763</link>
      <description>HI &lt;A href="https://community.blueprism.com/network/profile?UserKey=87fa65dd-afd7-496b-8313-a87965d5a971" target="_blank" rel="noopener"&gt;Elbio Lopez&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;That's a fairly complex scenario. I was recently working with the same kind of quotes where the items were dynamic.&lt;BR /&gt;&lt;BR /&gt;In your case, two tables are merged (essentially, but those are related). My approach would be to have &lt;STRONG&gt;two tables in the DFD&lt;/STRONG&gt;. The first table would have only the &lt;STRONG&gt;Product Code, Description, Qty. (Amount), Unit, &lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;$ / Liter&lt;/STRONG&gt;. And the second table would have the &lt;STRONG&gt;Delivery Number, Qty., and the Delivery Date&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question - How would you cross-match the data?&lt;BR /&gt;&lt;/STRONG&gt;Well, that is easy, now that you're extracting the Qty in the second table as well, you can iterate over both tables to cross-match the sum of the qty. Here's an example,&lt;BR /&gt;&lt;BR /&gt;Let's consider Index_X = 0 for the first table, that gives us qty = 7.000&lt;BR /&gt;Let's consider Index_Y = 0 for the second table, that gives us qty = 7.000&lt;BR /&gt;&lt;BR /&gt;As both of these quantities are the same, we can increment both Index_X and Index_Y by 1.&lt;BR /&gt;Now Index_X = 1 gives us qty = 116.999&lt;BR /&gt;Index_Y gives us qty = 29.000&lt;BR /&gt;Let's increment Index_Y and sum the quantities. We will increment Index_Y till the desired sum is reached which is 116.999.&lt;BR /&gt;&lt;BR /&gt;The next iteration should have Index_X = 2 and Index_Y = 5 and so on.&lt;BR /&gt;Let me know if that helps.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Rizwan Tayyab&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 27 Nov 2021 23:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69158#M21763</guid>
      <dc:creator>rizistt</dc:creator>
      <dc:date>2021-11-27T23:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Ideas for extracting complex table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69159#M21764</link>
      <description>Rizwan, thanks for the reply. &lt;BR /&gt;&lt;BR /&gt;I will try the approaches you mention. I just wanted to build 2 tables but I wanted to include the product code in the 2 tables but decipher did not allow it since the region was used for the first table. But with your idea of adding the quantities you can also relate the products to their deliveries.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Elbio Lopez&lt;BR /&gt;Senior Analyst&lt;BR /&gt;Enta Consulting&lt;BR /&gt;America/Argentina/Buenos_Aires&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Nov 2021 00:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69159#M21764</guid>
      <dc:creator>elopez</dc:creator>
      <dc:date>2021-11-28T00:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Ideas for extracting complex table</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69160#M21765</link>
      <description>Great, please let me know how it goes.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Rizwan Tayyab&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Nov 2021 00:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Ideas-for-extracting-complex-table/m-p/69160#M21765</guid>
      <dc:creator>rizistt</dc:creator>
      <dc:date>2021-11-28T00:26:00Z</dc:date>
    </item>
  </channel>
</rss>

