<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{300,135,574,460}</property>
    <property name="Name">[sx_nc.tel]</property>
    <property name="Caption">[Nota de Credito]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Courier New" width="0" height="-12" 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,osoSayfCli}</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[if(modus<>NIL,SetWindowText( oDlg:handle, modus ),)
//skel variavel w_fgcredcob:='/PN/'
//skel variavel v_parcelas:={}
//skel variavel v_ParcelasEntrada:={}
//skel variavel m_fAval:=0
//skel variavel m_fAval:=0
//skel variavel zbCrTipDup:={|zTd|zTd$"/ES/CH/CT/CB/CA/PG/".or.Alert("A forma de recebimento precisa ser: ES-Especie CH-Cheque CT-Cartao CB-Cred.Bancario CA-Boleto PG-Resgate",,"R/W")=3}
//skel variavel m_cp_dt_venc:=if(Day(m_cp_dt_venc)=0,m_cp_dt_emis,m_cp_dt_venc)
//skel comando depois m_fAval:=m_cp_valor
//skel comando depois znil=(reglock(),_field->cr_tip_dup="NC")
//skel comando depois znil=GetCaucao('GetParcelasDoValorAdiantado')
//skel comando depois v_ParcelasEntrada:=if(len(v_ParcelasEntrada)=0,{{"ES",m_cp_valor,m_CP_DT_VENC,0,0}},v_ParcelasEntrada)
//skel comando depois Append_SxCaixa_CxaMov('CadastraNC',,,,m_fcli,.t., sys_usuario, lTrim(str(m_fnumped,10)), m_cp_desc, v_ParcelasEntrada)

SET(5,1960) ]]>
  </method>
  <part class="group">
    <style>
      <property name="Geometry">{7,3,560,410}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="line">
      <style>
        <property name="Geometry">{7,420,560,2}</property>
        <property name="Name">[oLine1]</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{84,43,49,18}</property>
        <property name="Name">[ofCli]</property>
        <property name="varName">[m_fCli]</property>
        <property name="nMaxLength">6</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[PSQ_BROW('SCCRCLI','PSCCRCLI','M_FCLI','N','N',5,20,'CR_NOME','@S25','',,ofCli,osoSayfCli)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,43,63,16}</property>
        <property name="Name">[oSayfCli]</property>
        <property name="Caption">[Cliente:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{175,103,84,18}</property>
        <property name="Name">[oCP_VALOR]</property>
        <property name="varName">[m_CP_VALOR]</property>
        <property name="cPicture">[99999999.99]</property>
        <property name="nMaxLength">11</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[//
RETURN m_cp_Valor > 0]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{22,385,524,16}</property>
        <property name="Name">[oLabel1]</property>
        <property name="Caption">
[Alt+O  Confirma Digitacao                           Ctrl+Enter: Nova Linha]        </property>
        <property name="AutoSize">.T.</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,103,154,16}</property>
        <property name="Name">[oSayCP_VALOR]</property>
        <property name="Caption">[Valor do Credito....:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="datepicker">
      <style>
        <property name="Geometry">{175,143,92,18}</property>
        <property name="Name">[oCP_DT_EMIS]</property>
        <property name="varName">[m_CP_DT_EMIS]</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,143,154,16}</property>
        <property name="Name">[oSayCP_DT_EMIS]</property>
        <property name="Caption">[Data de Emissao.....:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="datepicker">
      <style>
        <property name="Geometry">{175,163,92,18}</property>
        <property name="Name">[oCP_DT_VENC]</property>
        <property name="varName">[m_CP_DT_VENC]</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,163,154,16}</property>
        <property name="Name">[oSayCP_DT_VENC]</property>
        <property name="Caption">[Data de Vencimento..:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">6</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{483,43,21,18}</property>
        <property name="Name">[oFLOJA]</property>
        <property name="varName">[m_FLOJA]</property>
        <property name="nMaxLength">2</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">6</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{357,43,126,16}</property>
        <property name="Name">[oSayFLOJA]</property>
        <property name="Caption">[Numero da Loja..:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">7</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{483,63,21,18}</property>
        <property name="Name">[oSI_CAIXA]</property>
        <property name="varName">[m_SI_CAIXA]</property>
        <property name="nMaxLength">2</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">7</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{357,63,126,16}</property>
        <property name="Name">[oSaySI_CAIXA]</property>
        <property name="Caption">[Numero do Caixa.:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">8</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{483,83,28,18}</property>
        <property name="Name">[oSX_CONTA]</property>
        <property name="varName">[m_SX_CONTA]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">8</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{357,83,126,16}</property>
        <property name="Name">[oSaySX_CONTA]</property>
        <property name="Caption">[Conta Tesouraria:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">9</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{448,123,77,18}</property>
        <property name="Name">[oFNUMPED]</property>
        <property name="varName">[m_FNUMPED]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">9</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{357,123,91,16}</property>
        <property name="Name">[oSayFNUMPED]</property>
        <property name="Caption">[Ref. Pedido:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">10</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{22,221,524,162}</property>
        <property name="Name">[oCP_DESC]</property>
        <property name="varName">[m_CP_DESC]</property>
        <property name="Multiline">.T.</property>
        <property name="nMaxLength">512</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">10</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{21,203,189,16}</property>
        <property name="Name">[oSayCP_DESC]</property>
        <property name="Caption">[Motivo da Nota de Credito:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">11</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{154,43,189,16}</property>
        <property name="Name">[osoSayfCli]</property>
        <property name="Caption">[...]</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="Border">.T.</property>
        <property name="TabIndex">12</property>
      </style>
    </part>
    <part class="ownerbutton">
      <style>
        <property name="Geometry">{135,43,16,16}</property>
        <property name="Name">[obofCli]</property>
        <property name="BtnBitmap">[smPreview]</property>
        <property name="lResource">.T.</property>
        <property name="TabIndex">13</property>
      </style>
      <method name="onClick">
        <![CDATA[PSQ_BROW('SCCRCLI','PSCCRCLI','M_FCLI','N','N',5,20,'CR_NOME','@S25','','EXIBA',ofCli,osoSayfCli)]]>
      </method>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{417,426,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">{497,426,70,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>
