<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{338,29,1024,678}</property>
    <property name="Name">[dlgNotas]</property>
    <property name="Caption">[Emissao de NFe]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.T.</property>
    <property name="ScopeVarObj">[Local]</property>
    <property name="lClipper">.T.</property>
    <property name="lExitOnEnter">.T.</property>
    <property name="lExitOnESC">.T.</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">[icon\tela.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">.F.</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="onDlgInit">
    <![CDATA[//skel variavel zProxNFe:=0
//skel variavel zProxNFC:=0

//skel variavel zFgPeriodo:=.t.
//skel variavel zDe:=s_Datual
//skel variavel zAte:=s_dAtual
//skel VARIAVEL zFileFat:='mem:_fatnf'
//skel variavel zwSomaFat:=0
//skel variavel zwfValES:=0
//skel variavel zwfValCV:=0
//skel variavel zwfValCT:=0
//skel variavel zwQtdPedidos:=0
//skel variavel zwSomaCanc:=0
//skel variavel zwQtdCanc:=0

//skel variavel zbProximosNumeros:={|| zProxNFe:=SiSemaf("CAPTE_PROXIMO_NUMERO", "/NFE/"), zProxNFc:=SiSemaf("CAPTE_PROXIMO_NUMERO", "/NFC/") , oProxNFE:Refresh(), oProxNFC:Refresh() }
////MoveWindow(oDlg:Handle, 0,0,1019,547)

IF .not. sFgNFC
   oContainerNFCNFE:Hide() 
ENDIF
if xGetEnv("FATURA_SERVICOS")<>"S"
   oBtnOs:Hide()
   oBtnOs2:Hide()
   oBtnFecharOs:Hide()
   oBtnFecharOs2:Hide()
   oBtnFatNFE:Hide()
   oBtnFatNFC:Hide()
   oBtnOutraS:Move( ,,oBtnVenda:nWidth, )
   oBtnOutraE:Move( ,,oBtnVenda:nWidth, )
ELSE
   IF LEFT(sys_segmento,2)<>'os'
      oBtnOs:SetText("Criar Orcamento")
      oBtnFecharOs:SetText("Fechar Orcamento")
   ENDIF
ENDIF

eVal(zbProximosNumeros)

zFgPeriodo:=.t.]]>
  </method>
  <part class="container">
    <style>
      <property name="Geometry">{552,8,173,330}</property>
      <property name="Name">[oContainerNFCNFE]</property>
      <property name="TabIndex">0</property>
    </style>
    <part class="buttonex">
      <style>
        <property name="Geometry">{565,14,148,148}</property>
        <property name="Name">[oButtonex27]</property>
        <property name="Caption">[]</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="Bitmap">[icon\logonfce_nc.jpg]</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">
[Cria, Assina e Valida, Transmite e Imprime XML de NFc]        </property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[BrowNfePN(,'65')
eVal(zbProximosNumeros)]]>
      </method>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{557,160,164,174}</property>
        <property name="Name">[oGroup6]</property>
        <property name="TextColor">4194304</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-13" weight="400"/>
        </property>
        <property name="TabIndex">25</property>
      </style>
      <part class="buttonex">
        <style>
          <property name="Geometry">{565,177,148,148}</property>
          <property name="Name">[oButtonex26]</property>
          <property name="Caption">[]</property>
          <property name="font">
            <font name="Arial" width="0" height="-21" weight="700"/>
          </property>
          <property name="WordWrap">.T.</property>
          <property name="Bitmap">[icon\logonfce.jpg]</property>
          <property name="PicturePosition">[1-Center]</property>
          <property name="Transparent">.T.</property>
          <property name="ToolTip">[Exibe Notas Fiscais de NFCs]</property>
          <property name="TabIndex">14</property>
        </style>
        <method name="onClick">
          <![CDATA[BrowNfe(,'65')
eVal(zbProximosNumeros)]]>
        </method>
      </part>
    </part>
  </part>
  <part class="container">
    <style>
      <property name="Geometry">{376,8,173,330}</property>
      <property name="Name">[oContainerNFE]</property>
      <property name="TabIndex">0</property>
    </style>
    <part class="buttonex">
      <style>
        <property name="Geometry">{387,14,148,148}</property>
        <property name="Name">[oButtonex12]</property>
        <property name="Caption">[]</property>
        <property name="font">
          <font name="Arial" width="0" height="-21" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="Bitmap">[icon\logonfe_nc.jpg]</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">
[Cria, Assina e Valida, Transmite e Imprime XML de NFe]        </property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[BrowNfePN(,'55')
eVal(zbProximosNumeros)]]>
      </method>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{381,160,164,174}</property>
        <property name="Name">[oGroup4]</property>
        <property name="TextColor">4194304</property>
        <property name="Transparent">.T.</property>
        <property name="font">
          <font name="Arial" width="0" height="-13" weight="400"/>
        </property>
        <property name="TabIndex">25</property>
      </style>
      <part class="buttonex">
        <style>
          <property name="Geometry">{387,177,148,148}</property>
          <property name="Name">[oButtonex11]</property>
          <property name="Caption">[]</property>
          <property name="font">
            <font name="Arial" width="0" height="-21" weight="700"/>
          </property>
          <property name="WordWrap">.T.</property>
          <property name="Bitmap">[icon\logonfe.jpg]</property>
          <property name="PicturePosition">[1-Center]</property>
          <property name="Transparent">.T.</property>
          <property name="ToolTip">
[Cria, Assina, Valida ou Transmite NFes ainda nao transmitidas... ReImprime, Consulta, Cancela, Inutiliza NFEs]          </property>
          <property name="TabIndex">14</property>
        </style>
        <method name="onClick">
          <![CDATA[BrowNfe(,'55')
eVal(zbProximosNumeros)]]>
        </method>
      </part>
    </part>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{472,520,80,80}</property>
      <property name="Name">[oButtonex10]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadCep.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Cadastro de Logradouros do Brasil, emitido pela empresa Correios e Telegrafos do Brasil]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[CiBrow("LOGRA")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{385,520,80,80}</property>
      <property name="Name">[oButtonex2]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadIbge.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Cadastro de Cidades no IBGE]</property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[CiBrow("vb_munic")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{646,520,80,80}</property>
      <property name="Name">[oButtonex6]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadTrn.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Cadastro de Transportadores da NFe]</property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[CiBrow("SF_TRN")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{911,432,80,80}</property>
      <property name="Name">[oButtonex13]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadCfopES.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Define as CFOPs padroes a ser usadas nas Vendas, Compras, Transferencias, etc... de acordo com a categoria fiscal do produto...]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[CiBrow("nftipoit")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{733,432,80,80}</property>
      <property name="Name">[oButtonex23]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadEmit.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Cadastra dados do Emitente, da Empresa Usuaria do sistema]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[IdUsuarioPaf('Gravar')
CiBrow("ef_s10")
CiBrow("ef_s11")
CiBrow("ef_s8805")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{822,432,80,80}</property>
      <property name="Name">[oButtonex14]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadRegime.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Define as Taxas Tributarias e CSTs ICMS, PIS, COFINS, IPI, etc...]      </property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[NfeDefaults('CONFIGURA')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{472,432,80,80}</property>
      <property name="Name">[oButtonex5]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Calibri" width="0" height="-16" weight="700"/>
      </property>
      <property name="Bitmap">[icon\BtnRelGer.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Relacao geral de NF-e,  NFC-e,  NFS-e]</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[vb_ut1('BROW_VENDAS_DO_PERIODO')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{385,432,80,80}</property>
      <property name="Name">[oButtonex25]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Calibri" width="0" height="-16" weight="700"/>
      </property>
      <property name="Bitmap">[icon\BtnRelPreN.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Relacao geral de Prenotas, Pedidos, Orcamentos, OS, Pendentes ou Processados, etc...]      </property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[BrowNfePn("SF_PN")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{911,520,80,80}</property>
      <property name="Name">[oBtnFecharOs]</property>
      <property name="Caption">[&amp;F]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Calibri" width="0" height="-1" weight="400"/>
      </property>
      <property name="Bitmap">[icon\BtnFecharOS.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[vb_venda("S",,,,,"/FECHAPN/")
eVal(zbProximosNumeros)]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{822,520,80,80}</property>
      <property name="Name">[oBtnOs]</property>
      <property name="Caption">[&amp;E]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Calibri" width="0" height="-1" weight="400"/>
      </property>
      <property name="Bitmap">[icon\BtnAbrirOS.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[vb_venda("S",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{735,90,82,82}</property>
      <property name="Name">[oButtonex37]</property>
      <property name="Caption">[]</property>
      <property name="Anchor">9</property>
      <property name="font">
        <font name="Calibri" width="0" height="-21" weight="400"/>
      </property>
      <property name="Bitmap">[icon\BtnMDFe.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Gerenciamento de Manifesto Eletrônico de Documentos Fiscais (MDFe)]      </property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[ci_mdfe()]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{911,345,80,80}</property>
      <property name="Name">[oButtonex29]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="Bitmap">[icon\SyncNfeNfce.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Sincroniza XMLs com site da Receita Federal]</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[Sync_NFE()]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{559,432,80,80}</property>
      <property name="Name">[oButtonex39]</property>
      <property name="Caption">[]</property>
      <property name="Anchor">9</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadProd.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Cadastra dados do Emitente, da Empresa Usuaria do sistema]      </property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[Cibrow("SE_PROD")
]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{646,432,80,80}</property>
      <property name="Name">[oButtonex43]</property>
      <property name="Caption">[]</property>
      <property name="Anchor">9</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadCli.JPG]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Cadastra dados do Emitente, da Empresa Usuaria do sistema]      </property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[Cibrow("SCCRCLI")
]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{559,520,80,80}</property>
      <property name="Name">[oButtonex38]</property>
      <property name="Caption">[]</property>
      <property name="Anchor">9</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadFor.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Cadastra dados do Emitente, da Empresa Usuaria do sistema]      </property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[Cibrow("SCCPFOR")
]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{733,520,80,80}</property>
      <property name="Name">[oButtonex40]</property>
      <property name="Caption">[]</property>
      <property name="Anchor">9</property>
      <property name="TextColor">10485760</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-11" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[icon\BtnCadCfop.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Exibe e Edita o Cadastro de CFOPs]</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[CiBrow("SF_CODOP")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{609,640,180,31}</property>
      <property name="Name">[oButtonex9]</property>
      <property name="Caption">[&amp;XMLs p/ CONTADOR]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-12" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Envia XMLs para Email do Contador]</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[hrb_enviaXmlContador()]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{738,345,136,43}</property>
      <property name="Name">[oButtonex16]</property>
      <property name="Caption">[&amp;W - Conferente NFe por DATAS]</property>
      <property name="TextColor">8388608</property>
      <property name="font">
        <font name="Arial Narrow" width="0" height="-13" weight="700"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="ToolTip">[Emite conferente das emissoes de NFE / NFC]</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onClick">
      <![CDATA[Relat('Lst_Exec("c100_conf_saidt_fr3")','NB',,"X")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{951,647,69,26}</property>
      <property name="Name">[buttonsair]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[Esc - Sair]</property>
      <property name="font">
        <font name="Arimo" width="0" height="-12" weight="400" italic="255"/>
      </property>
      <property name="ToolTip">[Fecha Tela]</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[keyb_event( 27 )]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{949,23,67,67}</property>
      <property name="Name">[oButtonex7]</property>
      <property name="Caption">[]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Bitmap">[icon\BtnConfig.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="ToolTip">[Parametros da Impressao/Geracao da NFE]</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[ExecutaXML("dlgconfig_nfe")]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{995,552,24,22}</property>
      <property name="Name">[oBtnFatNFC]</property>
      <property name="Caption">[&amp;G]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arimo" width="0" height="-13" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[NfcRefCupons()]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{995,578,24,22}</property>
      <property name="Name">[oBtnFatNFE]</property>
      <property name="Caption">[&amp;H]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arimo" width="0" height="-13" weight="400"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[NfcRefCupons('55')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{509,353,24,24}</property>
      <property name="Name">[oButtonex24]</property>
      <property name="Caption">[]</property>
      <property name="Anchor">9</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Bitmap">[icon\ico_marcar.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="ToolTip">[Redefine NUMERO DA PROXIMA NFE]</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[zProxNfe:=Nfe_SetProximoNumero(.t.,'/NFE/')
RefreshGetlist()
]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{689,353,24,24}</property>
      <property name="Name">[oButtonex35]</property>
      <property name="Caption">[]</property>
      <property name="Anchor">9</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Bitmap">[icon\ico_marcar.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="ToolTip">[Redefine Numero da PROXIMA NFC]</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[zProxNfc:=Nfe_SetProximoNumero(.t.,'/NFC/')
RefreshGetlist()]]>
    </method>
  </part>
  <part class="checkbox">
    <style>
      <property name="Geometry">{733,36,201,21}</property>
      <property name="Name">[oCheck1]</property>
      <property name="varName">[vCheck1]</property>
      <property name="Caption">[Transmite NFe Apos Digitacao]</property>
      <property name="WordWrap">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[Transmite automaticamente as NFE modelo 55 apos a digitacao das mesmas]      </property>
      <property name="TabIndex">18</property>
    </style>
    <method name="onClick">
      <![CDATA[xSetEnv("NFE_TRANSMITE_APOS_DIGITACAO", IF(vCheck1,"S","N") )]]>
    </method>
    <method name="onInit">
      <![CDATA[vCheck1:=(xGetEnv("NFE_TRANSMITE_APOS_DIGITACAO")="S")
oCheck1:Refresh()]]>
    </method>
  </part>
  <part class="checkbox">
    <style>
      <property name="Geometry">{733,14,201,22}</property>
      <property name="Name">[oCheck3]</property>
      <property name="varName">[vCheck3]</property>
      <property name="Caption">[Ativar Modo de Contingencia]</property>
      <property name="WordWrap">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">
[ATENCAO: O modo de Contingencia ( SCAN ) so devera ser usado se o Portal da NFe estiver fora do AR.]      </property>
      <property name="TabIndex">18</property>
    </style>
    <method name="onClick">
      <![CDATA[IF vCheck3
   s_nf_serie:=val(xGetEnv("NF_SERIE"))
ELSE
   s_nf_serie:=900
ENDIF
ALERT('O Modo de Contingencia SCAN foi '+IF(vCheck3,'DES','')+';;A Serie das notas foi modificada para '+LTRIM(STR(s_nf_serie,3))+'!;')
]]>
    </method>
  </part>
  <part class="radiogroup">
    <style>
      <property name="Geometry">{385,629,212,44}</property>
      <property name="Name">[oRadiogroup1]</property>
      <property name="varName">[vRadiogroup1]</property>
      <property name="Caption">[Ambiente da NFe]</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" weight="400"/>
      </property>
      <property name="TabIndex">19</property>
    </style>
    <part class="radiobutton">
      <style>
        <property name="Geometry">{392,645,84,22}</property>
        <property name="Name">[oRadiobutton1]</property>
        <property name="Caption">[Producao]</property>
        <property name="font">
          <font name="Arimo" width="0" height="-13" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">20</property>
      </style>
    </part>
    <part class="radiobutton">
      <style>
        <property name="Geometry">{479,645,110,22}</property>
        <property name="Name">[oRadiobutton2]</property>
        <property name="Caption">[Homologacao]</property>
        <property name="font">
          <font name="Arimo" width="0" height="-13" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">21</property>
      </style>
    </part>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{3,0,371,674}</property>
      <property name="Name">[oGroup1]</property>
      <property name="Caption">[Geracao de Nota Fiscal Eletrônica (DANFE)]</property>
      <property name="TextColor">8404992</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-13" weight="700" italic="255"/>
      </property>
      <property name="TabIndex">23</property>
    </style>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,117,355,43}</property>
        <property name="Name">[oButtonex17]</property>
        <property name="Caption">[&amp;3. Devolução de Várias NFe ao Fornecedor]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("MD2",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,122,32,32}</property>
          <property name="Name">[oIcon9]</property>
          <property name="Icon">[icon\dev_notas_forn.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,530,355,43}</property>
        <property name="Name">[oButtonex19]</property>
        <property name="Caption">[&amp;B. Nota Fiscal de Entrada Avulsa]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("ME1",,.t.,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,536,32,32}</property>
          <property name="Name">[oIcon7]</property>
          <property name="Icon">[icon\nfe_entrada_avulsa.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,484,355,43}</property>
        <property name="Name">[oButtonex20]</property>
        <property name="Caption">[&amp;A. Entrada Referente Devolução de Cliente]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("ME2",,.t.,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,489,32,32}</property>
          <property name="Name">[oIcon13]</property>
          <property name="Icon">[icon\nfe_dev_cliente.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,162,355,43}</property>
        <property name="Name">[oButtonex21]</property>
        <property name="Caption">[&amp;4. NFe Referente a Um Cupom Fiscal  (NFCe)]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[wFgVaiGerarNFE:=(xGetEnv("NFE_TRANSMITE_APOS_DIGITACAO")="S")
vb_venda("MN1",,,,,"/PN/")
wFgVaiGerarNFE:=.f.
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,167,32,32}</property>
          <property name="Name">[oIcon10]</property>
          <property name="Icon">[icon\nfe_ref_nfce.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,208,355,43}</property>
        <property name="Name">[oButtonex22]</property>
        <property name="Caption">[&amp;5. NFe Referente a Vários Cupons Fiscal]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("MN2",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,213,32,32}</property>
          <property name="Name">[oIcon2]</property>
          <property name="Icon">[icon\nfe_varias_nfce.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,576,355,43}</property>
        <property name="Name">[oBtnOutraS]</property>
        <property name="Caption">[&amp;C. Nota Fiscal de Outras Saidas]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("MO1",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,582,32,32}</property>
          <property name="Name">[oIcon11]</property>
          <property name="Icon">[icon\nfe_outras_saidas.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,622,355,43}</property>
        <property name="Name">[oBtnOutraE]</property>
        <property name="Caption">[&amp;D. Nota Fiscal de Outras Entradas]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("MO2",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,627,32,32}</property>
          <property name="Name">[oIcon8]</property>
          <property name="Icon">[icon\nfe_outras_entradas.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,300,355,43}</property>
        <property name="Name">[oButtonex15]</property>
        <property name="Caption">[&amp;7. Remessa a Venda Dentro do Estado]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("MR1",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,305,32,32}</property>
          <property name="Name">[oIcon4]</property>
          <property name="Icon">[icon\remessa_venda_dentro.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,346,355,43}</property>
        <property name="Name">[oButtonex28]</property>
        <property name="Caption">[&amp;8. Remessa a Venda para Fora do Estado]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("MR2",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,351,32,32}</property>
          <property name="Name">[oIcon3]</property>
          <property name="Icon">[icon\remessa_venda_fora.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,392,355,43}</property>
        <property name="Name">[oButtonex31]</property>
        <property name="Caption">[&amp;9. Nota Fiscal Complementar]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">[Emite Nota Complementar]</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[wFgVaiGerarNFEcomplementar:=.t.
wFgVaiGerarNFE:=(xGetEnv("NFE_TRANSMITE_APOS_DIGITACAO")="S")
vb_venda("MV",,,,,"/PN/")
wFgVaiGerarNFE:=.f.
wFgVaiGerarNFEcomplementar:=.f.

eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,397,32,32}</property>
          <property name="Name">[oIcon12]</property>
          <property name="Icon">[icon\nfe_complementar.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,438,355,43}</property>
        <property name="Name">[oButtonex30]</property>
        <property name="Caption">
[&amp;0. Entrada Ref. a Cancelamento Fora do Prazo]        </property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">[Gera NFe de ajuste]</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[wFgVaiGerarNFErefCancelamento:=.t.
wFgVaiGerarNFE:=(xGetEnv("NFE_TRANSMITE_APOS_DIGITACAO")="S")
vb_venda("ME3",,,,,"/PN/")
wFgVaiGerarNFE:=.f.

eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,443,32,32}</property>
          <property name="Name">[oIcon6]</property>
          <property name="Icon">[icon\dev_fora_prazo.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,254,355,43}</property>
        <property name="Name">[oButtonex18]</property>
        <property name="Caption">
[&amp;6. Transferencia Entre Lojas (Matriz/Filial)]        </property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("MT",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,259,32,32}</property>
          <property name="Name">[oIcon5]</property>
          <property name="Icon">[icon\transferencia_loja.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,20,355,48}</property>
        <property name="Name">[oBtnVenda]</property>
        <property name="Caption">[&amp;1. NFe de Produtos ou Serviços]</property>
        <property name="TextColor">4210688</property>
        <property name="font">
          <font name="Calibri" width="0" height="-19" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">[Efetua Venda de Produtos e/ou Servicos]</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[wFgVaiGerarNFE:=(xGetEnv("NFE_TRANSMITE_APOS_DIGITACAO")="S")
vb_venda("MV",,,,,"/PN/")
wFgVaiGerarNFE:=.f.

eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,29,32,32}</property>
          <property name="Name">[oIcon14]</property>
          <property name="Icon">[icon\nfe.ico]</property>
        </style>
      </part>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{12,72,355,43}</property>
        <property name="Name">[oButtonex8]</property>
        <property name="Caption">[&amp;2. Nota Fiscal de Devolução ao Fornecedor]</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="PicturePosition">[1-Center]</property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">14</property>
      </style>
      <method name="onClick">
        <![CDATA[vb_venda("MD1",,,,,"/PN/")
eVal(zbProximosNumeros)]]>
      </method>
      <part class="icon">
        <style>
          <property name="Geometry">{21,77,32,32}</property>
          <property name="Name">[oIcon1]</property>
          <property name="Icon">[icon\dev_prod_forn.ico]</property>
        </style>
      </part>
    </part>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{405,339,100,19}</property>
      <property name="Name">[oLabel6]</property>
      <property name="Caption">[Proxima NFe]</property>
      <property name="Justify">[Right]</property>
      <property name="font">
        <font name="Arimo" width="0" height="-12" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">29</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{587,339,100,19}</property>
      <property name="Name">[oLabel7]</property>
      <property name="Caption">[Proxima NFCe]</property>
      <property name="Justify">[Right]</property>
      <property name="font">
        <font name="Arimo" width="0" height="-12" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">29</property>
    </style>
    <method name="onInit">
      <![CDATA[//skel variavel zProxNFe:=0
//skel variavel zProxNFC:=0
//skel variavel zProxNFs:=0
//skel variavel zbProximosNumeros:={||#TEXTO_FONTE
//skel 

zProxNFe := SiSemaf("CAPTE_PROXIMO_NUMERO", "/NFE/")
zProxNFc := SiSemaf("CAPTE_PROXIMO_NUMERO", "/NFC/") 



//MoveWindow(oDlg:Handle, 0,0,1019,547)
IF .not. sFgNFC
   oContainerNFCNFE:Hide() 
ENDIF
if xGetEnv("FATURA_SERVICOS")<>"S"
   oBtnOs:Hide()
   oBtnFecharOs:Hide()
   oBtnFatNFE:Hide()
   oBtnFatNFC:Hide()
   oBtnOutraS:Move( ,,oBtnVenda:nWidth, )   
   oBtnOutraE:Move( ,,oBtnVenda:nWidth, )   
ELSE
   IF LEFT(sys_segmento,2)<>'os'
      oBtnOs:SetText("Criar Orcamento")
      oBtnFecharOs:SetText("Fechar Orcamento")
   ENDIF
ENDIF]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{912,601,80,22}</property>
      <property name="Name">[oBtnFecharOs2]</property>
      <property name="Caption">[F. Fechar OS]</property>
      <property name="Justify">[Center]</property>
      <property name="font">
        <font name="Arial Narrow" width="0" height="-13" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">29</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{822,601,80,22}</property>
      <property name="Name">[oBtnOs2]</property>
      <property name="Caption">[E. Abrir OS]</property>
      <property name="Justify">[Center]</property>
      <property name="font">
        <font name="Arial Narrow" width="0" height="-13" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">29</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{822,94,190,76}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">
[Gerenciamento de Manifesto Eletrônico de Documentos Fiscais (MDFe)]      </property>
      <property name="font">
        <font name="Trebuchet MS" width="0" height="-15" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">29</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{427,355,77,23}</property>
      <property name="Name">[oProxNFe]</property>
      <property name="varName">[zProxNfe]</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-13" weight="700"/>
      </property>
      <property name="cPicture">[999999999]</property>
      <property name="nMaxLength">9</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">30</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.F.]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{612,355,73,23}</property>
      <property name="Name">[oProxNFC]</property>
      <property name="varName">[zProxNFC]</property>
      <property name="font">
        <font name="Arial Unicode MS" width="0" height="-13" weight="700"/>
      </property>
      <property name="cPicture">[999999999]</property>
      <property name="nMaxLength">9</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">30</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[ExecutaXML("dlgconfig_nfe")]]>
    </method>
    <method name="onGetFocus">
      <![CDATA[.F.]]>
    </method>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{730,172,289,162}</property>
      <property name="Name">[oGroup3]</property>
      <property name="Caption">[Relatórios]</property>
      <property name="TextColor">10485760</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Verdana" width="0" height="-12" weight="400" italic="255"/>
      </property>
      <property name="TabIndex">31</property>
    </style>
    <part class="buttonex">
      <style>
        <property name="Geometry">{736,236,276,43}</property>
        <property name="Name">[oButtonex33]</property>
        <property name="Caption">[&amp;N - Nota Fiscal de Entrada por Data Chegada]</property>
        <property name="TextColor">8388608</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="TabIndex">9</property>
      </style>
      <method name="onClick">
        <![CDATA[Relat('Lst_Exec("NFE06_FATF_fr3")','NB',,"X")]]>
      </method>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{736,282,276,43}</property>
        <property name="Name">[oButtonex34]</property>
        <property name="Caption">[&amp;O - Conferente de NFe/NFCe Emitidas]</property>
        <property name="TextColor">8388608</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="ToolTip">[Emite conferente das emissoes de NFE / NFC]</property>
        <property name="TabIndex">9</property>
      </style>
      <method name="onClick">
        <![CDATA[Relat('Lst_Exec("c100_conf_sai_fr3")','NB',,"X")

//Relat('Lst_Exec("NFE06_SF_FATNF")','NB')

//Relat('Lst_Exec("NFE06_SF_FATNF")','NB',,"X")]]>
      </method>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{736,190,276,43}</property>
        <property name="Name">[oButtonex32]</property>
        <property name="Caption">[&amp;M - NF-e / NFC-e de SAIDA por Data Emissão]</property>
        <property name="TextColor">8388608</property>
        <property name="font">
          <font name="Arial Narrow" width="0" height="-13" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="ToolTip">[Emite conferente das emissoes de NFE / NFC]</property>
        <property name="TabIndex">9</property>
      </style>
      <method name="onClick">
        <![CDATA[Relat('Lst_Exec("c100_saidas_fr3")','NB',,"X")]]>
      </method>
    </part>
  </part>
</part>
