<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{306,80,512,522}</property>
    <property name="Name">[dlgcaixa]</property>
    <property name="Caption">[Faturamento de Remessas a Venda]</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">.F.</property>
    <property name="lExitOnEnter">.F.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.F.</property>
    <property name="StyleBorder">[0 - No Border]</property>
    <property name="nBackColor">14870505</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">.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>
  <part class="buttonex">
    <style>
      <property name="Geometry">{394,460,99,41}</property>
      <property name="Name">[oButtonex5]</property>
      <property name="Caption">[ESC - Sair]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-15" weight="400"/>
      </property>
      <property name="ToolTip">[Fecha Tela]</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[keyb_event( 27 )]]>
    </method>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{22,79,471,236}</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="-16" weight="700"/>
      </property>
      <property name="TabIndex">14</property>
    </style>
    <part class="buttonex">
      <style>
        <property name="Geometry">{38,104,431,71}</property>
        <property name="Name">[oButtonex1]</property>
        <property name="Caption">[&amp;1 - Emitir NFC de Venda]</property>
        <property name="TextColor">4194304</property>
        <property name="font">
          <font name="Calibri" width="0" height="-32" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">
[Registra NFC referente a Venda de produtos da Remessa Ativa]        </property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onClick">
        <![CDATA[IF wNfDeRemessaEmFaturamento>0
   ExecutaXML("toobvend")
ELSE
   ALERT("Antes de emitir notas de venda, voce precisa carregar uma remessa!")
ENDIF
]]>
      </method>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{38,197,428,101}</property>
        <property name="Name">[oButtonex2]</property>
        <property name="Caption">
[&amp;2 - Carregar produtos de Nota de Remessa à Venda Gerada no Servidor]        </property>
        <property name="TextColor">4194304</property>
        <property name="font">
          <font name="Calibri" width="0" height="-27" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">
[Carrega saldos de estoque a ser vendidos nessa estação a partir de NFe de Remessa a Venda gerada no Servidor e Recebida nesta estação]        </property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onClick">
        <![CDATA[SyncFiles('carregar_remessa_a_venda','sync_get_remessa.bat')
oNfRemessa:Refresh()
]]>
      </method>
    </part>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{24,373,120,125}</property>
      <property name="Name">[oButtonex3]</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\upload.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Envia Dados para a nuvem]</property>
      <property name="TabIndex">14</property>
    </style>
    <method name="onClick">
      <![CDATA[SyncFiles('upload','sync_env_dados.bat')]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{164,373,121,125}</property>
      <property name="Name">[oButtonex4]</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\download.jpg]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Recebe dados da nuvem]</property>
      <property name="TabIndex">14</property>
    </style>
    <method name="onClick">
      <![CDATA[SyncFiles('download')
]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{68,2,392,54}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">[Vender Itens da Remessa]</property>
      <property name="Justify">[Center]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Calibri" width="0" height="-35" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">15</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{47,351,84,19}</property>
      <property name="Name">[oLabel3]</property>
      <property name="Caption">[Enviar Dados]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="" width="0" height="-13" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">15</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{177,351,97,19}</property>
      <property name="Name">[oLabel4]</property>
      <property name="Caption">[Receber Dados]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="" width="0" height="-13" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">15</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{383,355,110,61}</property>
      <property name="Name">[oNfRemessa]</property>
      <property name="Caption">
[(&quot;Remessa em Faturamento: &quot;+lTrim(Str(wNfDeRemessaEmFaturamento,10) ))]      </property>
      <property name="Justify">[Right]</property>
      <property name="TextColor">16711680</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="700"/>
      </property>
      <property name="TabIndex">16</property>
    </style>
  </part>
</part>
