<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{530,67,468,495}</property>
    <property name="Name">[nfe_setupcst]</property>
<property name="Caption">[Definicao de CST Padroes]</property>
<property name="Font"> <font name="Courier New" width="0" height="-12" weight="400"/> </property>
<property name="FormType">[dlgModal]</property>
<property name="lClipper">.T.</property>
<property name="lExitOnEnter">.T.</property>
<property name="lExitOnESC">.T.</property>
<property name="AutoCenter">.T.</property>
<property name="Variables">{modus,aCbm_var16,aCbm_var17}</property>
<property name="FromStyle">[Popup]</property>
<property name="Icon">[]</property>
<property name="Modal">.F.</property>
<property name="SystemMenu">.F.</property>
<property name="Minimizebox">.F.</property>
<property name="Maximizebox">.F.</property>
<property name="AbsAlignent">.T.</property>
<property name="SizeBox">.T.</property>
<property name="Visible">.T.</property>
<property name="3DLook">.F.</property>
<property name="nBackColor">16777215</property>
<property name="Clipsiblings">.F.</property>
<property name="Clipchildren">.F.</property>
  </style>
  <method name="onFormInit">
    <![CDATA[parameters o, p1
modus:=p1]]>
  </method>
  <method name="onDlgInit">
    <![CDATA[if(modus<>NIL,SetWindowText( oDlg:handle, modus ),)
aCbm_var16 := {{'0-Valor Agregado','0'},{'1-Valor da Pauta','1'},{'2-Preco Max. Consumidor','2'},{'3-Valor da Operacao','3'}}
ovar16:aitems := aCbm_var16
ovar16:Requery() 
aCbm_var17 := {{'0-Preco Tabelado','0'},{'1-Lista Negativa','1'},{'2-Lista Positiva','2'},{'3-Lista Neutra','3'}}
ovar17:aitems := aCbm_var17
ovar17:Requery() 

SET(5,1960) ]]>
  </method>
  <part class="line">
    <style>
      <property name="Geometry">{7,455,455,2}</property>
      <property name="Name">[oLine1]</property>
    </style>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{7,7,457,445}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="editbox">
      <style>
        <property name="Geometry">{377,142,34,18}</property>
        <property name="Name">[ovar04]</property>
        <property name="varName">[m_var04]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,142,357,16}</property>
        <property name="Name">[oSayvar04]</property>
        <property name="Caption">
[CST Icms para Produtos com Tributacao Normal  T01:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{377,162,34,18}</property>
        <property name="Name">[ovar05]</property>
        <property name="varName">[m_var05]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,162,357,16}</property>
        <property name="Name">[oSayvar05]</property>
        <property name="Caption">
[CST Icms para Produtos com Substituicao Trib.  FF:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{377,182,34,18}</property>
        <property name="Name">[ovar06]</property>
        <property name="varName">[m_var06]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,182,357,16}</property>
        <property name="Name">[oSayvar06]</property>
        <property name="Caption">
[CST Icms para Produtos com Isentos de ICMS     II:]        </property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{195,222,21,18}</property>
        <property name="Name">[ovar08]</property>
        <property name="varName">[m_var08]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,222,175,16}</property>
        <property name="Name">[oSayvar08]</property>
        <property name="Caption">[CST PIS nas SAIDAS.....:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">6</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{195,242,21,18}</property>
        <property name="Name">[ovar09]</property>
        <property name="varName">[m_var09]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">6</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,242,175,16}</property>
        <property name="Name">[oSayvar09]</property>
        <property name="Caption">[CST COFINS nas SAIDAS..:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">7</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{195,262,21,18}</property>
        <property name="Name">[ovar10]</property>
        <property name="varName">[m_var10]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">7</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,262,175,16}</property>
        <property name="Name">[oSayvar10]</property>
        <property name="Caption">[CST PIS nas ENTRADAS...:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">8</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{195,282,21,18}</property>
        <property name="Name">[ovar11]</property>
        <property name="varName">[m_var11]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">8</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,282,175,16}</property>
        <property name="Name">[oSayvar11]</property>
        <property name="Caption">[CST COFINS nas ENTRADAS:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">9</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{195,322,21,18}</property>
        <property name="Name">[ovar13]</property>
        <property name="varName">[m_var13]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">9</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,322,175,16}</property>
        <property name="Name">[oSayvar13]</property>
        <property name="Caption">[CST IPI nas SAIDAS.....:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">10</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{195,342,21,18}</property>
        <property name="Name">[ovar14]</property>
        <property name="varName">[m_var14]</property>
        <property name="nMaxLength">3</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">10</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,342,175,16}</property>
        <property name="Name">[oSayvar14]</property>
        <property name="Caption">[CST IPI nas ENTRADAS...:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">11</property>
      </style>
    </part>
    <part class="combobox">
      <style>
        <property name="Geometry">{293,382,161,18}</property>
        <property name="Name">[ovar16]</property>
        <property name="varName">[m_var16]</property>
        <property name="ColumnWidth">161</property>
        <property name="Items">(aCbm_var16)</property>
        <property name="DisplayCount">4</property>
        <property name="lEdit">.T.</property>
        <property name="FormatText">[UPPERCASE]</property>
        <property name="TabIndex">11</property>
      </style>
      <method name="onInteractiveChange">
        <![CDATA[Parameters value,ovar16
XmlChecaComboBox(value,ovar16,aCbm_var16) ]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,382,273,16}</property>
        <property name="Name">[oSayvar16]</property>
        <property name="Caption">[Modalidade Base Calc ICMs Subst.Trib.:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">12</property>
      </style>
    </part>
    <part class="combobox">
      <style>
        <property name="Geometry">{293,402,161,18}</property>
        <property name="Name">[ovar17]</property>
        <property name="varName">[m_var17]</property>
        <property name="ColumnWidth">161</property>
        <property name="Items">(aCbm_var17)</property>
        <property name="DisplayCount">5</property>
        <property name="lEdit">.T.</property>
        <property name="FormatText">[UPPERCASE]</property>
        <property name="TabIndex">12</property>
      </style>
      <method name="onInteractiveChange">
        <![CDATA[Parameters value,ovar17
XmlChecaComboBox(value,ovar17,aCbm_var17) ]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{20,402,273,16}</property>
        <property name="Name">[oSayvar17]</property>
        <property name="Caption">[Modalidade Base Calc Pis/Cofins......:]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Courier New" width="0" height="-12" weight="700"/>
        </property>
        <property name="TabIndex">13</property>
      </style>
    </part>
    <part class="radiogroup">
      <style>
        <property name="Geometry">{21,38,169,94}</property>
        <property name="Name">[oRadiogroup1]</property>
        <property name="varName">[vRadiogroup1]</property>
        <property name="Caption">[Regime de Apura袯]</property>
        <property name="TextColor">16711680</property>
        <property name="TabIndex">1002</property>
      </style>
      <part class="radiobutton">
        <style>
          <property name="Geometry">{34,102,139,22}</property>
          <property name="Name">[oRadiobutton3]</property>
          <property name="Caption">[Lucro Real]</property>
          <property name="TabIndex">1003</property>
        </style>
        <method name="onClick">
          <![CDATA[snfRegime:='3'
m_var02:='3'
sNfTxPis:=1.65
sNfTxCof:=7.60
sNfTxICMs:=18.00]]>
        </method>
      </part>
      <part class="radiobutton">
        <style>
          <property name="Geometry">{34,80,139,22}</property>
          <property name="Name">[oRadiobutton2]</property>
          <property name="Caption">[Lucro Presumido]</property>
          <property name="TabIndex">1003</property>
        </style>
        <method name="onClick">
          <![CDATA[snfRegime:='2'
m_var02:='2'
sNfTxPis:=0.65
sNfTxCof:=3.00
sNfTxICMs:=18.00]]>
        </method>
      </part>
      <part class="radiobutton">
        <style>
          <property name="Geometry">{34,58,139,22}</property>
          <property name="Name">[oRadiobutton1]</property>
          <property name="Caption">[Simples Nacional]</property>
          <property name="TabIndex">1003</property>
        </style>
        <method name="onClick">
          <![CDATA[snfRegime:='1'
m_var02:='1'
sNfTxPis:=0
sNfTxCof:=0
sNfTxICMs:=0]]>
        </method>
      </part>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{215,38,209,94}</property>
        <property name="Name">[oGroup2]</property>
        <property name="Caption">[Taxas Padr�nas Vendas]</property>
        <property name="TextColor">16711680</property>
        <property name="TabIndex">1004</property>
      </style>
      <part class="label">
        <style>
          <property name="Geometry">{222,80,101,19}</property>
          <property name="Name">[oLabel5]</property>
          <property name="Caption">[Taxa do PIS]</property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1005</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{222,58,101,19}</property>
          <property name="Name">[oLabel4]</property>
          <property name="Caption">[Taxa de ICMs]</property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1005</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{222,102,101,19}</property>
          <property name="Name">[oLabel6]</property>
          <property name="Caption">[Taxa da COFINS]</property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1005</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{336,102,76,19}</property>
          <property name="Name">[oLabel3]</property>
          <property name="Caption">[(Str(sNfTxPis,6,2)+&quot;%&quot;)]</property>
          <property name="Justify">[Right]</property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1006</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{337,80,76,19}</property>
          <property name="Name">[oLabel2]</property>
          <property name="Caption">[(Str(sNfTxIcms,6,2)+&quot;%&quot;)]</property>
          <property name="Justify">[Right]</property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1006</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{337,58,76,19}</property>
          <property name="Name">[oLabel1]</property>
          <property name="Caption">[(Str(sNfTxCof,6,2)+&quot;%&quot;)]</property>
          <property name="Justify">[Right]</property>
          <property name="Transparent">.T.</property>
          <property name="TabIndex">1006</property>
        </style>
      </part>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{317,462,70,28}</property>
      <property name="Name">[oOwnerbutton1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[&amp;OK]</property>
      <property name="TabIndex">1000</property>
    </style>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{393,462,70,28}</property>
      <property name="Name">[oOwnerbutton2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[&amp;Cancela]</property>
      <property name="TabIndex">1001</property>
    </style>
  </part>
</part>
