Dicionário Protheus
Início

Tabela SJZ no Protheus

Fund Legal Red Base PIS/COFINS

O que é a tabela SJZ no Protheus?

A tabela SJZ faz parte do sistema ERP Protheus da TOTVS e é utilizada para fund legal red base pis/cofins.

Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.

A tabela SJZ possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.

Nesta página você pode consultar a estrutura completa da tabela SJZ, incluindo todos os campos e índices relacionados.

Propriedades da Tabela

Propriedade Valor
X2_CHAVE SJZ
X2_PATH \DATA\
X2_ARQUIVO SJZ990
X2_NOME Fund Legal Red Base PIS/COFINS
X2_NOMESPA Fund.Legal p/Red de base P/C
X2_NOMEENG Legal Fund f/Red of P/C base
X2_ROTINA -
X2_MODO C
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO -
X2_PYME N
X2_MODULO 17
X2_DISPLAY JZ_CODIGO+JZ_DESC+JZ_NCM
X2_SYSOBJ -
X2_USROBJ -
X2_POSLGT 1
X2_CLOB 2
X2_AUTREC 2
X2_TAMFIL 2
X2_TAMUN 0
X2_TAMEMP 0
X2_STAMP 2
X2_INSDT 2
D_E_L_E_T_ -
R_E_C_N_O_ 8357
R_E_C_D_E_L_ 0

Campos da Tabela SJZ (7 campos)

X3_ARQUIVO X3_ORDEM X3_CAMPO X3_TIPO X3_TAMANHO X3_DECIMAL X3_TITULO X3_TITSPA X3_TITENG X3_DESCRIC X3_DESCSPA X3_DESCENG X3_PICTURE X3_VALID X3_USADO X3_RELACAO X3_F3 X3_NIVEL X3_RESERV X3_CHECK X3_TRIGGER X3_PROPRI X3_BROWSE X3_VISUAL X3_CONTEXT X3_OBRIGAT X3_VLDUSER X3_CBOX X3_CBOXSPA X3_CBOXENG X3_PICTVAR X3_WHEN X3_INIBRW X3_GRPSXG X3_FOLDER X3_PYME X3_CONDSQL X3_CHKSQL X3_IDXSRV X3_ORTOGRA X3_IDXFLD X3_TELA X3_PICBRV X3_AGRUP X3_POSLGT X3_MODAL X3_CHKSUM X3_ADDSUM D_E_L_E_T_ R_E_C_N_O_ R_E_C_D_E_L_
SJZ 01 JZ_FILIAL C 2 0 Filial Sucursal Branch Filial do Sistema Sucursal del Sistema System branch - - x x x x x x x x x x x x x x x - - 1 - - - - - A R - - - - - - - - 033 - N - - N N N - - - 1 2 - - - 136709 0
SJZ 02 JZ_CODIGO C 2 0 Cod Fund Red Cod Fund Red Red Fund Cod Cod Fund Red de Base P/C Cod Fund Red de Base P/C Red Fund Cod of Base P/C @! - x x x x x x x x x x x x x x x x - - 1 x x - - - S A R - - - - - - - - - - N - - S N N - - - 1 1 - - - 136710 0
SJZ 03 JZ_DESC C 60 0 Descrição Descripcion Description Desc. Fund. Redução base Desc. Fund. Reducc base Desc. Fund. Base reductin @! - x x x x x x x x x x x x x x x x - - 1 x x - - - S A R - - - - - - - - - - N - - S N N - - - 1 1 - - - 136711 0
SJZ 04 JZ_NCM C 8 0 NCM NCM NCM NCM NCM NCM @! - x x x x x xxxx x x xx x x x x x x x - - 1 x - - - - A R - - - - - - - - - - N - - S N N - - - 1 2 - - - 136712 0
SJZ 05 JZ_PERRED N 6 2 % Redução %Reduccion Red. % % Redução de base P/C % Reduccion de base P/C P/C base reduction % @E 999,99 - x x x x x xxxx x x xx x x x x x x x - - 1 x - - - - A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 136713 0
SJZ 06 JZ_INIVIG D 8 0 Inicio Vig. De Vigencia Start effect Inicio da Vigência De Vigencia Start effect @D - x x x x x xxxx x x xx x x x x x x x - - 1 x - - - - A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 136714 0
SJZ 07 JZ_FIMVIG D 8 0 Final Vig. A Vigencia End effect Final da Vigência A Vigencia End effect @D - x x x x x xxxx x x xx x x x x x x x - - 1 x - - - - A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 136715 0

Índices da Tabela SJZ (1 índices)

INDICE ORDEM CHAVE DESCRICAO DESCSPA DESCENG PROPRI F3 NICKNAME SHOWPESQ IX_VIRTUAL IX_VIRCUST D_E_L_E_T_ R_E_C_N_O_ R_E_C_D_E_L_
SJZ 1 JZ_FILIAL+JZ_CODIGO+JZ_NCM Cod Fund Red + NCM Cod Fund Red + NCM Red Fund Cod + NCM S - - S 2 3 - 19675 0

Perguntas frequentes

Para que serve a tabela SJZ no Protheus?

Ela é utilizada para fund legal red base pis/cofins dentro do sistema ERP Protheus.

Como consultar os campos da tabela SJZ?

Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.

O que são os índices da tabela SJZ?

Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.

Exemplo de consulta SQL da tabela SJZ

Modelo de query gerado automaticamente com base na estrutura da tabela.

SELECT
    JZ_FILIAL,
    JZ_CODIGO,
    JZ_DESC,
    JZ_NCM,
    JZ_PERRED,
    JZ_INIVIG,
    JZ_FIMVIG
FROM SJZ
WHERE
    D_E_L_E_T_ = ' '
    AND JZ_FILIAL = 'VALOR'
    AND JZ_CODIGO = 'VALOR'
    AND JZ_DESC = 'VALOR'
    AND JZ_NCM = 'VALOR'
    AND JZ_PERRED = 0
    AND JZ_INIVIG BETWEEN '20260501' AND '20260531'
    AND JZ_FIMVIG BETWEEN '20260501' AND '20260531'