Tabela TIL - Cadastro CNES
Chave Unica: TIL_FILIAL + TIL_CNES
Modo: C
Modo Unid.: C
Modo Empr.: C
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| TIL_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| TIL_CNES | Cod. CNES | Codigo CNES | C | Real | 7 |
| TIL_ESTAB | Estab. | Estabelecimento | C | Real | 80 |
| TIL_UF | UF CNES | Unidade Fed. CNES | C | Real | 2 |
| TIL_CODMUN | Codigo IBGE | Cod. Municipio | C | Real | 5 |
| TIL_DESMUN | Municipio | Municipio | C | Virtual | 60 |
| TIL_FRMCTT | Forma Cont. | Forma de Contato | C | Real | 100 |
| TIL_EMAIL | Email de Contato | C | Real | 60 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | TIL_FILIAL + TIL_CNES | Cod. CNES | |
| 2 | TIL_FILIAL + TIL_ESTAB | Estab. |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| CC2 (Tabelas de municipios do IBGE) | TIL (Cadastro CNES) | CC2_CODMUN | TIL_CODMUN | 1 para N |
| CC2 (Tabelas de municipios do IBGE) | TIL (Cadastro CNES) | CC2_EST | TIL_UF | 1 para N |
| CC2 (Tabelas de municipios do IBGE) | TIL (Cadastro CNES) | CC2_EST + CC2_CODMUN | TIL_UF + TIL_CODMUN | 1 para N |
| SX5 (Tabelas) | TIL (Cadastro CNES) | X5_TABELA + X5_CHAVE | '12' + TIL_UF | 1 para N |
| TIL (Cadastro CNES) | TMY (Atestado Saude Ocupacional) | TIL_CNES | TMY_CNES | 1 para N |
| TIL (Cadastro CNES) | TNC (Acidentes de Trabalho) | TIL_CNES | TNC_CNES | 1 para N |