Preciso identificar o form ou o modelo da chamada

Bom dia Yenny,

É possível sim, é só usar a função Funname() que você captura a função principal que está sendo executada.

Exemplo:


If Alltrim(FunName()) == "MATA410"
    //Execução
EndIf

https://tdn.totvs.com/pages/releaseview.action?pageId=6814875

Se a função principal não te ajudar e precisar olhar para pilha de chamada funções utilize o comando abaixo:


FWIsInCallStack("CN300Aprov")

https://tdn.totvs.com/display/framework/FWIsInCallStack