<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{169,221,716,300}</property>
    <property name="Name">[mov_s.tel]</property>
    <property name="Caption">[Vendas de Mercadorias]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Lucida Bright" width="0" height="-19" weight="400"/>
    </property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.F.</property>
    <property name="ScopeVarObj">[Local]</property>
    <property name="lClipper">.T.</property>
    <property name="lExitOnEnter">.T.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="Variables">{modus,osoSayMCODFORC}</property>
    <property name="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.T.</property>
    <property name="StyleBorder">[3 - Sizable (Default)]</property>
    <property name="nBackColor">16777215</property>
    <property name="Icon">[]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.F.</property>
    <property name="Minimizebox">.F.</property>
    <property name="Maximizebox">.F.</property>
    <property name="AbsAlignment">.T.</property>
    <property name="WindowState">[1 - Normal (Default)]</property>
    <property name="minHeight">-1</property>
    <property name="maxHeight">-1</property>
    <property name="minWidth">-1</property>
    <property name="maxWidth">-1</property>
    <property name="ScrollBars">[0 - None (Default)]</property>
    <property name="DSControl">.F.</property>
  </style>
  <method name="onFormInit">
    <![CDATA[parameters o, p1
modus:=p1]]>
  </method>
  <method name="onDlgInit">
    <![CDATA[////skel VARIAVEL zbPrtPedido:= {||z_recno:=Recno(), Relat('lst_exec("CUPOM_PN_PRT")',"nb",,"X"), eVal(zbOpenAll) }
//skel VARIAVEL zbPrtPedido:= {||z_recno:=Recno(), Relat('lst_exec("FORM_REQUISICAO_MATERIAL")',"nb",,"X") }
preget_mov()
if(modus<>NIL,SetWindowText( oDlg:handle, modus ),)
SET(5,1960)]]>
  </method>
  <part class="line">
    <style>
      <property name="Geometry">{7,260,700,2}</property>
      <property name="Name">[oLine1]</property>
    </style>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{7,3,702,250}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="editbox">
      <style>
        <property name="Geometry">{118,31,85,28}</property>
        <property name="Name">[oPCOD]</property>
        <property name="varName">[m_PCOD]</property>
        <property name="Justify">[Right]</property>
        <property name="nMaxLength">5</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[//
RETURN PSQ_BROW('SE_PROD','PSEPROD','M_PCOD','N','S',7,1,'','','',,oPCOD,) .AND. gmov_e(.t.,0)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,31,84,28}</property>
        <property name="Name">[oSayPCOD]</property>
        <property name="Caption">[Produto:]</property>
        <property name="BackColor">16777215</property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="datepicker">
      <style>
        <property name="Geometry">{84,83,147,28}</property>
        <property name="Name">[oMDATA]</property>
        <property name="varName">[m_MDATA]</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return gmov_e(.f.,0,9,35,14,77)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,83,56,28}</property>
        <property name="Name">[oSayMDATA]</property>
        <property name="Caption">[Data:]</property>
        <property name="BackColor">16777215</property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{133,170,98,28}</property>
        <property name="Name">[oMQUANT]</property>
        <property name="varName">[m_MQUANT]</property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[99999.999]</property>
        <property name="nMaxLength">8</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[//
RETURN M_MQUANT>0 .AND. QUANT_OK(M_MQUANT) .AND. (m_mValor:=m_mQuant*se_prod->pVluVen3, RefreshGetList())]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{16,170,112,28}</property>
        <property name="Name">[oSayMQUANT]</property>
        <property name="Caption">[Quantidade:]</property>
        <property name="BackColor">16777215</property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{96,207,135,28}</property>
        <property name="Name">[oMVALOR]</property>
        <property name="varName">[m_MVALOR]</property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[99999999.99]</property>
        <property name="nMaxLength">12</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">4</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return gmov_e(m_mquant,2)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{16,207,61,28}</property>
        <property name="Name">[oSayMVALOR]</property>
        <property name="Caption">[Valor:]</property>
        <property name="BackColor">16777215</property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="ownerbutton">
      <style>
        <property name="Geometry">{207,31,16,16}</property>
        <property name="Name">[oboPCOD]</property>
        <property name="BtnBitmap">[smPreview]</property>
        <property name="lResource">.T.</property>
        <property name="TabIndex">10</property>
      </style>
      <method name="onClick">
        <![CDATA[PSQ_BROW('SE_PROD','PSEPROD','M_PCOD','N','S',7,1,'','','','EXIBA',oPCOD,)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{238,23,460,213}</property>
        <property name="Name">[oBoxInfo]</property>
        <property name="Caption">[]</property>
        <property name="TabIndex">1002</property>
      </style>
    </part>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{245,269,95,28}</property>
      <property name="Name">[onfNumero]</property>
      <property name="varName">[nfNumero]</property>
      <property name="cPicture">[999999]</property>
      <property name="nMaxLength">6</property>
      <property name="ToolTip">[Informe a matricula do funcionario solicitante]</property>
      <property name="3DLook">.T.</property>
      <property name="TabIndex">6</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[//
return PSQ_BROW('FP_PTFUN','PFPFUN','NFNUMERO','N','S',6,17,'','','',,onfNumero,)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{9,270,227,26}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">[Funcionario Solicitante:]</property>
      <property name="Justify">[Right]</property>
      <property name="BackColor">16777215</property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">7</property>
    </style>
  </part>
  <part class="ownerbutton">
    <style>
      <property name="Geometry">{344,272,16,16}</property>
      <property name="Name">[obonfNumero]</property>
      <property name="BtnBitmap">[smPreview]</property>
      <property name="lResource">.T.</property>
      <property name="TabIndex">8</property>
    </style>
    <method name="onClick">
      <![CDATA[PSQ_BROW('FP_PTFUN','PFPFUN','NFNUMERO','N','S',6,17,'','','','EXIBA',onfNumero,)]]>
    </method>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{541,266,70,28}</property>
      <property name="Name">[oOwnerbutton1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[&amp;OK]</property>
      <property name="TabIndex">1000</property>
    </style>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{624,266,85,28}</property>
      <property name="Name">[oOwnerbutton2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[&amp;Cancela]</property>
      <property name="TabIndex">1001</property>
      <property name="TabStop">.F.</property>
    </style>
  </part>
</part>
