Visual map of MATA010 Entry Points, showing where each PE is invoked during routine processing.
This map is a didactic representation of the MATA010 flow based on the available official documentation. Its purpose is to show where each Entry Point fits in the routine processing flow.
The positions shown correspond to the flow analyzed in the official documentation and may vary across Protheus releases, patches and customizations.
Page created on Last reviewed on
Execution map
Entry Points identified
MT010MEM
Where it runs
Preparação / ModelDef
Role in the flow
Campos memo virtuais
Documented behavior
Retorna array de campos memo adicionais.
MA010FIL
Where it runs
Preparação do browse
Role in the flow
Filtro AdvPL
Documented behavior
Define expressão de filtro do cadastro antes da ativação do browse.
M010FILB
Where it runs
Preparação do browse
Role in the flow
Filtro SQL ANSI
Documented behavior
Alternativa ao MA010FIL para expressão de filtro SQL.
MT010COR
Where it runs
Preparação do browse
Role in the flow
Cores e legendas
Documented behavior
Customiza o array de cores/legendas usado pelo FWMBrowse.
MA010BUT
Where it runs
Interface
Role in the flow
Botões adicionais
Documented behavior
Acrescenta botões de usuário em diferentes fluxos da rotina.
MT010VCP
Where it runs
Visualização
Role in the flow
Campos exibidos
Documented behavior
Define quais campos da SB1 são carregados na visualização.
A010TOK
Where it runs
Validação de confirmação
Role in the flow
TudoOk
Documented behavior
Validação adicional; retorno lógico participa da decisão de continuar.
A010BPE
Where it runs
Validação de campo
Role in the flow
Conteúdo digitado
Documented behavior
Participa da validação adicional do conteúdo do campo.
MTA010OK
Where it runs
Exclusão / validações
Role in the flow
Antes de excluir
Documented behavior
Retorno lógico pode impedir a continuidade da exclusão.
MT010EXC
Where it runs
Exclusão
Role in the flow
Pré-efetivação
Documented behavior
Tratamento adicional imediatamente antes da efetivação da exclusão do produto.
MTA010E
Where it runs
Exclusão / transação
Role in the flow
Durante a exclusão
Documented behavior
Executado durante o processamento transacional de exclusão.
MT010CAN
Where it runs
Pós-operação
Role in the flow
Finalização comum
Documented behavior
Chamado ao final dos fluxos de inclusão, alteração e exclusão.
MT010INC
Where it runs
Inclusão
Role in the flow
Após confirmação
Documented behavior
Executado depois da confirmação principal da inclusão.
MT010ALT
Where it runs
Alteração
Role in the flow
Após confirmação
Documented behavior
Executado depois da confirmação principal da alteração.
MT010VLD
Where it runs
Cópia de produto
Role in the flow
Antes de iniciar cópia
Documented behavior
Valida se a cópia pode prosseguir antes da inclusão baseada no produto corrente.
MTA010NC
Where it runs
Cópia de produto
Role in the flow
Campos não copiáveis
Documented behavior
Retorna array de campos adicionais que não devem ser copiados.
M010B5CP
Where it runs
Cópia / complemento SB5
Role in the flow
Preparação da cópia
Documented behavior
Decide tratamento da descrição/complemento da SB5 durante a cópia.
MTA010MNU
Where it runs
MenuDef
Role in the flow
Montagem do menu
Documented behavior
Permite interferir/adicionar opções durante a construção do menu.
MT010BRW
Where it runs
MenuDef / browse
Role in the flow
Opções do browse
Documented behavior
Retorna opções adicionais para o menu do browse.
Implementation pattern
An Entry Point is implemented by the customer using the identifier documented for the routine. Before relying on parameters or return values, confirm the PE contract for the Protheus version in use.
User Function MT010INC()
// Executado após a confirmação da inclusão na MATA010.
// Use este ponto para processamentos que dependam do produto já incluído.
ProcessaIntegracao()
Return
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.