Tabela SS0

Tipo de Entrada e Saida
285camposNome físicoSS0010(empresa 01)

Campos da tabela SS0

285 campos no dicionário de dados do TOTVS Protheus.

285
CampoDescrição
S0_FILIAL
Caractere (C)(2)
Filial
S0_CODIGO
Caractere (C)(3)
Cod. do Tipo
Máscara:
@9
Contexto:
Real
Validação:
existchav("SS0").and.A080IniCpo()
S0_TIPO
Caractere (C)(1)
Tipo do TES
Máscara:
!
Contexto:
Real
Validação:
A080Tipo()
2 valores possíveis
  • EEntrada
  • SSaida
S0_ICM
Caractere (C)(1)
Calcula ICMS
Máscara:
!
Contexto:
Real
Validação:
pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_IPI
Caractere (C)(1)
Calcula IPI
Máscara:
!
Contexto:
Real
Validação:
pertence("SNR")
3 valores possíveis
  • SSim
  • NNao
  • RCom.Nao Atac.
S0_CREDICM
Caractere (C)(1)
Cred. ICMS
Máscara:
!
Contexto:
Real
Validação:
pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_CREDIPI
Caractere (C)(1)
Credita IPI
Máscara:
!
Contexto:
Real
Validação:
pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_DUPLIC
Caractere (C)(1)
Gera Dupl.
Máscara:
!
Contexto:
Real
Validação:
pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_ESTOQUE
Caractere (C)(1)
Atu.Estoque
Máscara:
!
Contexto:
Real
Validação:
pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_CF
Caractere (C)(5)
Cod. Fiscal
Máscara:
@9
Contexto:
Real
Consulta F3:
13
Validação:
(NaoVazio().and.A080IniCpo().and.ExistCpo("SX5","13"+M->S0_CF))
S0_TEXTO
Caractere (C)(20)
Txt Padrao
Máscara:
@!
Contexto:
Real
S0_CFEXT
Caractere (C)(2)
CFOP Extend
Máscara:
@9
Contexto:
Real
S0_BASEICM
Numérico (N)(5,2)
%Red.do ICMS
Máscara:
@E 99.99
Contexto:
Real
Validação:
Positivo()
S0_BASEIPI
Numérico (N)(5,2)
%Red.do IPI
Máscara:
@E 99.99
Contexto:
Real
Validação:
Positivo()
S0_PODER3
Caractere (C)(1)
Poder Terc.
Máscara:
!
Contexto:
Real
Validação:
pertence("RDN")
3 valores possíveis
  • RRemessa
  • DDevolucao
  • NNao Controla
S0_LFICM
Caractere (C)(1)
L.Fisc. ICMS
Máscara:
!
Contexto:
Real
Validação:
pertence("TIONZB").and.A080IniCpo()
6 valores possíveis
  • TTributado
  • IIsento
  • OOutros
  • NNao
  • ZICMS Zerado
  • BObservacao
S0_LFIPI
Caractere (C)(1)
L.Fiscal IPI
Máscara:
!
Contexto:
Real
Validação:
PERTENCE("TIONZP").AND.A080INICPO()
6 valores possíveis
  • TTributado
  • IIsento
  • OOutros
  • NNao
  • ZIPI Zerado
  • PVl.IPI Outr.ICM
S0_DESTACA
Caractere (C)(1)
Destaca IPI
Máscara:
!
Contexto:
Real
Validação:
pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_INCIDE
Caractere (C)(1)
IPI na base
Máscara:
!
Contexto:
Real
Validação:
pertence("SNF")
3 valores possíveis
  • SSim
  • NNao
  • FConsumidor Final
S0_COMPL
Caractere (C)(1)
Calc.Dif.Icm
Máscara:
@!
Contexto:
Real
Validação:
Pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_IPIFRET
Caractere (C)(1)
Calc.Ipi.Fre
Máscara:
@!
Contexto:
Real
Validação:
pertence("SN ")
2 valores possíveis
  • SSim
  • NNao
S0_ISS
Caractere (C)(1)
Calculo ISS
Máscara:
@!
Contexto:
Real
Validação:
pertence("SN ")
2 valores possíveis
  • SSim
  • NNao
S0_LFISS
Caractere (C)(1)
L.Fiscal ISS
Máscara:
!
Contexto:
Real
Validação:
pertence("TION")
4 valores possíveis
  • TTributado
  • IIsento
  • OOutros
  • NNao calcula
S0_NRLIVRO
Caractere (C)(1)
Nr. Livro
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 1234567890")
S0_UPRC
Caractere (C)(1)
Atu.Pr.Compr
Máscara:
!
Contexto:
Real
Validação:
Pertence(" SN")
2 valores possíveis
  • SSim
  • NNao
S0_CONSUMO
Caractere (C)(1)
Mat.Consumo
Máscara:
!
Contexto:
Real
Validação:
Pertence("SNO")
3 valores possíveis
  • SSim
  • NNao
  • OOutros
S0_FORMULA
Caractere (C)(3)
Formula
Máscara:
@!
Consulta F3:
SM4
S0_BENSATF
Caractere (C)(1)
Desme.IT.ATF
Máscara:
@!
Contexto:
Real
Validação:
pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_AGREG
Caractere (C)(1)
Agrega Valor
Máscara:
@!
Contexto:
Real
Validação:
Pertence("SNIABCDEFGHR ")
12 valores possíveis
  • IICMS+Mer
  • AICMS
  • SSim
  • NNao
  • BIC+Mer-EIC
  • CIC-EIC
  • DDed IC V.Ct
  • EDed IC Dup
  • FDed V.Mer Dup
  • GV.Dup IC
  • HIC ST
  • RDed IC V.Unt
S0_INCSOL
Caractere (C)(1)
Agrega Solid
Máscara:
@!
Contexto:
Real
Validação:
Vazio() .Or. Pertence("SNAD")
4 valores possíveis
  • SSim
  • NNao
  • AMercadoria
  • DDeduz Retido
S0_CIAP
Caractere (C)(1)
L.Fisc. CIAP
Máscara:
@!
Contexto:
Real
Validação:
Pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_DESPIPI
Caractere (C)(1)
Desp.Ac. IPI
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • SSim
  • NNao
S0_LIVRO
Caractere (C)(64)
Form. Livro
Máscara:
@!S32
Contexto:
Real
Validação:
a080Livro()
S0_ATUTEC
Caractere (C)(1)
Atual.Tecn.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_ATUATF
Caractere (C)(1)
Atual.Ativo
Máscara:
@!
Contexto:
Real
Validação:
Pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_TPIPI
Caractere (C)(1)
IPI Bruto
Máscara:
@!
Contexto:
Real
Validação:
Pertence("BL")
2 valores possíveis
  • BBruto
  • LLiquido
S0_STDESC
Caractere (C)(1)
Bs.ICMS ST
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Vlr.Liquido
  • 2Vlr.Bruto
S0_BSICMST
Numérico (N)(6,2)
%Red.ICMS ST
Máscara:
@E 999.99
Contexto:
Real
Validação:
Positivo()
S0_CREDST
Caractere (C)(1)
Crd.ICMS ST
Máscara:
@!
Contexto:
Real
Validação:
Pertence("1234")
4 valores possíveis
  • 1Credita
  • 2Retido ST
  • 3Debita
  • 4Subst. Trib.
S0_BASEISS
Numérico (N)(5,2)
%Red.do ISS
Máscara:
@E 99.99
Contexto:
Real
Validação:
Positivo()
S0_DESPICM
Caractere (C)(1)
Desp.Ac.ICMS
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12345 ")
5 valores possíveis
  • 1Sim
  • 2Nao
  • 3Somente ICMSST
  • 4Somente ICMS normal
  • 5Somente Despesas
S0_SITTRIB
Caractere (C)(2)
Sit.Trib.ICM
Máscara:
@!
Contexto:
Real
Consulta F3:
S2
Validação:
Vazio() .or. ExistCpo("SX5","S2"+M->S0_SITTRIB)
S0_PISCOF
Caractere (C)(1)
PIS/COFINS
Máscara:
!
Contexto:
Real
Validação:
pertence("1234")
4 valores possíveis
  • 1PIS
  • 2COFINS
  • 3Ambos
  • 4Nao Considera
S0_PISCRED
Caractere (C)(1)
Cred.PIS/COF
Máscara:
@!
Contexto:
Real
Validação:
pertence("1234")
4 valores possíveis
  • 1Credita
  • 2Debita
  • 3Nao Calcula
  • 4Calcula
S0_TESDV
Caractere (C)(3)
Tes Devol.
Máscara:
@!
Contexto:
Real
Consulta F3:
SF4
Validação:
Vazio() .Or.(ExistCpo("SS0") .And. MaAvalTes(IIf(M->S0_TIPO=="E","S","E"),M->S0_TESDV))
S0_BASEPIS
Numérico (N)(6,2)
%Base PIS
Máscara:
@E 999.99
Contexto:
Real
Validação:
Positivo()
S0_BASECOF
Numérico (N)(6,2)
%Base COF
Máscara:
@E 999.99
Contexto:
Real
Validação:
Positivo()
S0_IPILICM
Caractere (C)(1)
IPI s/N.Trib
Máscara:
!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_MOVPRJ
Caractere (C)(1)
Mov. Projet.
Máscara:
!
Contexto:
Real
Validação:
Pertence("12345")
5 valores possíveis
  • 1Receita
  • 2Despesa
  • 3Nao movimenta
  • 4Dev.Despesa
  • 5Receita/Despesa
S0_ICMSDIF
Caractere (C)(1)
ICM Diferido
Máscara:
@!
Contexto:
Real
7 valores possíveis
  • 1Diferido
  • 2Nao Diferido
  • 3Dif. de Reducao
  • 4Dif. Incentivo
  • 5Dif. com ST
  • 6Deduz NF e Duplicata
  • 7Ded. ICMS BC. Composta
S0_TESP3
Caractere (C)(3)
Tes Ret.Simb
Máscara:
@!
Contexto:
Real
Consulta F3:
SF4
Validação:
Vazio() .Or. (ExistCpo("SS0").And.MaAvalTes(M->S0_TIPO,M->S0_TESP3))
S0_QTDZERO
Caractere (C)(1)
Qtd.Zerada
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_SLDNPT
Caractere (C)(1)
Sld.Poder 3
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Disponivel para faturamento
  • 2Indisponivel
S0_DEVZERO
Caractere (C)(1)
Custo Dev.
Contexto:
Real
Validação:
Pertence("12 ")
Modo de edição (When):
M->S0_TIPO=="E"
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TIPOPER
Caractere (C)(1)
Tipo Operac.
Máscara:
@!
Contexto:
Real
S0_MSBLQL
Caractere (C)(1)
Bloqueado
Máscara:
@!
Contexto:
Real
Validação:
pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TRFICM
Caractere (C)(1)
Trf.Deb/Crd.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TESENV
Caractere (C)(3)
TES P/envios
Contexto:
Real
Consulta F3:
SF4
Validação:
(ExistCpo("SS0").And.MaAvalTes(M->S0_TIPO,M->S0_TESENV))
S0_OBSICM
Caractere (C)(1)
Icms Observ.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_OBSSOL
Caractere (C)(1)
Solid. Obs
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12345")
5 valores possíveis
  • 1Sim
  • 2Nao
  • 3ICMS Garantido
  • 4ICMS Garantido Integral
  • 5ICMS-ST Transportes
S0_PICMDIF
Numérico (N)(6,2)
Perc.ICM DIF
Máscara:
@E 999.99
Contexto:
Real
Validação:
Positivo()
S0_SELO
Caractere (C)(1)
Utiliza Selo
Máscara:
!
Contexto:
Real
Validação:
Pertence("1234")
4 valores possíveis
  • 1Venda/Compra
  • 2Remessa/Devolucao
  • 3Outros
  • 4Nao Movimenta
S0_ISSST
Caractere (C)(1)
Pgto Imposto
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 123456")
6 valores possíveis
  • 1Dentro Municipio
  • 2Fora Municipio
  • 3Isencao
  • 4Imune
  • 5Exigibilidade Susp. Judicial
  • 6Exigibilidade Susp. Proc. Adm.
S0_FINALID
Caractere (C)(254)
Finalidade
Máscara:
@!
Contexto:
Real
S0_PISFISC
Caractere (C)(1)
Aplic.Credit
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Fiscal/Estoque
  • 2Estoque
S0_CONTSOC
Caractere (C)(1)
Cont.Seg.Soc
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_COP
Caractere (C)(4)
Clas Op. Pre
Contexto:
Real
Consulta F3:
VZ
Validação:
Vazio() .Or. ExistCpo('SX5','VZ'+M->F4_COP)
S0_INDNTFR
Caractere (C)(1)
Ind.Nat.Fret
Contexto:
Real
Validação:
Pertence(" 0/1/2/3/4/5/9")
7 valores possíveis
  • 0Op.Vend.estab.vend.
  • 1Op.Vend.adiq.
  • 2Op.Comp.ger.cred.
  • 3Op.Comp.nao.ger.cred.
  • 4Trans.prod.acab.
  • 5Trans.prod.elab
  • 9Outras
S0_CODBCC
Caractere (C)(2)
Cod.BC Cred.
Contexto:
Real
Consulta F3:
MZ
Validação:
Vazio() .Or. ExistCpo('SX5','MZ'+M->F4_CODBCC)
S0_CPPRODE
Numérico (N)(5,2)
Crd.PRODEPE
Máscara:
@E 99.99
Contexto:
Real
S0_AJUSTE
Caractere (C)(1)
Ajuste CIAP
Máscara:
@!
Contexto:
Real
S0_TPPRODE
Caractere (C)(1)
Tipo PRODEPE
Contexto:
Real
Validação:
Pertence(' 123456789')
6 valores possíveis
  • 1Ind-Crd.Pres
  • 2Ind-Fin.Parcelas
  • 3Ind-Crd.Pres.Inter
  • 4Dist-Crd.Pres Entrada
  • 5Dist-Crd.Pres Saida
  • 6Importacao
S0_CPRECTR
Caractere (C)(1)
C.Pre.Carg
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_DESPCOF
Caractere (C)(1)
Desp.Ac.COF
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CTIPI
Caractere (C)(2)
Cod.Trib.IPI
Máscara:
@!
Contexto:
Real
Consulta F3:
S3
Validação:
Vazio() .Or. ExistCpo('SX5','S3'+M->S0_CTIPI)
S0_TPREG
Caractere (C)(1)
Tp Reg
Máscara:
@!
Contexto:
Real
3 valores possíveis
  • 1Nao Cumulativo
  • 2Cumulativo
  • 3Ambos
S0_CRPRST
Numérico (N)(5,2)
Cred Pr ST
Máscara:
@E 99.99
Contexto:
Real
Validação:
Positivo()
S0_CRPRELE
Numérico (N)(5,2)
% Cr Prs Ele
Máscara:
@E 99.99
Contexto:
Real
Validação:
Positivo()
S0_OPEMOV
Caractere (C)(2)
Op.Movimento
Máscara:
@!
Consulta F3:
VS
Validação:
ExistCpo("SX5","VS"+M->S0_OPEMOV)
S0_TRANFIL
Caractere (C)(1)
Trans filial
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_PISBRUT
Caractere (C)(1)
PIS Bruto
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_COFBRUT
Caractere (C)(1)
COFINS Bruto
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_COFDSZF
Caractere (C)(1)
COFINS Z.F.
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_LFICMST
Caractere (C)(1)
LF ICMS-ST
Máscara:
@!
Contexto:
Real
4 valores possíveis
  • NNao
  • IIsentas
  • OOutras
  • TTributadas
S0_BCRDPIS
Numérico (N)(6,2)
%B Cred.PIS
Máscara:
@E 999.99
Contexto:
Real
Validação:
Positivo()
S0_BCRDCOF
Numérico (N)(6,2)
%B.C. COFINS
Máscara:
@E 999.99
Contexto:
Real
Validação:
Positivo()
S0_ICMSST
Caractere (C)(1)
ICMS s/ST
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_FRETAUT
Caractere (C)(1)
Frete Aut.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1ICMS Proprio
  • 2ICMS-ST
  • 3ST Autonomo
S0_MKPCMP
Caractere (C)(1)
Mkp ICM.Comp
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_REGDSTA
Caractere (C)(1)
Reg. DSTA
Máscara:
@!
Contexto:
Real
S0_DSPRDIC
Caractere (C)(1)
Desp.Ac.ICM
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Aplica reducao de ICMS
  • 2Nao aplica reducao de ICMS
  • 3Nao incide na base do ICMS
S0_AFRMM
Caractere (C)(1)
Calc. AFRMM
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • SSim
  • NNao
S0_AGRRETC
Caractere (C)(1)
Agr.Soli Col
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CRDEST
Caractere (C)(1)
Calc. Crd. E
Máscara:
@!
Contexto:
Real
4 valores possíveis
  • 1Nao Calcula
  • 2Equipamentos Eletronicos
  • 3Construcao Civil
  • 4Pelo NCM
S0_AGRCOF
Caractere (C)(1)
Agr.COFINS
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12CD ")
4 valores possíveis
  • 1Sim
  • 2Nao
  • CCOF+Merc
  • DDeduz
S0_AGRPIS
Caractere (C)(1)
Agr.PIS
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12PD ")
4 valores possíveis
  • 1Sim
  • 2Nao
  • PPIS+Merc
  • DDeduz
S0_DESPPIS
Caractere (C)(1)
Desp.Ac.PIS
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_RETISS
Caractere (C)(1)
Ret. ISS
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • SSim
  • NNao
S0_IPIPC
Caractere (C)(1)
IPI na BC
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TESE3
Caractere (C)(3)
Tes Rem.Simb
Máscara:
@!
Contexto:
Real
Consulta F3:
SF4
Validação:
Vazio() .Or. (ExistCpo("SS0") .And. MaAvalTes(IIf(M->S0_TIPO=="E","S","E"),M->S0_TESE3))
S0_IPIOBS
Caractere (C)(1)
Gera IPI Obs
Máscara:
@!
2 valores possíveis
  • 1Sim
  • 2Nao
S0_PSCFST
Caractere (C)(1)
Pis/Cof ST
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CRDTRAN
Numérico (N)(5,2)
Crd. Transp.
Máscara:
@E 99.99
Contexto:
Real
S0_CFPS
Caractere (C)(6)
Cod. CFPS
Máscara:
999999
Contexto:
Real
S0_ISEFECP
Caractere (C)(1)
Isen. FECP
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CFACS
Caractere (C)(1)
Calc. FACS
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CFABOV
Caractere (C)(1)
Calc. FABOV
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CPRESPR
Numérico (N)(5,2)
Cr Pres PR
Máscara:
@E 99.99
Contexto:
Real
S0_CRDACUM
Caractere (C)(1)
Op Cred Acum
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_IVAUTIL
Numérico (N)(7,4)
IVA Utilizad
Máscara:
@E 99.9999
Contexto:
Real
S0_PERCMED
Numérico (N)(7,4)
Perc. Med.
Máscara:
@E 99.9999
Contexto:
Real
S0_VARATAC
Caractere (C)(1)
Est Var/Atac
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Varejista
  • 2Atacadista
S0_CROUTSP
Numérico (N)(5,2)
Cr Out SP
Máscara:
@E 99.99
Contexto:
Real
S0_ICMSTMT
Caractere (C)(1)
ICMS ST MT
Contexto:
Real
S0_VDASOFT
Caractere (C)(1)
Vda Software
Máscara:
@!
Contexto:
Real
Validação:
pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_APLIIVA
Caractere (C)(1)
Aplica Marg.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_APLREDP
Caractere (C)(1)
Apl.Red.Prop
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_MOVFIS
Caractere (C)(1)
Mov.Fisica
Máscara:
@!
Contexto:
Real
Validação:
Pertence("SN")
2 valores possíveis
  • SSim
  • NNao
S0_ATACVAR
Caractere (C)(1)
ST.Atac/Var
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_AGRDRED
Caractere (C)(1)
Agreg Ded
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CSOSN
Caractere (C)(3)
Cod Sit SN
Máscara:
@!
Contexto:
Real
Validação:
Vazio() .or. ExistCpo("SX5","SG"+M->S0_CSOSN)
S0_VENPRES
Caractere (C)(1)
Venda Pres.
Máscara:
@!
Contexto:
Real
Validação:
'Pertence(" 12")'
S0_OPERSUC
Caractere (C)(1)
Oper.Sucata
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TEMDOCS
Caractere (C)(1)
Possui Docs
Máscara:
@!
Contexto:
Real
Validação:
Pertence("1/2")
Modo de edição (When):
M->S0_DUPLIC == "S"
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CREDACU
Caractere (C)(1)
Cr Acum ICMS
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 123")
3 valores possíveis
  • 1Exportacoes
  • 2Outras hipoteses
  • 3Nao se aplica
S0_APLIRED
Caractere (C)(1)
Red.Carg.Trb
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 123')
2 valores possíveis
  • 1Sim
  • 2Nao3=Prop.Aliq.
S0_ESTCRED
Numérico (N)(6,2)
% Est Cr/Deb
Máscara:
@E 999.99
Contexto:
Real
S0_BENDUB
Caractere (C)(1)
Benefic.DUB
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 123456")
6 valores possíveis
  • 1Dif.Compra Ativ.Imobilizado
  • 2Dif.Pag.Futuro
  • 3Isencao
  • 4Red.Bs.Calculo
  • 5Cred.Presumido
  • 6Outros
S0_COMPONE
Caractere (C)(1)
Componente
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_REDANT
Numérico (N)(5,2)
%Red. Antec.
Máscara:
@E 99.99
Contexto:
Real
S0_ANTICMS
Caractere (C)(1)
Antecip.ICMS
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TIPODUB
Caractere (C)(1)
Tipo DUB
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 123456")
6 valores possíveis
  • 1Convenio
  • 2Lei
  • 3Decreto
  • 4Protocolo
  • 5Resolucao
  • 6Portaria
S0_NUMDUB
Caractere (C)(12)
Num./Ano DUB
Máscara:
@!
Contexto:
Real
S0_CODDET
Caractere (C)(4)
Cod.Detalhe
Máscara:
@!
Contexto:
Real
S0_DESCOND
Caractere (C)(1)
Desc Condici
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CRPRSIM
Numérico (N)(5,2)
% Cr Pre Sim
Máscara:
@E 99.99
S0_REGESP
Caractere (C)(2)
Reg Especial
Máscara:
@!
Contexto:
Real
S0_CRICMST
Caractere (C)(1)
Cont ICMS-ST
Máscara:
@!
Contexto:
Real
Validação:
'Pertence(" 01")'
2 valores possíveis
  • 0Nao
  • 1Sim
S0_CODOBSE
Caractere (C)(6)
Cod Observ
Máscara:
@!
Contexto:
Real
Consulta F3:
CCE
Validação:
'ExistCpo("CCE")'
S0_APSCFST
Caractere (C)(1)
AgPis/CofST
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TNATREC
Caractere (C)(4)
Tab. Nat. Re
Máscara:
@!
Contexto:
Real
Consulta F3:
CCZ
Validação:
Vazio() .OR. ExistCpo('CCZ')
S0_CNATREC
Caractere (C)(3)
Cod Nat Rece
Máscara:
@!
Contexto:
Real
Validação:
ExistCpo("CCZ",M->S0_TNATREC+M->S0_CNATREC)
S0_GRPNATR
Caractere (C)(2)
Grp.Nat.Rec.
Máscara:
@!
Contexto:
Real
S0_DTFIMNT
Data (D)(8)
Dt.Fim N. R.
Contexto:
Real
S0_CREDPRE
Numérico (N)(5,2)
Crd. Pres.
Máscara:
@E 99.99
Contexto:
Real
S0_CONSIND
Caractere (C)(1)
Consig Indus
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_MKPSOL
Caractere (C)(1)
Marg.Solid.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Nunca
  • 2Configuracao
  • 3Sempre
S0_CALCFET
Caractere (C)(1)
Calc. FETHAB
Máscara:
@!
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CLFDSUL
Caractere (C)(1)
Cl.Fundersul
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_ART274
Caractere (C)(1)
Inf.ST.Ant
Contexto:
Real
S0_CRLEIT
Caractere (C)(1)
Art.488-MG
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_AGREGCP
Caractere (C)(1)
Agreg CrdPre
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CODLAN
Caractere (C)(6)
Cod.Cat83
Máscara:
@!
Contexto:
Real
Validação:
Vazio() .Or. ExistCpo('CDZ')
S0_FRETISS
Caractere (C)(1)
For Ret ISS
Contexto:
Real
S0_PR35701
Numérico (N)(5,2)
Pr.Red.PE
Máscara:
@E 99.99
Contexto:
Real
Validação:
Positivo()
S0_PRZESP
Caractere (C)(1)
Prz. Esp.
Contexto:
Real
S0_CRPRESP
Numérico (N)(5,2)
Cr Pres SP
Máscara:
@E 99.99
Contexto:
Real
S0_ALSENAR
Numérico (N)(5,2)
Aliq.Senar
Máscara:
@E 99.99
Contexto:
Real
S0_BONIF
Caractere (C)(1)
Bonificacao
Máscara:
@!
Contexto:
Real
Validação:
Pertence("SN ")
2 valores possíveis
  • SSim
  • NNao
S0_CSTISS
Caractere (C)(2)
Sit.Trib.ISS
Máscara:
@!
Contexto:
Real
Consulta F3:
S9
Validação:
Vazio() .or. ExistCpo("SX5","S9"+M->S0_CSTISS)
S0_TIPOTES
Caractere (C)(1)
Incl./Discr
Máscara:
@!
Contexto:
Real
Validação:
PERTENCE("12 ")
2 valores possíveis
  • 1Incluido
  • 2Discriminado
S0_RGESPST
Caractere (C)(1)
Reg.Esp.ST
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_PCREDAC
Numérico (N)(6,2)
%Cr Acu ICMS
Máscara:
@E 999.99
Contexto:
Real
S0_TRANSIT
Caractere (C)(1)
Trf.transito
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • SSim
  • NNao
S0_REDBCCE
Numérico (N)(5,2)
Perc.Red.CE
Máscara:
@E 99.99
Contexto:
Real
S0_RGESPCI
Caractere (C)(1)
Reg.Esp.CIAP
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
S0_VLAGREG
Caractere (C)(1)
Agr Vlr Mun
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" SD")
2 valores possíveis
  • SSoma
  • DDeduz
S0_CODPAG
Caractere (C)(2)
C. Pagamento
Máscara:
@!
7 valores possíveis
  • 01C. Debito
  • 02C. Credito
  • 03Boleto
  • 04Inter. Financeira
  • 05Dinheiro/Cheque
  • 06Sedex Cobrar
  • 99Outros
S0_PAGCOM
Caractere (C)(1)
Pg. Comissao
Máscara:
@!
2 valores possíveis
  • 0Nao
  • 1Sim
S0_STCONF
Caractere (C)(1)
ST.Conf.CE
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_COMPRED
Caractere (C)(1)
Cons.Red.Cmp
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CSTPIS
Caractere (C)(2)
Sit.Trib.PIS
Máscara:
@!
Contexto:
Real
Consulta F3:
SX
Validação:
Vazio() .Or. ExistCpo('SX5','SX'+M->S0_CSTPIS)
S0_CSTCOF
Caractere (C)(2)
Sit.Trib.COF
Máscara:
@!
Contexto:
Real
Consulta F3:
SX
Validação:
Vazio() .Or. ExistCpo('SX5','SX'+M->S0_CSTCOF)
S0_PAUTICM
Caractere (C)(1)
Paut.ICMS PP
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_MOTICMS
Caractere (C)(1)
Mot.Desone.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 123456789")
9 valores possíveis
  • 1Taxi
  • 2Def. Fis.
  • 3Prod. Agro.
  • 4Frot./Locad.
  • 5Diplo./Consular
  • 6Utilit. e Motoc.
  • 7SUFRAMA
  • 8Venda Orgao Publico
  • 9outros.
S0_CODLEG
Caractere (C)(4)
Cod.Legal
Máscara:
@!
Contexto:
Real
Consulta F3:
CCV1
Validação:
Vazio() .Or. ExistCpo('CCV')
S0_BCPCST
Caractere (C)(1)
PS/CF ST BC
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CRPREPE
Numérico (N)(5,2)
Crd Pres PE
Máscara:
@E 99.99
Contexto:
Real
S0_DUPLIST
Caractere (C)(1)
Duplicata ST
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CROUTGO
Numérico (N)(5,2)
%Crd Out GO
Máscara:
@E 99.99
Contexto:
Real
S0_REFATAN
Caractere (C)(1)
Rem. Fat.Ant
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_DBSTCSL
Caractere (C)(1)
Csll/Icm Ret
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_DBSTIRR
Caractere (C)(1)
Irrf/Icm Ret
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_INTBSIC
Caractere (C)(1)
PS/CF Import
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 0123")
4 valores possíveis
  • 0Nao Calcula
  • 1PIS Import
  • 2Cofins Import
  • 3Ambos
S0_CRICMS
Caractere (C)(1)
Contr.ICMS
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 01")
2 valores possíveis
  • 0Nao
  • 1Sim
S0_CRPREPR
Numérico (N)(5,2)
Crd Pres PR
Máscara:
@E 99.99
Contexto:
Real
S0_CRPRERO
Numérico (N)(5,2)
Crd Pres RO
Máscara:
@E 99.99
Contexto:
Real
S0_ISEFERN
Caractere (C)(1)
Isen.FECOP
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TABGIAI
Caractere (C)(3)
Tab.Isen.Gia
Máscara:
@!
Contexto:
Real
S0_TABGIAO
Caractere (C)(3)
Tab Gia Out.
Máscara:
@!
Contexto:
Real
S0_ISEFEMG
Caractere (C)(1)
Is.FECP-MG
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_IDHIST
Caractere (C)(20)
Id.Historico
Máscara:
@!
Contexto:
Real
S0_CRDPRES
Numérico (N)(8,4)
Crd. Pres.
Máscara:
@E 999.9999
Contexto:
Real
Validação:
Positivo() .and. M->F4_CREDPRES <= 100
S0_BSRURAL
Caractere (C)(1)
Bas.FUNRURAL
Máscara:
@!
Contexto:
Real
Validação:
pertence("12")
2 valores possíveis
  • 1PRODUTO RURAL
  • 2PRODUTO DESPESAS
S0_SOMAIPI
Caractere (C)(1)
IPI Bs.ICMST
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_ISEFEMT
Caractere (C)(1)
Is.FECP-MT
Máscara:
@!
Contexto:
Real
Validação:
pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_IPIANT
Caractere (C)(1)
IPI.BC.Ant
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_NATOPER
Caractere (C)(10)
Natureza Ope
Máscara:
@!
Contexto:
Real
Validação:
Vazio() .Or. ExixtCpo("CD1")
S0_BSRDICM
Caractere (C)(1)
Bas.Calc.Re
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Produto + Despesas
  • 2Produto
S0_MALQCOF
Numérico (N)(6,2)
Aliq. COF M.
Máscara:
@E 999.99
Contexto:
Real
S0_NORESP
Caractere (C)(1)
Norma Esp.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TPCPRES
Caractere (C)(1)
Tp Cred Pres
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" CRF")
3 valores possíveis
  • CCred.Tot.oper.
  • RCred.BC ICMS C/R
  • FTot.Oper.Lim.Fret.
S0_DESTRUI
Caractere (C)(1)
Destruicao
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_DEVPARC
Caractere (C)(1)
Dev.Par.Prop
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_DICMFUN
Caractere (C)(1)
Ded.ICMS Fun
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_ESCRDPR
Caractere (C)(1)
Crd.Pres.ES
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_FTATUSC
Caractere (C)(1)
Frt.Ativ.Uso
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_IMPIND
Caractere (C)(1)
Imp. Indiret
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_MALQPIS
Numérico (N)(6,2)
Aliq. PIS M.
Máscara:
@E 999.99
Contexto:
Real
S0_PERCATM
Numérico (N)(5,2)
P. Carga Med
Máscara:
@E 99.99
Contexto:
Real
S0_PISDSZF
Caractere (C)(1)
PIS Z.Franca
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_TPRSPL
Caractere (C)(2)
TP Rec. Simp
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 123")
3 valores possíveis
  • 1ComUrcio
  • 2Ind·stria
  • 3Serviþos
S0_RFETALG
Caractere (C)(1)
Ret.Fethab
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_STLIQ
Caractere (C)(1)
Calc.ST Liq.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_BSICMRE
Caractere (C)(1)
Base ST Dif
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Val Aquisicao
  • 2Padrao
S0_RDBSICM
Caractere (C)(1)
Red.Car.ICMS
Máscara:
@!
2 valores possíveis
  • 1Nao
  • 2Sim
S0_IPIVFCF
Caractere (C)(1)
IPI Bs.ICMS
Máscara:
@!
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Nao
  • 2Sim
S0_OPERGAR
Caractere (C)(1)
Garantia
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_IPIPECR
Numérico (N)(6,2)
% Crd.IPI
Máscara:
@E 999.99
Contexto:
Real
Validação:
Positivo()
S0_TXAPIPI
Caractere (C)(3)
Txt Ap.IPI
Máscara:
@!
Contexto:
Real
Validação:
ExistCpo('SX5','87'+M->F4_TXAPIPI)
S0_GRPCST
Caractere (C)(3)
Enq. IPI
Máscara:
@!
Contexto:
Real
Validação:
Vazio() .or. ExistCpo("F08")
S0_DESCISS
Caractere (C)(1)
Desc. ISS
Máscara:
@!
Contexto:
Real
S0_INDVF
Caractere (C)(1)
Ind.V.Fut
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CV139
Caractere (C)(1)
Conv.139
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12 ")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CFASE
Caractere (C)(1)
Calc. FASE
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CFUNDES
Caractere (C)(1)
Calc.FUNDESA
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CUSENTR
Caractere (C)(1)
Custo Entr?
Máscara:
@!
Contexto:
Real
Validação:
Vazio() .Or. Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_BASCMP
Numérico (N)(5,2)
%Red.do Difa
Máscara:
@E 99.99
Contexto:
Real
Validação:
Positivo()
S0_CIMAMT
Caractere (C)(1)
Calc. IMA-MT
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_ALICRST
Numérico (N)(6,2)
Alq. Crd. ST
Máscara:
@E 999.99
Contexto:
Real
S0_AGRISS
Caractere (C)(1)
Agrega ISS
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CALCCPB
Caractere (C)(1)
Calc.CPRB
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CFAMAD
Caractere (C)(1)
Calc. Famad
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_DIFAL
Caractere (C)(1)
Calc. Difal
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_FCALCPR
Caractere (C)(1)
Calc.Cr.Prs.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 1')
1 valores possíveis
  • 1Cervejas e Chopes Artesanais - SC
S0_DEDDIF
Caractere (C)(1)
Ded.Difal
Máscara:
@!
Contexto:
Real
Validação:
Pertence(' 12')
2 valores possíveis
  • 1Sim
  • 2Nao
S0_ALQFEEF
Numérico (N)(5,2)
Aliq.FEEF.RJ
Máscara:
@E 99.99
Contexto:
Real
S0_ALIQPRO
Numérico (N)(5,2)
Aliq.PROT.GO
Máscara:
@E 99.99
Contexto:
Real
S0_COLVDIF
Caractere (C)(1)
Col ICMS Dif
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Outros
  • 2Isento
S0_IPMMG
Caractere (C)(60)
Cod. IPM MG
Máscara:
@!
Contexto:
Real
S0_TRAFILI
Caractere (C)(1)
Trf Mat
Máscara:
@!
Contexto:
Real
S0_CONTERC
Caractere (C)(1)
Amz. Terc.?
Máscara:
@!
S0_EFDF100
Caractere (C)(1)
Gera F100?
Máscara:
@!
Contexto:
Real
S0_CRDICMA
Caractere (C)(1)
Cr. ICM.Ant
Máscara:
@!
Contexto:
Real
S0_COPSIMP
Caractere (C)(7)
Cod Op. SIMP
Máscara:
9999999
Contexto:
Real
S0_CSBHISS
Caractere (C)(5)
Cod Su DESBH
Máscara:
@!
Contexto:
Real
S0_CSTPF1
Caractere (C)(2)
CST P. F100
Máscara:
@!
Contexto:
Real
S0_ENQLEG
Caractere (C)(2)
Enq.leg.
Máscara:
@!
Contexto:
Real
S0_CODINFC
Caractere (C)(6)
Cod.Inf.
Máscara:
@!
Contexto:
Real
Consulta F3:
CCE
S0_TABGIAC
Caractere (C)(3)
Cod.Cred.Gia
Máscara:
@!
Contexto:
Real
S0_RESSARC
Caractere (C)(1)
Ressarc.
Máscara:
@!
Contexto:
Real
S0_CTBHISS
Caractere (C)(9)
Cod Tr DESBH
Máscara:
@!
Contexto:
Real
S0_CSTCF1
Caractere (C)(2)
CST C. F100
Máscara:
@!
Contexto:
Real
S0_INOVAUT
Caractere (C)(1)
Inovar Auto
Máscara:
@!
Contexto:
Real
S0_COFMIN
Caractere (C)(1)
COF Val.Min
Máscara:
@!
Validação:
Pertence(" 12")
S0_AGRPEDG
Caractere (C)(1)
Agr.Vl.Pedg?
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Agrega na base ICMS
  • 2Agregar somente no total NF
  • 3Nao considera
S0_FTRICMS
Numérico (N)(8,5)
Fat.Desc.ICM
Máscara:
@E 99.99999
Contexto:
Real
S0_PARTICM
Caractere (C)(1)
Part ICM
Máscara:
@!
Validação:
Pertence(" 12")
S0_STREDU
Caractere (C)(1)
Reducao ST
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Antes da composicao da base
  • 2Apos a composicao da base
S0_PISMIN
Caractere (C)(1)
PIS Val.Min
Máscara:
@!
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_FORINFC
Caractere (C)(3)
Formula NFE
Máscara:
@!
Contexto:
Real
S0_INDDET
Caractere (C)(1)
Ind Det Oper
Máscara:
@!
Contexto:
Real
S0_NATOPNF
Caractere (C)(3)
Nat.Op. NFSe
Máscara:
@!
Contexto:
Real
S0_IPMSP
Caractere (C)(60)
Cod. IPM SP
Máscara:
@!
Contexto:
Real
S0_RECDAC
Caractere (C)(1)
Tp Receitas
Máscara:
@!
Contexto:
Real
S0_TRANCQ
Caractere (C)(1)
Trans.Fil CQ
Máscara:
@!
Contexto:
Real
S0_TRIBPRD
Caractere (C)(2)
Trib. Padrao
Máscara:
@!
Contexto:
Real
S0_TREGDMA
Caractere (C)(2)
Tp.Reg. DMA
Máscara:
@ 99
Contexto:
Real
S0_TRFICST
Caractere (C)(1)
Cons.ICMS ST
Máscara:
@!
Contexto:
Real
S0_MTRTBH
Caractere (C)(2)
Mt Ret DESBH
Máscara:
@!
Contexto:
Real
S0_IPIMIN
Caractere (C)(1)
IPI Val.Min
Máscara:
@!
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_OUTPERC
Numérico (N)(6,2)
% Def.MVA/Pa
Máscara:
@E 999.99
Contexto:
Real
S0_CIAPTRB
Caractere (C)(1)
Trib.CIAP
Máscara:
@!
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_VLRZERO
Caractere (C)(1)
Vlr. Zerado
Máscara:
@!
Contexto:
Real
S0_OPANRE
Caractere (C)(7)
Op.Nao Regul
Máscara:
9999999
Contexto:
Real
S0_TPOP
Caractere (C)(2)
Tp Operacao
Máscara:
@!
Contexto:
Real
S0_MSGLT
Caractere (C)(1)
Imp Msg Lote
Máscara:
@!
Contexto:
Real
S0_FEEF
Caractere (C)(1)
Calc. FEEF?
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CINSS
Caractere (C)(1)
Calc.INSS
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_CSENAR
Caractere (C)(1)
Calc.SENAR
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
S0_DUPLIPI
Caractere (C)(1)
Ger.Dup.IPI
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
S0_DIFALPC
Caractere (C)(1)
Ded.Dif. PC
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
S0_APLREPC
Caractere (C)(1)
Apl.Red.PisC
Máscara:
@!
Contexto:
Real
Validação:
pertence(" 1234")
4 valores possíveis
  • 1PIS
  • 2COFINS
  • 3Ambos
  • 4Nao Considera
S0_INFITEM
Caractere (C)(8)
Inf. item
Máscara:
@!
Contexto:
Real
Consulta F3:
F2Y
Validação:
Vazio() .Or. ExistCpo('F2Y')
S0_INDISEN
Caractere (C)(1)
Ind Isen Prv
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao

SELECT de exemplo da tabela SS0

No Protheus a tabela física leva o código da empresa (01 → 010) e registros excluídos ficam com D_E_L_E_T_ = '*'.

SQL · SQL Server
SELECT TOP 100
  SS0.S0_FILIAL,
  SS0.S0_CODIGO,
  SS0.S0_TIPO,
  SS0.S0_ICM,
  SS0.S0_IPI,
  SS0.S0_CREDICM,
  SS0.S0_CREDIPI,
  SS0.S0_DUPLIC
FROM SS0010 SS0
WHERE SS0.D_E_L_E_T_ = ' '

Tabelas próximas no índice do Protheus

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.