<?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: Loading country speciffic holidays into NetWorkDays in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Loading-country-speciffic-holidays-into-NetWorkDays/m-p/1878678#M72443</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Exclude-holidays-using-Networkdays-in-script/td-p/566803" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Exclude-holidays-using-Networkdays-in-script/td-p/566803&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Jan 2022 06:39:35 GMT</pubDate>
    <dc:creator>anat</dc:creator>
    <dc:date>2022-01-08T06:39:35Z</dc:date>
    <item>
      <title>Loading country speciffic holidays into NetWorkDays</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-country-speciffic-holidays-into-NetWorkDays/m-p/1878448#M72422</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;To calculate delivery times I need to use NetWorkDays with a list of holidays that differs based on the country. I have the following script:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;//loading all shipments&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;tempLeadTime:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;shipmentNumber,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Customer,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dateShipmentCreated&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FROM [...Shipment.qvd] (qvd);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;//adding loading date&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LEFT JOIN (tempLeadTime)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;shipmentNumber,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;loadingDate&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FROM&amp;nbsp;[...loading.qvd] (qvd);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;//adding delivery date and country&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LEFT JOIN (tempLeadTime)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LOAD&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;shipmentNumber,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;deliveryDate&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;countryCode&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM&amp;nbsp;[...delivery.qvd] (qvd);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I have a table available in the script containing countries and&amp;nbsp; a list of holidays formatted like the variable I normally use to insert a list of holidays into NetWorkDays.&lt;/P&gt;
&lt;P&gt;An example selection:&lt;/P&gt;
&lt;TABLE width="871px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="40px"&gt;AT&lt;/TD&gt;
&lt;TD width="831.062px"&gt;'44562','44668','44669','44678','44707','44717','44718','44920','44921','44567','44666','44682','44696','44788','44860','44866','44867'&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px"&gt;BE&lt;/TD&gt;
&lt;TD width="831.062px"&gt;'44562','44668','44669','44678','44707','44717','44718','44920','44921','44682','44763','44788','44866','44876'&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px"&gt;BG&lt;/TD&gt;
&lt;TD width="831.062px"&gt;'44562','44668','44669','44678','44707','44717','44718','44920','44921','44623','44675','44676','44682','44810','44826','44866'&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px"&gt;CH&lt;/TD&gt;
&lt;TD width="831.062px"&gt;'44562','44668','44669','44678','44707','44717','44718','44920','44921','44567','44666','44774','44788','44866','44867'&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px"&gt;CZ&lt;/TD&gt;
&lt;TD width="831.062px"&gt;'44562','44668','44669','44678','44707','44717','44718','44920','44921','44666','44682','44689','44747','44748','44862','44882'&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="40px"&gt;DE&lt;/TD&gt;
&lt;TD width="831.062px"&gt;'44562','44668','44669','44678','44707','44717','44718','44920','44921','44567','44666','44682','44728','44788','44837','44865','44866'&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I insert the right list of holidays into the NetWorkDays to get a realistic leadtimes based on country specific holidays?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jan 2022 13:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-country-speciffic-holidays-into-NetWorkDays/m-p/1878448#M72422</guid>
      <dc:creator>Posb1</dc:creator>
      <dc:date>2022-01-07T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Loading country speciffic holidays into NetWorkDays</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-country-speciffic-holidays-into-NetWorkDays/m-p/1878678#M72443</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Exclude-holidays-using-Networkdays-in-script/td-p/566803" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Exclude-holidays-using-Networkdays-in-script/td-p/566803&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jan 2022 06:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-country-speciffic-holidays-into-NetWorkDays/m-p/1878678#M72443</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-01-08T06:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loading country speciffic holidays into NetWorkDays</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-country-speciffic-holidays-into-NetWorkDays/m-p/1878679#M72444</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Match-countries-to-get-holidays-for-NetWorkDays-formula/m-p/755801" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Match-countries-to-get-holidays-for-NetWorkDays-formula/m-p/755801&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jan 2022 06:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-country-speciffic-holidays-into-NetWorkDays/m-p/1878679#M72444</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-01-08T06:41:09Z</dc:date>
    </item>
  </channel>
</rss>

