Resposta rápida
- Arquivo físico
CHD+ empresa, ex.:CHD010- Chave única
CHD_FILIAL+DTOS(CHD_PERINI)+DTOS(CHD_PERFIN)- Compartilhamento
- Exclusivo
- Estrutura
- 90 campos (4 virtuais), 2 índices, 4 gatilhos
- Rotina do sistema
TAFA372
Consultar no seu ambiente
Registros da tabelaSQL
SELECT TOP 100 CHD_FILIAL
FROM CHD010
WHERE D_E_L_E_T_ = ' 'Dicionário do seu ambienteSQL
SELECT X3_ORDEM, X3_CAMPO, X3_TITULO, X3_TIPO, X3_TAMANHO, X3_DECIMAL, X3_CONTEXT
FROM SX3010
WHERE X3_ARQUIVO = 'CHD'
AND D_E_L_E_T_ = ' '
ORDER BY X3_ORDEMCom quem CHD se liga
Consulta 2
Tabelas usadas como consulta padrão (F3) pelos campos desta.
Gatilhos buscam em 2
Tabelas onde os gatilhos desta posicionam para trazer um valor.
Campos 90
Clique no campo para ver validação, inicializador, combo e gatilhos.
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Filial | Caractere | 2 | 0 | Real | — | — | Filial | |
| ||||||||
| ID | Caractere | 36 | 0 | Real | — | — | Identificador do Registro | |
| ||||||||
| Per. Inicial | Data | 8 | 0 | Real | — | — | Período Inicial | |
| ||||||||
| Per. Final | Data | 8 | 0 | Real | — | — | Período Final | |
| ||||||||
| Ind Ini Per | Caractere | 1 | 0 | Real | @! | — | Indicador Início Período | |
| ||||||||
| Ind Sit Esp | Caractere | 1 | 0 | Real | @! | — | Indicador Situação Especi | |
| ||||||||
| Pat Cisão | Numérico | 6 | 2 | Real | @E 999.99 | — | Patrimônio Remanesc Cisão | |
| ||||||||
| Dt Sit Esp | Data | 8 | 0 | Real | — | — | Data Situação Especial | |
| ||||||||
| Ind Tp ECF | Caractere | 1 | 0 | Real | @! | — | Indicador Tipo da ECF | |
| ||||||||
| Ident. SCP | Caractere | 14 | 0 | Virtual | @! | CUW | Identificação da SCP | |
| ||||||||
| Optante Refi | Caractere | 1 | 0 | Real | @! | — | Optante Refis | |
| ||||||||
| Optante Paes | Caractere | 1 | 0 | Real | @! | — | Optante Paes | |
| ||||||||
| Forma Trib | Caractere | 1 | 0 | Real | @! | — | Forma Tributação Lucro | |
| ||||||||
| Apur IRPJ/CS | Caractere | 1 | 0 | Real | @! | — | Período Apur. IRPJ e CSLL | |
| ||||||||
| Qualif. PJ | Caractere | 2 | 0 | Real | @! | — | Qualif. Pessoa Jurídica | |
| ||||||||
| Trib Per | Caractere | 4 | 0 | Real | @! | — | Forma Tributação Período | |
| ||||||||
| Apur Est | Caractere | 12 | 0 | Real | @! | — | Forma Apuração Estimativa | |
| ||||||||
| Tp Escrit | Caractere | 1 | 0 | Real | @! | — | Tipo de Escrituração | |
| ||||||||
| Tp Entidade | Caractere | 2 | 0 | Virtual | @! | CH0 | Tipo de Entidade | |
| ||||||||
| Descr Ent | Caractere | 220 | 0 | Virtual | @! | — | Descrição da Entidade | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| ID Tp Ent | Caractere | 36 | 0 | Real | — | — | ID Tipo de Entidade | |
| ||||||||
| At Trib Im/I | Caractere | 1 | 0 | Real | @! | — | Atividade Trib. Imun/Isen | |
| ||||||||
| Apur CSLL Im | Caractere | 1 | 0 | Real | @! | — | Apur CSLL Imunes/Isentas | |
| ||||||||
| Op Ext RTT | Caractere | 1 | 0 | Real | @! | — | Optante Extinção RTT | |
| ||||||||
| Dif FCONT | Caractere | 1 | 0 | Real | @! | — | Dif entre Cont Soc e FCON | |
| ||||||||
| Ind Aliq CSL | Caractere | 1 | 0 | Real | @! | — | Indicador Aliquota CSLL | |
| ||||||||
| Qtd SCP | Numérico | 3 | 0 | Real | 999 | — | Quantidade SCP | |
| ||||||||
| Adm Clubes | Caractere | 1 | 0 | Real | @! | — | Adm de Fundos e Clubes | |
| ||||||||
| Part Consór | Caractere | 1 | 0 | Real | @! | — | Participações em Consórci | |
| ||||||||
| Op Exterior | Caractere | 1 | 0 | Real | @! | — | Operações no Exterior | |
| ||||||||
| Op Pes Vinc | Caractere | 1 | 0 | Real | @! | — | Oper Pessoa Vinculada | |
| ||||||||
| PJ Art 48/49 | Caractere | 1 | 0 | Real | @! | — | PJ Artigo 48/49 RFB 1.312 | |
| ||||||||
| Part Exter | Caractere | 1 | 0 | Real | @! | — | Participação Exterior | |
| ||||||||
| Atv. Rural | Caractere | 1 | 0 | Real | @! | — | Atividade Rural | |
| ||||||||
| Lucro Exp | Caractere | 1 | 0 | Real | @! | — | Lucro Exploração | |
| ||||||||
| Red Impostos | Caractere | 1 | 0 | Real | @! | — | Redução de Impostos | |
| ||||||||
| Ind FINOR | Caractere | 1 | 0 | Real | @! | — | Indicativo de FINOR | |
| ||||||||
| Ind Doações | Caractere | 1 | 0 | Real | @! | — | Indicador Doações e Camp. | |
| ||||||||
| Part Colig | Caractere | 1 | 0 | Real | @! | — | Participação em Coligadas | |
| ||||||||
| Venda Export | Caractere | 1 | 0 | Real | @! | — | Venda a Exportadora | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Rend Exter | Caractere | 1 | 0 | Real | @! | — | Rendimento Exterior | |
| ||||||||
| Ativos Exter | Caractere | 1 | 0 | Real | @! | — | Ativos Exterior | |
| ||||||||
| PJ Export | Caractere | 1 | 0 | Real | @! | — | PJ Exportadora | |
| ||||||||
| Pag Exterior | Caractere | 1 | 0 | Real | @! | — | Pagamentos Exterior | |
| ||||||||
| Com Eletron | Caractere | 1 | 0 | Real | @! | — | Comércio Eletrônico | |
| ||||||||
| Royalties Re | Caractere | 1 | 0 | Real | @! | — | Ind Royalties Recebidos | |
| ||||||||
| Royalties Pg | Caractere | 1 | 0 | Real | @! | — | Ind Royalties Pagos | |
| ||||||||
| Ind Rendim. | Caractere | 1 | 0 | Real | @! | — | Ind Rendimentos | |
| ||||||||
| Ind Remessa | Caractere | 1 | 0 | Real | @! | — | Ind Remessa | |
| ||||||||
| Ind Inovação | Caractere | 1 | 0 | Real | @! | — | Ind Inovação | |
| ||||||||
| Inc Digital | Caractere | 1 | 0 | Real | @! | — | Inclusão Digital | |
| ||||||||
| PJ Habilitad | Caractere | 1 | 0 | Real | @! | — | PJ Habilitada | |
| ||||||||
| Pólo Manaus | Caractere | 1 | 0 | Real | @! | — | Pólo de Manaus | |
| ||||||||
| Zona Proc | Caractere | 1 | 0 | Real | @! | — | Zona Proc Exportação | |
| ||||||||
| Área Com | Caractere | 1 | 0 | Real | @! | — | Área de Livre Comércio | |
| ||||||||
| Status Reg. | Caractere | 1 | 0 | Real | — | — | Status do registro | |
| ||||||||
| ID SCP | Caractere | 20 | 0 | Real | — | — | ID da SCP | |
| ||||||||
| Desc. SCP | Caractere | 220 | 0 | Virtual | @! | — | Descrição da SCP | |
| ||||||||
| Ind Aliq CSL | Caractere | 1 | 0 | Real | @! | — | Indicador Aliquota CSLL | |
| ||||||||
| Ind.Rec.Rec | Caractere | 1 | 0 | Real | — | — | Ind.Recolhimento Receita | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Ind. Pais | Caractere | 1 | 0 | Real | @! | — | Ind. Pais a Pais | |
| ||||||||
| Reg.Esp.Trib | Caractere | 1 | 0 | Real | — | — | Regime Especial de Tribut | |
| ||||||||
| Reg.Esp.ABCE | Caractere | 1 | 0 | Real | — | — | Reg.Espc.Aqsic.Bens.Expor | |
| ||||||||
| Prg.Apo.Des. | Caractere | 1 | 0 | Real | — | — | Prog.Apoio.Desenv.Tecnol. | |
| ||||||||
| Prg.PATVD | Caractere | 1 | 0 | Real | — | — | Prog.Desenv.Tecn.Ind.Semi | |
| ||||||||
| Reg.Esp.Infr | Caractere | 1 | 0 | Real | — | — | Reg.Esp.Desen.Infraestr | |
| ||||||||
| Reg.REPENEC | Caractere | 1 | 0 | Real | — | — | Reg.Desenv.Infr.Ind.NNCOE | |
| ||||||||
| R.Esp.Cmp.Ed | Caractere | 1 | 0 | Real | — | — | R.Esp.Cmp.Ed | |
| ||||||||
| Reg.Esp.Aero | Caractere | 1 | 0 | Real | — | — | Reg.Esp.Ind.Aeronautica.B | |
| ||||||||
| Reg.Esp.Cine | Caractere | 1 | 0 | Real | — | — | Reg.Esp.Trib.Cinematogra. | |
| ||||||||
| Reg.Res.Soli | Caractere | 1 | 0 | Real | — | — | Reg.Reiduo.Solidos | |
| ||||||||
| R.E.RECOPA | Caractere | 1 | 0 | Real | — | — | Reg.Esp.Trib.Ref.Est.Fut. | |
| ||||||||
| Hab.Copa.Mud | Caractere | 1 | 0 | Real | — | — | Indicador Copa do Mundo | |
| ||||||||
| Reg.Ind.Dfsa | Caractere | 1 | 0 | Real | — | — | Reg.Esp.Ind. de Defesa | |
| ||||||||
| R.E.PNBLIRT | Caractere | 1 | 0 | Real | — | — | R.E.Trb.Prog.Nac.Bnd.Larg | |
| ||||||||
| Ind. Reif | Caractere | 1 | 0 | Real | — | — | Reg.Espc.Desenv.Infr.Fert | |
| ||||||||
| Hab.Jog.Olmp | Caractere | 1 | 0 | Real | — | — | Habilita Jogos Olimpicos | |
| ||||||||
| Derex | Caractere | 1 | 0 | Real | @! | — | Indicador de Derex | |
| ||||||||
| Pr. Transf. | Caractere | 1 | 0 | Real | @! | — | Precos de Transferencias | |
| ||||||||
| R.Sup.O.Bunk | Caractere | 1 | 0 | Real | @! | — | Reg.Suspensao Oleo Bunker | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| R.T. Reporto | Caractere | 1 | 0 | Real | @! | — | Reg. Trib. Reporto | |
| ||||||||
| R.Esp. RETII | Caractere | 1 | 0 | Real | @! | — | Reg. Esp. Trib. RET-II | |
| ||||||||
| R. E. RPMCMV | Caractere | 1 | 0 | Real | @! | — | Reg. Esp. RPMCMV | |
| ||||||||
| R.E. RET-EEI | Caractere | 1 | 0 | Real | @! | — | Reg. Esp. Trib. RET-EEI | |
| ||||||||
| Ind. Ebas | Caractere | 1 | 0 | Real | @! | — | Ent. Ben. Assist. Social | |
| ||||||||
| R. REPETRO-I | Caractere | 1 | 0 | Real | @! | — | Reg. Esp. REPETRO-Indust. | |
| ||||||||
| R. REPETRO-N | Caractere | 1 | 0 | Real | @! | — | Reg.Esp. REPETRO-Nacional | |
| ||||||||
| R. REPETRO-P | Caractere | 1 | 0 | Real | @! | — | Reg. Esp. REPETRO-Perman. | |
| ||||||||
| R. REPETRO-T | Caractere | 1 | 0 | Real | @! | — | Reg. Esp. REPETRO-Tempor. | |
| ||||||||
| Reg. Pis/Cof | Caractere | 1 | 0 | Real | @! | — | Regime Pis/Cofins | |
| ||||||||
Nenhum campo corresponde ao filtro.
Índices 2
| Ordem | Chave | Descrição | Nickname | Pesquisa |
|---|---|---|---|---|
1 | CHD_FILIAL+CHD_ID | ID | — | S |
2 | CHD_FILIAL+DTOS(CHD_PERINI)+DTOS(CHD_PERFIN) | Per. Inicial + Per. Final | — | S |
Gatilhos 4
| Campo | Seq. | Contradomínio | Tipo | Regra | Alias | Chave de busca | Condição |
|---|---|---|---|---|---|---|---|
CHD_CODSCP | 001 | CHD_IDCODS | X | M->CHD_CODSCP | CUW | xFilial("CUW")+M->CHD_CODSCP | — |
CHD_CODSCP | 002 | CHD_DCODSC | X | TAF372Init("CHD_DCODSC") | CUW | xFilial("CUW")+M->CHD_CODSCP | — |
CHD_TIPENT | 001 | CHD_DTIPEN | X | CH0->CH0_DESCRI | CH0 | xFilial("CH0")+M->CHD_TIPENT | — |
CHD_TIPENT | 002 | CHD_IDTIPE | X | CH0->CH0_ID | CH0 | xFilial("CH0")+M->CHD_TIPENT | — |
Procedência
Dicionário padrão do Protheus 12.1.2510, como a TOTVS distribui, sem customização de ambiente.