Tabela DUC - Viagens Bloqueadas
Modo: C
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| DUC_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| DUC_FILORI | Fil.Origem | Filial de Origem | C | Real | 2 |
| DUC_VIAGEM | Viagem | Numero da Viagem | C | Real | 6 |
| DUC_CODBLQ | Cod.Bloqueio | Codigo de Bloqueio | C | Real | 2 |
| DUC_DESBLQ | Des.Bloqueio | Descricao do Bloqueio | C | Virtual | 55 |
| DUC_CODPRO | Produto | Produto | C | Real | 15 |
| DUC_DESPRO | Desc.Produto | Descricao Produto | C | Virtual | 50 |
| DUC_VALLIM | Val.Limite | Valor Limite | N | Real | 14, 4 |
| DUC_VALCAR | Val.Carreg. | Valor Carregado | N | Real | 14, 4 |
| DUC_DATLIB | Dt.Liberacao | Data de Liberacao | D | Real | 8 |
| DUC_HORLIB | Hr.Liberacao | Hora de Liberacao | C | Real | 4 |
| DUC_USER | Cod.Usuario | Cod.Usuario | C | Real | 6 |
| DUC_STATUS | Status | Status | C | Real | 1 |
| DUC_CODVEI | Cod.Veiculo | Codigo do Veiculo | C | Real | 8 |
| DUC_CODMOT | Cd.Motorista | Codigo do Motorista | C | Real | 6 |
| DUC_CODAJU | Cd. Ajudante | Cod. Ajudante | C | Real | 6 |
| DUC_NOMAJU | Ajudante | Nome do Ajudante | C | Virtual | 30 |
| DUC_CODFOR | Fornecedor | Codigo do Fornecedor | C | Real | 6 |
| DUC_LOJFOR | Loja | Loja do Fornecedor | C | Real | 2 |
| DUC_NOMFOR | Fornecedor | Codigo do Fornecedor | C | Virtual | 50 |
| DUC_CODDOC | Cod. Docto. | Codigo do Documento | C | Real | 3 |
| DUC_DESDOC | Desc. Docto. | Descricao do Documento | C | Virtual | 30 |
| DUC_DTAAPR | Dt. Apresen. | Data da Apresentacao | D | Real | 8 |
| DUC_DTAAFA | Dt. Afast. | Data do Afastamento | D | Real | 8 |
| DUC_DTARET | Dt. Retorno | Data de Retorno | D | Real | 8 |
| DUC_CODOBS | Cod. Observ. | Cod. Observacao | C | Real | 6 |
| DUC_DIAATR | Dias Atraso | Dias de Atraso | N | Virtual | 3 |
| DUC_SOLFLG | Soli. Fluig | Codigo Solicitacao Fluig | N | Real | 8 |
| DUC_FORFLG | Form.Fluig | Codigo Formulario Fluig | N | Real | 8 |
| DUC_OBSLIB | Obs.Liberac. | Observ. das Liberac. | M | Virtual | 80 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | DUC_FILIAL + DUC_FILORI + DUC_VIAGEM + DUC_CODBLQ + DUC_CODPRO + DUC_CODVEI + DUC_CODMOT | Fil.Origem + Viagem + Cod.Bloqueio + Produto + Cod.Veiculo + Cd.Motori | |
| 2 | DUC_FILIAL + DUC_STATUS + DUC_FILORI + DUC_VIAGEM | Status + Fil.Origem + Viagem |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| SB1 (Descricao Generica do Produto) | DUC (Viagens Bloqueadas) | B1_COD | DUC_CODPRO | 1 para N |