<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="5.4.6" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="42601.3611543287" ReportOptions.Description.Text="" ReportOptions.LastChange="42612.4298416551" ScriptLanguage="PascalScript" ScriptText.Text="begin&#13;&#10;&#13;&#10;end.">
  <Datasets>
    <item DataSet="qry_smpo" DataSetName="smpo"/>
    <item DataSet="qry_smpoc" DataSetName="smpoc"/>
  </Datasets>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxUniDACQuery Name="qry_smpo" UserName="smpo" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select d.DEPT_NAME as STOCK_NAME, s.* &#13;&#10;from SM_PO s (NOLOCK)&#13;&#10;left join DEPT_ID d (NOLOCK) on (s.STOCK_ID = d.DEPT_ID)                                                                                                                                   &#13;&#10;where s.SUB_PO_NO=:sub_po_no" SpecificOptions.Text="" PropData="05704C6566740397000470546F7003B1000A506172616D657465727301010C3D000000204E616D653D227375625F706F5F6E6F222044617461547970653D226674537472696E67222045787072657373696F6E3D2265646974312E74657874220000"/>
    <TfrxUniDACQuery Name="qry_smpoc" UserName="smpoc" CloseDataSource="True" FieldAliases.Text="" BCDToCurrency="False" IgnoreDupParams="False" SQL.Text="select g.DRUG_NAME,c.* &#13;&#10;from SM_PO_C c (NOLOCK)&#13;&#10;left join DRUG_GN g (NOLOCK) on (c.WORKING_CODE = g.WORKING_CODE)                                                                                                                                               &#13;&#10;where c.SUB_PO_NO=:sub_po_no" SpecificOptions.Text="" PropData="05704C65667403A1000470546F7003F1000A506172616D657465727301010C3D000000204E616D653D227375625F706F5F6E6F222044617461547970653D226674537472696E67222045787072657373696F6E3D2265646974312E74657874220000"/>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="10" RightMargin="10" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="">
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="90.67718" Left="0" Top="21.67718" Width="718.1107">
      <TfrxMemoView Name="Memo1" Left="277" Top="0.32282" Width="154" Height="22" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="รายงานกาารเบิกยา"/>
      <TfrxMemoView Name="Memo2" Left="4" Top="29.32282" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" ParentFont="False" Text="เลขที่ใบเบิก"/>
      <TfrxMemoView Name="Memo3" Left="84" Top="29.32282" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[SMPOC.&#34;SUB_PO_NO&#34;]"/>
      <TfrxMemoView Name="Memo4" Left="526" Top="31.32282" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="วันที่เบิกยา  ">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo6" Left="2" Top="55.32282" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="หน่วยที่ขอเบิก"/>
      <TfrxMemoView Name="Memo7" Left="85" Top="55.32282" Width="105" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" ParentFont="False" Text="[smpo.&#34;DEPT_ID&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo8" Left="496" Top="54.32282" Width="95" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" ParentFont="False" Text="หน่วยที่อนุมัติเบิก"/>
      <TfrxMemoView Name="Memo9" Left="593" Top="54.32282" Width="122" Height="26" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" ParentFont="False" Text="[smpo.&#34;STOCK_ID&#34;] [smpo.&#34;STOCK_NAME&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo5" Left="613" Top="29.32282" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" ParentFont="False" Text="[smpo.&#34;SUB_PO_DATE&#34;]"/>
    </TfrxReportTitle>
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="52.67718" Left="0" Top="186.85838" Width="718.1107" ColumnWidth="0" ColumnGap="0" DataSet="qry_smpoc" DataSetName="smpoc" RowCount="0">
      <TfrxMemoView Name="Memo19" Left="-4" Top="3.14162" Width="49" Height="45" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[SMPOC.&#34;WORKING_CODE&#34;]"/>
      <TfrxMemoView Name="Memo20" Left="632" Top="6.14162" Width="81" Height="42" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[SMPOC.&#34;COST&#34;]"/>
      <TfrxMemoView Name="Memo21" Left="45" Top="2.14162" Width="232" Height="46" DataSet="qry_smpo" DataSetName="smpo" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" ParentFont="False" Text="[smpoc.&#34;DRUG_NAME&#34;]"/>
      <TfrxMemoView Name="Memo23" Left="363" Top="3.14162" Width="49" Height="43" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[SMPOC.&#34;QTY_RCV&#34;]"/>
      <TfrxMemoView Name="Memo24" Left="468" Top="6.14162" Width="81" Height="42" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[SMPOC.&#34;LOT_NO&#34;]"/>
      <TfrxMemoView Name="Memo25" Left="552" Top="5.14162" Width="81" Height="44" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[SMPOC.&#34;EXPIRED_DATE&#34;]"/>
    </TfrxMasterData>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="31.67718" Left="0" Top="135.66945" Width="718.1107">
      <TfrxMemoView Name="Memo10" Left="-2" Top="1.33055" Width="49" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" Text="รหัส"/>
      <TfrxMemoView Name="Memo11" Left="632" Top="1.33055" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" Text="มูลค่า"/>
      <TfrxMemoView Name="Memo12" Left="45" Top="1.33055" Width="233" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" Frame.Typ="12" ParentFont="False" Text="ชื่อเวชภัณฑ์"/>
      <TfrxMemoView Name="Memo13" Left="407" Top="1.33055" Width="62" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" Text="หน่วย"/>
      <TfrxMemoView Name="Memo14" Left="359" Top="1.33055" Width="49" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" Text="จำนวน"/>
      <TfrxMemoView Name="Memo15" Left="471" Top="1.33055" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" Text="Lot"/>
      <TfrxMemoView Name="Memo16" Left="552" Top="1.33055" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" Text="วันหมดอายุ"/>
      <TfrxMemoView Name="Memo17" Left="279" Top="1.33055" Width="81" Height="26" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="Angsana New" Font.Style="0" Frame.Typ="12" HAlign="haCenter" ParentFont="False" Text="บัญชียา"/>
    </TfrxPageHeader>
  </TfrxReportPage>
  <TfrxDialogPage Name="DialogPage1" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Caption="͡Ţԡ" Height="200" ClientHeight="162" Left="463" Top="245" Width="300" ClientWidth="284">
    <TfrxEditControl Name="Edit1" Left="118" Top="57" Width="121" Height="21" ShowHint="True" Color="-16777211" MaxLength="0" PasswordChar="0"/>
    <TfrxLabelControl Name="Label1" Left="41" Top="54" Width="60" Height="26" Font.Charset="0" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Ţԡ" Color="-16777201"/>
    <TfrxBitBtnControl Name="BitBtn1" Left="126" Top="106" Width="75" Height="25" ShowHint="True" Caption="OK" ModalResult="1"/>
  </TfrxDialogPage>
</TfrxReport>
