Resposta rápida
- Arquivo físico
TPX+ empresa, ex.:TPX010- Chave única
TPX_FILIAL+TPX_ORDEM+TPX_PLANO+TPX_TAREFA+TPX_ETAPA+TPX_OPCAO- Compartilhamento
- Exclusivo
- Estrutura
- 21 campos (1 virtual), 4 índices, 1 gatilho
- Exibição padrão
TPX_PRDEM+TPX_PLANO+TPX_ETAPA+TPX_CODFUN
Consultar no seu ambiente
Registros da tabelaSQL
SELECT TOP 100 TPX_FILIAL, TPX_ORDEM, TPX_PLANO, TPX_TAREFA, TPX_ETAPA, TPX_OPCAO
FROM TPX010
WHERE D_E_L_E_T_ = ' '
ORDER BY TPX_FILIAL, TPX_ORDEM, TPX_PLANO, TPX_TAREFA, TPX_ETAPA, TPX_OPCAODicionário do seu ambienteSQL
SELECT X3_ORDEM, X3_CAMPO, X3_TITULO, X3_TIPO, X3_TAMANHO, X3_DECIMAL, X3_CONTEXT
FROM SX3010
WHERE X3_ARQUIVO = 'TPX'
AND D_E_L_E_T_ = ' '
ORDER BY X3_ORDEMCom quem TPX 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 21
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 | |
| ||||||||
| Ordem | Caractere | 6 | 0 | Real | @! | — | Ordem de Servico | |
| ||||||||
| Plano | Caractere | 6 | 0 | Real | @! | — | Plano de Manutencao | |
| ||||||||
| Tarefa | Caractere | 6 | 0 | Real | @! | — | Tarefa da Manutencao | |
| ||||||||
| Etapa | Caractere | 6 | 0 | Real | @! | — | Etapa da tarefa manutenc. | |
| ||||||||
| Opcao | Caractere | 15 | 0 | Real | @! | — | Opcao da Etapa | |
| ||||||||
| Resposta | Caractere | 10 | 0 | Real | @! | — | Resposta da etapa | |
| ||||||||
| Matricula | Caractere | 6 | 0 | Real | @! | ST1 | Matricula do Funcionario | |
| ||||||||
| Nome Func. | Caractere | 20 | 0 | Virtual | @! | — | Nome do Funcionario | |
| ||||||||
| Ordem Gerada | Caractere | 6 | 0 | Real | — | — | Ordem Gerada pela Etapa | |
| ||||||||
| Tipo | Caractere | 1 | 0 | Real | @! | — | Tipo de Resposta | |
| ||||||||
| Operador | Caractere | 2 | 0 | Real | @! | — | Operador da Condicao | |
| ||||||||
| Informacao | Caractere | 10 | 0 | Real | @! | — | Valor de Informacao | |
| ||||||||
| Tp.Campo Res | Caractere | 1 | 0 | Real | @! | — | Tipo de Campo de Resposta | |
| ||||||||
| Tipo Man. | Caractere | 1 | 0 | Real | @! | — | Tipo de Manutencao gerar | |
| ||||||||
| Servico | Caractere | 6 | 0 | Real | @! | — | Servico da Manutencao | |
| ||||||||
| Para o Bem | Caractere | 1 | 0 | Real | @! | — | Para que Bem gerar O.S | |
| ||||||||
| Descricao | Caractere | 20 | 0 | Real | @! | — | Descricao | |
| ||||||||
| Perc.Aviso | Numérico | 6 | 0 | Real | @E 999.99 | — | Percent. p/disparar Aviso | |
| ||||||||
| Msg. Alerta | Caractere | 40 | 0 | Real | @! | — | Mensagem de Alerta | |
| ||||||||
| Campo | Título | Tipo | Tam. | Dec. | Contexto | Picture | F3 | Descrição |
|---|---|---|---|---|---|---|---|---|
| Situacao | Caractere | 2 | 0 | Real | @! | — | Situacao | |
| ||||||||
Nenhum campo corresponde ao filtro.
Índices 4
| Ordem | Chave | Descrição | Nickname | Pesquisa |
|---|---|---|---|---|
1 | TPX_FILIAL+TPX_ORDEM+TPX_PLANO+TPX_TAREFA+TPX_ETAPA+TPX_OPCAO | Ordem + Plano + Tarefa + Etapa + Opcao | — | S |
2 | TPX_FILIAL+TPX_ORDEM+TPX_ETAPA+TPX_OPCAO | Ordem + Etapa + Opcao | — | S |
3 | TPX_FILIAL+TPX_ETAPA+TPX_OPCAO+TPX_ORDEM+TPX_PLANO | Etapa + Opcao + Ordem + Plano | — | S |
4 | TPX_FILIAL+TPX_TAREFA | Tarefa | — | S |
Gatilhos 1
| Campo | Seq. | Contradomínio | Tipo | Regra | Alias | Chave de busca | Condição |
|---|---|---|---|---|---|---|---|
TPX_CODFUN | 001 | TPX_NOMFUN | P | SUBSTR(SB1->SB1_NOME,1,20) | ST1 | xFILIAL("ST1")+M->TPX_CODFUN | — |
Procedência
Dicionário padrão do Protheus 12.1.2510, como a TOTVS distribui, sem customização de ambiente.