<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{307,72,827,460}</property>
    <property name="Name">[dlgcaixa_nfe]</property>
    <property name="Caption">[Parametros Emissao da 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">.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">[3 - Sizable (Default)]</property>
    <property name="nBackColor">14870505</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\tela2.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="onDlgInit">
    <![CDATA[se sys_segmento<>'farma' entao oCheck2:Hide()
//IF  sys_segmento<>'farma'
//    oCheck2:Hide()
//ENDIF]]>
  </method>
  <part class="buttonex">
    <style>
      <property name="Geometry">{743,427,80,31}</property>
      <property name="Name">[oButtonex5]</property>
      <property name="Caption">[ESC - Sair]</property>
      <property name="font">
        <font name="Arial" width="0" height="-13" 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="checkbox">
    <style>
      <property name="Geometry">{838,186,279,22}</property>
      <property name="Name">[oCheck25]</property>
      <property name="varName">[vCheck25]</property>
      <property name="Caption">[Faz Controle de Caixa POR TURNOS]</property>
      <property name="TabIndex">11</property>
    </style>
    <method name="onClick">
      <![CDATA[xSetEnv("CXTURNO", IF(vCheck25,"S","N") )]]>
    </method>
    <method name="onInit">
      <![CDATA[vCheck25:=(xGetEnv("CXTURNO")="S")
oCheck25:Refresh()]]>
    </method>
  </part>
  <part class="checkbox">
    <style>
      <property name="Geometry">{835,236,378,22}</property>
      <property name="Name">[oCheck26]</property>
      <property name="varName">[vCheck26]</property>
      <property name="Caption">[Vende por PRECO DE ATACADO apos pressionar F4]</property>
      <property name="TabIndex">11</property>
    </style>
    <method name="onClick">
      <![CDATA[xSetEnv("PRECOS_ATACADO_EM_F4", IF(vCheck26,"S","N") )]]>
    </method>
    <method name="onInit">
      <![CDATA[vCheck26:=(xGetEnv("PRECOS_ATACADO_EM_F4")="S")
oCheck26:Refresh()]]>
    </method>
  </part>
  <part class="checkbox">
    <style>
      <property name="Geometry">{835,266,378,22}</property>
      <property name="Name">[oCheck27]</property>
      <property name="varName">[vCheck27]</property>
      <property name="Caption">[Imprime pedido durante venda teclando ALT+P]</property>
      <property name="TabIndex">11</property>
    </style>
    <method name="onClick">
      <![CDATA[xSetEnv("PRTDAVV", IF(vCheck26,"S","N") )]]>
    </method>
    <method name="onInit">
      <![CDATA[vCheck27:=(xGetEnv("PRTDAVV")="S")
oCheck27:Refresh()]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{1100,114,65,22}</property>
      <property name="Name">[oEdit14]</property>
      <property name="varName">[vEdit14]</property>
      <property name="cPicture">[999999]</property>
      <property name="nMaxLength">6</property>
      <property name="TabIndex">12</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[xSetEnv("CAIXA", ALLTRIM(STR(vEdit14)) )]]>
    </method>
    <method name="onInit">
      <![CDATA[vCheck37:=(xGetEnv("PEDEDADOSENTREGA")<>"N")
oCheck37:Refresh()]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{833,105,260,40}</property>
      <property name="Name">[oLabel19]</property>
      <property name="Caption">
[Numero do Caixa Padrao, para fechamentos de venda fora do Checkout]      </property>
      <property name="TabIndex">13</property>
    </style>
  </part>
  <part class="page">
    <style>
      <property name="Geometry">{0,2,824,421}</property>
      <property name="Name">[oPage1]</property>
      <property name="Tabs">
{Impressao/Gerais,Lotes/Servicos/Etc.,DIFAL,EscPOS,Digitacao,NfCup/Balanca,Atacado}      </property>
      <property name="TabIndex">14</property>
    </style>
    <method name="onClick">
      <![CDATA[xSetEnv("NFE_IMPRIME_DSC_ITENS", IF(vCheck5,"S","N") )]]>
    </method>
    <method name="onGetFocus">
      <![CDATA[vCheck11:=(xGetEnv("NFE_SO_DESTACA_DESCONTOS_PE_DA_NOTA")="S")
oCheck11:Refresh()]]>
    </method>
    <part class="PageSheet" page="1">
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,50,809,22}</property>
          <property name="Name">[oCheck3]</property>
          <property name="varName">[vCheck3]</property>
          <property name="Caption">
[Destaca valor de IPI nas notas eletronicas, ou seja, cobra IPI como taxa adicional nas notas emitidas]          </property>
          <property name="ToolTip">
[Esse parametro so deve ser configurado para industrias]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFEIPI", IF(vCheck3,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck3:=(xGetEnv("NFEIPI")="S")
oCheck3:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,70,809,22}</property>
          <property name="Name">[oCheck4]</property>
          <property name="varName">[vCheck4]</property>
          <property name="Caption">
[Destaca diferencas entre os precos de Venda sem desconto da Ficha do Produto e os Precos Liquidos da venda]          </property>
          <property name="ToolTip">
[Se a nota for emitida via ACBR Monitor, sera preciso marcar o destaque dos descontos no ACBR]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFEPRTDSC", IF(vCheck4,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck4:=(xGetEnv("NFEPRTDSC")="S")
oCheck4:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,92,809,22}</property>
          <property name="Name">[oCheck5]</property>
          <property name="varName">[vCheck5]</property>
          <property name="Caption">
[Destaca diferencas entre os precos de Venda da Ficha do Produto e o Liquidos da venda. Identico a opcao anterior]          </property>
          <property name="ToolTip">
[Se a nota for emitida via ACBR Monitor, sera preciso marcar o destaque dos descontos no ACBR]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_IMPRIME_DSC_ITENS", IF(vCheck5,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck5:=(xGetEnv("NFE_IMPRIME_DSC_ITENS")<>"N")
oCheck5:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,133,280,22}</property>
          <property name="Name">[oCheck6]</property>
          <property name="varName">[vCheck6]</property>
          <property name="Caption">[Imprime NFE/NFC em ordem alfabetica]</property>
          <property name="ToolTip">
[Se voce desmarcar essa opcao, a NFE/NFC sera emitida por ordem de digitacao]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFEALFA", IF(vCheck6,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck6:=(xGetEnv("NFEALFA")="S")
oCheck6:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,154,806,22}</property>
          <property name="Name">[oCheck8]</property>
          <property name="varName">[vCheck8]</property>
          <property name="Caption">
[Exibe Alerta durante a emissao da NFE/NFC caso a CST da venda do produto seja tributada e a Taxa ICMS esteja zerada]          </property>
          <property name="ToolTip">
[Essa opcao so tem significado para lucro presumido ou real... O Alerta para o processo de geracao da Nota, mas apos teclar Enter deixa continuar a nota]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFEMSGCST", IF(vCheck8,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck8:=(xGetEnv("NFEMSGCST")<>"N")
oCheck8:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,174,801,22}</property>
          <property name="Name">[oCheck9]</property>
          <property name="varName">[vCheck9]</property>
          <property name="Caption">
[Destaca a Soma dos Impostos embutidos nos itens da Venda, conforme a Lei da Transparencia ?]          </property>
          <property name="ToolTip">
[Obs: DESMARQUE SE A NOTA ESTIVER SENDO REJEITADA PELO GOVERNO POR ESSE MOTIVO... Os tributos indicados nao serao pagos pelo emitente da NFE. Eles sao apenas indicacao dos tributos acumulados nos insumos do item e na cadeia de producao/distribuicao]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_COM_LEI_DA_TRANSPARENCIA", IF(vCheck9,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck9:=(xGetEnv("NFE_COM_LEI_DA_TRANSPARENCIA")<>"N")
oCheck9:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{359,133,448,22}</property>
          <property name="Name">[oCheck10]</property>
          <property name="varName">[vCheck10]</property>
          <property name="Caption">
[Informa codigos de barras dos itens na emissao da NFE/NFC]          </property>
          <property name="ToolTip">
[Obs: DESMARQUE SE A NOTA ESTIVER SENDO REJEITADA PELO GOVERNO POR ESSE MOTIVO... Caso marque a opcao, TODOS os produtos da NFE/NFC precisarao ter codigos de Barras, ou a nota sera rejeitada]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_COM_EAN", IF(vCheck10,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck10:=(xGetEnv("NFE_COM_EAN")<>"N")
oCheck10:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,113,795,22}</property>
          <property name="Name">[oCheck11]</property>
          <property name="varName">[vCheck11]</property>
          <property name="Caption">
[Nao destaca descontos individuais de cada item da NFE/NFC... Todos os itens serao impressos a precos liquidos]          </property>
          <property name="ToolTip">
[Essa opcao pode ser usada na emissao de NFE/NFC para licitacoes... O total geral dos descontos podera ser destacado na Mensagem de quanto se economizou com descontos na NFE/NFC]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_SO_DESTACA_DESCONTOS_PE_DA_NOTA", IF(vCheck11,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck11:=(xGetEnv("NFE_SO_DESTACA_DESCONTOS_PE_DA_NOTA")="S")
oCheck11:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,29,789,22}</property>
          <property name="Name">[oCheck12]</property>
          <property name="varName">[vCheck12]</property>
          <property name="Caption">
[Destaca a Referencia de Fabrica dos itens antes da descricao dos produtos na NFE/NFC ?]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_ANEXA_REFFABRICA_NA_DESCRICAO", IF(vCheck12,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck12:=(xGetEnv("NFE_ANEXA_REFFABRICA_NA_DESCRICAO")="S")
oCheck12:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,194,789,22}</property>
          <property name="Name">[oCheck14]</property>
          <property name="varName">[vCheck14]</property>
          <property name="Caption">
[Exibe mensagem de quanto se economizou com descontos na NFC]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("MSGECONOMIZOU", IF(vCheck14,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck14:=(xGetEnv("MSGECONOMIZOU")="S")
oCheck14:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,260,789,22}</property>
          <property name="Name">[oCheck15]</property>
          <property name="varName">[vCheck15]</property>
          <property name="Caption">
[Exige informacao do codigo CEST para produtos com substituicao tributaria durante geracao da NFE/NFC ?]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_VALIDA_CEST", IF(vCheck15,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck15:=(xGetEnv("NFE_VALIDA_CEST")="S")
oCheck15:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,349,794,54}</property>
          <property name="Name">[oCheck20]</property>
          <property name="varName">[vCheck20]</property>
          <property name="Caption">
[Efetua baixa nos estoques e gera lancamentos no Caixa Diario mesmo que nao receba confirmacao da transmissao da NFE/NFC ? Obs: Caso desmarque essa opcao, a NFE/NFC permanecera como pendente, sem registro no caixa, ate que haja confirmacao apos nova tentativa de transmissao.]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("GRAVA_NFENFC_SEM_RESPOSTA_GOV", IF(vCheck20,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck20:=(xGetEnv("GRAVA_NFENFC_SEM_RESPOSTA_GOV")="S")
oCheck20:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,296,799,50}</property>
          <property name="Name">[oCheck13]</property>
          <property name="varName">[vCheck13]</property>
          <property name="Caption">
[Se no momento da criacao do XML de uma NF o sistema detectar que aquela numeracao ja havia sido usada, devera ser gerado automaticamente novo numero para a NFE/NFC ?  Caso desmarque essa opcao, sera gerada pedido de confirmacao ou nao para o operador no momento da geracao do XML da NFE/NFC.]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFC_GERA_NOVO_NUMERO_NF_DUPLICADA", IF(vCheck13,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck13:=(xGetEnv("NFC_GERA_NOVO_NUMERO_NF_DUPLICADA")<>"N")
oCheck13:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,238,809,22}</property>
          <property name="Name">[oCheck1]</property>
          <property name="varName">[vCheck1]</property>
          <property name="Caption">
[Exige abertura do Caixa antes de emitir notas eletronicas. Opcao obrigatoria caso use NFC ou emissao direta de NFE]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("CAIXA_COM_NFE", IF(vCheck1,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck1:=(xGetEnv("CAIXA_COM_NFE")="S")
oCheck1:Refresh()]]>
        </method>
      </part>
    </part>
    <part class="PageSheet" page="2">
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,39,563,35}</property>
          <property name="Name">[oCheck2]</property>
          <property name="varName">[vCheck2]</property>
          <property name="Caption">
[Imprime data de validade de lotes de Medicamentos ?  Obs: Voce pode desmarcar caso o controle de lotes seja usado para controlar seriais de equipamentos, etc...]          </property>
          <property name="WordWrap">.T.</property>
          <property name="ToolTip">
[Desmarque caso o controle de lotes seja usado para controlar seriais de equipamentos, etc...]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("PRTVENCLT", IF(vCheck2,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck2:=xGetEnv("PRTVENCLT")<>"N"
oCheck2:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{7,159,240,52}</property>
          <property name="Name">[oCheck16]</property>
          <property name="varName">[vCheck16]</property>
          <property name="Caption">
[Imprime dados do transportador independente da NFE do tipo de frete, CIF ou FOB ?]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("PRTTRANSP", IF(vCheck16,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck16:=(xGetEnv("PRTTRANSP")="S")
oCheck16:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{10,367,789,22}</property>
          <property name="Name">[oCheck19]</property>
          <property name="varName">[vCheck19]</property>
          <property name="Caption">
[Envia email automaticamente apos transmissao da NFE ou NFC, caso exista email na ficha do cliente ?]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFEEMAILAUTO", IF(vCheck19,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck19:=(xGetEnv("NFEEMAILAUTO")<>"N")
oCheck19:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{10,391,446,22}</property>
          <property name="Name">[oCheck7]</property>
          <property name="varName">[vCheck7]</property>
          <property name="Caption">
[Emite NFE/NFC em ambiente de Homologacao. Sem Valor Fiscal.]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFEHOMOLOGA", IF(vCheck7,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck7:=(xGetEnv("NFEHOMOLOGA")="S")
oCheck7:Refresh()]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{623,58,190,22}</property>
          <property name="Name">[oEdit1]</property>
          <property name="varName">[vEdit1]</property>
          <property name="ToolTip">
[Deixe em branco para lotes de Medicamentos, ou use &quot;Numero de Serie&quot; se o lote controla o serial de equipamentos, etc.]          </property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("MSGLOTE", ALLTRIM(vEdit1) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit1:=Pad(xGetEnv("MSGLOTE"),60)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{505,101,62,22}</property>
          <property name="Name">[oEdit7]</property>
          <property name="varName">[vEdit7]</property>
          <property name="cPicture">[99.99]</property>
          <property name="nMaxLength">5</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("CODIGO_DE_SERVICOS_PADRAO", ALLTRIM(vEdit7) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit7:=Pad(xGetEnv("CODIGO_DE_SERVICOS_PADRAO"),5)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{357,167,61,22}</property>
          <property name="Name">[oEdit8]</property>
          <property name="varName">[vEdit8]</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("CFOPTRANSP", ALLTRIM(vEdit8) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit8:=Pad(xGetEnv("CFOPTRANSP"),5)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{776,160,37,22}</property>
          <property name="Name">[oEdit9]</property>
          <property name="varName">[vEdit9]</property>
          <property name="cPicture">[XX]</property>
          <property name="nMaxLength">2</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("NFE_UF_DO_TRANSPORTADOR", ALLTRIM(vEdit9) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit9:=Pad(xGetEnv("NFE_UF_DO_TRANSPORTADOR"),2)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{708,101,108,22}</property>
          <property name="Name">[oEdit10]</property>
          <property name="varName">[vEdit10]</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("MARCANFE", ALLTRIM(vEdit10) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit10:=Pad(xGetEnv("MARCANFE"),25)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{10,256,474,92}</property>
          <property name="Name">[oEdit11]</property>
          <property name="varName">[vEdit11]</property>
          <property name="Multiline">.T.</property>
          <property name="AutoHScroll">.T.</property>
          <property name="ToolTip">
[Voce pode usar expressoes de programacao a ser processadas em tempo de execucao]          </property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("OBS_PADRAO_DA_NFE", ALLTRIM(vEdit11) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit11:=Pad(xGetEnv("OBS_PADRAO_DA_NFE"),100)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{501,258,311,92}</property>
          <property name="Name">[oEdit12]</property>
          <property name="varName">[vEdit12]</property>
          <property name="Multiline">.T.</property>
          <property name="AutoHScroll">.T.</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("NFE_MENSAGEM_SIMPLES_NACIONAL", ALLTRIM(vEdit12) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit12:=Pad(xGetEnv("NFE_MENSAGEM_SIMPLES_NACIONAL"),100)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{692,391,120,22}</property>
          <property name="Name">[oEdit6]</property>
          <property name="varName">[vEdit6]</property>
          <property name="ToolTip">
[Indicar a versao de processamento do layout do XML da NFE... Deixe em branco para default interno do sistema...]          </property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("NFE_VERPROC", ALLTRIM(vEdit6) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit6:=Pad(xGetEnv("NFE_VERPROC"),15)]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{623,38,190,19}</property>
          <property name="Name">[oLabel1]</property>
          <property name="Caption">[Rotulo Identificador de Lotes]</property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{6,96,487,39}</property>
          <property name="Name">[oLabel11]</property>
          <property name="Caption">
[Codigo padrao de servico a ser utilizado na venda de servicos via NFC, caso nao tenha sido indicado na ficha do produto/servico:]          </property>
          <property name="Justify">[Right]</property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{264,159,90,39}</property>
          <property name="Name">[oLabel12]</property>
          <property name="Caption">[CFOP padrao transporte:]</property>
          <property name="Justify">[Right]</property>
          <property name="TabIndex">16</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{446,159,319,39}</property>
          <property name="Name">[oLabel13]</property>
          <property name="Caption">
[UF padrao para placas de veiculos quando a UF nao for informada nos dados do transportador]          </property>
          <property name="Justify">[Right]</property>
          <property name="TabIndex">16</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{586,96,120,36}</property>
          <property name="Name">[oLabel14]</property>
          <property name="Caption">[Marca padrao dos volumes da NFE:]</property>
          <property name="TabIndex">16</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{572,391,116,19}</property>
          <property name="Name">[oLabel10]</property>
          <property name="Caption">[Ver.Proc. da NFE:]</property>
          <property name="TabIndex">16</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{11,235,262,19}</property>
          <property name="Name">[oLabel15]</property>
          <property name="Caption">[Observacao Padrao a adicionar na NFE:]</property>
          <property name="TabIndex">17</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{536,235,276,19}</property>
          <property name="Name">[oLabel16]</property>
          <property name="Caption">[Alterar mensagem do SIMPLES NACIONAL]</property>
          <property name="TabIndex">17</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("DF_GAVETA", IF(vCheck42,"S","N") )]]>
        </method>
      </part>
    </part>
    <part class="PageSheet" page="3">
      <part class="editbox">
        <style>
          <property name="Geometry">{406,58,65,22}</property>
          <property name="Name">[oEdit3]</property>
          <property name="varName">[vEdit3]</property>
          <property name="cPicture">[99.99]</property>
          <property name="nMaxLength">6</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("NFE_DIFAL_UF_G1_TXICM", ALLTRIM(vEdit3) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit3:=Pad(xGetEnv("NFE_DIFAL_UF_G1_TXICM"),6)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{406,36,392,22}</property>
          <property name="Name">[oEdit2]</property>
          <property name="varName">[vEdit2]</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("NFE_DIFAL_UF_G1", ALLTRIM(vEdit2) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit2:=Pad(xGetEnv("NFE_DIFAL_UF_G1"),60)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{406,98,392,22}</property>
          <property name="Name">[oEdit4]</property>
          <property name="varName">[vEdit4]</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("NFE_DIFAL_UF_G2", ALLTRIM(vEdit4) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit4:=Pad(xGetEnv("NFE_DIFAL_UF_G2"),60)]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{406,120,65,22}</property>
          <property name="Name">[oEdit5]</property>
          <property name="varName">[vEdit5]</property>
          <property name="cPicture">[99.99]</property>
          <property name="nMaxLength">6</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("NFE_DIFAL_UF_G2_TXICM", ALLTRIM(vEdit5) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit5:=Pad(xGetEnv("NFE_DIFAL_UF_G2_TXICM"),6)]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{9,38,375,19}</property>
          <property name="Name">[oLabel2]</property>
          <property name="Caption">
[Quarto Grupo de Estados com taxa diferenciada de ICMS:]          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{69,58,315,19}</property>
          <property name="Name">[oLabel3]</property>
          <property name="Caption">
[Taxa de ICMS interna dos estados desse grupo:]          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{9,98,375,19}</property>
          <property name="Name">[oLabel4]</property>
          <property name="Caption">
[Quinto Grupo de Estados com taxa diferenciada de ICMS:]          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{69,120,315,19}</property>
          <property name="Name">[oLabel5]</property>
          <property name="Caption">
[Taxa de ICMS interna dos estados desse grupo:]          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{35,184,728,44}</property>
          <property name="Name">[oLabel6]</property>
          <property name="Caption">
[Obs1: As UFs AC, AL, CE, ES, GO, MT, MS, PA, PI, RR e SC continuam com aliquotas internas de ICMs de 17%... Elas constituem o que chamamos de primeiro grupo de aliquotas internas para o DIFAL]          </property>
          <property name="TabIndex">15</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{35,232,728,44}</property>
          <property name="Name">[oLabel7]</property>
          <property name="Caption">
[Obs2: A UF Rondonia (RO) tem aliquota interna de ICMs de 17.5 %... O que chamamos de segundo grupo de aliquotas internas para o DIFAL]          </property>
          <property name="TabIndex">15</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{35,280,728,44}</property>
          <property name="Name">[oLabel8]</property>
          <property name="Caption">
[Obs3: Os demais estados da federacao trabalham com aliquotas internas de ICMs de 18% ... Constituem o que chamamos de terceiro grupo de aliquotas internas para o DIFAL..]          </property>
          <property name="TabIndex">15</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{34,354,728,44}</property>
          <property name="Name">[oLabel9]</property>
          <property name="Caption">
[Obs4: Caso algum estado mude sua aliquota de ICMs para outro valor, 19% por exemplo, utilize os Quarto e/ou Quinto grupos acima para os estados indicando as siglas dos mesmos e a Taxa ICMs interna dos mesmos...]          </property>
          <property name="TabIndex">15</property>
        </style>
      </part>
    </part>
    <part class="PageSheet" page="4">
      <part class="checkbox">
        <style>
          <property name="Geometry">{6,32,789,22}</property>
          <property name="Name">[oCheck17]</property>
          <property name="varName">[vCheck17]</property>
          <property name="Caption">
[Deve emitir comando de ativacao de impressora ESCPOS antes de imprimir a NFC e ativar letra condensada ?]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_ATIVAR_IMPRESSORA_ESCPOS", IF(vCheck17,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck17:=(xGetEnv("NFE_ATIVAR_IMPRESSORA_ESCPOS")<>"N")
oCheck17:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{6,64,789,51}</property>
          <property name="Name">[oCheck18]</property>
          <property name="varName">[vCheck18]</property>
          <property name="Caption">
[Emito comando de CORTE DE PAPEL para Impressora ESCPOS com Guilhotina ?  Obs: Voce so precisa usar essa opcao caso o driver da mesma nao funcione, na configuracao de cortar antes ou apos a impressao, ou se nao funcionar na configuracao da guilhotina pelo ACBR.]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_ESCPOS_CORTA_PAPEL", IF(vCheck18,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck18:=(xGetEnv("NFE_ESCPOS_CORTA_PAPEL")="S")
oCheck18:Refresh()]]>
        </method>
      </part>
      <part class="group">
        <style>
          <property name="Geometry">{9,128,772,282}</property>
          <property name="Name">[oGroup1]</property>
          <property name="Caption">[Forma de Controle de GAVETA de Dinheiro]</property>
          <property name="TextColor">16711680</property>
          <property name="TabIndex">18</property>
        </style>
        <part class="checkbox">
          <style>
            <property name="Geometry">{22,204,558,21}</property>
            <property name="Name">[oCheck42]</property>
            <property name="varName">[vCheck42]</property>
            <property name="Caption">
[Emite comando para ABERTURA DE GAVETA antes da impressao de cupom NFC ?]            </property>
            <property name="WordWrap">.T.</property>
            <property name="TabIndex">11</property>
          </style>
          <method name="onClick">
            <![CDATA[xSetEnv("DF_GAVETA", IF(vCheck42,"S","N") )]]>
          </method>
          <method name="onInit">
            <![CDATA[vCheck42:=(xGetEnv("DF_GAVETA")="S")
oCheck42:Refresh()]]>
          </method>
        </part>
        <part class="checkbox">
          <style>
            <property name="Geometry">{22,222,558,21}</property>
            <property name="Name">[oCheck41]</property>
            <property name="varName">[vCheck41]</property>
            <property name="Caption">
[Emite comando para ABERTURA DE GAVETA atraves do ACBR MONITOR ?]            </property>
            <property name="WordWrap">.T.</property>
            <property name="TabIndex">11</property>
          </style>
          <method name="onClick">
            <![CDATA[xSetEnv("CONTROLA_GAVETA_VIA_ACBR", IF(vCheck41,"S","N") )]]>
          </method>
          <method name="onInit">
            <![CDATA[vCheck41:=(xGetEnv("CONTROLA_GAVETA_VIA_ACBR")="S")
oCheck41:Refresh()]]>
          </method>
        </part>
        <part class="editbox">
          <style>
            <property name="Geometry">{23,294,663,24}</property>
            <property name="Name">[oEdit17]</property>
            <property name="varName">[vEdit17]</property>
            <property name="Multiline">.T.</property>
            <property name="AutoHScroll">.T.</property>
            <property name="ToolTip">
[Voce pode usar expressoes de programacao a ser processadas em tempo de execucao]            </property>
            <property name="TabIndex">12</property>
          </style>
          <method name="onLostFocus">
            <![CDATA[xSetEnv("COMANDOS_GAVETA", ALLTRIM(vEdit17) )]]>
          </method>
          <method name="onInit">
            <![CDATA[vEdit17:=Pad(xGetEnv("COMANDOS_GAVETA"),100)]]>
          </method>
        </part>
        <part class="label">
          <style>
            <property name="Geometry">{23,242,664,51}</property>
            <property name="Name">[oLabel23]</property>
            <property name="Caption">
[Comandos especificos a lancar na impressora, caso nao use ACBR MONITOR, ou nao funcione o simples lancamento automatico feito pelo sistema do arquivo rpt\atvgav.txt na impressora ESCPOS: exemplo de comando:  zComandoGaveta:=Chr(27)+&apos;p&apos;+Chr(0)+Chr(37)+chr(250)]            </property>
            <property name="TextColor">8388672</property>
            <property name="TabIndex">17</property>
          </style>
        </part>
        <part class="label">
          <style>
            <property name="Geometry">{23,325,664,51}</property>
            <property name="Name">[oLabel24]</property>
            <property name="Caption">
[Caso a GAVETA esteja ligada diretamente na porta COM, sem a impressora, ou caso voce queira lancar o comando direto na porta COM da impressora sem passar pelo gerenciamento de spool do Windows, execute essa programacao diretamente no rpt\atvgav.txt]            </property>
            <property name="TextColor">8388672</property>
            <property name="TabIndex">17</property>
          </style>
        </part>
        <part class="label">
          <style>
            <property name="Geometry">{21,155,751,40}</property>
            <property name="Name">[oLabel22]</property>
            <property name="Caption">
[Obs: Voce so precisa usar alguma das opcoes seguintes caso o driver da impressora ESCPOS nao acione a ABERTURA da GAVETA antes ou apos a impressao de cupons...]            </property>
            <property name="TextColor">8388672</property>
            <property name="TabIndex">19</property>
          </style>
        </part>
        <part class="buttonex">
          <style>
            <property name="Geometry">{188,380,149,23}</property>
            <property name="Name">[oButtonex1]</property>
            <property name="Caption">[Testar rpt/atvgav.txt]</property>
            <property name="TabIndex">20</property>
          </style>
        </part>
        <part class="buttonex">
          <style>
            <property name="Geometry">{23,380,149,23}</property>
            <property name="Name">[oButtonex2]</property>
            <property name="Caption">[Editar rpt/atvgav.txt]</property>
            <property name="TabIndex">20</property>
          </style>
        </part>
      </part>
    </part>
    <part class="PageSheet" page="5">
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,69,279,22}</property>
          <property name="Name">[oCheck21]</property>
          <property name="varName">[vCheck21]</property>
          <property name="Caption">[Pede dados de entrega a domicilio]</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("PEDEDADOSENTREGA", IF(vCheck21,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck21:=(xGetEnv("PEDEDADOSENTREGA")<>"N")
oCheck21:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{4,89,248,22}</property>
          <property name="Name">[oCheck22]</property>
          <property name="varName">[vCheck22]</property>
          <property name="Caption">[Pede codigo do departamento]</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("USADEPARTAMENTOS", IF(vCheck22,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck22:=(xGetEnv("USADEPARTAMENTOS")="S")
oCheck22:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{5,175,465,36}</property>
          <property name="Name">[oCheck24]</property>
          <property name="varName">[vCheck24]</property>
          <property name="Caption">
[Concede automaticamente o desconto maximo que pode ser dado a um item durante digitacao da venda]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("DSCMAXAUTO", IF(vCheck23,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck24:=(xGetEnv("DSCMAXAUTO")="S")
oCheck24:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{5,135,465,36}</property>
          <property name="Name">[oCheck23]</property>
          <property name="varName">[vCheck23]</property>
          <property name="Caption">
[Mostra na tela o desconto maximo que pode ser concedido a um produto durante digitacao da venda, a ser confirmado pelo operador]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("SUGEREDSCMAX", IF(vCheck23,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck23:=(xGetEnv("SUGEREDSCMAX")="S")
oCheck23:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{5,212,465,115}</property>
          <property name="Name">[oCheck28]</property>
          <property name="varName">[vCheck28]</property>
          <property name="Caption">
[Inicia venda pedindo primeiramente o PLANO DE PAGAMENTO. Caso se comece a venda selecionando a forma de pagamento, o sistema pode impedir que sejam concedidos descontos ao se digitar um item da venda. Caso nao marque a opcao, o sistema permitira digitar itens com desconto, porem apos a selecao de um plano de pagamento a venda seria recalculada e seriam eliminados os descontos incompativeis com o plano.]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("ABRECOMPLANO", IF(vCheck28,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck28:=(xGetEnv("ABRECOMPLANO")="S")
oCheck28:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{492,42,320,51}</property>
          <property name="Name">[oCheck29]</property>
          <property name="varName">[vCheck29]</property>
          <property name="Caption">
[Imprime CUPOM VINCULADO nas vendas a prazo, para assinatura de CONFIRMACAO DO DEBITO TOTAL EM ABERTO do cliente]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("VINCULA_POSICAO_DEBITO", IF(vCheck29,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck29:=(xGetEnv("VINCULA_POSICAO_DEBITO")="S")
oCheck29:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{493,92,320,66}</property>
          <property name="Name">[oCheck30]</property>
          <property name="varName">[vCheck30]</property>
          <property name="Caption">
[Imprime CUPOM VINCULADO nas vendas a prazo, com assinatura de CONFIRMACAO DA COMPRA, sem exibir o debito total em aberto de outras vendas]          </property>
          <property name="WordWrap">.T.</property>
          <property name="BackColor">16777215</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("VINCULA_CONVENIOS", IF(vCheck30,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck30:=(xGetEnv("VINCULA_CONVENIOS")="S")
oCheck30:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{495,158,320,34}</property>
          <property name="Name">[oCheck31]</property>
          <property name="varName">[vCheck31]</property>
          <property name="Caption">
[Imprime CUPOM VINCULADO com endereco de entrega e dados adicionais de cada venda]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("VINCULA", IF(vCheck31,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck31:=(xGetEnv("VINCULA")="S")
oCheck31:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{494,192,320,51}</property>
          <property name="Name">[oCheck32]</property>
          <property name="varName">[vCheck32]</property>
          <property name="Caption">
[Imprime CUPOM VINCULADO com dados complementares de cada produto que solicite observacoes durante a venda]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("VINCULA", IF(vCheck31,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck31:=(xGetEnv("VINCULA")="S")
oCheck31:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{491,258,320,35}</property>
          <property name="Name">[oCheck33]</property>
          <property name="varName">[vCheck33]</property>
          <property name="Caption">
[Imprime conferente de itens vendidos apos digitacao de itens de NFE modelo 55 grande]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("IMPTODAS", IF(vCheck33,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck33:=(xGetEnv("IMPTODAS")="S")
oCheck33:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{488,292,320,35}</property>
          <property name="Name">[oCheck34]</property>
          <property name="varName">[vCheck34]</property>
          <property name="Caption">
[Imprime conferente de itens apos digitacao de PREVENDA de TELEVENDAS para PAF]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("IMPTV", IF(vCheck34,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck34:=(xGetEnv("IMPTV")="S")
oCheck34:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{488,327,320,36}</property>
          <property name="Name">[oCheck35]</property>
          <property name="varName">[vCheck35]</property>
          <property name="Caption">
[Imprime conferente de itens vendidos apos digitacao de qualquer PREVENDA para PAF]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("IMPPREV", IF(vCheck35,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck35:=(xGetEnv("IMPPREV")="S")
oCheck35:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{8,328,465,36}</property>
          <property name="Name">[oCheck36]</property>
          <property name="varName">[vCheck36]</property>
          <property name="Caption">
[Confirma venda apos informar a FORMA DE PAGAMENTO. Caso esteja desmarcada, sera solicitada confirmacao ao operador]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("CNFAUTO", IF(vCheck36,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck36:=(xGetEnv("CNFAUTO")="S")
oCheck36:Refresh()]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{363,112,65,22}</property>
          <property name="Name">[oEdit13]</property>
          <property name="varName">[vEdit13]</property>
          <property name="cPicture">[999999]</property>
          <property name="nMaxLength">6</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("PRECO_UNITARIO_MAXIMO_PERMITIDO", ALLTRIM(STR(vEdit13)) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit13:=Val(xGetEnv("PRECO_UNITARIO_MAXIMO_PERMITIDO"))]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{4,112,348,19}</property>
          <property name="Name">[oLabel17]</property>
          <property name="Caption">
[Preco unitario maximo permitido durante a digitacao:]          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{10,32,318,19}</property>
          <property name="Name">[oLabel18]</property>
          <property name="Caption">[Acoes DURANTE OU APOS DIGITACAO da venda:]</property>
          <property name="TabIndex">13</property>
        </style>
      </part>
    </part>
    <part class="PageSheet" page="6">
      <part class="checkbox">
        <style>
          <property name="Geometry">{10,36,667,38}</property>
          <property name="Name">[oCheck37]</property>
          <property name="varName">[vCheck37]</property>
          <property name="Caption">
[Ao Gerar NFE ref. a cupons ja emitidos seleciona tambem as vendas de clientes nao identificados (Vendas a clientes avulsos, com codigo 0 zerado)]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("NFE_REF_VARIOS_CUPONS_ANEXA_CLI0", IF(vCheck37,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck37:=(xGetEnv("NFE_REF_VARIOS_CUPONS_ANEXA_CLI0")<>"N")
oCheck37:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{9,114,677,22}</property>
          <property name="Name">[oCheck38]</property>
          <property name="varName">[vCheck38]</property>
          <property name="Caption">
[Etiqueta de Balanca de Peso informa Codigo e Quantidade, ao inves de Codigo e Preco do Produto ?]          </property>
          <property name="ToolTip">
[Etiquetas de Balanca de Peso NORMALMENTE INFORMAM CODIGO REDUZIDO E PRECO DO PRODUTO... So marque se essa balanca informar Codigo e Peso, ao inves do Codigo e Preco]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("ETQ_DE_BALANCA_DE_PESO_INFORMA_QTD", IF(vCheck38,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck38:=(xGetEnv("ETQ_DE_BALANCA_DE_PESO_INFORMA_QTD")="S")
oCheck38:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{10,137,677,22}</property>
          <property name="Name">[oCheck39]</property>
          <property name="varName">[vCheck39]</property>
          <property name="Caption">
[Cadastra o codigo reduzido da Etiqueta de Peso na coluna do codigo de barras do produto ?]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("USA_CODIGOS_DE_BALANCA_NO_PDIC6", IF(vCheck39,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck39:=(xGetEnv("USA_CODIGOS_DE_BALANCA_NO_PDIC6")="S")
oCheck39:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{9,165,484,35}</property>
          <property name="Name">[oCheck40]</property>
          <property name="varName">[vCheck40]</property>
          <property name="Caption">
[Usa codigo de barras EAN8 com digito de CheckSum ? (Esse codigo de barras normalmente eh usado em Oticas, com etiquetas pequeninas)]          </property>
          <property name="WordWrap">.T.</property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("USA_EAN8_COM_DIGITO_CHECKSUM", IF(vCheck40,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck40:=(xGetEnv("USA_EAN8_COM_DIGITO_CHECKSUM")="S")
oCheck40:Refresh()]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{520,88,65,22}</property>
          <property name="Name">[oEdit15]</property>
          <property name="varName">[vEdit15]</property>
          <property name="cPicture">[999999]</property>
          <property name="nMaxLength">6</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("QTDE_DIGITOS_DO_PRODUTO_ETQ_BALANCA", ALLTRIM(STR(vEdit15)) )]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit15:=Val(xGetEnv("QTDE_DIGITOS_DO_PRODUTO_ETQ_BALANCA"))]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{517,209,65,22}</property>
          <property name="Name">[oEdit16]</property>
          <property name="varName">[vEdit16]</property>
          <property name="cPicture">[999999]</property>
          <property name="nMaxLength">6</property>
          <property name="ToolTip">
[Nao esqueca de atualizar a estrutura das tabelas, e configurar o sistema para 3 decimais na opcao Suporte]          </property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onLostFocus">
          <![CDATA[xSetEnv("CASAS_DECIMAIS_DA_IMPRESSORA_ECF", ALLTRIM(STR(vEdit16)) )
IF vEdit16>0 .AND. ALERT("Confirma reconfigurar a quantidade de decimais das tabelas para "+STR(vEdit16,2)+" decimais ?",{"2.Nao","1.Sim"},"B/W")=2
   SysConfig("3DECIMAIS")
ENDIF]]>
        </method>
        <method name="onInit">
          <![CDATA[vEdit16:=Val(xGetEnv("CASAS_DECIMAIS_DA_IMPRESSORA_ECF"))]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{10,88,502,19}</property>
          <property name="Name">[oLabel20]</property>
          <property name="Caption">
[Numero de Digitos do Codigo do Produto no Cod.Barras da Balanca de Peso:]          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{7,209,502,19}</property>
          <property name="Name">[oLabel21]</property>
          <property name="Caption">
[Casas decimais dos Saldos em Estoque (Casas decimais nos cupons ECF)]          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
    </part>
    <part class="PageSheet" page="7">
      <part class="checkbox">
        <style>
          <property name="Geometry">{11,37,561,22}</property>
          <property name="Name">[oCheck43]</property>
          <property name="varName">[vCheck43]</property>
          <property name="Caption">
[Emite vendas NFC direto com Preco de Atacado ao inves do preco de Consumidor]          </property>
          <property name="ToolTip">
[Para cada produto vendido, concede o preco definido para vendas em atacado (PVLUVEN4) caso esse preco seja INFERIOR ao preco a prazo]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("ATACADO", IF(vCheck43,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck43:=(xGetEnv("ATACADO")="S")
oCheck43:Refresh()]]>
        </method>
      </part>
      <part class="checkbox">
        <style>
          <property name="Geometry">{11,64,554,37}</property>
          <property name="Name">[oCheck44]</property>
          <property name="varName">[vCheck44]</property>
          <property name="Caption">
[Define que as quantidades informadas durante a digitacao do pedido se referem a quantidade de CAIXAS FECHADAS ao inves de unidades individuais]          </property>
          <property name="WordWrap">.T.</property>
          <property name="ToolTip">
[Define que a venda sera por CAIXAS ao inves de UNIDADES]          </property>
          <property name="TabIndex">11</property>
        </style>
        <method name="onClick">
          <![CDATA[xSetEnv("VENDE_POR_CAIXA_FECHADA_E_UNIDADES", IF(vCheck44,"S","N") )]]>
        </method>
        <method name="onInit">
          <![CDATA[vCheck44:=(xGetEnv("VENDE_POR_CAIXA_FECHADA_E_UNIDADES")="S")
oCheck44:Refresh()]]>
        </method>
      </part>
    </part>
  </part>
</part>
