<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{897,112,574,460}</property>
    <property name="Name">[sf_nfsmv.tel]</property>
    <property name="Caption">[Acrescimo/Desconto em Fatura de Servico]</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}</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 ),)
SET(5,1960) 
//skel variavel m_FNUMS := FNUMS
//skel variavel m_MCODFORC := MCODFORC
//skel variavel m_FADITIVO := FADITIVO
//skel variavel m_MFNUM := MFNUM
//skel variavel m_MCODFORC := MCODFORC
//skel variavel m_MDATA := MDATA
//skel variavel m_MFGES := "A"
//skel variavel m_POBS := ""
//skel comando depois znil:=sf_nfsmv->(RegLock(), _field->mQuant:=1, _field->mFgEs:=m_MFGES, _field->pValLoca := if(m_mFgEs="D",0-Abs(m_pValLoca),Abs(m_pValLoca)),DbCommit(),DbUnlock())
IF m_MfgEs='D'
   oRadioAcrescimo:oGroup:SetValue(2)
ELSE
   oRadioAcrescimo:oGroup:SetValue(1)
ENDIF]]>
  </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">{454,43,77,18}</property>
        <property name="Name">[oFNUMS]</property>
        <property name="varName">[m_FNUMS]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{321,43,133,16}</property>
        <property name="Name">[oSayFNUMS]</property>
        <property name="Caption">[Fatura de Servico:]</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">{454,63,49,18}</property>
        <property name="Name">[oMCODFORC]</property>
        <property name="varName">[m_MCODFORC]</property>
        <property name="nMaxLength">6</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[.f.]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{25,392,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">{321,63,133,16}</property>
        <property name="Name">[oSayMCODFORC]</property>
        <property name="Caption">[Codigo do Cliente:]</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="editbox">
      <style>
        <property name="Geometry">{454,83,77,18}</property>
        <property name="Name">[oFADITIVO]</property>
        <property name="varName">[m_FADITIVO]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{321,83,133,16}</property>
        <property name="Name">[oSayFADITIVO]</property>
        <property name="Caption">[Numero do Aditivo:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{454,103,77,18}</property>
        <property name="Name">[oMFNUM]</property>
        <property name="varName">[m_MFNUM]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{321,103,133,16}</property>
        <property name="Name">[oSayMFNUM]</property>
        <property name="Caption">[Controle/Aditivo.:]</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">{454,123,92,18}</property>
        <property name="Name">[oMDATA]</property>
        <property name="varName">[m_MDATA]</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{321,123,133,16}</property>
        <property name="Name">[oSayMDATA]</property>
        <property name="Caption">[Data Emissao FS..:]</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="radiogroup">
      <style>
        <property name="Geometry">{30,42,232,91}</property>
        <property name="Name">[oRadiogroup1]</property>
        <property name="varName">[vRadiogroup1]</property>
        <property name="Caption">[Tipo de Lancamento]</property>
        <property name="TabIndex">6</property>
      </style>
      <part class="radiobutton">
        <style>
          <property name="Geometry">{48,60,168,22}</property>
          <property name="Name">[oRadioAcrescimo]</property>
          <property name="Caption">[Acrescimo na Fatura]</property>
          <property name="font">
            <font name="" width="0" height="-16" weight="400"/>
          </property>
          <property name="TabIndex">7</property>
        </style>
        <method name="onClick">
          <![CDATA[oRadioAcrescimo:oGroup:nValue := 1
m_MFGES:='A']]>
        </method>
      </part>
      <part class="radiobutton">
        <style>
          <property name="Geometry">{48,95,173,22}</property>
          <property name="Name">[oRadioDesconto]</property>
          <property name="Caption">[Desconto na Fatura]</property>
          <property name="font">
            <font name="" width="0" height="-16" weight="400"/>
          </property>
          <property name="TabIndex">8</property>
        </style>
        <method name="onClick">
          <![CDATA[oRadioAcrescimo:oGroup:nValue := 2
m_MFGES:='D']]>
        </method>
      </part>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{170,166,124,30}</property>
        <property name="Name">[oPVALLOCA]</property>
        <property name="varName">[m_PVALLOCA]</property>
        <property name="font">
          <font name="" width="0" height="-19" weight="400"/>
        </property>
        <property name="cPicture">[999999999.99]</property>
        <property name="nMaxLength">12</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">9</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{23,166,143,16}</property>
        <property name="Name">[oSayPVALLOCA]</property>
        <property name="Caption">[Valor do Lancamento:]</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">{24,228,524,162}</property>
        <property name="Name">[opDesc]</property>
        <property name="varName">[m_pDesc]</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">{25,209,234,16}</property>
        <property name="Name">[oLabel2]</property>
        <property name="Caption">[Motivo/Observacoes do Lancamento:]</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>
  <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>
