<?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 to replicate data with audit trail for each tables from the source in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545138#M16069</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Harikesh OP,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/347193"&gt;@harikesh_1991&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For an Oracle source to Oracle target task, you can add a new column (for example, &lt;EM&gt;userName&lt;/EM&gt;) and set its expression to &lt;STRONG&gt;$AR_H_USER&lt;/STRONG&gt;, as shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="userName Expression.jpg" style="width: 928px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187363i203AB29896C43EFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="userName Expression.jpg" alt="userName Expression.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will allow the target table to capture the user name that performed the update on each row.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="userName Resultjpg.jpg" style="width: 954px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187364iDD6C172D1DEF20C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="userName Resultjpg.jpg" alt="userName Resultjpg.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2026 10:30:53 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2026-03-19T10:30:53Z</dc:date>
    <item>
      <title>How to replicate data with audit trail for each tables from the source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545117#M16063</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121014"&gt;@Dana_Baldwin&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125525"&gt;@DesmondWOO&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a requirement to replicate a set of tables from the source to the target, however I need to setup audit trail for each tables. We have to track each changes of a record. Who changed it, what changed and when? &lt;BR /&gt;How can this be implemented? I need each changes whether its insert/delete/update to be captured. &lt;BR /&gt;Can this be implemented only via the store changes task? That means the __ct table will hold the history of changes? Also for this do we have to enable on update: Store after image only/Store before and After image.&lt;BR /&gt;Also for applying the changes to the actual target table, we can select apply changes as well in the same task? or do we need to 2 separate tasks for it?&lt;/P&gt;
&lt;P&gt;Could you please advise on how to configure the target tables like it will only be inserts , as there will multiple changes to the same record?&lt;BR /&gt;&lt;BR /&gt;just wanted some suggestions on the best practices or approach for this requirement.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Harikesh OP&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 07:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545117#M16063</guid>
      <dc:creator>harikesh_1991</dc:creator>
      <dc:date>2026-03-19T07:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate data with audit trail for each tables from the source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545118#M16064</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Harikesh OP,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/347193"&gt;@harikesh_1991&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-end="277" data-start="50"&gt;You are correct — both &lt;STRONG data-end="90" data-start="73"&gt;Apply Changes&lt;/STRONG&gt; and &lt;STRONG data-end="112" data-start="95"&gt;Store Changes&lt;/STRONG&gt; can be enabled at the same time. In this case, Qlik Replicate will apply the changes to the target table while also storing audit information in the&amp;nbsp; "&lt;STRONG&gt;__ct&lt;/STRONG&gt;" table.&lt;/P&gt;
&lt;P data-end="523" data-start="279"&gt;The only consideration is capturing the user who made the change (“who changed a record”). For this, you may need to add a column using a Global Transform Rule. If you can share the source database type, we can help confirm the best approach.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Good luck,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 07:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545118#M16064</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2026-03-19T07:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate data with audit trail for each tables from the source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545120#M16065</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The source database type is Oracle and the target database type is also Oracle endpoint.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Harikesh OP&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 07:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545120#M16065</guid>
      <dc:creator>harikesh_1991</dc:creator>
      <dc:date>2026-03-19T07:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate data with audit trail for each tables from the source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545128#M16066</link>
      <description>&lt;P&gt;Hello John,&lt;BR /&gt;&lt;BR /&gt;So how do we capture the user info of "who is doing the change in the source tables" in my task?&lt;BR /&gt;As you said we need to add a column via global rules, maybe something like : changed_by.&lt;BR /&gt;But how will this capture the user info?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Harikesh OP&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 08:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545128#M16066</guid>
      <dc:creator>harikesh_1991</dc:creator>
      <dc:date>2026-03-19T08:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate data with audit trail for each tables from the source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545138#M16069</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Harikesh OP,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/347193"&gt;@harikesh_1991&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For an Oracle source to Oracle target task, you can add a new column (for example, &lt;EM&gt;userName&lt;/EM&gt;) and set its expression to &lt;STRONG&gt;$AR_H_USER&lt;/STRONG&gt;, as shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="userName Expression.jpg" style="width: 928px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187363i203AB29896C43EFE/image-size/large?v=v2&amp;amp;px=999" role="button" title="userName Expression.jpg" alt="userName Expression.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This will allow the target table to capture the user name that performed the update on each row.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="userName Resultjpg.jpg" style="width: 954px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/187364iDD6C172D1DEF20C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="userName Resultjpg.jpg" alt="userName Resultjpg.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 10:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545138#M16069</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2026-03-19T10:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate data with audit trail for each tables from the source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545144#M16070</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/188237"&gt;@john_wick&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thanks a lot for your insights on this. I had used $AR_H_USER to map CHANGED_BY for my task already and I see that it keeps on populating "APPS" in it. I don't find any username apart from it.&lt;BR /&gt;I have attached the screenshot of it . Is this normal. The source is an Oracle EBS system.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Harikesh OP&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 11:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545144#M16070</guid>
      <dc:creator>harikesh_1991</dc:creator>
      <dc:date>2026-03-19T11:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate data with audit trail for each tables from the source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545151#M16071</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Harikesh OP,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/347193"&gt;@harikesh_1991&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-end="229" data-start="54"&gt;I’m not completely certain, but it seems reasonable that the application is using the &lt;STRONG data-end="148" data-start="140"&gt;APPS&lt;/STRONG&gt; account to connect to the source Oracle database and perform the data changes.&lt;/P&gt;
&lt;P data-end="393" data-start="231"&gt;You may want to confirm this with the source team or DBA. Alternatively, you can run LogMiner sessions to verify the user information recorded in the redo logs.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 13:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545151#M16071</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2026-03-19T13:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to replicate data with audit trail for each tables from the source</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545193#M16074</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/347193"&gt;@harikesh_1991&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;It appears that the customer is using Oracle E-Business Suite. EBS standard tables include “Who Columns” such as CREATED_BY and LAST_UPDATED_BY, which record the actual EBS user ID responsible for the change. There’s no need to add a specific column like $AR_H_USER to capture user information, as it won’t help in this case.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2026 03:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-replicate-data-with-audit-trail-for-each-tables-from-the/m-p/2545193#M16074</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2026-03-20T03:03:05Z</dc:date>
    </item>
  </channel>
</rss>

