Tabela TP8 - Ocorrencias de Irregularidade
Chave Unica: TP8_FILIAL + TP8_CODBEM + TP8_CODIRE + DTOS(TP8_DTOCOR) + TP8_HROCOR
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| TP8_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| TP8_CODBEM | Cod. Bem | Codigo do Bem | C | Real | 16 |
| TP8_NOMBEM | Nome Bem | Nome do Bem | C | Virtual | 30 |
| TP8_CODIRE | Cod. Irreg. | Codigo da Irregularidade | C | Real | 3 |
| TP8_NOMIRE | Nome Irreg. | Nome da Irregularidade | C | Virtual | 30 |
| TP8_DTOCOR | Dt. Ocorrenc | Data da Ocorrencia | D | Real | 8 |
| TP8_HROCOR | Hr. Ocorrenc | Hora da Ocorrencia | C | Real | 5 |
| TP8_ORIGEM | Origem | Origem | C | Real | 1 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | TP8_FILIAL + TP8_CODBEM + TP8_CODIRE + DTOS(TP8_DTOCOR) + TP8_HROCOR | Cod. Bem + Cod. Irreg. + Dt. Ocorrenc + Hr. Ocorrenc | |
| 2 | TP8_FILIAL + TP8_CODIRE + TP8_CODBEM | Cod. Irreg. + Cod. Bem | |
| 3 | TP8_FILIAL + DTOS(TP8_DTOCOR) | Dt. Ocorrenc | |
| 4 | TP8_FILIAL + TP8_ORIGEM | Origem | |
| 5 | TP8_FILIAL + TP8_CODIRE | Cod. Irreg. |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| ST9 (Bem) | TP8 (Ocorrencias de Irregularidade) | T9_CODBEM | TP8_CODBEM | 1 para N |
| TP7 (Tipos de Irregularidade) | TP8 (Ocorrencias de Irregularidade) | TP7_CODIRE | TP8_CODIRE | 1 para N |