Tabela DU1 - Lote Comprovantes de Entrega
Rotina (SysObj): TMSA570
Chave Unica: DU1_FILIAL + DU1_LOTCET + DU1_CODCLI + DTOS(DU1_DATLOT) + DU1_FILDOC + DU1_DOC + DU1_SERIE + DU1_NUMNFC + DU1_SERNFC + DU1_FIMP
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| DU1_HORENT | Hora Entrega | Hr Entraga Comprovante | C | Real | 4 |
| DU1_DATENT | Data Entrega | Dt de Entrega Comprovante | D | Real | 8 |
| DU1_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| DU1_LOTCET | No.Lote | No.Lote | C | Real | 6 |
| DU1_CODCLI | Cliente | Cod. Cliente | C | Real | 6 |
| DU1_LOJCLI | Loja Cliente | Loja Cliente | C | Real | 2 |
| DU1_NOMCLI | Nome Cliente | Nome Cliente | C | Virtual | 50 |
| DU1_DATLOT | Data Lote | Data do Lote | D | Real | 8 |
| DU1_ESTORN | Estorna | Estorna | C | Virtual | 1 |
| DU1_FILDOC | Fil.Docto. | Filial do Documento | C | Real | 2 |
| DU1_DOC | No.Docto. | Numero do Documento | C | Real | 9 |
| DU1_SERIE | Serie Docto. | Serie do Documento | C | Real | 3 |
| DU1_NUMNFC | Doc.Cliente | Doc.Cliente | C | Real | 9 |
| DU1_SERNFC | Serie Dc.Cli | Serie Docto. Cliente | C | Real | 3 |
| DU1_FIMP | Flag Imp. | Flag Impressao | C | Real | 1 |
| DU1_DATCNT | Dt.Entr.Cnt | Data Entrega do Comprovan | D | Real | 8 |
| DU1_HORCNT | Hr.Entr.Cnt | Hora Entrega Comprovante | C | Real | 4 |
| DU1_SDOC | Serie Doc. | Serie do Documento Fiscal | C | Real | 3 |
| DU1_SDOCC | Serie Dc.Cli | Serie Docto. Cliente | C | Real | 3 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | DU1_FILIAL + DU1_LOTCET | No.Lote | |
| 2 | DU1_FILIAL + DU1_FILDOC + DU1_DOC + DU1_SERIE | Fil.Docto. + No.Docto. + Serie Docto. | |
| 3 | DU1_FILIAL + DU1_NUMNFC + DU1_SERNFC + DU1_CODCLI + DU1_LOJCLI | Doc.Cliente + Serie Dc.Cli + Cliente + Loja Cliente | |
| 4 | DU1_FILIAL + DU1_CODCLI + DU1_LOJCLI + DU1_NUMNFC + DU1_SERNFC | Cliente + Loja Cliente + Doc.Cliente + Serie Dc.Cli | |
| 5 | DU1_FILIAL + DU1_FILDOC + DU1_DOC + DU1_SDOC | Fil.Docto. + No.Docto. + Serie Doc. | |
| 6 | DU1_FILIAL + DU1_NUMNFC + DU1_SDOCC + DU1_CODCLI + DU1_LOJCLI | Doc.Cliente + Serie Dc.Cli + Cliente + Loja Cliente | |
| 7 | DU1_FILIAL + DU1_CODCLI + DU1_LOJCLI + DU1_NUMNFC + DU1_SDOCC | Cliente + Loja Cliente + Doc.Cliente + Serie Dc.Cli |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| DT6 (Documentos de Transporte) | DU1 (Lote Comprovantes de Entrega) | DT6_FILDOC + DT6_DOC + DT6_SERIE | DU1_FILDOC + DU1_DOC + DU1_SERIE | 1 para N |
| SA1 (Clientes) | DU1 (Lote Comprovantes de Entrega) | A1_COD + A1_LOJA | DU1_CODCLI + DU1_LOJCLI | 1 para N |