<QUICK_REPORT_LIST><QUICK_REPORT state="queried" OBJ_ID="AAASXSAASAAAefnAAB" OBJ_VERSION="2025-07-25">
  <QUICK_REPORT_ID datatype="Number">909103</QUICK_REPORT_ID>
  <DESCRIPTION datatype="Text">B&amp;F Year End - Inserts</DESCRIPTION>
  <SQL_EXPRESSION datatype="Text">Select SFPP.VENDOR_PART_NO &quot;BF Item&quot;, S.Part_No &quot;IPL Part_No&quot;, INVENTORY_PART_API.Get_Description(S.contract,S.part_no) Description,S.WAREHOUSE &quot;WH&quot;,S.LOCATION_NO &quot;Loc&quot;
,case when INSTR(S.LOT_BATCH_NO,&apos;-&apos;,1,1)=0 then S.LOT_BATCH_NO  else SUBSTR(S.LOT_BATCH_NO,1,INSTR(S.LOT_BATCH_NO,&apos;-&apos;,1,1)-1)  end &quot;BF Job No&quot;
,sum(QTY_ONHAND) &quot;On Hand Qty&quot;
From PURCHASE_PART PP inner join INVENTORY_PART_IN_STOCK_UIV S on PP.Contract=S.Contract and PP.Part_No=S.Part_No inner join PURCHASE_PART_SUPPLIER SFPP on SFPP.Part_No=S.Part_No and SFPP.Contract=S.Contract where STAT_GRP=&apos;ZRM04P&apos; and QTY_ONHAND&gt;0 and S.Contract=&apos;2400&apos; and VENDOR_NO=&apos;5008706&apos;
Group By SFPP.VENDOR_PART_NO, S.Part_No, INVENTORY_PART_API.Get_Description(S.contract,S.part_no),S.WAREHOUSE,S.LOCATION_NO,S.LOT_BATCH_NO
Order By S.LOCATION_NO</SQL_EXPRESSION>
  <COMMENTS datatype="Text">Created by David Montminy
2024-11-05</COMMENTS>
  <CATEGORY_ID datatype="Number"/>
  <CATEGORY_DESCRIPTION datatype="Text"/>
  <DOMAIN_ID datatype="Number"/>
  <DOMAIN_DESCRIPTION datatype="Text"/>
  <FILE_NAME datatype="Text"/>
  <QR_TYPE datatype="Enum">SQL</QR_TYPE>
  <PO_ID datatype="Text"/>
  <QUERY datatype="Text"/>
  <ROW_TYPE datatype="Text"/>
  <APP_CONFIG_PACKAGE datatype="Text"/>
  <QUICK_REPORT_CATEGORY datatype="Aggregate">
    <REPORT_CATEGORY state="queried">
      <CATEGORY_ID datatype="Number"/>
      <DESCRIPTION datatype="Text"/>
    </REPORT_CATEGORY>
  </QUICK_REPORT_CATEGORY>
  <QUICK_REPORT_DOMAIN datatype="Aggregate">
    <REPORT_DOMAIN state="queried">
      <DOMAIN_ID datatype="Number"/>
      <DESCRIPTION datatype="Text"/>
    </REPORT_DOMAIN>
  </QUICK_REPORT_DOMAIN>
</QUICK_REPORT>
</QUICK_REPORT_LIST>