<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{98,96,1102,572}</property>
    <property name="Name">[sx_cxa01.tel]</property>
    <property name="Caption">[Tesouraria: Pagamento Avulso]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Arial" width="0" height="-21" 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,osoSaysx_conta,osoSayCP_DIVISAO,osoSayCP_SUBDIV,osoSayCP_SITUACA,osoSayCP_LOCAL,osoSayCP_COD_FOR}    </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="Bitmap">[form4_.jpg]</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 m_sx_acesso = reccount()+1
//skel VARIAVEL m_tipo = "Retirada"
//skel VARIAVEL M_CP_NUM_PED = "SX"+right(dtos(s_datual),6)
//skel VARIAVEL m_grupo = 1
//skel VARIAVEL m_fg_contab = " "
//skel VARIAVEL m_data = s_datual
//skel VARIAVEL zbSubD={||cSubD:=StrZero(m_CP_DIVISAO,3),m_CP_SUBDIV:=cSubD+SubStr(m_CP_SUBDIV,4),m_desc:=pad('Pgto '+alltrim(cp_divis->desc),len(m_desc)),RefreshGetList(),cp_subd->(DbSeek(cSubD))}
//skel VARIAVEL z_divcompras = "T"
//skel VARIAVEL wCP_DUPLIC  := Pad(M_CP_NUM_PED,12)
//skel VARIAVEL wCP_VALOR   := 0
//skel VARIAVEL wCP_DT_EMIS := Date()
//skel VARIAVEL wCP_DT_VENC := Date()
//skel VARIAVEL zQtdParcelas=0
//skel VARIAVEL zDtPrimeira:=Date()
//skel VARIAVEL zIntervaloParcelas:=30
//skel VARIAVEL zValorParcelas:=0
//skel VARIAVEL zbGetParcelas=#TEXTO_FONTE
//skel    Private zaLinesTela:={}
//skel    if sx_conta->CP_COD_FOR>0 .and. m_CP_COD_FOR<>sx_conta->CP_COD_FOR
//skel       // Soh deve exibir tela de parcelamento do debito em cartao, se a conta pagadora nao for o proprio bnds, por exemplo
//skel       aAdd( zaLinesTela, {"2;3;Quantidade de Parcelas...:", "@zQtdParcelas",   @zQtdParcelas,  "999", "", "" } )
//skel       aAdd( zaLinesTela, {"3;3;Valor das Parcelas ......:", "@zValorParcelas", @zValorParcelas, "999999999.99", "zQtdParcelas>0.and.(zValorParcelas:=m_valor/zQtdParcelas,RefreshGetList())", "" } )
//skel       aAdd( zaLinesTela, {"4;3;Vencimento da Primeira...:", "@zDtPrimeira",    @zDtPrimeira,  "99.99.9999", "zQtdParcelas>0", "" } )
//skel       aAdd( zaLinesTela, {"5;3;Intervalor Entre Parcelas:", "@zIntervaloParcelas",  @zIntervaloParcelas,  "99", "zQtdParcelas>0", "" } )
//skel       Return QuickDialog("SxGet_PgtoCartao","45;6;Pagamento com Cartao", zaLinesTela)
//skel    else
//skel       Return .t.
//skel    endif
//skel #FIM_TEXTO_FONTE

//skel VARIAVEL #TEXTO_FONTE
//skel    se select("SX_CONTA")=0 entao Abra_arq("SX_CONTA")
//skel    se select("SCCPFOR")=0 entao Abra_arq("SCCPFOR")
//skel    se select("CP_SUBD")=0 entao abra("0NOIDX",r_siga,"CP_SUBD","CP_SUBD","CP_SUBD","CP_SUBDIV")
//skel    se select("CP_DIVIS")=0 entao abra("0NOIDX",r_siga,"CP_DIVIS","CP_DIVIS","CP_DIVIS","CP_DIVISAO")
//skel    DbSelectArea("SX_CAIXA")
//skel #FIM_TEXTO_FONTE

//skel VARIAVEL zbSetGet=#TEXTO_FONTE
//skel     Private cSubd
//skel     m_desc:=SccpPed->(pad('Adiant Tit '+Alltrim(sccpfor->CP_FANTASI)+' Vencto '+Dtoc(cp_dt_venc),len(m_desc)))
//skel     SccpPed->(m_cp_divisao:=cp_divisao,m_cp_subdiv:=cp_subdiv,m_cp_num_ped:=cp_num_ped,m_cp_situaca:=cp_situaca,m_cp_local:=cp_local)
//skel     SccpPed->(m_Valor:=if(cp_valor-cp_val_lqd>0,cp_valor-cp_val_lqd,0), m_cp_valor:=cp_valor, m_cp_val_lqd:=cp_val_lqd)
//skel     se cp_divis->(DbSeek(m_cp_divisao)) entao osoSayCp_Divisao:SetText(cp_divis->DESC) senao (m_cp_subdiv:=StrZero(m_CP_DIVISAO,3), osoSayCp_Divisao:SetText("Nao Cadastrada"))
//skel     se cp_subd->(DbSeek(m_cp_subdiv)) entao osoSayCp_SubDiv:SetText(Cp_SubD->DESC) senao (m_cp_subdiv:=StrZero(m_CP_DIVISAO,3), osoSayCp_SubDiv:SetText("*Sem SubDivisao*"))
//skel    (osoSayCp_Divisao:Refresh(), osoSayCp_SubDiv:Refresh(), RefreshGetList())
//skel    Return .t.
//skel #FIM_TEXTO_FONTE

//skel comando antes m_sx_Conta = GetCtaTesou("ES")
//skel comando depois Sx_caixa('GRAVE_PAGAMENTO_AVULSO')
//skel COMANDO SAIDA #TEXTO_FONTE
//skel    se select("sccpped")>0 entao Sccpped->(DbCloseArea())
//skel    se select("sccpfor")>0 entao sccpfor->(DbCloseArea())
//skel    se select("cp_divis")>0 entao cp_divis->(DbCloseArea())
//skel    se select("cp_subd")>0 entao cp_subd->(DbCloseArea())
//skel    se select("sx_conta")>0 entao sx_conta->(DbCloseArea())
//skel #FIM_TEXTO_FONTE
SET(5,1960) ]]>
  </method>
  <part class="editbox">
    <style>
      <property name="Geometry">{293,102,52,36}</property>
      <property name="Name">[osx_conta]</property>
      <property name="varName">[m_sx_conta]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-27" weight="400"/>
      </property>
      <property name="nMaxLength">3</property>
      <property name="3DLook">.T.</property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[PSQ_BROW('SX_CONTA','PSXCONTA','M_SX_CONTA','N','S',6,30,'CT_TITULO','@S18','',,osx_conta,osoSaysx_conta)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{751,112,50,19}</property>
      <property name="Name">[oSaysx_ACESSO]</property>
      <property name="Caption">[Acesso:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">2</property>
    </style>
  </part>
  <part class="ownerbutton">
    <style>
      <property name="Geometry">{358,102,30,36}</property>
      <property name="Name">[obosx_conta]</property>
      <property name="BackColor">12632256</property>
      <property name="BtnBitmap">[smPreview]</property>
      <property name="lResource">.T.</property>
      <property name="TabIndex">2</property>
    </style>
    <method name="onClick">
      <![CDATA[PSQ_BROW('SX_CONTA','PSXCONTA','M_SX_CONTA','N','S',6,30,'CT_TITULO','@S18','','EXIBA',osx_conta,osoSaysx_conta)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{751,134,50,19}</property>
      <property name="Name">[oSayTIPO]</property>
      <property name="Caption">[Tipo .:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">3</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{293,146,52,36}</property>
      <property name="Name">[oCP_DIVISAO]</property>
      <property name="varName">[m_CP_DIVISAO]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-27" weight="400"/>
      </property>
      <property name="nMaxLength">3</property>
      <property name="3DLook">.T.</property>
      <property name="TabIndex">3</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[CHK_LASTKEY(5).OR.PSQ_BROW('CP_DIVIS','PCPDIVIF','M_CP_DIVISAO','N','S',7,30,'DESC','@S18','',,oCP_DIVISAO,osoSayCP_DIVISAO)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{751,156,50,19}</property>
      <property name="Name">[oSayDATA]</property>
      <property name="Caption">[Data .:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">4</property>
    </style>
  </part>
  <part class="ownerbutton">
    <style>
      <property name="Geometry">{358,146,30,36}</property>
      <property name="Name">[oboCP_DIVISAO]</property>
      <property name="BackColor">12632256</property>
      <property name="BtnBitmap">[smPreview]</property>
      <property name="lResource">.T.</property>
      <property name="TabIndex">4</property>
    </style>
    <method name="onClick">
      <![CDATA[PSQ_BROW('CP_DIVIS','PCPDIVIF','M_CP_DIVISAO','N','S',7,30,'DESC','@S18','','EXIBA',oCP_DIVISAO,osoSayCP_DIVISAO)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{751,179,50,19}</property>
      <property name="Name">[oSaycp_num_ped]</property>
      <property name="Caption">[Pedido:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">5</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{293,189,119,36}</property>
      <property name="Name">[oCP_SUBDIV]</property>
      <property name="varName">[m_CP_SUBDIV]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-27" weight="400"/>
      </property>
      <property name="cPicture">[99999]</property>
      <property name="nMaxLength">6</property>
      <property name="3DLook">.T.</property>
      <property name="TabIndex">5</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[IF CHK_LASTKEY(5)
   RETURN .t.
ENDIF
IF .NOT. CP_SUBD->(DBSEEK(STRZERO(M_CP_DIVISAO,3)))
   osoSayCp_SubDiv:SetText("*Sem SubDivisao*")
   osoSayCp_SubDiv:Refresh()
   RETURN .t.
ENDIF
IF PSQ_BROW('CP_SUBD','PCPSUBDF','M_CP_SUBDIV','N','S',8,30,'DESC','@S18','',,oCP_SUBDIV,osoSayCP_SUBDIV)
   osoSayCp_SubDiv:SetText(Cp_SubD->DESC)
   RETURN .t.
ELSE
   RETURN .f.
ENDIF]]>
    </method>
    <method name="onGetFocus">
      <![CDATA[IF .NOT. CP_SUBD->(DBSEEK(STRZERO(M_CP_DIVISAO,3)))
   osoSayCp_SubDiv:SetText("*Sem SubDivisao "+STRZERO(M_CP_DIVISAO,3)+"*")
   osoSayCp_SubDiv:Refresh()
   RETURN .f.
ENDIF
//IF .NOT. eval(zbSubD)
//   osoSayCp_SubDiv:SetText("*Sem SubDivisao*")
//   osoSayCp_SubDiv:Refresh()
//   RETURN .f.
//ENDIF
RETURN .t.]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{12,102,275,36}</property>
      <property name="Name">[oSaysx_conta]</property>
      <property name="Caption">[Conta Tesouraria.........:]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">6</property>
    </style>
  </part>
  <part class="ownerbutton">
    <style>
      <property name="Geometry">{424,189,30,36}</property>
      <property name="Name">[oboCP_SUBDIV]</property>
      <property name="BackColor">12632256</property>
      <property name="BtnBitmap">[smPreview]</property>
      <property name="lResource">.T.</property>
      <property name="TabIndex">6</property>
    </style>
    <method name="onClick">
      <![CDATA[PSQ_BROW('CP_SUBD','PCPSUBDF','M_CP_SUBDIV','N','S',8,30,'SDDESC','@S18','','EXIBA',oCP_SUBDIV,osoSayCP_SUBDIV)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{13,146,276,36}</property>
      <property name="Name">[oSayCP_DIVISAO]</property>
      <property name="Caption">[Divisao de Despesa.....:]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">7</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{293,233,85,36}</property>
      <property name="Name">[oCP_COD_FOR]</property>
      <property name="varName">[m_CP_COD_FOR]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-27" weight="400"/>
      </property>
      <property name="nMaxLength">5</property>
      <property name="3DLook">.T.</property>
      <property name="TabIndex">7</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[CHK_LASTKEY(5).OR.PSQ_BROW('SCCPFOR','PSCCPFOR','M_CP_COD_FOR','N','N',13,42,'CP_NOME','@S25','',,oCP_COD_FOR,osoSayCP_COD_FOR)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{10,189,286,36}</property>
      <property name="Name">[oSayCP_SUBDIV]</property>
      <property name="Caption">[Subdivisao de Desp.....:]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">8</property>
    </style>
  </part>
  <part class="ownerbutton">
    <style>
      <property name="Geometry">{384,233,30,36}</property>
      <property name="Name">[oboCP_COD_FOR]</property>
      <property name="BackColor">12632256</property>
      <property name="BtnBitmap">[smPreview]</property>
      <property name="lResource">.T.</property>
      <property name="TabIndex">8</property>
    </style>
    <method name="onClick">
      <![CDATA[PSQ_BROW('SCCPFOR','PSCCPFOR','M_CP_COD_FOR','N','N',13,42,'CP_NOME','@S25','','EXIBA',oCP_COD_FOR,osoSayCP_COD_FOR)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{751,210,78,19}</property>
      <property name="Name">[oSayCP_SITUACA]</property>
      <property name="Caption">[Situacao....:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">9</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{304,310,210,40}</property>
      <property name="Name">[oVALOR]</property>
      <property name="varName">[m_VALOR]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-32" weight="400"/>
      </property>
      <property name="cPicture">[@E 99,999.99]</property>
      <property name="nMaxLength">11</property>
      <property name="3DLook">.T.</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[m_valor>0.and.eVal(zbGetParcelas)]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{751,232,78,19}</property>
      <property name="Name">[oSayCP_LOCAL]</property>
      <property name="Caption">[Portador....:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">10</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{305,355,425,73}</property>
      <property name="Name">[oDESC]</property>
      <property name="varName">[m_DESC]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-19" weight="400"/>
      </property>
      <property name="Multiline">.T.</property>
      <property name="nMaxLength">80</property>
      <property name="3DLook">.T.</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[(wCP_DT_EMIS:=m_data,wCP_DT_VENC:=m_data,wCP_VALOR:=m_valor,RefreshGetList())]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{751,252,78,19}</property>
      <property name="Name">[oSayGRUPO]</property>
      <property name="Caption">[Gr.Contabil.:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">11</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{882,252,159,20}</property>
      <property name="Name">[oSay0012]</property>
      <property name="Caption">[Informar 1 ou 2]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">12</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{14,233,284,36}</property>
      <property name="Name">[oSayCP_COD_FOR]</property>
      <property name="Caption">[Codigo do Fornecedor:]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">13</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{10,309,292,40}</property>
      <property name="Name">[oSayVALOR]</property>
      <property name="Caption">[Valor do Pagamento:]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-29" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">14</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{267,0,630,95}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">[Pagamento Avulso]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial Black" width="0" height="-61" weight="900"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">14</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{10,356,293,40}</property>
      <property name="Name">[oSayDESC]</property>
      <property name="Caption">[Obs. Complementar.......:]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-25" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">15</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{745,303,196,22}</property>
      <property name="Name">[oSaywCP_DUPLIC]</property>
      <property name="Caption">[Duplicata do Titulo..............:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">16</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{745,332,198,22}</property>
      <property name="Name">[oSaywCP_DT_EMIS]</property>
      <property name="Caption">[Data Emissao do Titulo......:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">17</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{745,362,196,21}</property>
      <property name="Name">[oSaywCP_DT_VENC]</property>
      <property name="Caption">[Data Vencimento do Titulo.:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">18</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{745,392,197,22}</property>
      <property name="Name">[oSaywCP_VALOR]</property>
      <property name="Caption">[Valor Principal do Titulo......:]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">19</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{395,102,325,36}</property>
      <property name="Name">[osoSaysx_conta]</property>
      <property name="Caption">[...]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-21" weight="400"/>
      </property>
      <property name="TabIndex">20</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{395,146,326,36}</property>
      <property name="Name">[osoSayCP_DIVISAO]</property>
      <property name="Caption">[...]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-21" weight="400"/>
      </property>
      <property name="TabIndex">21</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{459,189,274,36}</property>
      <property name="Name">[osoSayCP_SUBDIV]</property>
      <property name="Caption">[...]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-19" weight="400"/>
      </property>
      <property name="TabIndex">22</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{918,210,169,18}</property>
      <property name="Name">[osoSayCP_SITUACA]</property>
      <property name="Caption">[...]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">23</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{919,232,169,18}</property>
      <property name="Name">[osoSayCP_LOCAL]</property>
      <property name="Caption">[...]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">24</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{418,233,305,36}</property>
      <property name="Name">[osoSayCP_COD_FOR]</property>
      <property name="Caption">[...]</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Arial" width="0" height="-17" weight="400"/>
      </property>
      <property name="TabIndex">25</property>
    </style>
  </part>
  <part class="ownerbutton">
    <style>
      <property name="Geometry">{876,210,30,16}</property>
      <property name="Name">[oboCP_SITUACA]</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="BtnBitmap">[smPreview]</property>
      <property name="lResource">.T.</property>
      <property name="TabIndex">29</property>
    </style>
    <method name="onClick">
      <![CDATA[PSQ_BROW('SI_SITDP','PSISITDP','M_CP_SITUACA','N','N',9,30,'CR_SITUACA','@S18','','EXIBA',oCP_SITUACA,osoSayCP_SITUACA)]]>
    </method>
  </part>
  <part class="ownerbutton">
    <style>
      <property name="Geometry">{878,232,30,16}</property>
      <property name="Name">[oboCP_LOCAL]</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="BtnBitmap">[smPreview]</property>
      <property name="lResource">.T.</property>
      <property name="TabIndex">30</property>
    </style>
    <method name="onClick">
      <![CDATA[PSQ_BROW('CP_LOCAL','PCPLOCAL','M_CP_LOCAL','N','N',10,30,'BANCO','@S18','','EXIBA',oCP_LOCAL,osoSayCP_LOCAL)]]>
    </method>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{134,448,400,110}</property>
      <property name="Name">[oOwnerbutton1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[&amp;OK]</property>
      <property name="font">
        <font name="" width="0" height="-48" weight="400"/>
      </property>
      <property name="TabIndex">30</property>
    </style>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{576,447,400,110}</property>
      <property name="Name">[oOwnerbutton2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[&amp;Cancela]</property>
      <property name="font">
        <font name="" width="0" height="-48" weight="400"/>
      </property>
      <property name="TabIndex">35</property>
      <property name="TabStop">.F.</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{834,112,66,20}</property>
      <property name="Name">[osx_ACESSO]</property>
      <property name="varName">[m_sx_ACESSO]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="nMaxLength">6</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">50</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.f.]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{834,134,86,20}</property>
      <property name="Name">[oTIPO]</property>
      <property name="varName">[m_TIPO]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="nMaxLength">8</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">51</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.f.]]>
    </method>
  </part>
  <part class="datepicker">
    <style>
      <property name="Geometry">{834,156,125,20}</property>
      <property name="Name">[oDATA]</property>
      <property name="varName">[m_DATA]</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="TabIndex">52</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{834,179,117,20}</property>
      <property name="Name">[ocp_num_ped]</property>
      <property name="varName">[m_cp_num_ped]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="nMaxLength">11</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">53</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.f.]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{835,210,33,19}</property>
      <property name="Name">[oCP_SITUACA]</property>
      <property name="varName">[m_CP_SITUACA]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="nMaxLength">1</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">54</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[CHK_LASTKEY(5).OR.PSQ_BROW('SI_SITDP','PSISITDP','M_CP_SITUACA','N','N',9,30,'CR_SITUACA','@S18','',,oCP_SITUACA,osoSayCP_SITUACA)]]>
    </method>
    <method name="onGetFocus">
      <![CDATA[x_operacao=1.or.x_operacao=2]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{835,232,34,20}</property>
      <property name="Name">[oCP_LOCAL]</property>
      <property name="varName">[m_CP_LOCAL]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="nMaxLength">3</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">55</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[CHK_LASTKEY(5).OR.PSQ_BROW('CP_LOCAL','PCPLOCAL','M_CP_LOCAL','N','N',10,30,'BANCO','@S18','',,oCP_LOCAL,osoSayCP_LOCAL)]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{835,252,30,20}</property>
      <property name="Name">[oGRUPO]</property>
      <property name="varName">[m_GRUPO]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="nMaxLength">1</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">56</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[Chk_LastKey(5).or.m_grupo=1.or.m_grupo=2]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{946,301,144,22}</property>
      <property name="Name">[owCP_DUPLIC]</property>
      <property name="varName">[wCP_DUPLIC]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="nMaxLength">12</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">57</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{946,332,144,22}</property>
      <property name="Name">[owCP_DT_EMIS]</property>
      <property name="varName">[wCP_DT_EMIS]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="nMaxLength">8</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">58</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{946,362,144,22}</property>
      <property name="Name">[owCP_DT_VENC]</property>
      <property name="varName">[wCP_DT_VENC]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="nMaxLength">8</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">59</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[wcp_dt_venc>=wcp_dt_emis]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{946,392,144,22}</property>
      <property name="Name">[owCP_VALOR]</property>
      <property name="varName">[wCP_VALOR]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">952491</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="cPicture">[@E 99,999.99]</property>
      <property name="nMaxLength">12</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">60</property>
    </style>
  </part>
</part>
