Resposta rápida
- Arquivo físico
DM3+ empresa, ex.:DM3010- Chave única
DM3_FILIAL+DM3_FILDOC+DM3_DOC+DM3_SERIE+DM3_FILORI+DM3_VIAGEM- Compartilhamento
- Compartilhado
- Estrutura
- 22 campos (13 virtuais), 2 índices, 32 gatilhos
Consultar no seu ambiente
SELECT TOP 100 DM3_FILIAL, DM3_FILDOC, DM3_DOC, DM3_SERIE, DM3_FILORI, DM3_VIAGEM
FROM DM3010
WHERE D_E_L_E_T_ = ' '
ORDER BY DM3_FILIAL, DM3_FILDOC, DM3_DOC, DM3_SERIE, DM3_FILORI, DM3_VIAGEMSELECT X3_ORDEM, X3_CAMPO, X3_TITULO, X3_TIPO, X3_TAMANHO, X3_DECIMAL, X3_CONTEXT
FROM SX3010
WHERE X3_ARQUIVO = 'DM3'
AND D_E_L_E_T_ = ' '
ORDER BY X3_ORDEMCom quem DM3 se liga
Consulta 1
Tabelas usadas como consulta padrão (F3) pelos campos desta.
Gatilhos buscam em 1
Tabelas onde os gatilhos desta posicionam para trazer um valor.
Campos 22
Clique no campo para ver validação, inicializador, combo e gatilhos.
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Filial | Caractere | 2 | 0 | Real | — | — | Filial do Sistema | |
| ||||||||
| Fil.Origem | Caractere | 2 | 0 | Real | — | — | Filial de Origem | |
| ||||||||
| Viagem | Caractere | 6 | 0 | Real | — | — | Numero da Viagem | |
| ||||||||
| Sequencia | Caractere | 3 | 0 | Real | 999 | — | Sequencia | |
| ||||||||
| Status | Caractere | 1 | 0 | Virtual | @! | — | Status | |
| ||||||||
| Status Rota | Caractere | 1 | 0 | Virtual | @! | — | Status Rota | |
| ||||||||
| Fil.Docto. | Caractere | 2 | 0 | Real | — | DL6 | Filial do Documento | |
| ||||||||
| No.Docto. | Caractere | 9 | 0 | Real | @! | — | Numero do Documento | |
| ||||||||
| Serie Docto. | Caractere | 3 | 0 | Real | !!! | — | Serie do Documento | |
| ||||||||
| Nome Remet. | Caractere | 40 | 0 | Virtual | @! | — | Nome Remetente | |
| ||||||||
| Nome Dest. | Caractere | 40 | 0 | Virtual | @! | — | Nome Destinatario | |
| ||||||||
| Bairro | Caractere | 40 | 0 | Virtual | @! | — | Bairro | |
| ||||||||
| Municipio | Caractere | 60 | 0 | Virtual | @! | — | Municipio | |
| ||||||||
| Estado | Caractere | 2 | 0 | Virtual | @! | — | Estado | |
| ||||||||
| Prz.Entrega | Data | 8 | 0 | Virtual | — | — | Prazo de Entrega | |
| ||||||||
| Qtde. Volume | Numérico | 5 | 0 | Virtual | 99999 | — | Qtde.de Volumes | |
| ||||||||
| Vol. Orig | Numérico | 5 | 0 | Virtual | 99999 | — | Qtde.de Volumes Original | |
| ||||||||
| Peso Real | Numérico | 11 | 4 | Virtual | @E 999,999.9999 | — | Peso Real | |
| ||||||||
| Peso Cubado | Numérico | 11 | 4 | Virtual | @E 999,999.9999 | — | Peso Cubado | |
| ||||||||
| Vlr.Mercad. | Numérico | 14 | 2 | Virtual | @E 99,999,999,999.99 | — | Valor da Mercadoria | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Orig. Carreg | Caractere | 1 | 0 | Real | — | — | Origem do Carregamento | |
| ||||||||
| Way Point | Caractere | 30 | 0 | Real | — | — | Way Point | |
| ||||||||
Nenhum campo corresponde ao filtro.
Índices 2
| Ordem | Chave | Descrição | Nickname | Pesquisa |
|---|---|---|---|---|
1 | DM3_FILIAL+DM3_FILDOC+DM3_DOC+DM3_SERIE+DM3_FILORI+DM3_VIAGEM | Fil.Docto. + No.Docto. + Serie Docto. + Fil.Origem + Viagem | — | S |
2 | DM3_FILIAL+DM3_FILORI+DM3_VIAGEM+DM3_SEQUEN+DM3_FILDOC+DM3_DOC+DM3_SERIE | Fil.Origem + Viagem + Sequencia + Fil.Docto. + No.Docto. + Serie Docto | — | S |
Gatilhos 32
| Campo | Seq. | Contradomínio | Tipo | Regra | Alias | Chave de busca | Condição |
|---|---|---|---|---|---|---|---|
DM3_DOC | 001 | DM3_QTDVOL | P | DT6->DT6_QTDVOL | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_DOC | 002 | DM3_VOLORI | P | DT6->DT6_VOLORI | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_DOC | 003 | DM3_PESO | P | DT6->DT6_PESO | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_DOC | 004 | DM3_PESOM3 | P | DT6->DT6_PESOM3 | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_DOC | 005 | DM3_PRZENT | P | TMSAF65GAT(,'DM3_PRZENT') | — | — | — |
DM3_DOC | 006 | DM3_NOMREM | P | TMSAF65GAT(,'DM3_NOMREM') | — | — | — |
DM3_DOC | 007 | DM3_NOMDES | P | TMSAF65GAT(,'DM3_NOMDES') | — | — | — |
DM3_DOC | 008 | DM3_BAIRRO | P | TMSAF65GAT(,'DM3_BAIRRO') | — | — | — |
DM3_DOC | 009 | DM3_MUN | P | TMSAF65GAT(,'DM3_MUN') | — | — | — |
DM3_DOC | 010 | DM3_EST | P | TMSAF65GAT(,'DM3_EST') | — | — | — |
DM3_FILDOC | 001 | DM3_QTDVOL | P | DT6->DT6_QTDVOL | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_FILDOC | 002 | DM3_VOLORI | P | DT6->DT6_VOLORI | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_FILDOC | 003 | DM3_PESO | P | DT6->DT6_PESO | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_FILDOC | 004 | DM3_PESOM3 | P | DT6->DT6_PESOM3 | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_FILDOC | 005 | DM3_VALMER | P | DT6->DT6_VALMER | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_FILDOC | 006 | DM3_PRZENT | P | TMSAF65GAT(,'DM3_PRZENT') | — | — | — |
DM3_FILDOC | 007 | DM3_NOMREM | P | TMSAF65GAT(,'DM3_NOMREM') | — | — | — |
DM3_FILDOC | 008 | DM3_NOMDES | P | TMSAF65GAT(,'DM3_NOMDES') | — | — | — |
DM3_FILDOC | 009 | DM3_BAIRRO | P | TMSAF65GAT(,'DM3_BAIRRO') | — | — | — |
DM3_FILDOC | 010 | DM3_MUN | P | TMSAF65GAT(,'DM3_MUN') | — | — | — |
DM3_FILDOC | 011 | DM3_EST | P | TMSAF65GAT(,'DM3_EST') | — | — | — |
DM3_SERIE | 001 | DM3_QTDVOL | P | DT6->DT6_QTDVOL | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_SERIE | 002 | DM3_VOLORI | P | DT6->DT6_VOLORI | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_SERIE | 003 | DM3_PESO | P | DT6->DT6_PESO | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_SERIE | 004 | DM3_PESOM3 | P | DT6->DT6_PESOM3 | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_SERIE | 005 | DM3_VALMER | P | DT6->DT6_VALMER | DT6 | xFilial('DT6')+M->DM3_FILDOC+M->DM3_DOC+M->DM3_SERIE | — |
DM3_SERIE | 006 | DM3_PRZENT | P | TMSAF65GAT(,'DM3_PRZENT') | — | — | — |
DM3_SERIE | 007 | DM3_NOMREM | P | TMSAF65GAT(,'DM3_NOMREM') | — | — | — |
DM3_SERIE | 008 | DM3_NOMDES | P | TMSAF65GAT(,'DM3_NOMDES') | — | — | — |
DM3_SERIE | 009 | DM3_BAIRRO | P | TMSAF65GAT(,'DM3_BAIRRO') | — | — | — |
DM3_SERIE | 010 | DM3_MUN | P | TMSAF65GAT(,'DM3_MUN') | — | — | — |
DM3_SERIE | 011 | DM3_EST | P | TMSAF65GAT(,'DM3_EST') | — | — | — |
Procedência
Dicionário padrão do Protheus 12.1.2510, como a TOTVS distribui, sem customização de ambiente.