<?xml version="1.0" encoding="utf-8"?>
<TfrxReport Version="6.3.14" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="41380.5820669097" ReportOptions.Description.Text="" ReportOptions.LastChange="42702.629977662" ScriptLanguage="PascalScript" ScriptText.Text=" &#13;&#10;procedure stockcardSUB_PO_DATEOnBeforePrint(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  //[YMDToDate(&#60;stockcard.&#34;R_S_DATE&#34;&#62;+5430000)]                     &#13;&#10;end;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;end." OnReportPrint="frxReport1OnReportPrint">
  <Datasets>
    <item DataSetName="stockcard"/>
  </Datasets>
  <Variables>
    <item Name="carddate1"/>
    <item Name="carddate2"/>
    <item Name="stock_name"/>
    <item Name="hosp_name"/>
  </Variables>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="5" RightMargin="5" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0" HGuides.Text="" VGuides.Text="">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="26.45671" Left="0" Top="283.46475" Width="755.906" OnBeforePrint="MasterData1OnBeforePrint" AllowSplit="True" ColumnWidth="0" ColumnGap="0" DataSetName="stockcard" RowCount="0" Stretched="True">
      <TfrxMemoView Name="Line" AllowVectorExport="True" Left="-0.44094" Top="0.55906" Width="26.45671" Height="26.45671" DataSetName="SMPOC" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[Line#]"/>
      <TfrxMemoView Name="stockcardSUB_PO_DATE" AllowVectorExport="True" Left="25.7953" Top="1" Width="75.5906" Height="22.67718" OnBeforePrint="stockcardSUB_PO_DATEOnBeforePrint" DataSetName="stockcard" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[stockcard.&#34;OPERATE_DATE&#34;]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="stockcardrsstatus" AllowVectorExport="True" Left="100.94496" Top="1" Width="75.5906" Height="22.67718" DataSetName="stockcard" Font.Charset="222" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[stockcard.&#34;RS_STATUS&#34;]"/>
      <TfrxMemoView Name="stockcardsubpono" AllowVectorExport="True" Left="178.19697" Top="1.22047" Width="86.92919" Height="22.67718" StretchMode="smActualHeight" DataSetName="stockcard" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[stockcard.&#34;R_S_NUMBER&#34;]"/>
      <TfrxMemoView Name="stockcarddeptname" AllowVectorExport="True" Left="263.59864" Top="1" Width="151.1812" Height="24.56692913" DataSetName="stockcard" Font.Charset="222" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[trim(&#60;stockcard.&#34;deptname&#34;&#62;)]"/>
      <TfrxMemoView Name="stockcardqty" AllowVectorExport="True" Left="394.20501" Top="2" Width="79.37013" Height="22.67718" DataSetName="stockcard" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;stockcard.&#34;ACTIVE_QTY&#34;&#62;/&#60;stockcard.&#34;ACTIVE_PACK&#34;&#62;] x [stockcard.&#34;ACTIVE_PACK&#34;]"/>
      <TfrxMemoView Name="stockcardvalue" AllowVectorExport="True" Left="532.69326" Top="2" Width="71.81107" Height="22.67718" DataSetName="stockcard" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[stockcard.&#34;value&#34;]">
        <Formats>
          <item FormatStr="%2.2n" Kind="fkNumeric"/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="stockcardremainqty" AllowVectorExport="True" Left="588.84292" Top="1.77953" Width="83.14966" Height="22.67718" DataSetName="stockcard" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat('#,##0',&#60;stockcard.&#34;REMAIN_QTY&#34;&#62;/&#60;stockcard.&#34;ACTIVE_PACK&#34;&#62;)] x [FormatFloat('#,##0',&#60;stockcard.&#34;ACTIVE_PACK&#34;&#62;)]">
        <Formats>
          <item FormatStr="%2.0n" Kind="fkNumeric"/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="stockcardFREE_FLAG" AllowVectorExport="True" Left="737.21305" Top="1" Width="15.11812" Height="22.67718" DataField="FREE_FLAG" DataSetName="stockcard" Font.Charset="1" Font.Color="-16777208" Font.Height="-16" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaBottom" Text="[stockcard.&#34;FREE_FLAG&#34;]"/>
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="650.41775" Top="1.7953" Width="79.37013" Height="22.67718" DataSetName="stockcard" DisplayFormat.FormatStr="%2.0n" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[FormatFloat('#,##0',&#60;stockcard.&#34;REMAIN_QTY&#34;&#62;)]"/>
      <TfrxMemoView Name="Memo11" AllowVectorExport="True" Left="455.88219" Top="2.23624" Width="79.37013" Height="22.67718" DataSetName="stockcard" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;stockcard.&#34;ACTIVE_QTY&#34;&#62;]">
        <Formats>
          <item FormatStr="%2.0n" Kind="fkNumeric"/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxMasterData>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="30.23624" Left="0" Top="404.40971" Width="755.906"/>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="203.74026" Left="0" Top="18.89765" Width="755.906">
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="165.84261" Top="171.84261" Width="94.48825" Height="26.45671" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="เลขที่รับ/จ่าย - PO"/>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" Left="3.77953" Top="3.33859" Width="748.34694" Height="26.45671" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[hosp_name]"/>
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="3.63398758" Top="31.01577" Width="748.18780189" Height="34.01577" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="ใบคุมคลังเวชภัณฑ์"/>
      <TfrxMemoView Name="Memo6" AllowVectorExport="True" Left="6.55906" Top="64.91342" Width="604.7248" Height="105.82684" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="&#60;b&#62;รหัสเวชภัณฑ์:&#60;/b&#62; รหัสสามัญ  [stockcard.&#34;WORKING_CODE&#34;]  รหัสการค้า [stockcard.&#34;TRADE_CODE&#34;]&#13;&#10;&#60;b&#62;ชื่อสามัญ&#60;/b&#62;  [TRIM(&#60;stockcard.&#34;DRUG_NAME&#34;&#62;)]  &#13;&#10; &#60;b&#62;รูปแบบ&#60;/b&#62; [TRIM(&#60;stockcard.&#34;DOSAGE_FORM&#34;&#62;)] &#60;b&#62;หน่วย&#60;/b&#62; [TRIM(&#60;stockcard.&#34;SALE_UNIT&#34;&#62;)]&#13;&#10;&#60;b&#62;ข้อมูลตั้งแต่วันที่&#60;/b&#62; [carddate1]   &#60;b&#62;ถึงวันที่&#60;/b&#62;  [carddate2]"/>
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="420.52783" Top="63.55906" Width="328.81911" Height="52.91342" AllowHTMLTags="True" Font.Charset="1" Font.Color="0" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="หน้า [Page#]/[TotalPages#]&#13;&#10;&#60;b&#62;ชื่อคลัง&#60;/b&#62; [stock_name]"/>
      <TfrxLineView Name="Line3" AllowVectorExport="True" Left="1.22047" Top="164.84261" Width="755.906" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxLineView Name="Line4" AllowVectorExport="True" Left="0.22047" Top="199.96073" Width="755.906" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo12" AllowVectorExport="True" Left="114.94496" Top="172.28355" Width="49.13389" Height="22.67718" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="รับ/จ่าย"/>
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="421.52783" Top="164.84261" Width="64.25201" Height="34.01577" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="จน. รับ/จ่าย&#13;&#10;(pack)"/>
      <TfrxMemoView Name="Memo17" AllowVectorExport="True" Left="620.62245" Top="162.72449" Width="49.13389" Height="37.7953" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="จน.คงคลัง&#13;&#10;(pack)"/>
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="565.11843" Top="170.84261" Width="37.7953" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="มูลค่า"/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="46.23624" Top="172.84261" Width="49.13389" Height="22.67718" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="วันที่ตัดคลัง"/>
      <TfrxMemoView Name="Memo19" AllowVectorExport="True" Left="279.46475" Top="171.84261" Width="64.25201" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="หน่วยงาน"/>
      <TfrxMemoView Name="Memo15" AllowVectorExport="True" Left="542.14997" Top="115.04731" Width="207.87415" Height="30.23624" AllowHTMLTags="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-21" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="&#60;b&#62;วันที่พิมพ์&#60;/b&#62; [Date]"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="1.33859" Top="171.62214" Width="37.7953" Height="26.45671" Font.Charset="1" Font.Color="-16777208" Font.Height="-19" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="ลำดับ"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="732.87446" Top="167.40167" Width="22.67718" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" ParentFont="False" VAlign="vaCenter" Text="แถม"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="675.07916" Top="163.07885" Width="64.25201" Height="34.01577" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="จน.คงคลัง&#13;&#10;(หน่วยย่อย)"/>
      <TfrxMemoView Name="Memo14" AllowVectorExport="True" Left="483.20501" Top="165.07885" Width="64.25201" Height="34.01577" Font.Charset="1" Font.Color="0" Font.Height="-15" Font.Name="AngsanaUPC" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="จน. รับ/จ่าย&#13;&#10;(หน่วยย่อย)"/>
    </TfrxPageHeader>
    <TfrxReportSummary Name="ReportSummary1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="11.33859" Left="0" Top="370.39394" Width="755.906">
      <TfrxLineView Name="Line1" AllowVectorExport="True" Left="3.77953" Top="3.77953" Width="748.34694" Height="0" Color="0" Frame.Color="12632256" Frame.Typ="0" Diagonal="True"/>
    </TfrxReportSummary>
  </TfrxReportPage>
</TfrxReport>
