<?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: How does Incorta handle Source deletions of rows ? in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/how-does-incorta-handle-source-deletions-of-rows/m-p/678#M5</link>
    <description>&lt;P&gt;Another option to build on what Amit mentioned is to have a temp table in the source database (in the case of a database) and install a database trigger on the main table you want to track deletes. This trigger will only be for "on delete" which will only fire when you delete a record. You can then sync that table to the Incorta instance and use as Amit mentioned above as a security filter. If you have any questions let us know.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 17:00:10 GMT</pubDate>
    <dc:creator>LayeredDelay</dc:creator>
    <dc:date>2022-03-23T17:00:10Z</dc:date>
    <item>
      <title>How does Incorta handle Source deletions of rows ?</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/how-does-incorta-handle-source-deletions-of-rows/m-p/502#M3</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How can Incorta support hard del&lt;/SPAN&gt;&lt;SPAN&gt;etes in Source System&amp;nbsp;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 18:00:01 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/how-does-incorta-handle-source-deletions-of-rows/m-p/502#M3</guid>
      <dc:creator>KailaT</dc:creator>
      <dc:date>2022-03-16T18:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: How does Incorta handle Source deletions of rows ?</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/how-does-incorta-handle-source-deletions-of-rows/m-p/503#M4</link>
      <description>&lt;DIV class=""&gt;
&lt;P&gt;There are two usecases here -&amp;nbsp;&lt;BR /&gt;1) For some sources like Siebel which supports soft deletes (typically a binary valued column indicating if the row is deleted or not)&amp;nbsp;then we handle deletes by using a table security filter on that field. &amp;nbsp;&lt;BR /&gt;2) For sources like E-Business Suite which does not support soft deletes then here is one way to handle it in Incorta -&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Define a slim table which just has the Key fields of the table we want to support deletes&lt;/LI&gt;
&lt;LI&gt;We will always &amp;nbsp;do a full load of the above table.&lt;/LI&gt;
&lt;LI&gt;Make the above table&amp;nbsp;as a parent table of the base table by creating a child join from the base table to this keys table.&lt;/LI&gt;
&lt;LI&gt;Apply a table security filter on the base table as - "a field of parent table is not null" .&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Sample&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;security filter on base table using the parent table field - &lt;STRONG&gt;&lt;EM&gt;not(isNull(Test.parent_table_with_keys.id))&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;For Oracle cloud ERP source first create a new oracle cloud applications data connections and&amp;nbsp;select file extension as '.pecsv'&lt;/LI&gt;
&lt;LI&gt;'&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amit_kothari_0-1678388429282.png" style="width: 400px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/2000i0A72507C28B5A852/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amit_kothari_0-1678388429282.png" alt="amit_kothari_0-1678388429282.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&amp;nbsp;
&lt;OL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Then do a Primary Key Extract in BICC for that VO using manage extract schedules and selecting the job type as ‘Active primary Key Extract’&amp;nbsp; . We need to make sure that this always runs in full extract mode.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Create a new Incorta schema (or use an existing one)&amp;nbsp; for these PK tables and add the PK tables using Schema wizard&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Always do a full load of the above PK table. Make sure that the Incremental toggle is turned off for this table&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;After this follow steps 3,4 &amp;amp; 5 above&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;This&amp;nbsp;way the deleted rows from the base fact will always be filtered off from the dashboards. If required you can also schedule a periodic full load (for example every week)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to flush out the deleted records from the base table.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 May 2023 19:01:49 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/how-does-incorta-handle-source-deletions-of-rows/m-p/503#M4</guid>
      <dc:creator>amit_kothari</dc:creator>
      <dc:date>2023-05-25T19:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: How does Incorta handle Source deletions of rows ?</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/how-does-incorta-handle-source-deletions-of-rows/m-p/678#M5</link>
      <description>&lt;P&gt;Another option to build on what Amit mentioned is to have a temp table in the source database (in the case of a database) and install a database trigger on the main table you want to track deletes. This trigger will only be for "on delete" which will only fire when you delete a record. You can then sync that table to the Incorta instance and use as Amit mentioned above as a security filter. If you have any questions let us know.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 17:00:10 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/how-does-incorta-handle-source-deletions-of-rows/m-p/678#M5</guid>
      <dc:creator>LayeredDelay</dc:creator>
      <dc:date>2022-03-23T17:00:10Z</dc:date>
    </item>
  </channel>
</rss>

