Tabela CRG - Cancelamento do Aviso Previo
Chave Unica: CRG_FILIAL + CRG_ID + CRG_VERSAO
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| CRG_FILIAL | Filial | Filial | C | Real | 2 |
| CRG_ID | ID | Identificador do registro | C | Real | 6 |
| CRG_VERSAO | Id. Ver. Reg | Id da versao do registro | C | Real | 14 |
| CRG_TRABAL | Trabalhador | Id. do Trabalhador | C | Real | 6 |
| CRG_DTRAB | Nome Trab. | Nome do Trabalhador | C | Virtual | 220 |
| CRG_DTCANC | Dt. Cancelam | Data Cancelamento | D | Real | 8 |
| CRG_MOTCAN | Mot. Cancel. | Motivo do Cancelamento | C | Real | 1 |
| CRG_OBSERV | Observacao | Observacao | M | Real | 10 |
| CRG_VERANT | Ver Ant Reg | Versao anterior registro | C | Real | 14 |
| CRG_PROTUL | Ult. Prot. | Prot. ultima transmissao | C | Real | 44 |
| CRG_STATUS | Status Reg. | Status do registro | C | Real | 1 |
| CRG_PROTPN | Pnlt. Prot. | Prot. penultima transm. | C | Real | 44 |
| CRG_EVENTO | Id. Evento | Identificacao do evento | C | Real | 1 |
| CRG_ATIVO | Reg. Ativo? | Registro ativo? | C | Real | 1 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | CRG_FILIAL + CRG_ID + CRG_VERSAO | ID + Id. Ver. Reg | |
| 2 | CRG_FILIAL + CRG_TRABAL + DTOS(CRG_DTCANC) | Trabalhador + Dt. Cancelam | |
| 3 | CRG_FILIAL + CRG_ID + CRG_ATIVO | ID + Reg. Ativo? | |
| 4 | CRG_FILIAL + CRG_PROTUL | Ult. Prot. |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| C9V (Dados do Trabalhador) | CRG (Cancelamento do Aviso Previo) | C9V_ID | CRG_TRABAL | 1 para 1 |