<?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 table joins and script errors in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/table-joins-and-script-errors/m-p/1641714#M594592</link>
    <description>&lt;P&gt;I have the following script written, it works fine as is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;BOMS:&lt;BR /&gt;LOAD*,&lt;BR /&gt;IXITM__Component_Item_Number_Short&amp;amp;Scheduled_Pick_Date__SDPDDJ-4 AS Component_DueDate;&lt;BR /&gt;SQL (...);&lt;BR /&gt;Left join(BOMS)&lt;BR /&gt;Load&lt;BR /&gt;[LIPQOH__Quantity_On_Hand],&lt;BR /&gt;[LIITM__Item_Number_Short]&amp;amp;[Snapshotdate] as Component_DueDate;&lt;BR /&gt;SQL (...);&lt;/P&gt;&lt;P&gt;I have tried to add this line before the first line of the script :&lt;/P&gt;&lt;P&gt;load *,&lt;BR /&gt;if ([LIPQOH__Quantity_On_Hand]&amp;lt;= COMPONENT_TOTAL, 'InventoryShort','InventoryAvailable')as InventoryStatus;&lt;/P&gt;&lt;P&gt;&amp;nbsp;but I get an error saying " Field [LIPQOH__Quantity_On_Hand] not found"&lt;/P&gt;&lt;P&gt;What am I doing wrong? How do I fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:46:48 GMT</pubDate>
    <dc:creator>nburton78</dc:creator>
    <dc:date>2024-11-16T19:46:48Z</dc:date>
    <item>
      <title>table joins and script errors</title>
      <link>https://community.qlik.com/t5/QlikView/table-joins-and-script-errors/m-p/1641714#M594592</link>
      <description>&lt;P&gt;I have the following script written, it works fine as is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;BOMS:&lt;BR /&gt;LOAD*,&lt;BR /&gt;IXITM__Component_Item_Number_Short&amp;amp;Scheduled_Pick_Date__SDPDDJ-4 AS Component_DueDate;&lt;BR /&gt;SQL (...);&lt;BR /&gt;Left join(BOMS)&lt;BR /&gt;Load&lt;BR /&gt;[LIPQOH__Quantity_On_Hand],&lt;BR /&gt;[LIITM__Item_Number_Short]&amp;amp;[Snapshotdate] as Component_DueDate;&lt;BR /&gt;SQL (...);&lt;/P&gt;&lt;P&gt;I have tried to add this line before the first line of the script :&lt;/P&gt;&lt;P&gt;load *,&lt;BR /&gt;if ([LIPQOH__Quantity_On_Hand]&amp;lt;= COMPONENT_TOTAL, 'InventoryShort','InventoryAvailable')as InventoryStatus;&lt;/P&gt;&lt;P&gt;&amp;nbsp;but I get an error saying " Field [LIPQOH__Quantity_On_Hand] not found"&lt;/P&gt;&lt;P&gt;What am I doing wrong? How do I fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-joins-and-script-errors/m-p/1641714#M594592</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2024-11-16T19:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: table joins and script errors</title>
      <link>https://community.qlik.com/t5/QlikView/table-joins-and-script-errors/m-p/1641755#M594593</link>
      <description>&lt;P&gt;Try adding that line below the&amp;nbsp;&lt;SPAN&gt;BOMS: line.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 14:52:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-joins-and-script-errors/m-p/1641755#M594593</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-10-31T14:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: table joins and script errors</title>
      <link>https://community.qlik.com/t5/QlikView/table-joins-and-script-errors/m-p/1641760#M594594</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i remember correctly the order preceding load while occur&lt;SPAN&gt;&amp;nbsp; before the left join part of the script&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;so you'll need to do something like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;BOMSTemp:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOAD*,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IXITM__Component_Item_Number_Short&amp;amp;Scheduled_Pick_Date__SDPDDJ-4 AS Component_DueDate;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL (...);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Left join(BOMSTemp)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Load&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[LIPQOH__Quantity_On_Hand],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[LIITM__Item_Number_Short]&amp;amp;[Snapshotdate] as Component_DueDate;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SQL (...);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;BOMS:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;load *,&lt;BR /&gt;if ([LIPQOH__Quantity_On_Hand]&amp;lt;= COMPONENT_TOTAL, 'InventoryShort','InventoryAvailable')as InventoryStatus&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Resident&amp;nbsp; BOMSTemp;&lt;BR /&gt;drop table BOMSTemp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 14:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-joins-and-script-errors/m-p/1641760#M594594</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-10-31T14:59:22Z</dc:date>
    </item>
  </channel>
</rss>

