Tabela GXL - EDI - OCORRENCIAS DE ENTREGA
Chave Unica: GXL_FILIAL + GXL_NRIMP
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| GXL_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| GXL_MARKBR | Sel. | Sel. | C | Real | 2 |
| GXL_NRIMP | Seq Import | Sequencial da Importacao | C | Real | 16 |
| GXL_EDINRL | Num Linha | Numero da Linha Arquivo | N | Real | 5 |
| GXL_EDILIN | Linha | Conteudo Linha Arquivo | M | Real | 10 |
| GXL_EDIARQ | Arquivo | Arquivo Importacao | C | Real | 200 |
| GXL_DTIMP | Data Import | Data Importacao Arquivo | D | Real | 8 |
| GXL_ALTER | Alterado? | Alterado? | C | Real | 1 |
| GXL_EDISIT | Situacao | Situacao EDI | C | Real | 1 |
| GXL_EDIMSG | Mensagem | Mensagem EDI | M | Real | 10 |
| GXL_USUIMP | Usuario Imp. | Usuario Imp. | C | Real | 25 |
| GXL_FILOCO | Filial Ocorr | Filial da Ocorrencia | C | Real | 2 |
| GXL_CODOCO | Cod Ocor EDI | Codigo Ocorrencia EDI | C | Real | 3 |
| GXL_DTOCOR | Data Ocorren | Data da Ocorrencia | D | Real | 8 |
| GXL_HROCOR | Hora Ocor | Horario da Ocorrencia | C | Real | 5 |
| GXL_CODOBS | Cod Observ | Codigo da Observacao | N | Real | 2 |
| GXL_OBS | Observacoes | Texto Complem Ocorrencia | C | Real | 70 |
| GXL_FILDC | Filial DC | Filial Documento de Carga | C | Real | 2 |
| GXL_EMISDC | Emissor DC | Emissor do Docto de Carga | C | Real | 14 |
| GXL_SERDC | Serie DC | Serie do Docto de Carga | C | Real | 3 |
| GXL_NRDC | Nr Doc Carga | Numero do Docto de Carga | C | Real | 16 |
| GXL_CDTRP | Cod Transp | Codigo do Transportador | C | Real | 14 |
| GXL_CDTIPO | Cod Tipo Oco | Codigo Tipo Ocorrencia | C | Real | 6 |
| GXL_CDMOT | Cod Mot Oco | Codigo Motivo Ocorrencia | C | Real | 6 |
| GXL_PESO | Peso | Peso | N | Real | 13, 5 |
| GXL_CDREC | Cod Receb | Codigo do Recebedor | C | Real | 14 |
| GXL_EVENTR | Evid.Entrega | Evidencia de Entrega | C | Real | 254 |
| GXL_NMCONT | Contato | Nome do Contato | C | Real | 50 |
| GXL_PRESTS | Prest. Serv | Prestador de Servico | C | Real | 14 |
| GXL_QTDVOL | Qtde Volumes | Quantidade de Volumes | N | Real | 13, 5 |
| GXL_QTPERN | Qtde Servico | Quantidade Servicos | N | Real | 13, 5 |
| GXL_VALIND | Val Indeniz. | Valor Indenizacao | N | Real | 12, 5 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | GXL_FILIAL + GXL_NRIMP | Seq Import | PK |
| 2 | GXL_FILIAL + DTOS(GXL_DTIMP) | Data Import | |
| 3 | GXL_FILIAL + GXL_CDTRP + GXL_NRIMP | Cod Transp + Seq Import | |
| 4 | GXL_FILIAL + GXL_EDISIT + GXL_NRIMP | Situacao + Seq Import | |
| 5 | GXL_FILIAL + GXL_FILDC + GXL_EMISDC + GXL_SERDC + GXL_NRDC | Filial DC + Emissor DC + Serie DC + Nr Doc Carga | |
| 6 | GXL_MARKBR | Sel. | MARK |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| GU3 (EMITENTES DE TRANSPORTE) | GXL (EDI - OCORRENCIAS DE ENTREGA) | GU3_CDEMIT | GXL_PRESTS | 1 para 1 |
| GU4 (TIPO X MOTIVO OCORRENCIA) | GXL (EDI - OCORRENCIAS DE ENTREGA) | GU4_CDMOT + GU4_CDTIPO | GXL_CDMOT + GXL_CDTIPO | 1 para N |
| GU5 (TIPO DA OCORRENCIA) | GXL (EDI - OCORRENCIAS DE ENTREGA) | GU5_CDTIPO | GXL_CDTIPO | 1 para N |