Tabela DLY - Eventos do Comprovante Entrega
Chave Unica: DLY_FILIAL + DLY_CLIREM + DLY_LOJREM + DLY_NUMNFC + DLY_SERNFC + DTOS(DLY_EMINFC) + DLY_SEQEVE
Modo: C
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| DLY_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| DLY_CLIREM | Cod Reme | Codigo Cliente Remetente | C | Real | 6 |
| DLY_LOJREM | Loja Reme | Loja Cliente Remetente | C | Real | 2 |
| DLY_NOMREM | Nome Reme | Nome do Cliente Remetente | C | Virtual | 50 |
| DLY_NUMNFC | Nota Fiscal | Numero da Nota Fiscal | C | Real | 9 |
| DLY_SERNFC | Serie NF | Serie da Nota Fiscal | C | Real | 3 |
| DLY_EMINFC | Data NF | Data Emissao Nota Fiscal | D | Real | 8 |
| DLY_SEQEVE | Seq Evento | Sequencia do Evento | C | Real | 2 |
| DLY_DATENV | Data Envio | Data Envio ao TSS | D | Real | 8 |
| DLY_HORENV | Hora Env | Hora Envio ao TSS | C | Real | 4 |
| DLY_TIPEVE | Tipo Eve | Tipo do Evento | C | Real | 1 |
| DLY_TIPCAN | Tipo Canc | Tipo de Cancelamento | C | Real | 1 |
| DLY_STATUS | Status | Status | C | Real | 1 |
| DLY_IDREVE | ID Ret Eve | ID Retorno do Evento | C | Real | 3 |
| DLY_RETEVE | Retorno Eve | Retorno do Evento | C | Real | 150 |
| DLY_NFEID | Chave NFe | Chave da NF Eletronica | C | Real | 44 |
| DLY_CHVCTE | Chave CTe | Chave Cte Eletronico | C | Real | 44 |
| DLY_RECEBE | Nome Receb | Nome do Recebedor | C | Real | 30 |
| DLY_DOCREC | Docto Receb | Documento do Recebedor | C | Real | 15 |
| DLY_DIRIMG | Dir Imagem | Diretorio da Imagem | C | Real | 180 |
| DLY_DATENT | Data Entrega | Data de Entrega | D | Real | 8 |
| DLY_HORENT | Hora Entrega | Hora de Entrega | C | Real | 4 |
| DLY_PROTOC | Protocolo | Numero do Protocolo SEFAZ | C | Real | 15 |
| DLY_IDINTG | IDintegracao | ID da Integracao | C | Real | 80 |
| DLY_INIINT | Dat Ini Int | Dat Ini Integracao | C | Real | 25 |
| DLY_FIMINT | Dat Fim Int | Dat Fim Integracao | C | Real | 30 |
| DLY_FILDOC | Fil Docto | Filial do Documento | C | Real | 2 |
| DLY_DOC | Num Docto | Numero do Documento | C | Real | 9 |
| DLY_SERIE | Ser Docto | Serie do Documento | C | Real | 3 |
| DLY_FILORI | Fil Ori Viag | Filial Origem da Viagem | C | Real | 2 |
| DLY_VIAGEM | Viagem | Viagem | C | Real | 6 |
| DLY_HSHIMG | Hash Img | Hash da Imagem | C | Real | 40 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | DLY_FILIAL + DLY_CLIREM + DLY_LOJREM + DLY_NUMNFC + DLY_SERNFC + DTOS(DLY_EMINFC) + DLY_SEQEVE | Cod Reme + Loja Reme + Nota Fiscal + Serie NF + Data NF + Seq Evento | |
| 2 | DLY_FILIAL + DLY_CHVCTE + DLY_NFEID | Chave CTe + Chave NFe | |
| 3 | DLY_FILIAL + DLY_CHVCTE + DLY_CLIREM + DLY_LOJREM + DLY_NUMNFC + DLY_SERNFC + DTOS(DLY_DATENT) + DLY_SEQEVE | Chave CTe + Cod Reme + Loja Reme + Nota Fiscal + Serie NF + Data Entre |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| DT6 (Documentos de Transporte) | DLY (Eventos do Comprovante Entrega) | DT6_FILIAL + DT6_FILDOC + DT6_DOC + DT6_SERIE | DLY_FILIAL + DLY_FILDOC + DLY_DOC + DLY_SERIE | 1 para N |
| DT6 (Documentos de Transporte) | DLY (Eventos do Comprovante Entrega) | DT6_CHVCTE | DLY_CHVCTE | 1 para N |
| DT6 (Documentos de Transporte) | DLY (Eventos do Comprovante Entrega) | DT6_FILDOC + DT6_DOC + DT6_SERIE | DLY_FILDOC + DLY_DOC + DLY_SERIE | 1 para N |
| SA1 (Clientes) | DLY (Eventos do Comprovante Entrega) | A1_COD + A1_LOJA | DLY_CLIREM + DLY_LOJREM | 1 para N |
| SA1 (Clientes) | DLY (Eventos do Comprovante Entrega) | A1_FILIAL + A1_COD + A1_LOJA | DLY_FILIAL + DLY_CLIREM + DLY_LOJREM | 1 para N |