<?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: Incremental data help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Incremental-data-help/m-p/609148#M1326462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks ok because you are testing LAST_UPDATE_DATE which I assume gets updated when an older record gets updated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is PARTY_SITE_ID a true primary key? That is, is it unique for every record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2014 22:57:43 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2014-02-05T22:57:43Z</dc:date>
    <item>
      <title>Incremental data help</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-data-help/m-p/609146#M1326458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d; background: white;"&gt;We have a daily&amp;nbsp; scheduled&lt;/SPAN&gt; data extractor to extract data from oracle database with incremental script ( below script),&amp;nbsp; when we&amp;nbsp; cross verified&amp;nbsp; the data after some point of time let’s say 1 month we found that some data is missing it’s not up to date. please check the below script and advise...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #F6F6F6;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: green;"&gt;// Loading AR Customer Sites&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;vQvdFile&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;='$(vFolderSourceData)CustomerMaster.qvd';&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;LET&lt;/STRONG&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;vQvdExists&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;FileSize&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;('$(vQvdFile)') &amp;gt; 0, -1, 0);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;Set&lt;/STRONG&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;vToday&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;= date(Today(),'DD-MMM-YYYY hh:mi:ss');&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;Trace&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&amp;gt;&amp;gt;&amp;gt; Running Customr Sites Scripts;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;Trace&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&amp;gt;&amp;gt;&amp;gt; Running Script at &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vToday)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;IF&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vQvdExists)&lt;/STRONG&gt;&lt;/EM&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;BR /&gt; maxdateTab:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Last_Update_Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;maxdate&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FROM&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vQvdFile)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;STRONG style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;LET&lt;/STRONG&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;vIncrementalExpression&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;= 'WHERE LAST_UPDATE_DATE &amp;gt;= ' &amp;amp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;(39) &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;peek&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;('maxdate'),'DD-MMM-YYYY') &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;(39) ;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;maxdateTab;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;ELSE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;vIncrementalExpression&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;= ''; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;END&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;TRACE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&amp;gt;&amp;gt;&amp;gt; SQL Query Where Clause&amp;nbsp; : &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vIncrementalExpression)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;; &lt;BR /&gt; [AR_CustomerSites] :&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;Load&lt;/STRONG&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;COMPANY&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Company&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CUSTOMER_ID&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Customer_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CUSTOMER_NUMBER&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Customer_Number&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CUSTOMER_NAME&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Customer_Name&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;PARTY_ID&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Party_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;PARTY_SITE_ID&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Party_Site_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREATION_DATE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Creation_Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREATED_BY&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Created_By&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CUSTOMER_CATEGORY_CODE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Customer_Category_Code&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;TRADE_LICENCE_NO&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Trade_License_No&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;TRADE_LIC_EXP_DATE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Trade_License_Expiry_Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;SALESREP_ID&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Salesrep_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ADDRESS1&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Address1&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: maroon; font-size: 8.0pt; font-style: inherit; font-family: 'inherit','serif'; font-weight: inherit;"&gt;ADDRESS2&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Address2&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ADDRESS3&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Address3&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ADDRESS4&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Address4&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CITY&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;City&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: maroon; font-size: 8.0pt; font-style: inherit; font-family: 'inherit','serif'; font-weight: inherit;"&gt;COUNTRY_CODE&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Country_Code&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;PO_BOX_NUMBER&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;PO_Box&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;SITE_NAME&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Site_Name&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;SITE_CODE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Site_Code&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: maroon; font-size: 8.0pt; font-style: inherit; font-family: 'inherit','serif'; font-weight: inherit;"&gt;SITE_USE_CODE&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Site_Use_Code&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;SITE_USE_ID&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Site_Use_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;LOCATION_ID&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Location_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;LOCATION_CODE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Location_Code&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ORG_ID&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Org_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;ORIG_SYSTEM_REFERENCE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Org_System_Reference&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CUST_SITE_STATUS&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Cust_Site_Status&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;,&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREDIT_LIMIT&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Credit_Limit&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;TERM_ID&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Payment_Term_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;PARTY_SITE_NAME&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Pasty_Site_Name&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREDIT_HOLD&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Credit_Hold&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREDIT_CHECK&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Credit_Check&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;COLLECTOR&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Collector&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;GL_ID_REC&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Code_Combination_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;REC_ACCOUNT&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;GL_Account&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;PHONE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Phone&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;FAX&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Fax&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CONTACT_PERSON&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Contact_Person&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CONTACT_PERSON_PHONE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Contact_Person_Phone&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;LAST_UPDATE_DATE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Last_Update_Date&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CREDIT_HOLD_STATUS&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Credit_Hold_Status&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;SQL&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;select&lt;BR /&gt; COMPANY,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;CUSTOMER_ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;CUSTOMER_NUMBER, &lt;BR /&gt; CUSTOMER_NAME, &lt;BR /&gt; PARTY_ID, &lt;BR /&gt; PARTY_SITE_ID, &lt;BR /&gt; CREATION_DATE, &lt;BR /&gt; CREATED_BY, &lt;BR /&gt; CUSTOMER_CATEGORY_CODE, &lt;BR /&gt; TRADE_LICENCE_NO, &lt;BR /&gt; TRADE_LIC_EXP_DATE, &lt;BR /&gt; SALESREP_ID, &lt;BR /&gt; ADDRESS1, &lt;BR /&gt; ADDRESS2, &lt;BR /&gt; ADDRESS3, &lt;BR /&gt; ADDRESS4, &lt;BR /&gt; CITY, &lt;BR /&gt; COUNTRY_CODE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;PO_BOX_NUMBER, &lt;BR /&gt; SITE_NAME, &lt;BR /&gt; SITE_CODE, &lt;BR /&gt; SITE_USE_CODE, &lt;BR /&gt; SITE_USE_ID, &lt;BR /&gt; LOCATION_ID, &lt;BR /&gt; LOCATION_CODE, &lt;BR /&gt; ORG_ID, &lt;BR /&gt; ORIG_SYSTEM_REFERENCE, &lt;BR /&gt; CUST_SITE_STATUS, &lt;BR /&gt; CREDIT_LIMIT, &lt;BR /&gt; TERM_ID, &lt;BR /&gt; PARTY_SITE_NAME, &lt;BR /&gt; CREDIT_HOLD,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;CREDIT_CHECK, &lt;BR /&gt; COLLECTOR, &lt;BR /&gt; GL_ID_REC, &lt;BR /&gt; REC_ACCOUNT,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;PHONE, &lt;BR /&gt; FAX, &lt;BR /&gt; CONTACT_PERSON, &lt;BR /&gt; CONTACT_PERSON_PHONE, &lt;BR /&gt; LAST_UPDATE_DATE,&lt;BR /&gt; CREDIT_HOLD_STATUS&lt;BR /&gt; from APPS.XXBI_CUST_SITE_DETAILS&amp;nbsp; &lt;/SPAN&gt;&lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vIncrementalExpression)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;vNumRows&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;('AR_CustomerSites');&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;TRACE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&amp;gt;&amp;gt;&amp;gt; Table --&amp;gt; AR_CustomerSites New records loaded with : &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vNumRows)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;IF&lt;/STRONG&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vQvdExists)&lt;/STRONG&gt;&lt;/EM&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;THEN&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CONCATENATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;(AR_CustomerSites)&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;* &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;FROM&lt;/SPAN&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vQvdFile)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;)&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;WHERE&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;NOT&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;exists&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Party_Site_Id&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;END&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;STORE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;[AR_CustomerSites] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;into&lt;/SPAN&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vQvdFile)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;qvd&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;LET&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;vNumRows&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;('AR_CustomerSites');&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit;"&gt;TRACE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;&amp;gt;&amp;gt;&amp;gt; Table --&amp;gt; AR_CustomerSites Table loaded with : &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;EM style="font-weight: inherit;"&gt;&lt;STRONG style="color: gray; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;$(vNumRows)&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif';"&gt;Drop&lt;/STRONG&gt; &lt;SPAN style="color: blue; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'inherit','serif'; color: #3d3d3d;"&gt;[AR_CustomerSites];&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; rergards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 8.0pt; font-family: 'inherit','serif'; font-weight: inherit;"&gt;Madhu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-data-help/m-p/609146#M1326458</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental data help</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-data-help/m-p/609147#M1326459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Madhu G,&lt;/P&gt;&lt;P&gt;From your script I would assume that the data gets updated daily and is unique by day, meaning that once the database is updated for a given day, the data for that day is never updated. Is that the case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ask because we saw issues with this type of date-driven incremental loading because the database was updating older records (than the ones that were updated since our last reload). Records were being modified, reinstated, or removed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 22:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-data-help/m-p/609147#M1326459</guid>
      <dc:creator>Tyler_Waterfall</dc:creator>
      <dc:date>2014-02-05T22:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental data help</title>
      <link>https://community.qlik.com/t5/QlikView/Incremental-data-help/m-p/609148#M1326462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks ok because you are testing LAST_UPDATE_DATE which I assume gets updated when an older record gets updated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is PARTY_SITE_ID a true primary key? That is, is it unique for every record?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 22:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Incremental-data-help/m-p/609148#M1326462</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-02-05T22:57:43Z</dc:date>
    </item>
  </channel>
</rss>

